diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-07-16 21:27:07 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-07-16 22:40:48 +0200 |
commit | 3294f54acf382942fe72e459b47a3e0ed05c5f2f (patch) | |
tree | 06096a370d67b3237b3e8c65cc4e55eeac1dca35 /games-simulation | |
parent | kde-apps/zeroconf-ioslave: pkgmove to net-misc/kio-zeroconf (diff) | |
download | gentoo-3294f54acf382942fe72e459b47a3e0ed05c5f2f.tar.gz gentoo-3294f54acf382942fe72e459b47a3e0ed05c5f2f.tar.bz2 gentoo-3294f54acf382942fe72e459b47a3e0ed05c5f2f.zip |
games-simulation/openrct2: add missing deps for flac and vorbis
Closes: https://bugs.gentoo.org/857207
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/openrct2/openrct2-0.4.1-r1.ebuild (renamed from games-simulation/openrct2/openrct2-0.4.1.ebuild) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games-simulation/openrct2/openrct2-0.4.1.ebuild b/games-simulation/openrct2/openrct2-0.4.1-r1.ebuild index 086cc24d58f0..a3c712df2773 100644 --- a/games-simulation/openrct2/openrct2-0.4.1.ebuild +++ b/games-simulation/openrct2/openrct2-0.4.1-r1.ebuild @@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="dedicated +lightfx +opengl scripting test +truetype" +IUSE="dedicated +flac +lightfx +opengl scripting test +truetype +vorbis" RESTRICT="!test? ( test )" COMMON_DEPEND=" @@ -39,7 +39,9 @@ COMMON_DEPEND=" !dedicated? ( media-libs/libsdl2 media-libs/speexdsp + flac? ( media-libs/flac ) opengl? ( virtual/opengl ) + vorbis? ( media-libs/libvorbis ) ) dev-libs/openssl:0= scripting? ( dev-lang/duktape:= ) @@ -103,6 +105,7 @@ src_configure() { # as both packages do not exist in Gentoo, so support for them has been disabled. local mycmakeargs=( -DDISABLE_DISCORD_RPC=ON + $(usex !dedicated "-DDISABLE_FLAC=$(usex !flac)" "") -DDISABLE_GOOGLE_BENCHMARK=ON -DDISABLE_GUI=$(usex dedicated) -DDISABLE_HTTP=OFF @@ -110,6 +113,7 @@ src_configure() { -DDISABLE_NETWORK=OFF $(usex !dedicated "-DDISABLE_OPENGL=$(usex !opengl)" "") -DDISABLE_TTF=$(usex !truetype) + $(usex !dedicated "-DDISABLE_VORBIS=$(usex !vorbis)" "") -DDOWNLOAD_OBJECTS=OFF -DDOWNLOAD_REPLAYS=OFF -DDOWNLOAD_TITLE_SEQUENCES=OFF |