diff options
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/Manifest.gz | bin | 9697 -> 9692 bytes | |||
-rw-r--r-- | games-emulation/dolphin/Manifest | 2 | ||||
-rw-r--r-- | games-emulation/dolphin/dolphin-9999.ebuild | 2 | ||||
-rw-r--r-- | games-emulation/fakenes/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/fakenes/fakenes-0.5.8-r3.ebuild | 77 | ||||
-rw-r--r-- | games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch | 8 | ||||
-rw-r--r-- | games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch | 170 | ||||
-rw-r--r-- | games-emulation/fakenes/metadata.xml | 11 | ||||
-rw-r--r-- | games-emulation/higan/Manifest | 2 | ||||
-rw-r--r-- | games-emulation/higan/higan-106_p1-r1.ebuild | 2 | ||||
-rw-r--r-- | games-emulation/openmsx/Manifest | 3 | ||||
-rw-r--r-- | games-emulation/openmsx/metadata.xml | 19 | ||||
-rw-r--r-- | games-emulation/openmsx/openmsx-16.0.ebuild | 111 |
13 files changed, 137 insertions, 275 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz Binary files differindex ad5a6a909330..bb6d7950341c 100644 --- a/games-emulation/Manifest.gz +++ b/games-emulation/Manifest.gz diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest index 21deaa247677..d9b1fbaf650e 100644 --- a/games-emulation/dolphin/Manifest +++ b/games-emulation/dolphin/Manifest @@ -1,4 +1,4 @@ DIST dolphin-5.0_p20200705.tar.gz 41580877 BLAKE2B 78fce8cb10543857633d66789999b0ebb8f195e10652b9316f3346d5c84797dea96a31f509f86cb9470b4b9677ca58c4a865494121277cd0bc7dcc93932da9f4 SHA512 8b1aed8c98ff7205d7b1716aea3faad0bfa3d1ff3fe3a616431a421ae62592a57887e18295276b7a0fee52d19e641b72d5dc00e071cefea7fbe40adc9f3f01a1 EBUILD dolphin-5.0_p20200705.ebuild 4427 BLAKE2B 1e5bb1dc1d994e38989f4414837da45ca0f3f1fd9e684ff017199ac0e1ffda7e3472a90c937b7a029736114f34cb0e8e58f3c77c8702b1c7547bbe5e8320a581 SHA512 f46e6bc95f0cb5c68fa4bf202acac60bebe1a9fad8d399161e156da1a365b70c2eb974516f3275f26a4e1f8506344874f257230248a3c7eaf497f74ce5245f09 -EBUILD dolphin-9999.ebuild 4671 BLAKE2B 5de627ef99a6ca280c244ac862e39d35de9fae454bff7db7846ced1b96e4321ba491ec6536bbce6c31d5bb09da317abfb9ebfa541c6d9b6b7737ff8aa740e745 SHA512 dd6377b8f39bcd1c02a66a45f90e31b9a10449b545977658beb68a336a72533981d710e04f888a49f70bd5400d1b89abc139a6a2ea811fb7fac9dc61d7758671 +EBUILD dolphin-9999.ebuild 4677 BLAKE2B fe9d9f67ee3be9bd025f56904bbb37dbe53585401e2382723b8c009c642da1bc0877f3f3ecf0717826176c4b13e9e1722e4152727aff25bcd5c91fcb62ecbf09 SHA512 3d3ffdfd0dc77abedfbbb53034ca38072b2d7ddc95e0d8cdf04625ab0c685789e0a245f044b94447ee7910801068b3241a7f81d47e960087ebad0cb3b131dd5b MISC metadata.xml 856 BLAKE2B 982e3d9ee65ed158e831ccb72d144944eaab8efd8f535f120f2d9e14f8332a980244bb23ee7fe0ca6c1ca8b6f2cdc6c1c766439b4416e17fc8df93fc24ca7655 SHA512 994efa4a7b1504a2d02f4d470382c212f0b9c2f929bbc67483b1a4efa4e68d4422216737dca65977ad99afd26fb6772224f6b1902a0eb6b869f155cf010aff33 diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index b63534d242d3..14b329e33b85 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.ebuild @@ -28,7 +28,7 @@ IUSE="alsa bluetooth discord-presence doc +evdev ffmpeg log lto profile pulseaud RDEPEND=" dev-libs/hidapi:0= - dev-libs/libfmt:0= + >=dev-libs/libfmt-7.1:0= dev-libs/lzo:2= dev-libs/pugixml:0= media-libs/libpng:0= diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest deleted file mode 100644 index c74bf58a2a6b..000000000000 --- a/games-emulation/fakenes/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX fakenes-0.5.8-underlink.patch 194 BLAKE2B f15bef6e75e4be31a7ea5aff318eeafa42b7c0aa0f4a9fe85ae81209edbf1e9b9203816e907fc8ee9be6d8272c61d784664f223b713d704e33e2392db6d4a09b SHA512 1c523353ebb40f12433dc13b9e003f5da95a2e67af5b0f29e438ba985942696061919fb5b8a41ded0f2c618871994b97070d05456e5b3607fe9f59536d772236 -AUX fakenes-0.5.8-zlib.patch 6297 BLAKE2B cedd715d31f552852c7271edb43c81019442bfbd0d10bbcc8b35c22f75b8ccfd4f23442a1f980ba5b7cbd242746bc6b729d26ce0d5900183c5ecf3707d24c5c2 SHA512 a152e8edffafb36b891bf1ee83ce9fd3c9248a82910d09019d4025c5c7fb77fe6c70cfc22b66e9b15da21081d6d14fcc175f051025c35730ba06fac0bb87556f -DIST fakenes-0.5.8.tar.bz2 274503 BLAKE2B 64b410052e54c0cd1b474f5bacce220f39455c0de9024582cfc98ea307900b771428eeb9cb4e83e0cd72b0a221d10856f23f1c34b3058050a7dbc81b03e88c07 SHA512 2a22c51cf7171661a92584e083c3dfd69d009b586c22f8b5a4b4022065309ae4d6370a81997c035a9e19ff225e87d92e1b572b313585f2e05776cbf7c1c971aa -EBUILD fakenes-0.5.8-r3.ebuild 1586 BLAKE2B 0e83991a1377d0aa075e64778351d7bdcb8a15e8261ed3d292688d03a0d4e3678f66e7ac3337c7ae2a44d3bd83837e3408dfe344f13b2545ff92a95d9d7a4e73 SHA512 5e84382587a661c9932b1e7d5ce5772394489df434c58e9bcb6e2f000ecce44822b988868d8dd853871a752db9f6682e662d23407e0aadbd4a0c2ca12386e4c7 -MISC metadata.xml 330 BLAKE2B 31881a989488e32b8a6e034fbb1a1dd88722cf0fc512d40a2ddb53e0a92a68c9787c3a18557dbaed50863d3f4491c2df2617a21703d6777ccd8782978e6c33d2 SHA512 40a9b0382052203f7855ddedfed71e9db3fd128ab5ec0c45b6e6ea4170f919f1ffb3f285b0f708e80f9a37b7af53a584d1ee915ad1f776e99b816bcceb756753 diff --git a/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild b/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild deleted file mode 100644 index e8aeb3a8b2c0..000000000000 --- a/games-emulation/fakenes/fakenes-0.5.8-r3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop flag-o-matic toolchain-funcs gnome2-utils - -DESCRIPTION="Portable, Open Source NES emulator which is written mostly in C" -HOMEPAGE="http://fakenes.sourceforge.net/" -SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="openal opengl zlib" - -RDEPEND=" - >=media-libs/allegro-4.4.1.1:0[opengl?] - dev-games/hawknl - openal? ( - media-libs/openal - media-libs/freealut - ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - default - sed -i \ - -e "s:openal-config:pkg-config openal:" \ - build/openal.cbd || die - - sed -i \ - -e "s:LIBAGL = agl:LIBAGL = alleggl:" \ - build/alleggl.cbd || die - eapply "${FILESDIR}"/${P}-{underlink,zlib}.patch -} - -src_compile() { - local myconf - - append-ldflags -Wl,-z,noexecstack - - echo "$(tc-getBUILD_CC) cbuild.c -o cbuild" - $(tc-getBUILD_CC) cbuild.c -o cbuild || die "cbuild build failed" - - use openal || myconf="$myconf -openal" - use opengl || myconf="$myconf -alleggl" - use zlib || myconf="$myconf -zlib" - - LD="$(tc-getCC) ${CFLAGS}" ./cbuild ${myconf} --verbose || die "cbuild failed" -} - -src_install() { - dobin fakenes - insinto "/usr/share/${PN}" - doins support/* - - cd docs && HTML_DOCS="faq.html" einstalldocs && cd .. - - newicon -s 32 support/icon-32x32.png ${PN}.png - make_desktop_entry ${PN} "FakeNES" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch b/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch deleted file mode 100644 index 48f37a5fd83d..000000000000 --- a/games-emulation/fakenes/files/fakenes-0.5.8-underlink.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- a/build/hawknl.cbd.old 2011-06-22 17:28:16.733408930 +0200 -+++ b/build/hawknl.cbd 2011-06-22 17:28:29.217203187 +0200 -@@ -22,4 +22,4 @@ - - # -- - --LDFLAGS += ' -lNL' -+LDFLAGS += ' -lNL -lm' diff --git a/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch b/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch deleted file mode 100644 index 15549051a6a5..000000000000 --- a/games-emulation/fakenes/files/fakenes-0.5.8-zlib.patch +++ /dev/null @@ -1,170 +0,0 @@ -diff -ur fakenes-0.5.8-old/src/include/unzip.h fakenes-0.5.8/src/include/unzip.h ---- fakenes-0.5.8-old/src/include/unzip.h 2012-08-22 20:51:45.310735240 +0200 -+++ fakenes-0.5.8/src/include/unzip.h 2012-08-22 20:56:40.737069700 +0200 -@@ -119,9 +119,9 @@ - tm_unz tmu_date; - } unz_file_info; - --extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, -+extern int ZEXPORT unzStringFileNameCompare (const char* fileName1, - const char* fileName2, -- int iCaseSensitivity)); -+ int iCaseSensitivity); - /* - Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) -@@ -132,7 +132,7 @@ - */ - - --extern unzFile ZEXPORT unzOpen OF((const char *path)); -+extern unzFile ZEXPORT unzOpen (const char *path); - /* - Open a Zip file. path contain the full pathname (by example, - on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer -@@ -143,24 +143,24 @@ - of this unzip package. - */ - --extern int ZEXPORT unzClose OF((unzFile file)); -+extern int ZEXPORT unzClose (unzFile file); - /* - Close a ZipFile opened with unzipOpen. - If there is files inside the .Zip opened with unzOpenCurrentFile (see later), - these files MUST be closed with unzipCloseCurrentFile before call unzipClose. - return UNZ_OK if there is no problem. */ - --extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, -- unz_global_info *pglobal_info)); -+extern int ZEXPORT unzGetGlobalInfo (unzFile file, -+ unz_global_info *pglobal_info); - /* - Write info about the ZipFile in the *pglobal_info structure. - No preparation of the structure is needed - return UNZ_OK if there is no problem. */ - - --extern int ZEXPORT unzGetGlobalComment OF((unzFile file, -+extern int ZEXPORT unzGetGlobalComment (unzFile file, - char *szComment, -- uLong uSizeBuf)); -+ uLong uSizeBuf); - /* - Get the global comment string of the ZipFile, in the szComment buffer. - uSizeBuf is the size of the szComment buffer. -@@ -171,22 +171,22 @@ - /***************************************************************************/ - /* Unzip package allow you browse the directory of the zipfile */ - --extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); -+extern int ZEXPORT unzGoToFirstFile (unzFile file); - /* - Set the current file of the zipfile to the first file. - return UNZ_OK if there is no problem - */ - --extern int ZEXPORT unzGoToNextFile OF((unzFile file)); -+extern int ZEXPORT unzGoToNextFile (unzFile file); - /* - Set the current file of the zipfile to the next file. - return UNZ_OK if there is no problem - return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest. - */ - --extern int ZEXPORT unzLocateFile OF((unzFile file, -+extern int ZEXPORT unzLocateFile (unzFile file, - const char *szFileName, -- int iCaseSensitivity)); -+ int iCaseSensitivity); - /* - Try locate the file szFileName in the zipfile. - For the iCaseSensitivity signification, see unzStringFileNameCompare -@@ -197,14 +197,14 @@ - */ - - --extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, -+extern int ZEXPORT unzGetCurrentFileInfo (unzFile file, - unz_file_info *pfile_info, - char *szFileName, - uLong fileNameBufferSize, - void *extraField, - uLong extraFieldBufferSize, - char *szComment, -- uLong commentBufferSize)); -+ uLong commentBufferSize); - /* - Get Info about the current file - if pfile_info!=NULL, the *pfile_info structure will contain somes info about -@@ -223,22 +223,22 @@ - from it, and close it (you can close it before reading all the file) - */ - --extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); -+extern int ZEXPORT unzOpenCurrentFile (unzFile file); - /* - Open for reading data the current file in the zipfile. - If there is no error, the return value is UNZ_OK. - */ - --extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); -+extern int ZEXPORT unzCloseCurrentFile (unzFile file); - /* - Close the file in zip opened with unzOpenCurrentFile - Return UNZ_CRCERROR if all the file was read but the CRC is not good - */ - - --extern int ZEXPORT unzReadCurrentFile OF((unzFile file, -+extern int ZEXPORT unzReadCurrentFile (unzFile file, - voidp buf, -- unsigned len)); -+ unsigned len); - /* - Read bytes from the current file (opened by unzOpenCurrentFile) - buf contain buffer where data must be copied -@@ -250,19 +250,19 @@ - (UNZ_ERRNO for IO error, or zLib error for uncompress error) - */ - --extern z_off_t ZEXPORT unztell OF((unzFile file)); -+extern z_off_t ZEXPORT unztell (unzFile file); - /* - Give the current position in uncompressed data - */ - --extern int ZEXPORT unzeof OF((unzFile file)); -+extern int ZEXPORT unzeof (unzFile file); - /* - return 1 if the end of file was reached, 0 elsewhere - */ - --extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, -+extern int ZEXPORT unzGetLocalExtrafield (unzFile file, - voidp buf, -- unsigned len)); -+ unsigned len); - /* - Read extra field from the current file (opened by unzOpenCurrentFile) - This is the local-header version of the extra field (sometimes, there is -diff -ur fakenes-0.5.8-old/src/unzip.c fakenes-0.5.8/src/unzip.c ---- fakenes-0.5.8-old/src/unzip.c 2012-08-22 20:51:45.300735366 +0200 -+++ fakenes-0.5.8/src/unzip.c 2012-08-22 20:57:42.596243769 +0200 -@@ -500,7 +500,7 @@ - /* - Get Info about the current file in the zipfile, with internal only info - */ --local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file, -+local int unzlocal_GetCurrentFileInfoInternal (unzFile file, - unz_file_info *pfile_info, - unz_file_info_internal - *pfile_info_internal, -@@ -509,7 +509,7 @@ - void *extraField, - uLong extraFieldBufferSize, - char *szComment, -- uLong commentBufferSize)); -+ uLong commentBufferSize); - - local int unzlocal_GetCurrentFileInfoInternal (file, - pfile_info, diff --git a/games-emulation/fakenes/metadata.xml b/games-emulation/fakenes/metadata.xml deleted file mode 100644 index b669d82dff83..000000000000 --- a/games-emulation/fakenes/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">fakenes</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest index f066f1d42947..1507c0baaeb1 100644 --- a/games-emulation/higan/Manifest +++ b/games-emulation/higan/Manifest @@ -2,5 +2,5 @@ AUX higan-106_p1-QA.patch 3708 BLAKE2B 25f3707c4336e423017eb879e9dfc02fee9660ee8 AUX higan-106_p1-header-locations.patch 598 BLAKE2B d7935edf4f241802ffc5200f8b4944fe1dff4596941993c7539e290f1640eb5e552a263d1a8d0c6db6b2d909b35bc34350aa84a4ba7ea9f8fb06d8466c59a673 SHA512 756893707d9048bf9f34818733ab812d7a81da329646c77536fc6feef74e97b6e3804dfdfd062e5899bba30c70343afdd3b62a5dfd1b79488b7fdec7bde57a91 AUX higan-106_p1-wrapper 166 BLAKE2B 87659c19e485a4eca90178a9c2faf96214af7a13fb16c04a2175f3157dd4b522e6414fed9216a9acb293111f2f994837a9a496075ab0bebd2c78e3a5710330a4 SHA512 db297cfc9b6f5ff1553b52587a9988af46ad7d2aadbaa17743676250679e2bada68d97f85e934ce8c1eb7f57ac3f18c43a33eaca809a1f10f5a4f22c8cbe137a DIST higan-106_p1.tar.bz2 954533 BLAKE2B e7ea44f97f7e2c3ce86b57b853aa59c4372f37185846f8a928ba659b525965aed39f7859721394a776990e53e2f671fc0e7071d17f9397973343d9a7adcf70ac SHA512 f4d8dbfacaa20b948bd382fd0ef48e89cbb21a0569a70b6a4beca6c0a2ba404efc4c28d14bfd3df14d4fd76c763ca1537166bb24d765a8da33423bbea32df4c3 -EBUILD higan-106_p1-r1.ebuild 3149 BLAKE2B 86c071328cb25dfdd44f2b2b4e174d10539ded4cc7e59c12165372b51f4851192075a52a0c1b56ef938bff83f94c62e1dc14ba0f2ed72e8ec8769769c1881c5f SHA512 c476c684cd9b2d2dbab7eb9eb3f691cc249649b3bd1d3dfe9426d25f3d21dd5b8f7dc495b54cee0f1a86e7ee477f7aa8771786172a72ac1a3820dd07b3da62eb +EBUILD higan-106_p1-r1.ebuild 3137 BLAKE2B dbc5a4bb1e4ed2bc60b183d0b29a9c44a468d5d88c1496a7f4996f6e4bd36f21b1049697c810f30449eb24fc16c8370e4e1e8f1873b1fc23adea42aa31fb2a3c SHA512 bba6935d5de6a707c42737c9cb4acd3af243cbffef5552ae0fb9ace207e2a937067680467ce1556e1ee7ef19a56390ee6f211bd32665594bf9a48e8771421668 MISC metadata.xml 377 BLAKE2B aefc33327d342c730de8b2bdd95c2299692c894fd67a3f43d378964e7b776e467d2a4644777e7c8a1eb94b41ee300a65cad084decf64fc02abbac8c02de509c1 SHA512 2faa3ffcca01d5740a5ca1c4f554c51e90e81c6c19cde15cf817c448debb5585e09a1b784d94e3ecd06321ed28a740ce846f1afbd149bce590ca69ef5b1ce9f4 diff --git a/games-emulation/higan/higan-106_p1-r1.ebuild b/games-emulation/higan/higan-106_p1-r1.ebuild index 7f4b51fdf8b1..09a2aafadb15 100644 --- a/games-emulation/higan/higan-106_p1-r1.ebuild +++ b/games-emulation/higan/higan-106_p1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=6 MY_COMMIT=41efdba45afa770db99bc7484a8ad340ccc597d2 -inherit desktop toolchain-funcs qmake-utils xdg-utils +inherit desktop toolchain-funcs xdg-utils DESCRIPTION="A multi-system game emulator formerly known as bsnes" HOMEPAGE="https://byuu.org/emulation/higan/ https://gitlab.com/higan/higan" diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest new file mode 100644 index 000000000000..ef6f9a21b08c --- /dev/null +++ b/games-emulation/openmsx/Manifest @@ -0,0 +1,3 @@ +DIST openmsx-16.0.tar.gz 3997584 BLAKE2B 040bb3f6ff0338740b5212aae21db2c97fcee0e8c8ada1bc84a59d94b1b72180c4b2d5eff8cc4ae84dd95bc77f121e15c2f818f1f2e05ba7dc4781b63770db38 SHA512 a06ec56a8a768356b628e59e587ec85898643b04379da5c72bbbd8e48a0533da34a451b7e4d2a2f540f14e6bbcf833534a1bdac9014ce0c35dfd4ca179618f48 +EBUILD openmsx-16.0.ebuild 2854 BLAKE2B 406a20e7831d8ada8911240c945331577e6eaaed31be72c4a03b60f7eeccd5d33f0096a386e2a053cf2ef82393f585f87acf3a4a2c734758c2e7084abacf2fac SHA512 8030615732d37b53c29541ec3e1dbe20dbb44fc97a96658cdb4bd18ef4f42239249734ad00a3f2664524fec8c82354fdeee7ed541d8010e2ff443579e3b9927d +MISC metadata.xml 568 BLAKE2B 1bfc2740e73372e2e6583b5a7ee33e2354b1288543812728ae4d2a8b269ce55bb51a559a155d0331fe2e4f393ed9ff7d2a8a714fdad0c3ad0c592d4771296666 SHA512 bb481002ea3fc30faa397785a95c3092c343d8affd19ae31d1c6b3f5c980c4ad98024b40495e25598f85a1d295291ebdbe57cc1c4b1cbf0399619bee8f5335a3 diff --git a/games-emulation/openmsx/metadata.xml b/games-emulation/openmsx/metadata.xml new file mode 100644 index 000000000000..4ae0b02dc389 --- /dev/null +++ b/games-emulation/openmsx/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <maintainer type="person"> + <email>jchelmert3@posteo.net</email> + <name>John Helmert III</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">openmsx/openmsx</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-emulation/openmsx/openmsx-16.0.ebuild b/games-emulation/openmsx/openmsx-16.0.ebuild new file mode 100644 index 000000000000..30edf81cdd26 --- /dev/null +++ b/games-emulation/openmsx/openmsx-16.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit desktop flag-o-matic python-any-r1 readme.gentoo-r1 toolchain-funcs xdg + +DESCRIPTION="MSX emulator that aims for perfection" +HOMEPAGE="https://openmsx.org/" +SRC_URI="https://github.com/openMSX/openMSX/releases/download/RELEASE_${PV//./_}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/tcl:0= + media-libs/alsa-lib + media-libs/libogg + media-libs/libpng:0= + media-libs/libsdl2[sound,video] + media-libs/libtheora + media-libs/libvorbis + media-libs/sdl2-ttf + >=media-libs/glew-1.3.2:0= + sys-libs/zlib + virtual/opengl" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +DOC_CONTENTS=" +If you want to if you want to emulate real MSX systems and not +only the free C-BIOS machines, put the system ROMs in one of +the following directories: /usr/share/${PN}/systemroms +or ~/.openMSX/share/systemroms +" + +src_prepare() { + default + sed -i \ + -e '/^LDFLAGS:=/d' \ + -e '/LINK_FLAGS_PREFIX/d' \ + -e '/LINK_FLAGS+=/s/-s//' \ + -e '/LINK_FLAGS+=\$(TARGET_FLAGS)/s/$/ $(LDFLAGS)/' \ + build/main.mk \ + || die + sed -i -e '/SYMLINK/s:true:false:' build/custom.mk || die + sed -i -e 's/GPL.txt//' doc/node.mk || die + + # Build system only configured to use bundled version - but not from the + # directory it's distributed in + cp "${S}/Contrib/catch2/catch.hpp" "${S}/src/unittest" || die +} + +src_configure() { + tc-export CXX + + # Doesn't compile without this, and build system doesn't consistently add + # it properly for all compilers + append-cxxflags '-std=c++17' + + default +} + +src_compile() { + emake \ + CXXFLAGS="${CXXFLAGS}" \ + INSTALL_SHARE_DIR="${EPREFIX}/usr/share/${PN}" \ + V=1 +} + +src_test() { + # To get tests, we need to build with OPENMSX_FLAVOUR=unittest and then the + # build is stored in a directory of the pattern + # ${WORKDIR}/derived/*-unittest/. This is separate from the actual build, + # stored in ${WORKDIR}/derived/*-opt. The unittest binary and the workdir + # binary are in each of these directories under their `bin` directories. + emake \ + V=1 \ + CXXFLAGS="${CXXFLAGS}" \ + OPENMSX_FLAVOUR=unittest + + # There will only ever be one *-unittest directory + "${S}"/derived/*-unittest/bin/openmsx || die +} + +src_install() { + # To guarantee installing the proper binary in case tests were built, + # specify the default OPENMSX_FLAVOUR + emake \ + V=1 \ + INSTALL_BINARY_DIR="${ED}/usr/bin" \ + INSTALL_SHARE_DIR="${ED}/usr/share/${PN}" \ + INSTALL_DOC_DIR="${ED}/usr/share/doc/${PF}" \ + OPENMSX_FLAVOUR=opt \ + install + + einstalldocs + readme.gentoo_create_doc + + for i in 16 32 48 64 128 256 ; do + newicon -s "${i}" "share/icons/openMSX-logo-${i}.png" "${PN}.png" + done + make_desktop_entry "${PN}" "openMSX" +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_pkg_postinst +} |