summaryrefslogtreecommitdiff
path: root/games-board
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-22 07:00:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-22 07:00:36 +0000
commit267b3b848468a603048b181330ee73cf0bd99c44 (patch)
treed48682864ec3b9a40741db3604455fbc723465b2 /games-board
parent58d5ec1c1e98326577fa902f6c9c568639b18d12 (diff)
gentoo auto-resync : 22:03:2024 - 07:00:36
Diffstat (limited to 'games-board')
-rw-r--r--games-board/Manifest.gzbin10189 -> 10195 bytes
-rw-r--r--games-board/freedoko/Manifest5
-rw-r--r--games-board/freedoko/files/freedoko-0.8.0-gentoo.patch34
-rw-r--r--games-board/freedoko/freedoko-0.8.0.ebuild97
-rw-r--r--games-board/freedoko/metadata.xml1
5 files changed, 136 insertions, 1 deletions
diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz
index 22974c2b0284..20788b7236f6 100644
--- a/games-board/Manifest.gz
+++ b/games-board/Manifest.gz
Binary files differ
diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest
index f31e343f63c4..a8d99349c4b6 100644
--- a/games-board/freedoko/Manifest
+++ b/games-board/freedoko/Manifest
@@ -1,5 +1,7 @@
AUX freedoko-0.7.16-gentoo.patch 1233 BLAKE2B aed41cd99a5031a81c8566e4ce0055015e11bd68b7e5c195577deb6cfe228077ab3be0060a2d9881829319b3bd83b3618f0a50a2f1e9abb3c64bd8ffdc743683 SHA512 2ee93baa654050af04cea885a5d170933b94f777da669a72b66bfcff7d0a82e7347b58ffcb4966b52b40117f6cc8fc5dc9e0391638184f49f76b954e08a4796d
+AUX freedoko-0.8.0-gentoo.patch 1273 BLAKE2B 6dc30169327337a9d3c8a6c8c37f9d0ca675ab88c667e55bf120aec4045f5238dd190be277c6d00b2af97819a9cb72998a98c2e37ebd8e1bae912c52237efbb5 SHA512 a27edc5d9f35726ee900dfc9dab6cbca64523c4ae19069c7a449917aa45145632c711695805b328314ee7782124aab1988c2d292aa5d3efa19dbeeca3a917a6d
DIST FreeDoko_0.7.16.src.zip 21763114 BLAKE2B a02e562badef67d596a5652a384022c0d7e86af766bdde35ce6fa18b212142a6f9008e3f702bdb571efc20cbbbaf1ebf61633a0e09fa97ed7bb5798268daaf34 SHA512 5a656539a6d8b06873532a32869a54a3cab68532b7ee8eb526e92c378ded957478e71ff5c2b1b5674f9433bb62adf2e94bdcf2d3ce13ffc7d846f268adbce314
+DIST FreeDoko_0.8.0.src.zip 24831232 BLAKE2B 3c5265e4fefe9de2509c5b6db1660261be5f3cfceeaac9dcf2d7e8138ae71fad950745427979fa123a501c560b312ad0db4a12cf93a90948fcc6f4b8a442bb90 SHA512 db2ca8a0775313e212c7e16fe01189d3fed035503d5ebfb3047af07ec24f58f7a3c17270b65aa1d9f5531c81a636ce7881bea656ff2a131528c593ae3948093b
DIST freedoko-backgrounds.zip 1067740 BLAKE2B 1f4485007bc78c3d7d497ba556a9f7bf0ff121a228e9d938ee000a12bd3921eef14c40cfbc6806b95c5905bff3f8e823b56c5fc110b290719a0771351f985d5c SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14
DIST gnome-games.zip 3338038 BLAKE2B cc2ddb0abfcc1557addf896d15daf00150ec08d7bd75ae9c4fdf1e4cd6e5d126e9dcd5e50a7c62f1d74cb881259da8ba96f2f5623ff84041d04c6b5a38b9662e SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1
DIST kdecarddecks.zip 3370611 BLAKE2B d097bd95545e57250ea7dc034d40577253cf8e78e539e7b81217a548903817ee792a5ee1115eef7d8238b3e90a70601e272df84fc304b43be4a28697220d545c SHA512 4f3fdac3c672fd1de3db2f6603919a242db73e2445a8dac07d45dcf284cfbb56948925d6e512f15a0b4c762b71758c0755312624a0030a4d8f11dbfe65666c44
@@ -7,4 +9,5 @@ DIST openclipart.zip 1251509 BLAKE2B 66ac2ada7d96726d4f4f9d016feb088814ff95def99
DIST pysol.zip 26314316 BLAKE2B f8df3be0b4a2f9343af40dd3311f4d58ca33a1392474f837afc2a0e56bcf21e1bd39b3b2914e06f6e226e5e832b2c6cba9f090639e27f38d554da81dbc3e1d58 SHA512 951891631c6890144361d779bc52aed2b94a87e810de65f7ef240193c49a243e2f1a93f3e170eacb19080dd28beb99b279d7e0bc16d7cb54553e27d29e65b1f7
DIST xskat.zip 666085 BLAKE2B 2141ffec9b76142ab96bc0bd66784578711a44163788b868b9b02cfa9514f123e02a75d6d3c979ba86283b5fdda1604167eff9181c9ce2ee8b324db0b02bb0e1 SHA512 725bb12e983e8c1494748faf78b2e1c76c424806eeb7a88aafecf580aa63703c166907aea2bbd7890d2f972ffacc5dde78d01a82b72ab87cccf1a8e50d1034f9
EBUILD freedoko-0.7.16-r1.ebuild 2538 BLAKE2B 0007028476981e7ff5cef13ba98aca2b64dc3fc6cb9655895dedc9b8c658e4f4cc34b4a08af499a0a6664844c16927a172ddf9f62263896fd925648f523e4aeb SHA512 4c0e9f15d56a24bd388c16bdefb6c80cc753b0aba009d16a842989b72eaf6684ad261e1266bb5f284962313f2b0247b6c9eac770d003a272cacd84e8350457cd
-MISC metadata.xml 762 BLAKE2B 809b6315e7568342c7d396520bc0186aeafa5acd0750170318ecb6b4c3ea4e5c469dd7d127c6bf0984d6cff00b0eac0c55d07426812bd98e9bde0467ce05d144 SHA512 c4c825e6f7ec1419691e946df3497ade14a25e15d6ed85bd072b33ba6fc0d4ddec7503534a5ffac043cfe449c932fa5b28ffc42d70feed7563c12b8d7e849d62
+EBUILD freedoko-0.8.0.ebuild 2490 BLAKE2B 593d09952f43ab098ba1589489fd6a9a2c1c6f3b39aa91ba9f98236fa4408bf601679b361b78009a0febf3d0f1029041185d44560ebb1867d5c108b200c545b4 SHA512 0082916731aa39cbc2a1c8ea1af32af3cf75cd95ce6accd45eeea06e5054c5699c1d68ee10cbd9f9a9f472b4d81c74671b659432447e5d2a1b9aaecc65a9a65f
+MISC metadata.xml 818 BLAKE2B ee2457a4d0c2b0c5c5e08ecee44140856b6dc9d622c231a57bbbf0b944eb851dfb4c8a9262cddee83342dc6f97e5963bc6c34e0012a46d1c1649adfa0ff7564c SHA512 aac24594799df1fadee8772009b94c9e2bb89787a96f6264d403d82a702f1075507758c3fe6ac35d001164585e218c61de03526e803f5850a34ef8823af2e880
diff --git a/games-board/freedoko/files/freedoko-0.8.0-gentoo.patch b/games-board/freedoko/files/freedoko-0.8.0-gentoo.patch
new file mode 100644
index 000000000000..d4935fedfb72
--- /dev/null
+++ b/games-board/freedoko/files/freedoko-0.8.0-gentoo.patch
@@ -0,0 +1,34 @@
+diff --git a/src/Makefile b/src/Makefile
+index 95d51e8..6eab774 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -266,12 +266,7 @@ $(PROGRAM) : show_settings
+ # Gentoo users do want to see the real compile line.
+ # So remove the next five lines (the echo lines)
+ # and remove the '@' in the line after.
+- @echo '$(CXX) $$(OBJ_FILES_ALL)'
+- @echo ' $(LIBS_ALL)'
+- @echo ' $(CXXFLAGS)'
+- @echo ' $(LDFLAGS)'
+- @echo ' -o $@'
+- @$(CXX) \
++ $(CXX) \
+ $(OBJ_FILES_ALL:%.o=$(OBJDIR)/%.o) \
+ $(LIBS_ALL) \
+ $(CXXFLAGS) \
+diff --git a/src/Makefile.rules b/src/Makefile.rules
+index 8ff7b35..0745227 100644
+--- a/src/Makefile.rules
++++ b/src/Makefile.rules
+@@ -92,9 +92,8 @@ $(TARGET_DIR_LOCAL)%.o : %.cpp \
+ $(DEPTH)/Makefile.os
+ # Gentoo users do want to see the real compile line.
+ # So remove the next line and remove the '@' in the lines after.
+- @echo $(CXX) -c $(SUBDIR)/$<
+- @$(RM) $(TARGET_DIR_LOCAL)*.gcno $(TARGET_DIR_LOCAL)*.gcda
+- @$(CXX) $(INCLUDE) $(CPPFLAGS) $(CPPFLAGS_FREEDOKO) $(CXXFLAGS) $(DEPGEN_FLAGS) -o $@ -c $<
++ $(RM) $(TARGET_DIR_LOCAL)*.gcno $(TARGET_DIR_LOCAL)*.gcda
++ $(CXX) $(INCLUDE) $(CPPFLAGS) $(CPPFLAGS_FREEDOKO) $(CXXFLAGS) $(DEPGEN_FLAGS) -o $@ -c $<
+
+
+ -include $(OBJ_FILES:%.o=$(TARGET_DIR_LOCAL)%.d)
diff --git a/games-board/freedoko/freedoko-0.8.0.ebuild b/games-board/freedoko/freedoko-0.8.0.ebuild
new file mode 100644
index 000000000000..7aa2243028d5
--- /dev/null
+++ b/games-board/freedoko/freedoko-0.8.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop flag-o-matic toolchain-funcs
+
+DESCRIPTION="FreeDoko is a Doppelkopf-game"
+HOMEPAGE="https://free-doko.sourceforge.net"
+SRC_URI="
+ mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip
+ backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip )
+ gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip )
+ kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip )
+ openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip )
+ pysolcards? ( mirror://sourceforge/free-doko/pysol.zip )
+ xskatcards? ( mirror://sourceforge/free-doko/xskat.zip )
+ !xskatcards? (
+ !kdecards? (
+ !gnomecards? (
+ !openclipartcards? (
+ !pysolcards? (
+ mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )"
+S="${WORKDIR}/FreeDoko_${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+backgrounds +gnomecards +kdecards +openclipartcards +pysolcards +xskatcards"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ media-libs/openal"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.8.0-gentoo.patch
+)
+
+src_unpack() {
+ unpack FreeDoko_${PV}.src.zip
+
+ local cards=
+ unpack_cards() {
+ if use $1; then
+ cards=y
+ unpack $2
+ fi
+ }
+
+ cd "${S}"/data/cardsets || die
+
+ unpack_cards gnomecards gnome-games.zip
+ unpack_cards kdecards kdecarddecks.zip
+ unpack_cards openclipartcards openclipart.zip
+ unpack_cards pysolcards pysol.zip
+ unpack_cards xskatcards xskat.zip
+ [[ $cards ]] || unpack xskat.zip # fall back to xskat
+
+ if use backgrounds ; then
+ cd "${S}"/data/backgrounds || die
+ unpack ${PN}-backgrounds.zip
+ fi
+}
+
+src_compile() {
+ tc-export CXX
+ append-cppflags \
+ -DPUBLIC_DATA_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/${PN}\"'" \
+ -DMANUAL_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/doc/${PF}/html\"'"
+ touch src/Makefile.local || die # needed for above paths to be used
+
+ export OSTYPE=Linux
+ export USE_NETWORK=false
+ export USE_SOUND_ALUT=false # still marked experimental
+ export VARTEXFONTS="${T}/fonts" #652028
+
+ emake Version
+ emake -C src FreeDoko LIBS="${LDFLAGS}"
+}
+
+src_install() {
+ newbin src/FreeDoko freedoko
+
+ insinto /usr/share/${PN}
+ doins -r data/{backgrounds,cardsets,iconsets,sounds,*.png}
+
+ newicon src/icon.png ${PN}.png
+ make_desktop_entry ${PN} FreeDoko
+
+ einstalldocs
+
+ find "${ED}"/usr/share/${PN} -name Makefile -delete || die
+}
diff --git a/games-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml
index 56eaeaba81ef..153124ab6c44 100644
--- a/games-board/freedoko/metadata.xml
+++ b/games-board/freedoko/metadata.xml
@@ -15,5 +15,6 @@
</use>
<upstream>
<remote-id type="sourceforge">free-doko</remote-id>
+ <remote-id type="gitlab">dknof/FreeDoko</remote-id>
</upstream>
</pkgmetadata>