diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-17 19:21:43 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-20 19:42:21 +0200 |
commit | 02eeba285a6905c9afc4004a901cbaa0e29ba214 (patch) | |
tree | bf44e8808856f0f92258f65071cf3311071ee92a /games-board/gnubg/gnubg-1.07.001.ebuild | |
parent | mail-client/claws-mail: drop 4.1.1-r4 (diff) | |
download | gentoo-02eeba285a6905c9afc4004a901cbaa0e29ba214.tar.gz gentoo-02eeba285a6905c9afc4004a901cbaa0e29ba214.tar.bz2 gentoo-02eeba285a6905c9afc4004a901cbaa0e29ba214.zip |
games-board/gnubg: drop 1.07.001, 1.08.001, 1.08.002
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-board/gnubg/gnubg-1.07.001.ebuild')
-rw-r--r-- | games-board/gnubg/gnubg-1.07.001.ebuild | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/games-board/gnubg/gnubg-1.07.001.ebuild b/games-board/gnubg/gnubg-1.07.001.ebuild deleted file mode 100644 index 514e6223b388..000000000000 --- a/games-board/gnubg/gnubg-1.07.001.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools desktop python-single-r1 xdg - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="https://www.gnu.org/software/gnubg/" -SRC_URI="mirror://gnu/${PN}/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE=" - cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 - gui opengl python sqlite" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) - opengl? ( gui )" - -RDEPEND=" - dev-libs/cglm - dev-libs/glib:2 - dev-libs/gmp:= - media-fonts/dejavu - media-libs/freetype:2 - media-libs/libpng:= - net-misc/curl - sys-libs/readline:= - virtual/libintl - x11-libs/cairo[svg(+)] - x11-libs/pango - gui? ( - media-libs/libcanberra[gtk3] - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - ) - opengl? ( media-libs/libepoxy ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-build/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - python? ( ${PYTHON_DEPS} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - #This was provided by gtkglext before - sed -i "s/\$(GTKGLEXT_LIBS)/-lGL/" Makefile.am || die - - sed -i "s|/tmp|${T}|" credits.sh || die #298275 - sed -i 's/fonts //' Makefile.am || die #335774 - sed -i 's/gzip/true/' doc/Makefile.am || die - - # 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 - - local econfargs=( - $(use_with gui gtk) - $(use_with gui gtk3) - $(use_with opengl board3d) - $(use_with python) - $(use_with sqlite) - --disable-cputest - --docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --enable-simd=${simd} - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - - mv "${ED}"/usr/share/doc/${PF}{/html/*.pdf,} || die - - insinto /usr/share/${PN} - doins ${PN}.weights *.bd - - 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 - - use gui && make_desktop_entry "gnubg -w" "GNU Backgammon" -} |