From de49812990871e1705b64051c35161d5e6400269 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Dec 2018 14:11:38 +0000 Subject: gentoo resync : 24.12.2018 --- games-board/xboard/Manifest | 2 + games-board/xboard/xboard-4.9.1.ebuild | 87 ++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 games-board/xboard/xboard-4.9.1.ebuild (limited to 'games-board/xboard') diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index 596f6815f7bb..77e4a7ad228a 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -1,5 +1,7 @@ AUX xboard-4.8.0-gettext.patch 502 BLAKE2B 9c763076afb8ef182e715cbe82a7935ca495d9485326807146fcbe8406c56cfaacb9ebc0221b18628ca36379cf8d8d14f5fe0c4d0577487e39abf8305e9fa6da SHA512 1e2e68d972e7fcc299940be72bf3f486cf132fc247ed9f95585379108a35cdbe00824108ec7ca679e37c612357ca5b03fe6bbc8d1082bf8d40a809e021c4c0a9 AUX xboard-4.8.0-gnuchess-default.patch 1441 BLAKE2B 2b37c3650d45fb46bdf57b93152d99de3a88c1f75db33d0f4ecc1b2105cfdb444599af8905955b3a5a91527bac770fc67e0ee480d46a9c81b73fc1c11bf3ec68 SHA512 3ba68ce96dbdca3f0f8027d54c8cf7d8b7f278a2eb8bf549e3f9a2979bfb19aa0232d391430e6725bfdc73befdcc2da221663ff974774ab81bfe052286205956 DIST xboard-4.8.0.tar.gz 3691531 BLAKE2B 7743b654e8bdd37672a6076ce032fcc92c846796a8cf84906ae8b74454297f0fed1bce078883e9aff6237c8bfee67db659bdd7b93acd94e1b27bc90629dc3b1a SHA512 fc3231f170baacdf97df5d08488f5a1fb9a144810f7b0eb72e3e95d345ce47aa2ff67a586ef45b6a9e45932300babc59c161a29e055dd0d19b133ba986985c81 +DIST xboard-4.9.1.tar.gz 4015017 BLAKE2B c886cb06d9b4ed394220f133915a55e1dbe29d317891d00d880c597abe0ad43a8377c926d844318b0092120aee7e40fe8c6c62fff41890c35bd768575ccef731 SHA512 7c6f17450edc3f56d5987f6363da01633850b87b0d6664524a4697216dc66aa58f84314ba57ee68aebfbb01ef96995e34be4e98fb4a5124e3f5090690f91ae08 EBUILD xboard-4.8.0-r1.ebuild 2016 BLAKE2B f519703868c61099a0aaa90a150c1293a9a06eb62dae2f92b0f1d5ad1bb4932dbd8df527c2b166ed1e89381178b6f0cb0b349a9430bc4aa8a157ad771f89a3ab SHA512 8b262a091b80ab8c531fddc8d76a6efe0ac8cb2e6ab7cb3d5e3901d37c97ba4b47c9f61a3cff80c64788387a6f1f44c7b71b470ba14a75612895aa6e9cbc46e7 +EBUILD xboard-4.9.1.ebuild 1972 BLAKE2B 12c3b0b5dd1970a7007793cb923ec25a2afddecf6ac164b8038a362a280d6d64220f1416dc4f0653d90f716796c8c82da86d4a3d83c46f0229d118a16ac7f762 SHA512 e97fb6801ff96add531264e240cd4bc2da64c712a71dc73b7515cd9e1c42fc52882f35989d31348ab4f1a788a45f8949283b48235a238ae59b20b6b8ddc35341 MISC metadata.xml 418 BLAKE2B 0fb5a3b7607b0c609e7bf50224e1a53abc1e9dd90a811e964bbc5038f96966d32d4cfca6b8eaefc7e64be3fb2302a0231162554cd436043471c578830f74e1ec SHA512 ff385f8c46788e3c76fcdd891f4a4be50b100ff47298eece8a2f1ac3dd166ab384961f3fde0967dc3b3afcc3978cefb5025e4eb0dc69177395c75affa2416d1f diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild new file mode 100644 index 000000000000..71e1a4bd8429 --- /dev/null +++ b/games-board/xboard/xboard-4.9.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools gnome2-utils xdg-utils + +DESCRIPTION="GUI for gnuchess and for internet chess servers" +HOMEPAGE="https://www.gnu.org/software/xboard/" +SRC_URI="mirror://gnu/xboard/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="+default-font gtk nls Xaw3d zippy" +RESTRICT="test" #124112 + +RDEPEND=" + dev-libs/glib:2 + gnome-base/librsvg:2 + virtual/libintl + x11-libs/cairo[X] + x11-libs/libXpm + default-font? ( + media-fonts/font-adobe-100dpi[nls?] + media-fonts/font-misc-misc[nls?] + ) + !gtk? ( + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXmu + Xaw3d? ( x11-libs/libXaw3d ) + !Xaw3d? ( x11-libs/libXaw ) + ) + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-4.8.0-gettext.patch + "${FILESDIR}"/${PN}-4.8.0-gnuchess-default.patch +) + +DOCS=( AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-update-mimedb \ + --datadir="${EPREFIX}"/usr/share \ + $(use_enable nls) \ + $(use_enable zippy) \ + --disable-update-mimedb \ + $(use_with gtk) \ + $(use_with Xaw3d) \ + $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \ + --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}" +} + +src_install() { + default + use zippy && dodoc zippy.README +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update + gnome2_icon_cache_update + elog "No chess engines are emerged by default! If you want a chess engine" + elog "to play with, you can emerge gnuchess or crafty." + elog "Read xboard FAQ for information." + if ! use default-font ; then + ewarn "Read the xboard(6) man page for specifying the font for xboard to use." + fi +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3