summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-12-01 23:47:51 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-12-02 00:10:26 -0500
commita39980c0ee3810f57525df93bcba3655459c5932 (patch)
tree6c2b8b8dc74758d905a5ea2d4d8bf231991371ee /games-board
parentgames-arcade/jumpnbump: add gitlab remote-id (diff)
downloadgentoo-a39980c0ee3810f57525df93bcba3655459c5932.tar.gz
gentoo-a39980c0ee3810f57525df93bcba3655459c5932.tar.bz2
gentoo-a39980c0ee3810f57525df93bcba3655459c5932.zip
games-board/gnubg: drop 1.06.002-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnubg/gnubg-1.06.002-r1.ebuild98
1 files changed, 0 insertions, 98 deletions
diff --git a/games-board/gnubg/gnubg-1.06.002-r1.ebuild b/games-board/gnubg/gnubg-1.06.002-r1.ebuild
deleted file mode 100644
index a901f3ff8248..000000000000
--- a/games-board/gnubg/gnubg-1.06.002-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit autotools desktop python-single-r1 xdg
-
-DESCRIPTION="GNU BackGammon"
-HOMEPAGE="https://www.gnu.org/software/gnubg/"
-SRC_URI="ftp://ftp.gnu.org/gnu/gnubg/${PN}-release-${PV}-sources.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="cpu_flags_x86_avx gtk python sqlite cpu_flags_x86_sse cpu_flags_x86_sse2 threads"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-db/sqlite:3
- dev-libs/glib:2
- dev-libs/gmp:0=
- dev-libs/libxml2
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libcanberra
- media-libs/libpng:0=
- sys-libs/readline:0=
- x11-libs/cairo
- x11-libs/pango
- gtk? ( x11-libs/gtk+:2 )
- python? ( ${PYTHON_DEPS} )
- virtual/libintl"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/autoconf-archive
- sys-devel/gettext
- virtual/pkgconfig"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # use ${T} instead of /tmp for constructing credits (bug #298275)
- sed -i -e 's:/tmp:${T}:' credits.sh || die
- sed -i -e 's/fonts //' Makefile.am || die # handle font install ourself to fix bug #335774
- sed -i \
- -e '/^localedir / s#=.*$#= @localedir@#' \
- -e '/^gnulocaledir / s#=.*$#= @localedir@#' \
- po/Makefile.in.in || die
- sed -i \
- -e '/^gnubgiconsdir / s#=.*#= /usr/share#' \
- -e '/^gnubgpixmapsdir / s#=.*#= /usr/share/pixmaps#' \
- pixmaps/Makefile.am || die
- sed -i \
- -e '1i#include <config.h>' \
- copying.c || die #551896
-
- # use system's copy so py3.10 distutils warning doesn't trigger a fatal error
- rm m4/ax_python_devel.m4 || die
-
- eautoreconf
-}
-
-src_configure() {
- local simd=no
- use cpu_flags_x86_sse && simd=sse
- use cpu_flags_x86_sse2 && simd=sse2
- use cpu_flags_x86_avx && simd=avx
- econf \
- --localedir="${EPREFIX}"/usr/share/locale \
- --docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
- --disable-cputest \
- --enable-simd="${simd}" \
- --without-board3d \
- $(use_enable threads) \
- $(use_with gtk) \
- $(use_with python python "${EPYTHON}") \
- $(use_with sqlite sqlite)
-}
-
-src_install() {
- default
-
- # installs pre-compressed man pages
- gunzip "${ED}"/usr/share/man/man6/*.6.gz || die
-
- insinto /usr/share/${PN}
- doins ${PN}.weights *bd
- dodir /usr/share/${PN}/fonts
- dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf
- dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf
- dosym ../../fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf
- make_desktop_entry "gnubg -w" "GNU Backgammon"
-}