mgorny 14/06/25 13:01:57 Modified: ChangeLog Added: heretic2-1.06c-r1.ebuild Log: Support multilib dependencies aside to emul-linux-x86. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path 1.12 games-action/heretic2/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/heretic2/ChangeLog?rev=1.12&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/heretic2/ChangeLog?rev=1.12&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/heretic2/ChangeLog?r1=1.11&r2=1.12 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ChangeLog 5 Feb 2012 05:00:48 -0000 1.11 +++ ChangeLog 25 Jun 2014 13:01:57 -0000 1.12 @@ -1,6 +1,11 @@ # ChangeLog for games-action/heretic2 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v 1.11 2012/02/05 05:00:48 vapier Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v 1.12 2014/06/25 13:01:57 mgorny Exp $ + +*heretic2-1.06c-r1 (25 Jun 2014) + + 25 Jun 2014; Michał Górny <[email protected]> +heretic2-1.06c-r1.ebuild: + Support multilib dependencies aside to emul-linux-x86. 05 Feb 2012; Mike Frysinger <[email protected]> heretic2-1.06c.ebuild: Move to new unpacker eclass for unpack_makeself. @@ -39,4 +44,3 @@ 03 Oct 2006; Tristan Heaven <[email protected]> +metadata.xml, +heretic2-1.06c.ebuild: Initial commit. Modified ebuild from bug #136869 by Anton Romanov. - 1.1 games-action/heretic2/heretic2-1.06c-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/heretic2/heretic2-1.06c-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/heretic2/heretic2-1.06c-r1.ebuild?rev=1.1&content-type=text/plain Index: heretic2-1.06c-r1.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/heretic2-1.06c-r1.ebuild,v 1.1 2014/06/25 13:01:57 mgorny Exp $ EAPI=5 inherit eutils unpacker cdrom multilib games DESCRIPTION="Third-person classic magical action-adventure game" HOMEPAGE="http://lokigames.com/products/heretic2/ http://www.ravensoft.com/heretic2.html" SRC_URI="mirror://lokigames/${PN}/${P/%?/b}-unified-x86.run mirror://lokigames/${PN}/${P}-unified-x86.run mirror://lokigames/${PN}/${PN}-maps-1.0.run" LICENSE="LOKI-EULA" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="strip" QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/${PN}/base/*.so" DEPEND="games-util/loki_patch" RDEPEND="virtual/opengl amd64? ( || ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] virtual/opengl[abi_x86_32(-)] ) || ( app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ( x11-libs/libX11[abi_x86_32(-)] x11-libs/libXext[abi_x86_32(-)] ) ) ) x86? ( x11-libs/libX11 x11-libs/libXext )" S=${WORKDIR} src_unpack() { cdrom_get_cds bin/x86/glibc-2.1/${PN} mkdir ${A} local f for f in * ; do cd "${S}"/${f} unpack_makeself ${f} done } src_install() { has_multilib_profile && ABI=x86 local dir=${GAMES_PREFIX_OPT}/${PN} cd "${CDROM_ROOT}" insinto "${dir}" doins -r base help Manual.html README README.more exeinto "${dir}" doexe bin/x86/glibc-2.1/${PN} games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}" sed -i \ -e 's/^exec /__GL_ExtensionStringVersion=17700 exec /' \ "${D}/${GAMES_BINDIR}/${PN}" || die newicon icon.xpm ${PN}.xpm make_desktop_entry ${PN} "Heretic II" cd "${D}/${dir}" ln -s "${CDROM_ROOT}"/*.gz . unpack ./*.gz rm -f *.gz local d for d in "${S}"/* ; do pushd "${d}" > /dev/null loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed" popd > /dev/null done rmdir gl_drivers sed -i \ "128i set gl_driver \"/usr/$(get_libdir)/libGL.so\"" \ base/default.cfg \ || die "sed failed" prepgamesdirs }
