From 2f8db31405fac68eea6f7257d58529243815033b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 30 Apr 2018 21:33:31 +0100 Subject: gentoo resync : 30.04.2018 --- games-board/spider/Manifest | 2 +- games-board/spider/spider-1.2_p4-r1.ebuild | 82 ----------------------------- games-board/spider/spider-1.2_p4-r2.ebuild | 83 ++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 83 deletions(-) delete mode 100644 games-board/spider/spider-1.2_p4-r1.ebuild create mode 100644 games-board/spider/spider-1.2_p4-r2.ebuild (limited to 'games-board/spider') diff --git a/games-board/spider/Manifest b/games-board/spider/Manifest index 715605250e6b..6b0650bc24aa 100644 --- a/games-board/spider/Manifest +++ b/games-board/spider/Manifest @@ -1,4 +1,4 @@ DIST spider_1.2-4.diff.gz 2882 BLAKE2B 3016e4d6a7f4aa6e4f47e7abb78b12d70d5cee400a4e61b514e8fbbfdb7ad8484f84c1c1006447f3c6ab8a5897dfc4d4af5304eeaea716203c5c5440f9084b3b SHA512 e1e6eb4d5b14de7c32e1537877a3d26470c032bea567aa679c8a3744d62ab6b12d81bf05120679a273d98b6fd976c32d24ce9c54b720d006c51464f7ff6d5e75 DIST spider_1.2.orig.tar.gz 168209 BLAKE2B 3a1163099ba9ce4faa9bc7c3424a2a2105c6fe001487822898dba7598dc5dc8d43cab2a3d7685fb71b1d19ff1b667397a41a3ba03fca4abf5d700308b19dc202 SHA512 a1d01f15ca37c8abdcc9f7c3dac925b1726f9b58ce51eb4096a9248abe0a55086ccdd5cc5ec358c2ee609ff089978676a3e3c669062a522ed7f1d4ea1ce33ab0 -EBUILD spider-1.2_p4-r1.ebuild 1655 BLAKE2B 3bb36ea32ba136d70e9badba43a46546ae9baeb45f626495036a6613b112dbd68e3abab558b282de91daa102df01a58aee7334b238d3a55c5b8100e5a6d968e4 SHA512 0f0025fc52bf5c1090351280b7d86aaa9761c18810a90943a37b08f2cd2a87f85ba79ae4f88379f1d4862d78fca22e6acf109fc54958e5cad1db3e6d44e76c9b +EBUILD spider-1.2_p4-r2.ebuild 1601 BLAKE2B 4e15a8f2bac4f49184054e75dc23c9d85dca213f6421bcc92f3e304bafbc8ffff730b599a2d4351957270f1477ac68b2649c91404a334b7af836124d3f02c505 SHA512 48f0b26a8d42b1ed788350ce1e976e6431088c22318204ee72e199faad2be918fc6e3d5cbb4c615254b13bd132f8f27c3765feecb569546110a35c3d43c9fa13 MISC metadata.xml 327 BLAKE2B 60eff6a4428512cda35daa5d6d02f55f946b5e7840a9ff866a1f76014a837c25fa5c4e142187270a5b25b1c38c96a61cf3e7a229f39caf70d830731565b9222e SHA512 e55a8b00c37c88331de81c2c28e9a187c1a28d4fd64c5fcafd9e01c8cdfbdbd455ded19f523d1806506a1652a5eecaf09b5f8097a42ac40bb36821b92bd3c4b9 diff --git a/games-board/spider/spider-1.2_p4-r1.ebuild b/games-board/spider/spider-1.2_p4-r1.ebuild deleted file mode 100644 index 0d2b229121cc..000000000000 --- a/games-board/spider/spider-1.2_p4-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils gnome2-utils games - -MY_P="${P%%_*}" -MY_P="${MY_P/-/_}" -DEB_V="${P##*_p}" - -DESCRIPTION="Spider Solitaire" -HOMEPAGE="http://packages.debian.org/stable/games/spider" -SRC_URI="mirror://debian/pool/main/s/spider/${MY_P}.orig.tar.gz - mirror://debian/pool/main/s/spider/${MY_P}-${DEB_V}.diff.gz" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="athena" - -RDEPEND="x11-libs/libXext - athena? ( x11-libs/libXaw ) - x11-libs/libXmu - x11-libs/libXt" -DEPEND="${RDEPEND} - x11-misc/imake - x11-proto/xproto" - -S=${WORKDIR}/${MY_P/_/-}.orig - -src_prepare() { - epatch "${WORKDIR}"/${MY_P}-${DEB_V}.diff - sed -i \ - -e '/MKDIRHIER/s:/X11::' \ - *Imakefile \ - || die "sed failed" - rm Makefile -} - -src_configure() { - xmkmf \ - -DSmallCards=NO \ - -DRoundCards \ - $(use athena && echo "-DCompileXAW=YES" || echo "-DCompileXlibOnly=YES") \ - || die "imake failed" - sed -i \ - -e '/CC = /d' \ - -e "s/CDEBUGFLAGS = .*$/CDEBUGFLAGS = ${CFLAGS}/" \ - -e '/LDOPTIONS = /s/$/$(LDFLAGS)/' \ - Makefile \ - || die "sed failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - BINDIR="${GAMES_BINDIR}" \ - MANSUFFIX="6" \ - MANDIR="/usr/share/man/man6" \ - HELPDIR="/usr/share/doc/${PF}" \ - install install.doc install.man - - dodoc README* ChangeLog - newicon icons/Spider.png ${PN}.png - newicon -s 32 icons/Spider32x32.png ${PN}.png - make_desktop_entry spider Spider - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-board/spider/spider-1.2_p4-r2.ebuild b/games-board/spider/spider-1.2_p4-r2.ebuild new file mode 100644 index 000000000000..a543715af982 --- /dev/null +++ b/games-board/spider/spider-1.2_p4-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop epatch gnome2-utils + +MY_P="${P%%_*}" +MY_P="${MY_P/-/_}" +DEB_V="${P##*_p}" + +DESCRIPTION="Spider Solitaire" +HOMEPAGE="https://packages.debian.org/stable/games/spider" +SRC_URI="mirror://debian/pool/main/s/spider/${MY_P}.orig.tar.gz + mirror://debian/pool/main/s/spider/${MY_P}-${DEB_V}.diff.gz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="athena" + +RDEPEND=" + x11-libs/libXext + athena? ( x11-libs/libXaw ) + x11-libs/libXmu + x11-libs/libXt +" +DEPEND="${RDEPEND} + x11-misc/imake + x11-proto/xproto +" + +S="${WORKDIR}/${MY_P/_/-}.orig" + +src_prepare() { + default + epatch "${WORKDIR}"/${MY_P}-${DEB_V}.diff + sed -i \ + -e '/MKDIRHIER/s:/X11::' \ + *Imakefile \ + || die "sed failed" + rm Makefile +} + +src_configure() { + xmkmf \ + -DSmallCards=NO \ + -DRoundCards \ + $(use athena && echo "-DCompileXAW=YES" || echo "-DCompileXlibOnly=YES") \ + || die "imake failed" + sed -i \ + -e '/CC = /d' \ + -e "s/CDEBUGFLAGS = .*$/CDEBUGFLAGS = ${CFLAGS}/" \ + -e '/LDOPTIONS = /s/$/$(LDFLAGS)/' \ + Makefile \ + || die "sed failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + BINDIR="/usr/bin" \ + MANSUFFIX="6" \ + MANDIR="/usr/share/man/man6" \ + HELPDIR="/usr/share/doc/${PF}" \ + install install.doc install.man + + einstalldocs + newicon icons/Spider.png ${PN}.png + newicon -s 32 icons/Spider32x32.png ${PN}.png + make_desktop_entry spider Spider +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3