From e40c6978e7c5664fc31552aaad4bf91f0099f515 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 25 Mar 2018 13:31:33 +0100 Subject: games-action/trine-bin: Renamed to games-action/trine This brings it into line with the other Trine packages. It now seems highly unlikely that there will ever be a source release and if it does happen, hopefully we can drop the binary version. --- games-action/trine-bin/Manifest | 1 - games-action/trine-bin/metadata.xml | 8 --- games-action/trine-bin/trine-bin-1.08-r2.ebuild | 77 ------------------------- games-action/trine/Manifest | 1 + games-action/trine/metadata.xml | 8 +++ games-action/trine/trine-1.08-r2.ebuild | 77 +++++++++++++++++++++++++ profiles/default/linux/musl/package.mask | 2 +- profiles/default/linux/uclibc/package.mask | 2 +- profiles/updates/1Q-2018 | 1 + 9 files changed, 89 insertions(+), 88 deletions(-) delete mode 100644 games-action/trine-bin/Manifest delete mode 100644 games-action/trine-bin/metadata.xml delete mode 100644 games-action/trine-bin/trine-bin-1.08-r2.ebuild create mode 100644 games-action/trine/Manifest create mode 100644 games-action/trine/metadata.xml create mode 100644 games-action/trine/trine-1.08-r2.ebuild diff --git a/games-action/trine-bin/Manifest b/games-action/trine-bin/Manifest deleted file mode 100644 index dd34b082ffeb..000000000000 --- a/games-action/trine-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST TrineUpdate4.64.run 647258173 BLAKE2B b520d1f312b9bd9ef94f32cd5fbe7ceaea0cb1bd839d8a898ac02cac0eb3464d83588f1163949ca2f53d7badb2eca456b8e1438d6f5e96e3c6baa10ca6cb865a SHA512 1255edc90cfd47c4f5a3cf7fa07cebac047f46f9b5f9f6621baff01d9c4295c95204a695127ce4947038c50c80253e7a004ec1c3accff6ac8697605fd25885f9 diff --git a/games-action/trine-bin/metadata.xml b/games-action/trine-bin/metadata.xml deleted file mode 100644 index 78274e0fa550..000000000000 --- a/games-action/trine-bin/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - diff --git a/games-action/trine-bin/trine-bin-1.08-r2.ebuild b/games-action/trine-bin/trine-bin-1.08-r2.ebuild deleted file mode 100644 index 99503c9efac8..000000000000 --- a/games-action/trine-bin/trine-bin-1.08-r2.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 eutils unpacker - -DESCRIPTION="A physics-based action game with character-dependent solutions to challenges" -HOMEPAGE="http://trine-thegame.com/" -SRC_URI="TrineUpdate4.64.run" - -LICENSE="frozenbyte-eula" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="fetch strip" - -DEPEND=" - app-admin/chrpath - app-arch/unzip -" - -RDEPEND=" - dev-libs/glib:2 - dev-libs/libx86 - gnome-base/libglade:2.0 - media-libs/libogg - media-libs/libpng:1.2 - >=media-libs/libsdl-1.2[opengl,sound,video] - >=media-libs/libvorbis-1.3 - >=media-libs/openal-1.15 - >=media-libs/tiff-3.9:3 - >=sys-devel/gcc-4.3.0 - >=sys-libs/glibc-2.4 - virtual/jpeg:62 - x11-libs/gtk+:2 -" - -S="${WORKDIR}" -d="/opt/${PN}" -QA_PREBUILT="*" - -pkg_nofetch() { - einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}" - einfo "See http://www.humblebundle.com/ for more info." -} - -src_unpack() { - unpack_zip ${A} -} - -src_prepare() { - default - rm -v lib*/lib{gcc_s,jpeg,m,ogg,openal,png*,rt,SDL*,selinux,stdc++,tiff,vorbis*}.* || die - chrpath --replace "${EPREFIX}${d}"/lib trine-{bin,launcher}$(usex x86 32 64) || die -} - -src_install() { - local b bb - local sfx=$(usex x86 32 64) - - doicon Trine.xpm - for b in bin launcher ; do - bb="trine-${b}" - exeinto ${d} - newexe ${bb}${sfx} ${bb} - make_wrapper ${bb} "./${bb}" "${d}" - make_desktop_entry ${bb} "Trine ${b}" Trine - done - - exeinto ${d}/lib - doexe lib${sfx}/* - - insinto ${d} - doins -r binds config data dev profiles *.fbz *.glade trine-logo.png - - dodoc Trine_Manual_linux.pdf Trine_updates.txt -} diff --git a/games-action/trine/Manifest b/games-action/trine/Manifest new file mode 100644 index 000000000000..dd34b082ffeb --- /dev/null +++ b/games-action/trine/Manifest @@ -0,0 +1 @@ +DIST TrineUpdate4.64.run 647258173 BLAKE2B b520d1f312b9bd9ef94f32cd5fbe7ceaea0cb1bd839d8a898ac02cac0eb3464d83588f1163949ca2f53d7badb2eca456b8e1438d6f5e96e3c6baa10ca6cb865a SHA512 1255edc90cfd47c4f5a3cf7fa07cebac047f46f9b5f9f6621baff01d9c4295c95204a695127ce4947038c50c80253e7a004ec1c3accff6ac8697605fd25885f9 diff --git a/games-action/trine/metadata.xml b/games-action/trine/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-action/trine/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-action/trine/trine-1.08-r2.ebuild b/games-action/trine/trine-1.08-r2.ebuild new file mode 100644 index 000000000000..99503c9efac8 --- /dev/null +++ b/games-action/trine/trine-1.08-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop eutils unpacker + +DESCRIPTION="A physics-based action game with character-dependent solutions to challenges" +HOMEPAGE="http://trine-thegame.com/" +SRC_URI="TrineUpdate4.64.run" + +LICENSE="frozenbyte-eula" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="fetch strip" + +DEPEND=" + app-admin/chrpath + app-arch/unzip +" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/libx86 + gnome-base/libglade:2.0 + media-libs/libogg + media-libs/libpng:1.2 + >=media-libs/libsdl-1.2[opengl,sound,video] + >=media-libs/libvorbis-1.3 + >=media-libs/openal-1.15 + >=media-libs/tiff-3.9:3 + >=sys-devel/gcc-4.3.0 + >=sys-libs/glibc-2.4 + virtual/jpeg:62 + x11-libs/gtk+:2 +" + +S="${WORKDIR}" +d="/opt/${PN}" +QA_PREBUILT="*" + +pkg_nofetch() { + einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}" + einfo "See http://www.humblebundle.com/ for more info." +} + +src_unpack() { + unpack_zip ${A} +} + +src_prepare() { + default + rm -v lib*/lib{gcc_s,jpeg,m,ogg,openal,png*,rt,SDL*,selinux,stdc++,tiff,vorbis*}.* || die + chrpath --replace "${EPREFIX}${d}"/lib trine-{bin,launcher}$(usex x86 32 64) || die +} + +src_install() { + local b bb + local sfx=$(usex x86 32 64) + + doicon Trine.xpm + for b in bin launcher ; do + bb="trine-${b}" + exeinto ${d} + newexe ${bb}${sfx} ${bb} + make_wrapper ${bb} "./${bb}" "${d}" + make_desktop_entry ${bb} "Trine ${b}" Trine + done + + exeinto ${d}/lib + doexe lib${sfx}/* + + insinto ${d} + doins -r binds config data dev profiles *.fbz *.glade trine-logo.png + + dodoc Trine_Manual_linux.pdf Trine_updates.txt +} diff --git a/profiles/default/linux/musl/package.mask b/profiles/default/linux/musl/package.mask index 303f8b5b4ca2..2cc7523647f1 100644 --- a/profiles/default/linux/musl/package.mask +++ b/profiles/default/linux/musl/package.mask @@ -35,7 +35,7 @@ games-action/shadowgrounds-survivor-bin games-action/solar2 games-action/spacetripper-demo games-action/swordandsworcery -games-action/trine-bin +games-action/trine games-action/trine2 games-arcade/aquaria games-arcade/barbarian-bin diff --git a/profiles/default/linux/uclibc/package.mask b/profiles/default/linux/uclibc/package.mask index f5208eadab27..8b258185f8ec 100644 --- a/profiles/default/linux/uclibc/package.mask +++ b/profiles/default/linux/uclibc/package.mask @@ -24,7 +24,7 @@ games-action/descent3 games-action/descent3-demo games-action/shadowgrounds-bin games-action/shadowgrounds-survivor-bin -games-action/trine-bin +games-action/trine games-arcade/marbleblastgold-demo games-fps/enemy-territory games-fps/enemy-territory-etpro diff --git a/profiles/updates/1Q-2018 b/profiles/updates/1Q-2018 index 9ef13e4e9496..fa4dd25f87d7 100644 --- a/profiles/updates/1Q-2018 +++ b/profiles/updates/1Q-2018 @@ -6,3 +6,4 @@ move app-admin/restart_services app-admin/restart-services move dev-libs/purpose kde-frameworks/purpose move kde-misc/plasma-applet-redshift-control kde-misc/plasma-redshift-control move x11-proto/xorgproto x11-base/xorg-proto +move games-action/trine-bin games-action/trine -- cgit v1.2.3-18-g5258