diff options
author | 2019-08-30 01:07:10 +0300 | |
---|---|---|
committer | 2019-08-30 01:13:34 +0300 | |
commit | 32c743a4df5a0b11915e3dfd92f55dd4850ef89e (patch) | |
tree | c675cd34faad57894c734da5827f027960df31e6 /games-arcade/xbill/xbill-2.1-r3.ebuild | |
parent | games-server/monopd: fix build with >=dev-libs/utfcpp-2.3.6 (diff) | |
download | gentoo-32c743a4df5a0b11915e3dfd92f55dd4850ef89e.tar.gz gentoo-32c743a4df5a0b11915e3dfd92f55dd4850ef89e.tar.bz2 gentoo-32c743a4df5a0b11915e3dfd92f55dd4850ef89e.zip |
games-arcade/xbill: add missing dependency; EAPI=7
- Add media-fonts/font-misc-misc and acct-group/gamestat to RDEPEND.
- mv configure.in configure.ac (see bug 426262).
- QA issues (permissions of /var/lib/xbill/scores).
Reported-by: Haelwenn Monnier <contact@hacktivis.me>
Closes: https://bugs.gentoo.org/692318
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'games-arcade/xbill/xbill-2.1-r3.ebuild')
-rw-r--r-- | games-arcade/xbill/xbill-2.1-r3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-arcade/xbill/xbill-2.1-r3.ebuild b/games-arcade/xbill/xbill-2.1-r3.ebuild new file mode 100644 index 000000000000..70378b00ceb9 --- /dev/null +++ b/games-arcade/xbill/xbill-2.1-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="A game about an evil hacker called Bill!" +HOMEPAGE="http://www.xbill.org/" +SRC_URI="http://www.xbill.org/download/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="gtk" + +RDEPEND="acct-group/gamestat + media-fonts/font-misc-misc + gtk? ( x11-libs/gtk+:2 ) + !gtk? ( x11-libs/libXaw )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gtk2.patch + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --disable-motif \ + $(use_enable gtk) \ + $(use_enable !gtk athena) +} + +src_install() { + default + newicon pixmaps/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} XBill ${PN} + fowners :gamestat /var/lib/xbill/scores + fperms 664 /var/lib/xbill/scores +} |