mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
0bed2a2263
This only existed as essentially a workaround for meson's behavior and to maintain compatibility with the waf build. Since waf put everything in a generated subdirectory, we had to put make a subdirectory called "generated" in the source for meson so stuff could go to the right place. Well now we don't need to do that anymore. Move the meson.build files around so they go in the appropriate place in the subdirectory of the source tree and change the paths of the headers accordingly. A couple of important things to note. 1. mpv.com now gets made in build/player/mpv.com (necessary because of a meson limitation) 2. The macos icon generation path is shortened to TOOLS/osxbundle/icon.icns.inc.
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
/*
|
|
* This file is part of mpv.
|
|
*
|
|
* mpv is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* mpv is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include <winver.h>
|
|
#include "version.h"
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 2, 0, 0, 0
|
|
PRODUCTVERSION 2, 0, 0, 0
|
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
FILEFLAGS 0
|
|
FILEOS VOS__WINDOWS32
|
|
FILETYPE VFT_APP
|
|
FILESUBTYPE 0
|
|
{
|
|
BLOCK "StringFileInfo" {
|
|
BLOCK "000004b0" {
|
|
VALUE "Comments", "mpv is distributed under the terms of the GNU General Public License Version 2 or later."
|
|
VALUE "CompanyName", "mpv"
|
|
VALUE "FileDescription", "mpv"
|
|
VALUE "FileVersion", VERSION
|
|
VALUE "LegalCopyright", MPVCOPYRIGHT
|
|
VALUE "OriginalFilename", "mpv.exe"
|
|
VALUE "ProductName", "mpv"
|
|
VALUE "ProductVersion", VERSION
|
|
}
|
|
}
|
|
BLOCK "VarFileInfo" {
|
|
VALUE "Translation", 0, 1200
|
|
}
|
|
}
|
|
|
|
IDI_ICON1 ICON DISCARDABLE "etc/mpv-icon.ico"
|
|
|
|
// for some reason RT_MANIFEST does not work
|
|
1 24 "mpv.exe.manifest"
|