diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-06-09 19:53:35 +0200 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-06-15 16:00:19 -0400 |
commit | 41b13e8f18c65c00e1995723e98aaf0d329d342b (patch) | |
tree | 243105773c4a06feb3fdaa1f5bd82f415c0715a8 /games-board/freedoko | |
parent | games-board/freedoko: EAPI bump, fix dependencies and bugs (diff) | |
download | gentoo-41b13e8f18c65c00e1995723e98aaf0d329d342b.tar.gz gentoo-41b13e8f18c65c00e1995723e98aaf0d329d342b.tar.bz2 gentoo-41b13e8f18c65c00e1995723e98aaf0d329d342b.zip |
games-board/freedoko: remove old
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board/freedoko')
-rw-r--r-- | games-board/freedoko/freedoko-0.7.16.ebuild | 100 | ||||
-rw-r--r-- | games-board/freedoko/metadata.xml | 1 |
2 files changed, 0 insertions, 101 deletions
diff --git a/games-board/freedoko/freedoko-0.7.16.ebuild b/games-board/freedoko/freedoko-0.7.16.ebuild deleted file mode 100644 index 279bdf73da22..000000000000 --- a/games-board/freedoko/freedoko-0.7.16.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils flag-o-matic gnome2-utils - -DESCRIPTION="FreeDoko is a Doppelkopf-game" -HOMEPAGE="http://free-doko.sourceforge.net" -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip - backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) - gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) - openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) - !xskatcards? ( - !kdecards? ( - !gnomecards? ( - !openclipartcards? ( - !pysolcards? ( - mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" - -RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) - >=dev-cpp/gtkmm-2.4:2.4" -DEPEND="${RDEPEND} - app-arch/unzip - virtual/pkgconfig" - -S=${WORKDIR}/FreeDoko_${PV} - -src_unpack() { - local cards=0 - - unpack_cards() { - use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; - } - unpack FreeDoko_${PV}.src.zip - cp /dev/null "${S}"/src/Makefile.local || die - - cd "${S}"/data/cardsets || die - - unpack_cards xskatcards xskat.zip - unpack_cards kdecards kdecarddecks.zip - unpack_cards pysolcards pysol.zip - unpack_cards gnomecards gnome-games.zip - unpack_cards openclipartcards openclipart.zip - [ $cards ] || unpack xskat.zip # fall back to xskat - - if use backgrounds ; then - cd "${S}"/data/backgrounds || die - unpack ${PN}-backgrounds.zip - fi -} - -PATCHES=( - "${FILESDIR}"/${PN}-0.7.16-gentoo.patch -) - -src_prepare() { - default - export VARTEXFONTS="${T}/fonts" #652028 - append-cxxflags -std=c++14 -} - -src_compile() { - export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'" - export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" - export OSTYPE=Linux - export USE_NETWORK=$(use net && echo true || echo false) - export USE_SOUND_ALUT=false # still marked experimental - emake Version - emake -C src FreeDoko -} - -src_install() { - newbin src/FreeDoko freedoko - insinto /usr/share/${PN}/ - doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} - find "${D}/usr/share/${PN}" -name Makefile -delete - dodoc AUTHORS README ChangeLog - newicon -s 32 src/FreeDoko.png ${PN}.png - make_desktop_entry ${PN} FreeDoko -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml index a5dbad4c24dd..2e46e5ae6b65 100644 --- a/games-board/freedoko/metadata.xml +++ b/games-board/freedoko/metadata.xml @@ -7,7 +7,6 @@ </maintainer> <use> <flag name="kdecards">Install the KDE card set</flag> - <flag name="net">Enable network game support</flag> <flag name="pysolcards">Install the PySol card set</flag> <flag name="xskatcards">Install the XSkat card set</flag> <flag name="gnomecards">Install the gnome-games card set</flag> |