summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /games-emulation
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/Manifest.gzbin9702 -> 9697 bytes
-rw-r--r--games-emulation/dolphin/Manifest2
-rw-r--r--games-emulation/dolphin/dolphin-5.0_p20200705.ebuild2
-rw-r--r--games-emulation/dosbox-staging/Manifest4
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild59
-rw-r--r--games-emulation/dosbox-staging/metadata.xml1
-rw-r--r--games-emulation/fceux/Manifest1
-rw-r--r--games-emulation/fceux/fceux-2.2.3-r100.ebuild69
-rw-r--r--games-emulation/ppsspp/Manifest4
-rw-r--r--games-emulation/ppsspp/metadata.xml1
-rw-r--r--games-emulation/ppsspp/ppsspp-1.10.3.ebuild11
11 files changed, 143 insertions, 11 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz
index 8c359b0afcc8..ad5a6a909330 100644
--- a/games-emulation/Manifest.gz
+++ b/games-emulation/Manifest.gz
Binary files differ
diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest
index 7533209c7d76..21deaa247677 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 4420 BLAKE2B 4e7be2832c1723532c59fa0268e9c62bd68754296b26bea8728bbf2c3967e58678cc9421f0a3810c30bf83ac14c1c9ce674c44bceda179ae704ca7345fb68e1d SHA512 a52a06306f6e8482fa2acfd41f308b5a583e5fe1e5a51ab31b1504a1d8c0b6e70e7f9419ee4adeea9e33ffbd116c993e931c9f17891475921d8ce2110a825b3f
+EBUILD dolphin-5.0_p20200705.ebuild 4427 BLAKE2B 1e5bb1dc1d994e38989f4414837da45ca0f3f1fd9e684ff017199ac0e1ffda7e3472a90c937b7a029736114f34cb0e8e58f3c77c8702b1c7547bbe5e8320a581 SHA512 f46e6bc95f0cb5c68fa4bf202acac60bebe1a9fad8d399161e156da1a365b70c2eb974516f3275f26a4e1f8506344874f257230248a3c7eaf497f74ce5245f09
EBUILD dolphin-9999.ebuild 4671 BLAKE2B 5de627ef99a6ca280c244ac862e39d35de9fae454bff7db7846ced1b96e4321ba491ec6536bbce6c31d5bb09da317abfb9ebfa541c6d9b6b7737ff8aa740e745 SHA512 dd6377b8f39bcd1c02a66a45f90e31b9a10449b545977658beb68a336a72533981d710e04f888a49f70bd5400d1b89abc139a6a2ea811fb7fac9dc61d7758671
MISC metadata.xml 856 BLAKE2B 982e3d9ee65ed158e831ccb72d144944eaab8efd8f535f120f2d9e14f8332a980244bb23ee7fe0ca6c1ca8b6f2cdc6c1c766439b4416e17fc8df93fc24ca7655 SHA512 994efa4a7b1504a2d02f4d470382c212f0b9c2f929bbc67483b1a4efa4e68d4422216737dca65977ad99afd26fb6772224f6b1902a0eb6b869f155cf010aff33
diff --git a/games-emulation/dolphin/dolphin-5.0_p20200705.ebuild b/games-emulation/dolphin/dolphin-5.0_p20200705.ebuild
index 1b2cd79579d2..e933904d1e56 100644
--- a/games-emulation/dolphin/dolphin-5.0_p20200705.ebuild
+++ b/games-emulation/dolphin/dolphin-5.0_p20200705.ebuild
@@ -16,7 +16,7 @@ else
inherit vcs-snapshot
commit=0dbe8fb2eaa608a6540df3d269648a596c29cf4b
SRC_URI="https://github.com/dolphin-emu/dolphin/archive/${commit}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64"
+ KEYWORDS="amd64 ~arm64"
fi
DESCRIPTION="Gamecube and Wii game emulator"
diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest
index 25970b24e220..4e6e80f7fe04 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -2,7 +2,9 @@ AUX dosbox-staging-0.75.1-ar.patch 370 BLAKE2B 8df10e9efd58665f6918b80f3b3ab4c1a
AUX dosbox-staging-0.75.1-pthread.patch 378 BLAKE2B d0b5fe1e9927592fac4d87863587f8a5e53089e1f52db234ceca975034768e8b84ca3976ddf66943fa42ed2c9644f109b015ba35677151bc70b6ffa9ffee80c8 SHA512 8decb24a22fdceeebe45fcff73d99ae1eeebf8f9c679f25cb049c804c5ea74ed297593839aef509ea63afc0a36f5821750be93c14cb5872af163f5c815156b30
DIST dosbox-staging-0.75.1.tar.gz 1806471 BLAKE2B 5f9f8038327eb46c2c2b5035ca8e2cc93660bb6ce1dfa9572bf67278f14455db723104c0ab4e90b805cc7dbf253f61528ad6a31edb574af57e106f613958aede SHA512 3e14354e4eb697514c4348af2e73e9f2fb84cc3796b5cfea37faac355bd93a54b0f9c717bf0ab75d824cf34e3ee0d40546e2bbf80bc924a37bd8f981f054e4e9
DIST dosbox-staging-0.75.2.tar.gz 1816233 BLAKE2B 0cb3224a1fe0e01e5069b78c91191f33b6d84dfb21b00ed8cd832225e68e5f66e841506bc7c887da462727b931a6c72b84dbf5e48e4dde21dbf62ffa3da4edc6 SHA512 2988b2cc44d041193d900efc4c6fa516aca6246e51c1dece9b207bd3549a8c76c5bcb2f3f5a90da6bb2b573663bddd0020274f17130548aef9cef1f4adf79220
+DIST dosbox-staging-0.76.0.tar.gz 1908605 BLAKE2B 71b3c3d6a6444e2442d54b1db365ea66c9ee3db703be876facb8425355d82d817c080e005cefd103714e15fc7d1c17d6329c28d67bf74c143d0428e4f58e5142 SHA512 8c0357bcec08cac2cd2b306edd8b51ad05e16a3c3efb1f4c77e1d942f285493cae8aab45f1633e9c168c0b4b45aa289cf3ffc72685dc004d83127cdb6c76ae9d
EBUILD dosbox-staging-0.75.1-r1.ebuild 1144 BLAKE2B fe3b39890f8a3f81748b11b338a7480f5a84572bcf0dd00acb53681707a16d9f56fb1befd32871fa64263d81c8080dc608eb5a05067ef223b2002a8ede96357e SHA512 5be3d7dd10c9fe2ecd399ccb204b09706214086bbb230ed5c6ef2f283db4a7c181d5a5126db489214654f02484a186c401d19d7bed28e85f23ad1a24ae8bcf74
EBUILD dosbox-staging-0.75.1-r2.ebuild 1186 BLAKE2B f511b38ee74bef77a5ec74d43c6c0ace4fe77e1efd43f875d2aae9ee5c437f8e666854f314ed5b1f8398f6e04a4d605e9d8ffb41bf688769ab2de93d6986f867 SHA512 199f8186d8d6fb6eca81cb3959bcb353514353a25d5779e49ef3f50e0b852143df353ba2aa516d11e5be7e5668df8223b64127e716f92406488724e28303587d
EBUILD dosbox-staging-0.75.2.ebuild 1163 BLAKE2B caf74b9aaa814a9c3143acfa691b96dc38d6f6aaddded408c0269feda1e48fc2a5a6cd1562673d31d98dec0b2cffca5d332371c7601a9010b6d3590231efbdf9 SHA512 221c432915666c9bf78b53e32fe9670502ff27b0d41f15f0b10c4422bceaf0ada4f387be63707e8b581d5d121cac5afff65a0105c69a52c66a8ae047a89a434e
-MISC metadata.xml 620 BLAKE2B 6d3e457fdeda6a756be2a0e8360af6c680fa29f24979bb838330a427c637d29d908fd42711dd561be823b726a94db2de29f0772118f30146638d48c8bfd2722b SHA512 630dbd73aa1f06464bcfd44bec97b1dda5afe21de38876d6cbfb2a506e3fbe461766d2eec6d8df4afdc8ec9badc2239da91b589e08425f91f4bc0ea99455bb9e
+EBUILD dosbox-staging-0.76.0.ebuild 1431 BLAKE2B d6fefe9c171bd48de4246e239d95ebc78bbc02cf1aa138712cc3a2ed76fa9a5a5a181770e8d3f2173079770ef56b4adb83f8843d2fbfcfa6996c8806936912c6 SHA512 3fa322c2f91c97d0f86befc97c93d0e4dd4dcdba56055a97a8dd0fe85907e7319353cf85790dfc790fe811a9ba8990eaece8d86040255cf55f99ea8b502b5ea5
+MISC metadata.xml 710 BLAKE2B 45d197041761e16f354db34d0de96caca1ae85803249cbe2f617263b65603bfc609739bb498cfccc8ebc847168d0f545ff25eecc7ac7bc528532558b906f8130 SHA512 5ccb4a8c37351fd9914d51e51adc0c6c76024bf089210d8517c26410c2cff338909d5cffcf0be4f6ee74d931d57f6418112a93ce6a0b620540da21d224fb9afc
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
new file mode 100644
index 000000000000..7e127ad865ea
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools desktop flag-o-matic xdg
+
+DESCRIPTION="Modernized DOSBox soft-fork"
+HOMEPAGE="https://dosbox-staging.github.io/"
+SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth network opengl opus"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ debug? ( sys-libs/ncurses:0= )
+ fluidsynth? (
+ media-sound/fluid-soundfont
+ media-sound/fluidsynth
+ )
+ network? ( media-libs/sdl2-net )
+ opengl? ( virtual/opengl )
+ opus? ( media-libs/opusfile )
+ media-libs/libpng:0=
+ media-libs/libsdl2[joystick,opengl?,video,X]
+ sys-libs/zlib
+ !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+src_prepare() {
+ default
+
+ # We do not have default.sf2, use actual name from fluid-soundfont
+ sed -e "s/default.sf2/FluidR3_GM.sf2/" \
+ -i src/midi/midi_fluidsynth.cpp || die
+
+ eautoreconf
+}
+
+src_configure() {
+ use debug || append-cppflags -DNDEBUG
+ econf \
+ $(use_enable alsa alsa-midi) \
+ $(use_enable debug) \
+ $(use_enable !dynrec dynamic-x86) \
+ $(use_enable dynrec) \
+ $(use_enable fluidsynth) \
+ $(use_enable network) \
+ $(use_enable opengl) \
+ $(use_enable opus opus-cdda)
+}
+
+src_install() {
+ default
+ doicon -s scalable contrib/icons/${PN}.svg
+ domenu contrib/linux/dosbox-staging.desktop
+}
diff --git a/games-emulation/dosbox-staging/metadata.xml b/games-emulation/dosbox-staging/metadata.xml
index 91406d636bc1..f9ff028304d3 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="dynrec">Use recompiling cpu core instead of dynamic x86/x64 specific cpu core</flag>
+ <flag name="fluidsynth">use <pkg>media-sound/fluidsynth</pkg> for MIDI emulation</flag>
<flag name="network">Enable networking features (modem, ipx)</flag>
<flag name="opus">Support compressed audio tracks (.opus) used with CDROM images</flag>
</use>
diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest
index 5f57b352b562..fa1345443c6c 100644
--- a/games-emulation/fceux/Manifest
+++ b/games-emulation/fceux/Manifest
@@ -1,5 +1,6 @@
AUX fceux-2.2.2-warnings.patch 1174 BLAKE2B 5b2076015d005a75ab97b586bb2af022b53a8d1724ef0becac808606366f3ba2f64e97c7073bb3f152d337c248ea91cfb15df81e2d1c5f3ebaf94f0defea3ae1 SHA512 03f7ff47f18982eb5fc7b0c942313fb6328412fe64c9b07bf97a85e25eb73c926b362ce5da789ebc7dff70f9d3d11e9df9e033e5a3ddd8fdee6c712471806b97
AUX fceux-2.2.3-python3.patch 4392 BLAKE2B a71d108fee4aa1881cede5ffe484f0940ed3d6d3416a4849e4e3db1636ffd4112533954602781e928dafcffaee1f835972f2adf9b9fb465429d6abaf238a4042 SHA512 ca1026e02107ad64a36498f2e6eb8c0b814a75bad2a43717098a229a239123a306778d2ec669a4f0948a144f206c684858fd923cc7256e698816b2a0471d4c8f
DIST fceux-2.2.3.src.tar.gz 9292792 BLAKE2B 44412934a50f2cab581cb194932a079071e8c7c1cb4cb4d173e9d7cf4898806fe1b0948d6e86fd70d1265eb596c47f77f751e3a113f03aba9b95e1f5def9c2a8 SHA512 6deb83e9e773694f4040f5f325b0b5b4f45d58bb3481db67b4659c940d90c4c87e3ffeac712b72ddb3f5d089cd9fc7b55b497db61f708c23a7c43c17eda55c7b
+EBUILD fceux-2.2.3-r100.ebuild 1461 BLAKE2B 8f476b000556b971bb21d3a4f72fa50f1a98c0c97935335d8c977b2a5c108ce520f2c86ea24ae242a41c190ca091665d7ec9282bef746ee226de4aa1ac4d387b SHA512 8fdde65c646727668a2c4947aeb4e4825bef79d2a91e3c3141c9a81c01bd1263584132dcca39e3ba320e32c17a4a23c75e19bc3ad43100cce028f00b68a8776a
EBUILD fceux-2.2.3-r2.ebuild 1310 BLAKE2B 8330d9015264d4cfcb68e07fe9c53c2d4b854e80a398bd9709308ab9d78724fc2f74d84d6b97cf9c046cf77f79c6a6bff1925bf821f914139a46519cae477586 SHA512 ffb0b5a4c3f02bebf44abd454db4beefe4786f98ead9e28d0e8660f933eec18cd17945b4baef139fb4c05a279338d9dc1b33d878384d4306877e80fc993549d3
MISC metadata.xml 432 BLAKE2B 69c86fec99d0d08d0672142afbb39b2f2c352af4a8ff953516522f721e2482a4624b542593c8eac0be3570a75037cf27b0c48bd19033429d1c5d66e85fcdb952 SHA512 f6f073a198d89d195daa4da1c4c8bdf631258db0ff8cc5fefd9d8a6d93beb38081d37a70df0d0f62d7bf79f7595a3456d88ac0c724535d8c453f3096d2256b96
diff --git a/games-emulation/fceux/fceux-2.2.3-r100.ebuild b/games-emulation/fceux/fceux-2.2.3-r100.ebuild
new file mode 100644
index 000000000000..734feb3edc83
--- /dev/null
+++ b/games-emulation/fceux/fceux-2.2.3-r100.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 )
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit python-any-r1 desktop lua-single scons-utils toolchain-funcs
+
+DESCRIPTION="A portable Famicom/NES emulator, an evolution of the original FCE Ultra"
+HOMEPAGE="https://fceux.com/"
+SRC_URI="mirror://sourceforge/fceultra/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk logo +lua +opengl"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RDEPEND="
+ lua? ( ${LUA_DEPS} )
+ media-libs/libsdl[opengl?,video]
+ logo? ( media-libs/gd[png] )
+ opengl? ( virtual/opengl )
+ gtk? ( x11-libs/gtk+:3 )
+ sys-libs/zlib[minizip]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2.2-warnings.patch
+ "${FILESDIR}/${P}-python3.patch"
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ use lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ tc-export CC CXX
+}
+
+src_compile() {
+ escons \
+ GTK=0 \
+ CREATE_AVI=1 \
+ SYSTEM_LUA=1 \
+ SYSTEM_MINIZIP=1 \
+ GTK3=$(usex gtk 1 0) \
+ LOGO=$(usex logo 1 0) \
+ OPENGL=$(usex opengl 1 0) \
+ LUA=$(usex lua 1 0)
+}
+
+src_install() {
+ dobin bin/fceux
+
+ doman documentation/fceux.6
+ docompress -x /usr/share/doc/${PF}/documentation /usr/share/doc/${PF}/fceux.chm
+ dodoc -r Authors changelog.txt TODO-SDL bin/fceux.chm documentation
+ rm -f "${D}/usr/share/doc/${PF}/documentation/fceux.6"
+ make_desktop_entry fceux FCEUX
+ doicon fceux.png
+}
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index a9ea995d1c7f..51c7651cdcd3 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -8,5 +8,5 @@ DIST ppsspp-1.10.3-ext_native_tools_prebuilt.tar.gz 897571 BLAKE2B b1c959a0cd1c6
DIST ppsspp-1.10.3-ext_rapidjson.tar.gz 1054419 BLAKE2B 40b8ba0884943de2179b21d7a56716efed2ec5b4098aa33c061e52703b0952930fe2f1bda8cb6ec4a75b947753011e9d06fda953a3862e321d2a0187cd60385d SHA512 3472e129e710bf5343b8b27a61581a1480c8096493e466440b62702d8b5353745d561931f72b5405a736ad92525be3843ea1cf4b5ea5839721cc6d6b358f19bc
DIST ppsspp-1.10.3-ffmpeg.tar.gz 387126903 BLAKE2B fd838039dda32f1b9d16649bd7e5a5d6fb3db74a8032d51973b01e567dd97c06c3d16b82a5176cb5828178f47619d767e1e0473a31484ab957636502a5172fa0 SHA512 74a8ee678c16578af63af3a6dd11dbd7bba265bc6581ff78c19269cff1b2896e236c6468175eb19c3c321ee67ebe1d62b4ff179163bb7162089c953a18483cf7
DIST ppsspp-1.10.3.tar.gz 16956980 BLAKE2B 3f02abaf68a3a2acbaf71936fe70904a5065eb5c8afc8ec00804c325c597c4bf57fb4b9c7e1df7b302c085043a0ad210ca0d6ed2be89dd6ed28c9c635afff8db SHA512 522b2014810bd39a8554920b6d9bec7c47334d51537a7ca41482f629622b9e2d3dddfaaa5389b3c6c7dda8d7d3212b7ce9f6bd6e6d8498ffe370cf2cc58aac30
-EBUILD ppsspp-1.10.3.ebuild 3264 BLAKE2B 0a3cb8f78040261c11bf6cca3ea3c83b0c0d1fe7caf8c69ec085c9fc44ff4ac7298199b5336b59536f6ceb823c12a9da176f92a95f4cfdf47b7a2f11953812cc SHA512 c5b8f25b7150f8bfa63bf13d15edbf91824cd5fb837d2f980b785655634566248cc09b85960e23c35057c3bce4ec13ba907e0389e76c94dada7cad3361127031
-MISC metadata.xml 682 BLAKE2B 5d95a098006d02571fb86fef3fc287379d6c7174918de08c169d2239d87fad29ae68126667652b9cb08ed74ea06831573fdfcb37de2e4e65ed4bcdc14d148e28 SHA512 a626149a0a8d462a8124ed8e2d1122beb493624922efe3c44e8ba9a37b081a23b72971b29413b59d613ed417ac9d9a7dca1c300237e97250e079628b483280bd
+EBUILD ppsspp-1.10.3.ebuild 3329 BLAKE2B 1063dacbce06ae1ac2d6195dd237383abb4a4692ea46975c3f24e3e077ab24cf50c75934d7f7eb51f76b5e2b0630cbfa6b1666c92ed8be414b55ac48c8d43a07 SHA512 ceaf7940320c49c307e034c7aa1722965c7237bb4f0f78385869ba81006b66f4fa6d30dc4f21bc0a657833fef7f258026d584e74aed65ad3402f7b84ba9b790c
+MISC metadata.xml 783 BLAKE2B c8d77a184e90069b4c727f2eae05b93e634b940f16ef535ab34df784d170b4c3d0ce50e4daa5acc78d4aee107fe4df61dfa64491a8aded91d79efd78c3b12ce0 SHA512 570ea60678a3bde7c61d30188071610f570530f29a77b39bfb9e15737a0a8e4dc90bc1e18898e744f4672c7b0143db69e30c63f4945bc76d4a3553482337d0b8
diff --git a/games-emulation/ppsspp/metadata.xml b/games-emulation/ppsspp/metadata.xml
index 734835063341..d19785f0a0cc 100644
--- a/games-emulation/ppsspp/metadata.xml
+++ b/games-emulation/ppsspp/metadata.xml
@@ -10,6 +10,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
+ <flag name="discord">Enable interfacing with a locally running Discord desktop client</flag>
<flag name="system-ffmpeg">Use the system-wide media-video/ffmpeg instead of bundled</flag>
</use>
<upstream>
diff --git a/games-emulation/ppsspp/ppsspp-1.10.3.ebuild b/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
index 41b2ef1ee03e..c2d256e9a4fc 100644
--- a/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
@@ -12,18 +12,18 @@ SRC_URI="
https://github.com/KhronosGroup/SPIRV-Cross/archive/a1f7c8dc8ea2f94443951ee27003bffa562c1f13.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
https://github.com/Kingcom/armips/archive/7885552b208493a6a0f21663770c446c3ba65576.tar.gz -> ${P}-ext_armips.tar.gz
https://github.com/Tencent/rapidjson/archive/73063f5002612c6bf64fe24f851cd5cc0d83eef9.tar.gz -> ${P}-ext_rapidjson.tar.gz
- https://github.com/discordapp/discord-rpc/archive/3d3ae7129d17643bc706da0a2eea85aafd10ab3a.tar.gz -> ${P}-ext_discord-rpc.tar.gz
https://github.com/hrydgard/glslang/archive/d0850f875ec392a130ccf00018dab458b546f27c.tar.gz -> ${P}-ext_glslang.tar.gz
https://github.com/hrydgard/ppsspp-freetype/archive/cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a.tar.gz -> ${P}-ext_native_tools_prebuilt.tar.gz
https://github.com/hrydgard/ppsspp-lang/archive/fd6f5bc01afb419eacca538b425c01eb2a055393.tar.gz -> ${P}-assets_lang.tar.gz
!system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/d3e695286cce346274192c214c00f021c00cd575.tar.gz -> ${P}-ffmpeg.tar.gz )
+ discord? ( https://github.com/discordapp/discord-rpc/archive/3d3ae7129d17643bc706da0a2eea85aafd10ab3a.tar.gz -> ${P}-ext_discord-rpc.tar.gz )
"
RESTRICT="test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="qt5 sdl +system-ffmpeg"
+IUSE="discord qt5 sdl +system-ffmpeg"
REQUIRED_USE="!qt5? ( sdl )"
RDEPEND="
@@ -57,14 +57,12 @@ src_unpack() {
assets_lang
ext_SPIRV-Cross
ext_armips
- ext_discord-rpc
ext_glslang
ext_native_tools_prebuilt
ext_rapidjson
)
- if ! use system-ffmpeg; then
- list+=( ffmpeg )
- fi
+ ! use system-ffmpeg && list+=( ffmpeg )
+ use discord && list+=( ext_discord-rpc )
for i in "${list[@]}"; do
tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
done
@@ -82,6 +80,7 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package sdl SDL2)
-DHEADLESS=true
+ -DUSE_DISCORD=$(usex discord)
-DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
-DUSE_SYSTEM_LIBZIP=ON
-DUSE_SYSTEM_SNAPPY=ON