X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=arch%2Fgentoo%2Fyoink.ebuild;h=6e167d0bf3daa0424232b349e463145f3e0104e8;hb=6f1b787a10d8ab1a3117a4b8c004dd2d90599608;hp=a7394b310cd3deef3130e32b952c103dbd51a76d;hpb=cf4c819df08e2ab6c06532d8a4467fa58b2792ae;p=chaz%2Fyoink diff --git a/arch/gentoo/yoink.ebuild b/arch/gentoo/yoink.ebuild index a7394b3..6e167d0 100644 --- a/arch/gentoo/yoink.ebuild +++ b/arch/gentoo/yoink.ebuild @@ -4,17 +4,17 @@ EAPI=2 -inherit autotools eutils games +inherit eutils games DESCRIPTION="Alien-smashing action game" HOMEPAGE="http://www.dogcows.com/yoink/" -SRC_URI="http://www.dogcows.com/yoink/${P}.tar.bz2 +SRC_URI="http://www.dogcows.com/yoink/chrome/site/${P}.tar.bz2 http://eng.utah.edu/~mcgarvey/yoink/${P}.tar.bz2" LICENSE="BSD-2 BSD LGPL-2.1 ZLIB" SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="debug double-precision gtk qt4 threads" +KEYWORDS="amd64 x86" +IUSE="debug double-precision gtk hotload qt4 threads" RDEPEND="dev-lang/lua media-libs/libpng @@ -22,37 +22,26 @@ RDEPEND="dev-lang/lua media-libs/libvorbis media-libs/openal virtual/glu - virtual/opengl" + virtual/opengl + gtk? ( x11-libs/gtk+:2 ) + qt4? ( !gtk? ( x11-libs/qt-core:4 ) )" DEPEND="${RDEPEND} dev-libs/boost dev-util/pkgconfig" -src_prepare() { - sed -i \ - -e "/apps/d" \ - -e "/pixmap/d" \ - data/Makefile.am \ - || die "sed failed" - sed -i \ - -e "/man/d" \ - doc/Makefile.am \ - || die "sed failed" - - eautoreconf -} - src_configure() { egamesconf \ --disable-dependency-tracking \ $(use_enable debug) \ $(use_enable double-precision) \ - $(use_enable gtk) \ - $(use_enable qt4) \ - $(use_enable threads) + $(use_enable hotload) \ + $(use_enable threads) \ + $(use_with gtk) \ + $(use_with qt4) } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake DESTDIR="${D}" install_man=no install || die "emake failed" dodoc AUTHORS COPYING README TODO doman doc/yoink.6 doicon data/yoink.png