From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
Date: Tue, 15 Jun 2021 20:02:14 +0000 (UTC) [thread overview]
Message-ID: <1623787219.8ea66e4defe9d2b9737e8100ffa517192e9489c2.ionen@gentoo> (raw)
commit: 8ea66e4defe9d2b9737e8100ffa517192e9489c2
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun 9 17:51:59 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 20:00:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea66e4d
games-board/freedoko: EAPI bump, fix dependencies and bugs
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://bugs.gentoo.org/655758
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-board/freedoko/freedoko-0.7.16-r1.ebuild | 47 +++++++++++---------------
1 file changed, 20 insertions(+), 27 deletions(-)
diff --git a/games-board/freedoko/freedoko-0.7.16-r1.ebuild b/games-board/freedoko/freedoko-0.7.16-r1.ebuild
index 2776366c552..3b960d8b53e 100644
--- a/games-board/freedoko/freedoko-0.7.16-r1.ebuild
+++ b/games-board/freedoko/freedoko-0.7.16-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils flag-o-matic gnome2-utils
+EAPI=7
+
+inherit desktop flag-o-matic toolchain-funcs xdg
DESCRIPTION="FreeDoko is a Doppelkopf-game"
HOMEPAGE="http://free-doko.sourceforge.net"
@@ -25,12 +26,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds"
-RDEPEND=">=dev-cpp/gtkmm-2.4:2.4"
-DEPEND="${RDEPEND}
- app-arch/unzip
+RDEPEND="dev-cpp/gtkmm:3.0
+ media-libs/openal"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip
virtual/pkgconfig"
-S=${WORKDIR}/FreeDoko_${PV}
+S="${WORKDIR}/FreeDoko_${PV}"
src_unpack() {
local cards=0
@@ -60,40 +62,31 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.16-gentoo.patch
)
-src_prepare() {
- default
- export VARTEXFONTS="${T}/fonts" #652028
+src_compile() {
+ tc-export CXX
append-cxxflags -std=c++14
-}
+ append-cppflags -DPUBLIC_DATA_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/${PN}\"'" \
+ -DMANUAL_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/doc/${PF}/html\"'"
-src_compile() {
- export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'"
- export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'"
+ export VARTEXFONTS="${T}/fonts" #652028
export OSTYPE=Linux
export USE_NETWORK=false
export USE_SOUND_ALUT=false # still marked experimental
+
emake Version
- emake -C src FreeDoko
+ emake -C src FreeDoko LIBS="${LDFLAGS}"
}
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
-}
+ einstalldocs
-pkg_postrm() {
- gnome2_icon_cache_update
+ find "${ED}/usr/share/${PN}" -name Makefile -delete || die
}
next reply other threads:[~2021-06-15 20:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 20:02 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-22 5:33 [gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/ Sam James
2024-03-22 5:33 Sam James
2021-06-15 20:02 Ionen Wolkens
2021-06-15 20:02 Ionen Wolkens
2018-11-11 13:07 Pacho Ramos
2016-09-07 23:29 Austin English
2016-01-06 16:40 Michael Sterrett
2016-01-03 11:54 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1623787219.8ea66e4defe9d2b9737e8100ffa517192e9489c2.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox