diff options
author | David Seifert <soap@gentoo.org> | 2017-11-19 14:31:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-19 14:34:36 +0100 |
commit | c23c7ac9592dc6e225c669dcaa9cb0d3eaafbc78 (patch) | |
tree | d0d93634c5106a82c8710f9c9f94eff4f7effddd /games-action/armagetronad | |
parent | games-action/accelerator3d: Remove old (diff) | |
download | gentoo-c23c7ac9592dc6e225c669dcaa9cb0d3eaafbc78.tar.gz gentoo-c23c7ac9592dc6e225c669dcaa9cb0d3eaafbc78.tar.bz2 gentoo-c23c7ac9592dc6e225c669dcaa9cb0d3eaafbc78.zip |
games-action/armagetronad: Minor touchups
Closes: https://bugs.gentoo.org/588104
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'games-action/armagetronad')
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild b/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild index 7aa64769890a..9147b2111608 100644 --- a/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild +++ b/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 + inherit eutils gnome2-utils DESCRIPTION="Fast-paced 3D lightcycle game based on Tron" @@ -16,15 +17,12 @@ IUSE="dedicated sound" RDEPEND=" dev-libs/libxml2 !dedicated? ( - media-libs/libpng:0 - media-libs/libsdl[X,opengl,video] + media-libs/libpng:0= + media-libs/libsdl[X,opengl,video,sound?] media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl - sound? ( - media-libs/libsdl[sound] - media-libs/sdl-mixer - ) + sound? ( media-libs/sdl-mixer ) )" DEPEND=${RDEPEND} @@ -38,7 +36,6 @@ src_prepare() { src_configure() { # --enable-games just messes up paths econf \ - --docdir=/usr/share/doc/${PF} \ $(use_enable dedicated) \ $(use_enable sound music) \ --disable-sysinstall \ @@ -48,12 +45,10 @@ src_configure() { } src_install() { - # FIXME: is the -j1 needed? https://bugs.gentoo.org/588104 - emake -j1 DESTDIR="${D}" install - einstalldocs + default # misplaced desktop-file/icons - rm -rf "${ED%/}${GAMES_DATADIR}"/armagetronad/desktop + rm -r "${ED%/}"/usr/share/${PN}/desktop || die doicon -s 48 desktop/icons/large/armagetronad.png make_desktop_entry ${PN} } |