summaryrefslogtreecommitdiff
path: root/games-board
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-25 15:53:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-25 15:53:45 +0000
commit83ebb477861172671f6796999e016400b659d65f (patch)
tree0cec26d10b5fcfee34cd56a952e8111f306feefb /games-board
parentbaeb826318951e5c82b18c1e9ee120ac5dcf0b94 (diff)
gentoo auto-resync : 25:02:2023 - 15:53:45
Diffstat (limited to 'games-board')
-rw-r--r--games-board/Manifest.gzbin9874 -> 9876 bytes
-rw-r--r--games-board/gnubg/Manifest4
-rw-r--r--games-board/gnubg/gnubg-1.07.001.ebuild102
-rw-r--r--games-board/gnubg/metadata.xml4
4 files changed, 109 insertions, 1 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz
index 05ebe9d7848b..ac3a16b40db3 100644
--- a/games-board/Manifest.gz
+++ b/games-board/Manifest.gz
Binary files differ
diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest
index 077e145260cc..0ff88f0a2ccf 100644
--- a/games-board/gnubg/Manifest
+++ b/games-board/gnubg/Manifest
@@ -1,3 +1,5 @@
DIST gnubg-release-1.06.002-sources.tar.gz 13163681 BLAKE2B 1b631af8b268c722624012f86318844376bb21158f231d807cbfbb101ecef03ed90f7f253121844dd4221dc8026af5619fe9f62aff64e20d6c2b84450f9705d0 SHA512 77594209032a0d81deb802da249d7f40812127dd1e080413eda75015f324fec9592b1b51772403f501b21e39d3dd371931d82b43c24f614a7d16c5234d271948
+DIST gnubg-release-1.07.001-sources.tar.gz 13729158 BLAKE2B 3c5a0ffd38d2f1a16b3bf188a6ed6ba38e9527d681ad510b2e318b6f5da7d5fb1e0728f4f562fe4d770710489e7eae1396318e26717a51434fa8b4c3258570f9 SHA512 0643af4c3c6e32774e3572462755e7eed094fcc9621dc8262ce0f794657f00a3dbc22d0f916580982a6dacc08488544cd5fec5bf7e2c60ca50f83e2a60804e08
EBUILD gnubg-1.06.002-r4.ebuild 2228 BLAKE2B 18eceae4a82a1be4ecb6f73414c08ef8f649b22d81a84af03613bf08330db819192cacbf788383c8f77e500eeb03e736434319f4f54c5b19696b0e146d951a8c SHA512 32a6d57b950afe0ce6b8b69877f59b32241603a83a7660ba4de464aadb4c50821578d327cf385cb4550e6549e4809573e5f5351aaaf8a36722d805b3fc5b6e56
-MISC metadata.xml 336 BLAKE2B 4e2af69698fe9f6350d1e9092e436c8d7434584491201c92ad5aacc1090269fe234a3e09656b6e359b7d614bf9198c524e1a85323e0dd008eb515350c87553ca SHA512 affd5e682928eb13dc8d22d6e531b78a61774be0bdc5badb5753c7a7552befd0aec84aff357c001193faa9df502c02073eff22215ffaedc0d75a3128586beca2
+EBUILD gnubg-1.07.001.ebuild 2358 BLAKE2B 581caae4adbfaeea2aea952f6d7f73d58be1dd24da78612c460b8af1fd1ee8545f037e3e18da8e98e6a62f89e2200120e405dca2a11e574d9dffd2c5159fb51f SHA512 bf200273d08c180946cd2d2218593ef1c00a560a63af6d49ea02ace55c7a8953d20006224bbce04a4ab5ad64bc0a7baf1a41cee9c13ded758e24344bee27ce47
+MISC metadata.xml 455 BLAKE2B e5933eca885ed18303b49be65c026034d77d3d5f9ce85e4b1fc76c0e9aa1a0e914ed3151634c172e199f00bd26b5104ad5d87412cdc578a4c45b4122b5485385 SHA512 e3ba0ddc20123d70cedacc413169ab896440b89a93e3945ea5bf3aa9b41f9a91b2a0912f6dec07d16c08329886355a32da3ff2828a4d4eba6e2ef3aec2b7c8dd
diff --git a/games-board/gnubg/gnubg-1.07.001.ebuild b/games-board/gnubg/gnubg-1.07.001.ebuild
new file mode 100644
index 000000000000..13f24f2f9417
--- /dev/null
+++ b/games-board/gnubg/gnubg-1.07.001.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..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="
+ sys-devel/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"
+}
diff --git a/games-board/gnubg/metadata.xml b/games-board/gnubg/metadata.xml
index 57428f3202d7..d922047d09f8 100644
--- a/games-board/gnubg/metadata.xml
+++ b/games-board/gnubg/metadata.xml
@@ -5,6 +5,10 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
<upstream>
<remote-id type="savannah">gnubg</remote-id>
</upstream>