hasufell 14/11/07 22:59:53 Modified: ChangeLog Added: katawa-shoujo-1.2-r2.ebuild Removed: katawa-shoujo-1.2-r1.ebuild Log: rm unused lib and fix bug #528086 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Revision Changes Path 1.11 games-misc/katawa-shoujo/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?r1=1.10&r2=1.11 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ChangeLog 6 Nov 2014 23:56:00 -0000 1.10 +++ ChangeLog 7 Nov 2014 22:59:53 -0000 1.11 @@ -1,6 +1,12 @@ # ChangeLog for games-misc/katawa-shoujo # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.10 2014/11/06 23:56:00 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.11 2014/11/07 22:59:53 hasufell Exp $ + +*katawa-shoujo-1.2-r2 (07 Nov 2014) + + 07 Nov 2014; Julian Ospald <[email protected]> + -katawa-shoujo-1.2-r1.ebuild, +katawa-shoujo-1.2-r2.ebuild: + rm unused lib and fix bug #528086 06 Nov 2014; Zac Medico <[email protected]> katawa-shoujo-1.2-r1.ebuild: Adjust rpath for bug #528086. 1.1 games-misc/katawa-shoujo/katawa-shoujo-1.2-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2-r2.ebuild?rev=1.1&content-type=text/plain Index: katawa-shoujo-1.2-r2.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2-r2.ebuild,v 1.1 2014/11/07 22:59:53 hasufell Exp $ EAPI=5 inherit eutils gnome2-utils games DESCRIPTION="Bishoujo-style visual novel set in the fictional Yamaku High School for disabled children" HOMEPAGE="http://katawa-shoujo.com/" SRC_URI="http://dl.katawa-shoujo.com/gold_1.2/%5b4ls%5d_katawa_shoujo_1.2-%5blinux-x86%5d%5b8F3BA490%5d.tar.bz2 -> ${P}.tar.bz2 http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png" LICENSE="CC-BY-NC-ND-3.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc system-renpy" DEPEND="dev-util/patchelf" # make system-renpy optional due to #459742 :( RDEPEND="system-renpy? ( games-engines/renpy ) !system-renpy? ( || ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) )" #495270 QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*" S="${WORKDIR}/Katawa Shoujo-linux-x86" src_prepare() { # Set RPATH for preserve-libs handling (bug #528086). local x while read -r x ; do # Use \x7fELF header to separate ELF executables and libraries [[ $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue patchelf --set-rpath \ "${EPREFIX}${GAMES_PREFIX_OPT}/${PN}/lib/linux-x86/lib" \ "${x}" || die "patchelf failed on ${x}" done < <(find . -type f) } src_install() { if use system-renpy ; then insinto "${GAMES_DATADIR}/${PN}" doins -r game/. games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'" else insinto "${GAMES_PREFIX_OPT}"/${PN} rm "lib/linux-x86/lib/python2.5/pygame/mixer.so" || die # bug #528086 doins -r common game lib renpy "Katawa Shoujo.py" "Katawa Shoujo.sh" games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}" fperms +x "${GAMES_PREFIX_OPT}/${PN}"/lib/{python,linux-x86/python.real} \ "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.sh" \ "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.py" fi local i for i in 48 256; do newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png done make_desktop_entry ${PN} "Katawa Shoujo" if use doc ; then newdoc "Game Manual.pdf" manual.pdf fi prepgamesdirs } pkg_preinst() { games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { elog "Savegames from system-renpy and the bundled version are incompatible" if use system-renpy; then ewarn "system-renpy is unstable and not supported upstream" fi games_pkg_postinst gnome2_icon_cache_update } pkg_postrm() { gnome2_icon_cache_update }
