From fe1c8b732bd548b699d4c2ef725f67f8b8c8911c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 May 2018 11:22:40 +0100 Subject: gentoo resync : 04.05.2018 --- games-strategy/uqm/Manifest | 2 +- games-strategy/uqm/uqm-0.7.0-r3.ebuild | 111 ------------------------------- games-strategy/uqm/uqm-0.7.0-r4.ebuild | 115 +++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+), 112 deletions(-) delete mode 100644 games-strategy/uqm/uqm-0.7.0-r3.ebuild create mode 100644 games-strategy/uqm/uqm-0.7.0-r4.ebuild (limited to 'games-strategy/uqm') diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest index 01ba594bcaf3..9617b8304bd2 100644 --- a/games-strategy/uqm/Manifest +++ b/games-strategy/uqm/Manifest @@ -8,5 +8,5 @@ DIST uqm-remix-disc1.uqm 50188876 BLAKE2B 02bf183aa9ef5460831d4bbcfa90ce4745814d DIST uqm-remix-disc2.uqm 60282662 BLAKE2B c556a99adfb11c8b90cf1de272ce5d42aaf7ec16d246572286646328ddd24b0928f013c8de7806e6545b436c2fa152e0cfd7f4851769992848d6aecb0379a433 SHA512 3053693417facef6d01cdb366a15c1bd2a6272961df5870c4151a928845dd76e4ac5fc59f232da5034d56fd9476d3074840a2e9f16d63dba341aeffd92827c4e DIST uqm-remix-disc3.uqm 39924875 BLAKE2B f5f495f2c3aca9d6a9a95df51379398a823cb795d85d0ccaa719676d54d7b1dbe9d1b41724eb13fabf62359d6aa72d90615de1f437e2ffde7066436fdebeb13b SHA512 2337752e3a2447ab048cc6782153bbb120d2d6b890c5bfae9cbef60a46d12abf716917863286b0196bf6f5e8ef301b5f84338237520880b10cbf75e450076951 DIST uqm-remix-disc4.uqm 86545760 BLAKE2B d644e537ccf234ff846525d70ebe9bd910f68db78f9c7e8dc72b768f24acd98e8db587592352d575bb919561ef5c7dcf09a7e414d31d519475915c65cf65f9b7 SHA512 07f0fbe0b9889602eab43f376577c8e0a19c6db50bbb3f01f57836c7caab1eb18813e94d8d9f2d3098a6b6c9dc336290b7f5262c586f2fb41ffab0e2b0ba7f65 -EBUILD uqm-0.7.0-r3.ebuild 2948 BLAKE2B 0a1e059808315f5e838b3886c58fde77b26d89eba25b252661dbe057c249bd20d65ab82c6f3c43105cdbbc3ee2bc3584f1859231643cb2ac3c3d6cc18fcb6117 SHA512 e7344fcb4c306e69317e898ca86f5c43079a9378538a1216d2e2a694d7993a5a3ad1bf1d27d03daa3a23163085fb31fa1d3efe9bd96ad9852dd34226baed2285 +EBUILD uqm-0.7.0-r4.ebuild 2887 BLAKE2B b9bcdc61a47019fefe86f46453e7413efe252a7e7169d9fed3b4d93c00b045228bd0a3956b0d8013388128eb16b30ab2aab1010b8ebce093bd29f70dbd3a9b20 SHA512 2c551fcce44049917d348d04d011c095ed0e92ba2ba7ca38f0430c2ad83e5e13c1c96951b0be0e03a23a49cb044aee4a281815d5dd9c3de7e80b9febd176f58f MISC metadata.xml 572 BLAKE2B 154cfbc9c11b74fb658a2e8b494e394f1924291e2273e0fef3346471c9059adf42e819dbf795aad3fdf4296a272e149cf46a8502a195b6bb97287c7b0c548409 SHA512 cd21d5260e39857374bcd1795f2cb2c158104ce865cd9c091202bab404f8133b547d0ba8e7a2580a0177ee1b97de31bdf1b0658f0b20860d70585ecb85bd49b1 diff --git a/games-strategy/uqm/uqm-0.7.0-r3.ebuild b/games-strategy/uqm/uqm-0.7.0-r3.ebuild deleted file mode 100644 index 0d0264e8f7a6..000000000000 --- a/games-strategy/uqm/uqm-0.7.0-r3.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils multilib toolchain-funcs games - -DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2" -HOMEPAGE="http://sc2.sourceforge.net/" -SRC_URI="mirror://sourceforge/sc2/${P}-source.tgz - mirror://sourceforge/sc2/${P}-content.uqm - music? ( mirror://sourceforge/sc2/${P}-3domusic.uqm ) - voice? ( mirror://sourceforge/sc2/${P}-voice.uqm ) - remix? ( mirror://sourceforge/sc2/${PN}-remix-disc1.uqm \ - mirror://sourceforge/sc2/${PN}-remix-disc2.uqm \ - mirror://sourceforge/sc2/${PN}-remix-disc3.uqm \ - mirror://sourceforge/sc2/${PN}-remix-disc4.uqm )" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="music opengl remix voice" - -RDEPEND="media-libs/libmikmod - media-libs/libogg - >=media-libs/libpng-1.4:0 - media-libs/libsdl[X,sound,joystick,video] - media-libs/libvorbis - media-libs/sdl-image[png] - sys-libs/zlib - opengl? ( virtual/opengl )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - local myopengl - - use opengl \ - && myopengl=opengl \ - || myopengl=pure - - epatch \ - "${FILESDIR}"/${P}-tempdir.patch \ - "${FILESDIR}"/${P}-warning.patch - - cat <<-EOF > config.state - CHOICE_debug_VALUE='nodebug' - CHOICE_graphics_VALUE='${myopengl}' - CHOICE_sound_VALUE='mixsdl' - CHOICE_accel_VALUE='plainc' - INPUT_install_prefix_VALUE='${GAMES_PREFIX}' - INPUT_install_bindir_VALUE='\$prefix/bin' - INPUT_install_libdir_VALUE='\$prefix/lib' - INPUT_install_sharedir_VALUE='${GAMES_DATADIR}/' - EOF - - # Take out the read so we can be non-interactive. - sed -i \ - -e '/read CHOICE/d' build/unix/menu_functions || die - - # respect CFLAGS - sed -i \ - -e "s/-O3//" build/unix/build.config || die - - sed -i \ - -e "s:@INSTALL_LIBDIR@:$(games_get_libdir)/:g" \ - build/unix/uqm-wrapper.in || die - - # respect CC - sed -i \ - -e "s/PROG_gcc_FILE=\"gcc\"/PROG_gcc_FILE=\"$(tc-getCC)\"/" \ - build/unix/config_proginfo_build || die -} - -src_compile() { - MAKE_VERBOSE=1 ./build.sh uqm || die -} - -src_install() { - # Using the included install scripts seems quite painful. - # This manual install is totally fragile but maybe they'll - # use a sane build system for the next release. - newgamesbin uqm-wrapper uqm - exeinto "$(games_get_libdir)"/${PN} - doexe uqm - - insinto "${GAMES_DATADIR}"/${PN}/content/packages - doins "${DISTDIR}"/${P}-content.uqm - echo ${P} > "${D}${GAMES_DATADIR}"/${PN}/content/version || die - - insinto "${GAMES_DATADIR}"/${PN}/content/addons - if use music; then - doins "${DISTDIR}"/${P}-3domusic.uqm - fi - - if use voice; then - doins "${DISTDIR}"/${P}-voice.uqm - fi - - if use remix; then - insinto "${GAMES_DATADIR}"/${PN}/content/addons - doins "${DISTDIR}"/${PN}-remix-disc{1,2,3,4}.uqm - fi - - dodoc AUTHORS ChangeLog Contributing README WhatsNew doc/users/manual.txt - docinto devel - dodoc doc/devel/[!n]* - docinto devel/netplay - dodoc doc/devel/netplay/* - make_desktop_entry uqm "The Ur-Quan Masters" - prepgamesdirs -} diff --git a/games-strategy/uqm/uqm-0.7.0-r4.ebuild b/games-strategy/uqm/uqm-0.7.0-r4.ebuild new file mode 100644 index 000000000000..f04136716330 --- /dev/null +++ b/games-strategy/uqm/uqm-0.7.0-r4.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop toolchain-funcs + +DESCRIPTION="The Ur-Quan Masters: Port of Star Control 2" +HOMEPAGE="http://sc2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sc2/${P}-source.tgz + mirror://sourceforge/sc2/${P}-content.uqm + music? ( mirror://sourceforge/sc2/${P}-3domusic.uqm ) + voice? ( mirror://sourceforge/sc2/${P}-voice.uqm ) + remix? ( mirror://sourceforge/sc2/${PN}-remix-disc1.uqm \ + mirror://sourceforge/sc2/${PN}-remix-disc2.uqm \ + mirror://sourceforge/sc2/${PN}-remix-disc3.uqm \ + mirror://sourceforge/sc2/${PN}-remix-disc4.uqm )" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="music opengl remix voice" + +RDEPEND=" + media-libs/libmikmod + media-libs/libogg + >=media-libs/libpng-1.4:0= + media-libs/libsdl[X,sound,joystick,video] + media-libs/libvorbis + media-libs/sdl-image[png] + sys-libs/zlib + opengl? ( virtual/opengl ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + + local myopengl + + use opengl \ + && myopengl=opengl \ + || myopengl=pure + + eapply \ + "${FILESDIR}"/${P}-tempdir.patch \ + "${FILESDIR}"/${P}-warning.patch + + cat <<-EOF > config.state + CHOICE_debug_VALUE='nodebug' + CHOICE_graphics_VALUE='${myopengl}' + CHOICE_sound_VALUE='mixsdl' + CHOICE_accel_VALUE='plainc' + INPUT_install_prefix_VALUE='/usr/share' + INPUT_install_bindir_VALUE='\$prefix/bin' + INPUT_install_libdir_VALUE='\$prefix/lib' + INPUT_install_sharedir_VALUE='/usr/share/' + EOF + + # Take out the read so we can be non-interactive. + sed -i \ + -e '/read CHOICE/d' build/unix/menu_functions || die + + # respect CFLAGS + sed -i \ + -e "s/-O3//" build/unix/build.config || die + + sed -i \ + -e "s:@INSTALL_LIBDIR@:/usr/$(get_libdir)/:g" \ + build/unix/uqm-wrapper.in || die + + # respect CC + sed -i \ + -e "s/PROG_gcc_FILE=\"gcc\"/PROG_gcc_FILE=\"$(tc-getCC)\"/" \ + build/unix/config_proginfo_build || die +} + +src_compile() { + MAKE_VERBOSE=1 ./build.sh uqm || die +} + +src_install() { + # Using the included install scripts seems quite painful. + # This manual install is totally fragile but maybe they'll + # use a sane build system for the next release. + newbin uqm-wrapper uqm + exeinto /usr/"$(get_libdir)"/${PN} + doexe uqm + + insinto /usr/share/${PN}/content/packages + doins "${DISTDIR}"/${P}-content.uqm + echo ${P} > "${ED}"/usr/share/${PN}/content/version || die + + insinto /usr/share/${PN}/content/addons + if use music; then + doins "${DISTDIR}"/${P}-3domusic.uqm + fi + + if use voice; then + doins "${DISTDIR}"/${P}-voice.uqm + fi + + if use remix; then + insinto /usr/share/${PN}/content/addons + doins "${DISTDIR}"/${PN}-remix-disc{1,2,3,4}.uqm + fi + + dodoc AUTHORS ChangeLog Contributing README WhatsNew doc/users/manual.txt + docinto devel + dodoc doc/devel/[!n]* + docinto devel/netplay + dodoc doc/devel/netplay/* + make_desktop_entry uqm "The Ur-Quan Masters" +} -- cgit v1.2.3