From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/
Date: Fri, 15 Mar 2019 22:45:37 +0000 (UTC) [thread overview]
Message-ID: <1552689930.14f9a4f07ec77a04653d0e3dbd183cc3e7da8d55.polynomial-c@gentoo> (raw)
commit: 14f9a4f07ec77a04653d0e3dbd183cc3e7da8d55
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 22:40:58 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 22:45:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f9a4f0
games-engines/residualvm: Added lots of USE flags.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
games-engines/residualvm/metadata.xml | 3 ++
games-engines/residualvm/residualvm-9999.ebuild | 45 +++++++++++++++----------
2 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/games-engines/residualvm/metadata.xml b/games-engines/residualvm/metadata.xml
index f346e545798..c5d960e91c7 100644
--- a/games-engines/residualvm/metadata.xml
+++ b/games-engines/residualvm/metadata.xml
@@ -5,6 +5,9 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+ <use>
+ <flag name="mpeg2">enable mpeg2 codec for cutscenes</flag>
+ </use>
<upstream>
<remote-id type="sourceforge">residualvm</remote-id>
</upstream>
diff --git a/games-engines/residualvm/residualvm-9999.ebuild b/games-engines/residualvm/residualvm-9999.ebuild
index ded84a46d1d..0f0a4bb4dbc 100644
--- a/games-engines/residualvm/residualvm-9999.ebuild
+++ b/games-engines/residualvm/residualvm-9999.ebuild
@@ -15,20 +15,24 @@ else
fi
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
-IUSE=""
+IUSE="alsa debug jpeg mpeg2 mp3 opengl png truetype vorbis zlib"
# TODO: fix dynamic plugin support
# games crash without media-libs/libsdl[alsa]
RDEPEND="
- media-libs/alsa-lib
- media-libs/freetype:2
media-libs/glew:0=
- media-libs/libpng:0=
media-libs/libsdl2[X,sound,alsa,joystick,opengl,video]
- sys-libs/zlib:=
virtual/glu
- virtual/jpeg:0
- virtual/opengl"
+ alsa? ( media-libs/alsa-lib )
+ jpeg? ( virtual/jpeg:0 )
+ mp3? ( media-libs/libmad )
+ mpeg2? ( media-libs/libmpeg2 )
+ opengl? ( virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ truetype? ( media-libs/freetype:2 )
+ vorbis? ( media-libs/libvorbis )
+ zlib? ( sys-libs/zlib:= )
+"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
@@ -36,35 +40,40 @@ BDEPEND="
src_configure() {
# not an autotools script
- # most configure options currently do nothing, verify on version bump !!!
+ # some configure options currently do nothing, verify on version bump !!!
# disable explicitly, otherwise we get unneeded linkage (some copy-paste build system)
local myconf=(
--backend=sdl
- --disable-debug
--disable-faad
--disable-flac
--disable-fluidsynth
--disable-libunity
- --disable-mad
--disable-sparkle
- --disable-translation
--disable-tremor
- --disable-vorbis
--docdir="/usr/share/doc/${PF}"
--enable-all-engines
- --enable-release-mode
- --enable-zlib
+ --enable-verbose-build
+ --libdir="${EPREFIX}/usr/$(get_libdir)"
--host="${CHOST}"
--prefix="${EPREFIX}/usr"
+ $(use_enable alsa)
+ $(use_enable debug)
+ $(use_enable !debug release-mode)
+ $(use_enable jpeg)
+ $(use_enable mp3 mad)
+ $(use_enable mpeg2)
+ $(use_enable opengl)
+ $(use_enable opengl opengl-shaders)
+ $(use_enable png)
+ $(use_enable truetype freetype2)
+ $(use_enable vorbis)
+ $(use_enable zlib)
)
./configure "${myconf[@]}" "${EXTRA_ECONF}" || die
}
src_compile() {
- emake \
- VERBOSE_BUILD=1 \
- AR="$(tc-getAR) cru" \
- RANLIB=$(tc-getRANLIB)
+ emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
}
src_install() {
next reply other threads:[~2019-03-15 22:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-15 22:45 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-20 0:05 [gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/ Sam James
2021-12-28 17:10 Ionen Wolkens
2019-11-05 7:56 Lars Wendler
2019-03-15 22:45 Lars Wendler
2019-03-15 22:45 Lars Wendler
2019-03-15 21:53 Lars Wendler
2018-09-12 10:57 Lars Wendler
2018-09-12 10:57 Lars Wendler
2017-01-20 1:09 Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1552689930.14f9a4f07ec77a04653d0e3dbd183cc3e7da8d55.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox