diff options
author | 2014-11-14 17:18:19 +0000 | |
---|---|---|
committer | 2014-11-14 17:18:19 +0000 | |
commit | 5c1409e70aae247899ec860282cb7a79a6e4b03a (patch) | |
tree | d3b2d555fe451d0cd8292c420df866d537dc8941 /games-rpg | |
parent | Dev channel bump. Remove old. (diff) | |
download | gentoo-2-5c1409e70aae247899ec860282cb7a79a6e4b03a.tar.gz gentoo-2-5c1409e70aae247899ec860282cb7a79a6e4b03a.tar.bz2 gentoo-2-5c1409e70aae247899ec860282cb7a79a6e4b03a.zip |
intial import
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/a-bird-story/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/a-bird-story/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/a-bird-story/a-bird-story-20141106.ebuild | 102 | ||||
-rw-r--r-- | games-rpg/a-bird-story/metadata.xml | 12 |
4 files changed, 128 insertions, 0 deletions
diff --git a/games-rpg/a-bird-story/ChangeLog b/games-rpg/a-bird-story/ChangeLog new file mode 100644 index 000000000000..6c7e52cb8c59 --- /dev/null +++ b/games-rpg/a-bird-story/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/a-bird-story +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/a-bird-story/ChangeLog,v 1.1 2014/11/14 17:18:19 hasufell Exp $ + +*a-bird-story-20141106 (14 Nov 2014) + + 14 Nov 2014; Julian Ospald <hasufell@gentoo.org> + +a-bird-story-20141106.ebuild, +metadata.xml: + intial import + diff --git a/games-rpg/a-bird-story/Manifest b/games-rpg/a-bird-story/Manifest new file mode 100644 index 000000000000..eacbb2cd0d50 --- /dev/null +++ b/games-rpg/a-bird-story/Manifest @@ -0,0 +1,4 @@ +DIST ABirdStory-2014-11-06.sh 163620225 SHA256 b8d390c8325d31b287a87ee9f3475a2e454473196247a17fef1ede80744da30e SHA512 1787d3267fb4ed71845cc614842fb6bfa6713c3d9ebeb4b3bac922776243bfc3ae3d3dd94e3a5ab871d67489fda8c87c3a3fb71dcac4066c49cecc702a81bbd9 WHIRLPOOL 90bc002b38ae16482b8849b38db58b20dc5863aca841b02322c4f3abf279a785625454ade7daef5525a720d88a68cf5627613b75118d1b254fdb249a800ecfc5 +EBUILD a-bird-story-20141106.ebuild 2607 SHA256 ed83db8ee6e35438008fc1bb90059a39cc9d608f56d9f786e2e1dee4c94485df SHA512 69eeea65449e0d536cd25931ccd7f462ff81ee3ea5b136db6b9adf1320cd0f5317bfe16cf5fda614db7675c3504b27fb59ce10ce7fe2540856e9e9846904ad2d WHIRLPOOL c4939802f8e640858ee3d4c04e5a0ab6e937dabd7e3d2e3b925511475d8e7bd64250ee8907eb7ca43fa19e4a1e05c573ec8d1123baefcfe70258e59646abb071 +MISC ChangeLog 277 SHA256 44850b40c125f4913faecbdc6dfaa64b0fbd9278c332d93f1379c68360933cde SHA512 7f2652c177f440eca2f8a1e3f4ac92993347c164373331d3992ede7d388ebadd44c5f1fb8badccc1bb4e09dbfeb76d32dad9ce12a0e324e43f6174551fa79f07 WHIRLPOOL cedc961a889c7a4a32a507115e0446f2ed94521127d5a78125891b8e92255c6dfdd76800cd5fdfd1bf25a71ff86ff0d3a87b4a542445a1f734223b2b80837f87 +MISC metadata.xml 326 SHA256 1613682a41738f66451edf0f353a4626274c2f2f3302470948a8d21edc7f0dfc SHA512 6ef7886b749fc900d7d5affe2987630c4157e98c6323be7ddcfaa2e94f5622094922049d04f4dff0514b07d352da6ab756ee653935a05675f912997e747ea4e7 WHIRLPOOL a7224e5bdcb0656b6417c2f42855f2cb1992c38baba1620919b2c5ec9bbcb2348373d9abdf3f7a6c4f215c9b5caeed7a777d50e9aac6d7cfd0449e7e2f3fef0b diff --git a/games-rpg/a-bird-story/a-bird-story-20141106.ebuild b/games-rpg/a-bird-story/a-bird-story-20141106.ebuild new file mode 100644 index 000000000000..d8925fd02889 --- /dev/null +++ b/games-rpg/a-bird-story/a-bird-story-20141106.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/a-bird-story/a-bird-story-20141106.ebuild,v 1.1 2014/11/14 17:18:19 hasufell Exp $ + +EAPI=5 + +inherit eutils unpacker multilib gnome2-utils games +MY_PN=ABirdStory +DESCRIPTION="Indie adventure short of a boy's memories, dream, and imagination" +HOMEPAGE="http://freebirdgames.com/games/a-bird-story/" +SRC_URI="${MY_PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh" + +# missing: SIL, Xiph +# physfs ZLIB +# sdl-sound LGPL-2.1 +LICENSE="all-rights-reserved LGPL-2.1 ZLIB bundled-libs? ( FTL GPL-2 MIT ( || ( Ruby-BSD BSD-2 ) ) )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="fetch bindist splitdebug" + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin*" +if [[ ${ARCH} == "amd64" ]] ; then + QA_PREBUILT="${QA_PREBUILT} ${GAMES_PREFIX_OPT}/${PN}/lib64/*" +else + QA_PREBUILT="${QA_PREBUILT} ${GAMES_PREFIX_OPT}/${PN}/lib/*" +fi + +RDEPEND=" + !bundled-libs? ( + dev-games/physfs + dev-lang/ruby:2.1 + dev-libs/libsigc++:2 + >=media-libs/libsdl2-2.0.1[X,joystick,opengl,sound,threads,video] + media-libs/libvorbis + media-libs/openal + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + sys-libs/zlib + x11-libs/pixman + ) + virtual/opengl" + +S=${WORKDIR}/data + +pkg_nofetch() { + einfo + einfo "Please buy & download \"${SRC_URI}\" from:" + einfo " ${HOMEPAGE}" + einfo "and move/link it to \"${DISTDIR}\"" + einfo +} + +src_unpack() { + # mojo stuff inside makeself archive, unpack_makeself fails + local lastline=$(( $(grep -a -h -n -m 1 -F -e "Extra newline, because in very rare cases (OpenSolaris) stub is directly added after script" "${DISTDIR}/${A}" | cut -d':' -f1) + 1 )) + [[ ${lastline} ]] || die "no last line" + local offset=$(head -n ${lastline} "${DISTDIR}/${A}" | wc -c) + [[ ${offset} ]] || die "no offset" + dd ibs=${offset} skip=1 if="${DISTDIR}/${A}" of="${T}"/bird.zip || die + unpack_zip "${T}"/bird.zip +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + local arch=$(usex amd64 "x86_64" "x86") + + insinto "${dir}" + doins -r noarch/* + + exeinto "${dir}" + doexe ${arch}/${MY_PN}.$(usex amd64 "amd64" "x86") + + exeinto "${dir}/$(get_libdir)" + if use bundled-libs ; then + doexe ${arch}/$(get_libdir)/* + else + doexe ${arch}/$(get_libdir)/{libsteam_api.so,libphysfs.so.1,libSDL_sound-1.0.so.1} + fi + + games_make_wrapper ${PN} \ + "./${MY_PN}.$(usex amd64 "amd64" "x86")" \ + "${dir}" "${dir}/$(get_libdir)" + make_desktop_entry ${PN} "A bird story" + newicon -s 48 noarch/icon.png ${PN}.png + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-rpg/a-bird-story/metadata.xml b/games-rpg/a-bird-story/metadata.xml new file mode 100644 index 000000000000..ef31c088e796 --- /dev/null +++ b/games-rpg/a-bird-story/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <use> + <flag name='bundled-libs'>Use bundled libraries</flag> + </use> +</pkgmetadata> |