diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /games-board | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/Manifest.gz | bin | 11857 -> 11863 bytes | |||
-rw-r--r-- | games-board/gnubg/Manifest | 4 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-1.05.000-r1.ebuild | 108 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-1.06.002-r1.ebuild (renamed from games-board/gnubg/gnubg-1.06.002.ebuild) | 44 | ||||
-rw-r--r-- | games-board/polyglot/Manifest | 3 | ||||
-rw-r--r-- | games-board/polyglot/files/polyglot-1.4.70b-no-common.patch | 14 | ||||
-rw-r--r-- | games-board/polyglot/polyglot-1.4.70b-r3.ebuild (renamed from games-board/polyglot/polyglot-1.4.70b-r2.ebuild) | 5 |
7 files changed, 40 insertions, 138 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz Binary files differindex a82bc2084268..97ba206a1a56 100644 --- a/games-board/Manifest.gz +++ b/games-board/Manifest.gz diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest index dc86b3a5c4a3..87dad300ece2 100644 --- a/games-board/gnubg/Manifest +++ b/games-board/gnubg/Manifest @@ -1,5 +1,3 @@ -DIST gnubg-release-1.05.000-sources.tar.gz 15030177 BLAKE2B a53c7d1d242083631a18f8c3eaa4d006fbbda8b6aef8240c1cc27a98b284cebd31ad2787ddd6e360a96bb365851c611971d47f686b2d8a42dfa35ff6a240eb02 SHA512 1d8080c362cb32a3828b6913823d0eb42b0befac7a9fbd6d5ee3346e7515f6150876ac3b8bd59d5fd0c0de2a03187441165bb82eff0ffa1fb84e385dcea58590 DIST gnubg-release-1.06.002-sources.tar.gz 13163681 BLAKE2B 1b631af8b268c722624012f86318844376bb21158f231d807cbfbb101ecef03ed90f7f253121844dd4221dc8026af5619fe9f62aff64e20d6c2b84450f9705d0 SHA512 77594209032a0d81deb802da249d7f40812127dd1e080413eda75015f324fec9592b1b51772403f501b21e39d3dd371931d82b43c24f614a7d16c5234d271948 -EBUILD gnubg-1.05.000-r1.ebuild 2592 BLAKE2B 2a07c9ba6e34abc6af68411f4809fe4ece2b56c0c855cae858ea0ad8e1954bcb75f14d387348667c00d6c7f358cfc4c4e4aa72fe03c709e289c6ec41ff08d961 SHA512 d67758c17f627f6dd8afb1587c6ae980f83058110ea5e1cd5de54de0dda0c0e9a24a646ead41f15f92a6031ff06e4e60067149f4656c6a97970b0a0acd195266 -EBUILD gnubg-1.06.002.ebuild 2511 BLAKE2B d88f9158b690aeb376fc5ccc26d37b4ee4a0aa9e768f5a9c2b0fea4be2c466955be78cca35b16747e37b7d07cb558876b4f19e46be268bf8abbfc7558d162eda SHA512 745be47685a2d56b98c5297338e4260aecd485227d94434808b6ee3e389f4e096d955135cdabae463b407bcec3e47e8d3ac55ea99260568e54e6e967a7cb257b +EBUILD gnubg-1.06.002-r1.ebuild 2448 BLAKE2B d32b64a31149357e3225d8ac36e047408023b555e7fe0e727b109c43cd1306f2bba053e8823fa95cc2b83be3faa382d82b73dc5b130935497fb55287e0892aef SHA512 ba861b1c372033fc489d9143d3489f6bc19845444d82411d72d6315716472bc44e394a8a699d50d730c61ef9cb85c8784ea51b16fe5614417dc0bdfe2b13db35 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-board/gnubg/gnubg-1.05.000-r1.ebuild b/games-board/gnubg/gnubg-1.05.000-r1.ebuild deleted file mode 100644 index 4e45b81db530..000000000000 --- a/games-board/gnubg/gnubg-1.05.000-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 gnome2-utils - -DESCRIPTION="GNU BackGammon" -HOMEPAGE="http://www.gnubg.org/" -SRC_URI="http://gnubg.org/media/sources/${PN}-release-${PV}-sources.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="cpu_flags_x86_avx gtk opengl 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 ) - opengl? ( - x11-libs/gtk+:2 - x11-libs/gtkglext - virtual/glu - ) - python? ( ${PYTHON_DEPS} ) - virtual/libintl" -DEPEND="${RDEPEND} - sys-devel/gettext - virtual/pkgconfig" - -pkg_setup() { - 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.in || 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.in || die - sed -i \ - -e '1i#include <config.h>' \ - copying.c || die #551896 -} - -src_configure() { - local simd=no - local gtk_arg=--without-gtk - - if use gtk || use opengl ; then - gtk_arg=--with-gtk - fi - use cpu_flags_x86_sse && simd=sse - use cpu_flags_x86_sse2 && simd=sse2 - use cpu_flags_x86_avx && simd=avx - econf \ - --localedir=/usr/share/locale \ - --docdir=/usr/share/doc/${PF}/html \ - --disable-cputest \ - --enable-simd=${simd} \ - ${gtk_arg} \ - $(use_enable threads) \ - $(use_with python) \ - $(use_with sqlite sqlite) \ - $(use_with opengl board3d) -} - -src_install() { - default - insinto /usr/share/${PN} - doins ${PN}.weights *bd - dodir /usr/share/${PN}/fonts - dosym /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/fonts/Vera.ttf - dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/fonts/VeraBd.ttf - dosym /usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf /usr/share/${PN}/fonts/VeraSeBd.ttf - make_desktop_entry "gnubg -w" "GNU Backgammon" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-board/gnubg/gnubg-1.06.002.ebuild b/games-board/gnubg/gnubg-1.06.002-r1.ebuild index e6bbf6357140..14c58bd48e49 100644 --- a/games-board/gnubg/gnubg-1.06.002.ebuild +++ b/games-board/gnubg/gnubg-1.06.002-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) inherit desktop python-single-r1 xdg DESCRIPTION="GNU BackGammon" @@ -13,29 +13,26 @@ 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 opengl python sqlite cpu_flags_x86_sse cpu_flags_x86_sse2 threads" +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 +RDEPEND=" + dev-db/sqlite:3 dev-libs/glib:2 - dev-libs/gmp:0 + 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 + media-libs/libpng:0= + sys-libs/readline:0= x11-libs/cairo x11-libs/pango gtk? ( x11-libs/gtk+:2 ) - opengl? ( - x11-libs/gtk+:2 - x11-libs/gtkglext - virtual/glu - ) python? ( ${PYTHON_DEPS} ) virtual/libintl" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-devel/gettext virtual/pkgconfig" @@ -64,28 +61,27 @@ src_prepare() { src_configure() { local simd=no - local gtk_arg=--without-gtk - - if use gtk || use opengl ; then - gtk_arg=--with-gtk - fi use cpu_flags_x86_sse && simd=sse use cpu_flags_x86_sse2 && simd=sse2 use cpu_flags_x86_avx && simd=avx econf \ - --localedir=/usr/share/locale \ - --docdir=/usr/share/doc/${PF}/html \ + --localedir="${EPREFIX}"/usr/share/locale \ + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html \ --disable-cputest \ - --enable-simd=${simd} \ - ${gtk_arg} \ + --enable-simd="${simd}" \ + --without-board3d \ $(use_enable threads) \ - $(usex python --with-python=${EPYTHON} --without-python) \ - $(use_with sqlite sqlite) \ - $(use_with opengl board3d) + $(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 diff --git a/games-board/polyglot/Manifest b/games-board/polyglot/Manifest index ac51384306ad..b721c8009eb4 100644 --- a/games-board/polyglot/Manifest +++ b/games-board/polyglot/Manifest @@ -1,3 +1,4 @@ +AUX polyglot-1.4.70b-no-common.patch 325 BLAKE2B 162f0205e5c1590a1c009e6f0f4a8cc91a590580b1816640c063f50bb0cb5bf261d327561c3d92bf8a4dffe582454d470a877aef921685ce87f5094fe694f2d3 SHA512 126d824d206288a9cbbd2fa0a83083f064db7ab652e880e9a6c4f2109d46ffaf9bfede2bc0fc7ecbe183ce14d67bde66054dc2d363d01d6d2e7ad4214838d5a0 DIST polyglot-1.4.70b.tar.gz 269938 BLAKE2B bcefdb1157ca70438e60e77b0f3242527fd2b2cf0616727f3d09c30d6d7713f2c38482041fa0a0002cd7a730429915c913a2d282cdbb4f3b6556a202d3382e5d SHA512 23ffa735b44ebbdaa991d96ac7d09e368f99640265bea3a30e0623665a8a9567f7c5c3e9518e06348a9b34ef70b43de2000b85f4e6101f4d8f866ae9cac9abec -EBUILD polyglot-1.4.70b-r2.ebuild 470 BLAKE2B 312634d9c3720720647e726383e44f0dcf2d237f831f6f5c8e94b7e2ed1dd2813d5b10f7f5a68893b33b923b40be5f11816d30b999893c424ef2d3b86aa996da SHA512 798325d28d57421669ac8d658b3b4e084398e8c35a7b14785941c9cfad8a881d1249f19ffad3a2f17a415db268b2b0fb8395fac98f5a84b5a9e0cfa66a406141 +EBUILD polyglot-1.4.70b-r3.ebuild 514 BLAKE2B 3a30a6ebb0ab1dab30681cd43b39a20860a98b02d80d5f19ee4b9d2c202c921e6d22ac0cf8a0d215ef1711010af303a31051d581c735cfb1fe653a65470738a9 SHA512 1174bb2191016724a763e8f320bde494102dc3d5ee299dbb0b046cd2741cef11b65d8b7949349dc820cb16cc4db3021580428fea1e5b41510e278ee34fc684b0 MISC metadata.xml 488 BLAKE2B d49d8efb7834bce6cf6c49bea636306cc67ea1bb2f72625c5e3af945a59406bd7b782c217683c7abdd36b215cf586f44b43eba600ef157ce716f7d3310651918 SHA512 73200bcc5b340c191d80b87f3b44af5339b259ebe2e7c5668a5066a6e07cdf87d4e15db0361f7b5f65f5032216625fd1591c548c506576ac56174d9dffc94002 diff --git a/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch new file mode 100644 index 000000000000..96878a8bfc67 --- /dev/null +++ b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/706976 + +--- polyglot-1.4.70b-orig/pgheader.h ++++ polyglot-1.4.70b/pgheader.h +@@ -10,9 +10,6 @@ + #define PGHEADER_BAD_HEADER 6 + + +-const char * pgheader_version; +-const char * pgheader_magic; +- + /* This does some heuristic tests to make it reasonably sure we are dealing + with a Polyglot book. + */ diff --git a/games-board/polyglot/polyglot-1.4.70b-r2.ebuild b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild index 6a46f3f55963..23043395c452 100644 --- a/games-board/polyglot/polyglot-1.4.70b-r2.ebuild +++ b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="Protocol adapter to run UCI chess engines under xboard" HOMEPAGE="http://hardy.uhasselt.be/Toga/" @@ -12,4 +12,5 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( "${FILESDIR}"/${P}-no-common.patch ) DOCS="AUTHORS ChangeLog TODO" # README* installed by build system |