From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1DF313835A for ; Tue, 15 Jun 2021 20:02:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E126E08FE; Tue, 15 Jun 2021 20:02:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03BAEE08FE for ; Tue, 15 Jun 2021 20:02:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B9B5340E5F for ; Tue, 15 Jun 2021 20:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CDD77B3 for ; Tue, 15 Jun 2021 20:02:14 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1623787219.8ea66e4defe9d2b9737e8100ffa517192e9489c2.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/freedoko/freedoko-0.7.16-r1.ebuild X-VCS-Directories: games-board/freedoko/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 8ea66e4defe9d2b9737e8100ffa517192e9489c2 X-VCS-Branch: master Date: Tue, 15 Jun 2021 20:02:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a8a17a30-dee8-4064-8b23-46ab89e268d0 X-Archives-Hash: 63a7012e5dc91d81a880304854a2c6c3 commit: 8ea66e4defe9d2b9737e8100ffa517192e9489c2 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Jun 9 17:51:59 2021 +0000 Commit: Ionen Wolkens gentoo 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 levelnine.at> Closes: https://bugs.gentoo.org/655758 Signed-off-by: Ionen Wolkens 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 }