Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/, games-board/freedoko/
Date: Sun, 29 Apr 2018 18:13:46
Message-Id: 1525025614.e719478c45b1903f0a41e3a4d8505689a6b81611.pacho@gentoo
1 commit: e719478c45b1903f0a41e3a4d8505689a6b81611
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 17:58:31 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 18:13:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e719478c
7
8 games-board/freedoko: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-board/freedoko/Manifest | 1 -
13 .../freedoko/files/freedoko-0.7.14-gentoo.patch | 42 ---------
14 games-board/freedoko/freedoko-0.7.14-r1.ebuild | 100 ---------------------
15 3 files changed, 143 deletions(-)
16
17 diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest
18 index ff03641f422..54c25bb38de 100644
19 --- a/games-board/freedoko/Manifest
20 +++ b/games-board/freedoko/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST FreeDoko_0.7.14.src.zip 21959828 BLAKE2B fb19946876978119e36d6f8bb7bd0049523f2145dbaf198fe00e776256a1d66efb3067324bb6ffb0f7db90b3b5acd937c848cf7ec7958419e6897ae918955fce SHA512 d9135ad846c48c05b3d61c07b146429ef8c54d301469a304912176164f05ee98682d05a5b2ec8feb1a568acae2d81b2bf62fa625a1fde09a5c1c03a1c782ff17
23 DIST FreeDoko_0.7.16.src.zip 21763114 BLAKE2B a02e562badef67d596a5652a384022c0d7e86af766bdde35ce6fa18b212142a6f9008e3f702bdb571efc20cbbbaf1ebf61633a0e09fa97ed7bb5798268daaf34 SHA512 5a656539a6d8b06873532a32869a54a3cab68532b7ee8eb526e92c378ded957478e71ff5c2b1b5674f9433bb62adf2e94bdcf2d3ce13ffc7d846f268adbce314
24 DIST freedoko-backgrounds.zip 1067740 BLAKE2B 1f4485007bc78c3d7d497ba556a9f7bf0ff121a228e9d938ee000a12bd3921eef14c40cfbc6806b95c5905bff3f8e823b56c5fc110b290719a0771351f985d5c SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14
25 DIST gnome-games.zip 3338038 BLAKE2B cc2ddb0abfcc1557addf896d15daf00150ec08d7bd75ae9c4fdf1e4cd6e5d126e9dcd5e50a7c62f1d74cb881259da8ba96f2f5623ff84041d04c6b5a38b9662e SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1
26
27 diff --git a/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch
28 deleted file mode 100644
29 index d1d18fb485e..00000000000
30 --- a/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch
31 +++ /dev/null
32 @@ -1,42 +0,0 @@
33 ---- FreeDoko_0.7.14.orig/src/Makefile
34 -+++ FreeDoko_0.7.14/src/Makefile
35 -@@ -241,15 +241,7 @@
36 - # compile FreeDoko
37 - $(PROGRAM) : show_settings objects $(DIRECTORIES)
38 - @echo 'compiling $(PROGRAM)...'
39 --# Gentoo users do want to see the real compile line.
40 --# So remove the next five lines (the echo lines)
41 --# and remove the '@' in the line after.
42 -- @echo '$(CXX) $(CXXFLAGS)'
43 -- @echo ' $$(OBJECTS)'
44 -- @echo ' $(INCLUDE_ALL)'
45 -- @echo ' $(LIBS_ALL)'
46 -- @echo ' -o $@'
47 -- @$(CXX) $(CXXFLAGS) \
48 -+ $(CXX) $(CXXFLAGS) \
49 - $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \
50 - $(INCLUDE_ALL) \
51 - $(LIBS_ALL) \
52 ---- FreeDoko_0.7.14.orig/src/Makefile.os
53 -+++ FreeDoko_0.7.14/src/Makefile.os
54 -@@ -1,6 +1,5 @@
55 - include $(DEPTH)/../Makefile.os
56 -
57 --include $(DEPTH)/Makefile.local
58 - include $(DEPTH)/Makefile.modules
59 -
60 - ifeq ($(OPERATING_SYSTEM), Linux)
61 ---- FreeDoko_0.7.14.orig/src/Makefile.rules
62 -+++ FreeDoko_0.7.14/src/Makefile.rules
63 -@@ -80,10 +80,8 @@
64 - $(DEPTH)/Makefile.modules \
65 - $(DEPTH)/Makefile.local \
66 - $(DEPTH)/Makefile.os
67 --# Gentoo users do want to see the real compile line.
68 --# So remove the next line and remove the '@' in the line after.
69 - @echo $(CXX) -c $(SUBDIR)/$<
70 -- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<
71 -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<
72 -
73 -
74 - -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d)
75
76 diff --git a/games-board/freedoko/freedoko-0.7.14-r1.ebuild b/games-board/freedoko/freedoko-0.7.14-r1.ebuild
77 deleted file mode 100644
78 index 1c2f599e443..00000000000
79 --- a/games-board/freedoko/freedoko-0.7.14-r1.ebuild
80 +++ /dev/null
81 @@ -1,100 +0,0 @@
82 -# Copyright 1999-2016 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=6
86 -inherit eutils flag-o-matic gnome2-utils
87 -
88 -DESCRIPTION="FreeDoko is a Doppelkopf-game"
89 -HOMEPAGE="http://free-doko.sourceforge.net"
90 -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip
91 - backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip )
92 - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip )
93 - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip )
94 - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip )
95 - gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip )
96 - openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip )
97 - !xskatcards? (
98 - !kdecards? (
99 - !gnomecards? (
100 - !openclipartcards? (
101 - !pysolcards? (
102 - mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )"
103 -
104 -LICENSE="GPL-2+"
105 -SLOT="0"
106 -KEYWORDS="~amd64 ~x86"
107 -IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net"
108 -
109 -RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 )
110 - >=dev-cpp/gtkmm-2.4:2.4"
111 -DEPEND="${RDEPEND}
112 - app-arch/unzip
113 - virtual/pkgconfig"
114 -
115 -S=${WORKDIR}/FreeDoko_${PV}
116 -
117 -src_unpack() {
118 - local cards=0
119 -
120 - unpack_cards() {
121 - use $1 && { unpack $2 ; cards=$(( $cards + 1 )); };
122 - }
123 - unpack FreeDoko_${PV}.src.zip
124 - cp /dev/null "${S}"/src/Makefile.local || die
125 -
126 - cd "${S}"/data/cardsets || die
127 -
128 - unpack_cards xskatcards xskat.zip
129 - unpack_cards kdecards kdecarddecks.zip
130 - unpack_cards pysolcards pysol.zip
131 - unpack_cards gnomecards gnome-games.zip
132 - unpack_cards openclipartcards openclipart.zip
133 - [ $cards ] || unpack xskat.zip # fall back to xskat
134 -
135 - if use backgrounds ; then
136 - cd "${S}"/data/backgrounds || die
137 - unpack ${PN}-backgrounds.zip
138 - fi
139 -}
140 -
141 -PATCHES=(
142 - "${FILESDIR}"/${P}-gentoo.patch
143 -)
144 -
145 -src_prepare() {
146 - default
147 -
148 - append-cxxflags -std=c++11
149 -}
150 -
151 -src_compile() {
152 - export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'"
153 - export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'"
154 - export OSTYPE=Linux
155 - export USE_NETWORK=$(use net && echo true || echo false)
156 - export USE_SOUND_ALUT=false # still marked experimental
157 - emake Version
158 - emake -C src FreeDoko
159 -}
160 -
161 -src_install() {
162 - newbin src/FreeDoko freedoko
163 - insinto /usr/share/${PN}/
164 - doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png}
165 - find "${D}/usr/share/${PN}" -name Makefile -delete
166 - dodoc AUTHORS README ChangeLog
167 - newicon -s 32 src/FreeDoko.png ${PN}.png
168 - make_desktop_entry ${PN} FreeDoko
169 -}
170 -
171 -pkg_preinst() {
172 - gnome2_icon_savelist
173 -}
174 -
175 -pkg_postinst() {
176 - gnome2_icon_cache_update
177 -}
178 -
179 -pkg_postrm() {
180 - gnome2_icon_cache_update
181 -}