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 591271382C5 for ; Sun, 17 Jan 2021 01:17:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73FFEE0824; Sun, 17 Jan 2021 01:17:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5AC9AE0824 for ; Sun, 17 Jan 2021 01:17:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 692C4340F4F for ; Sun, 17 Jan 2021 01:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC6B549D for ; Sun, 17 Jan 2021 01:17:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1610846236.58b4677f8fed20a5996c79496f93f992665e385a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/0ad/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild X-VCS-Directories: games-strategy/0ad/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 58b4677f8fed20a5996c79496f93f992665e385a X-VCS-Branch: master Date: Sun, 17 Jan 2021 01:17:22 +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: a927cb53-aef5-4861-abdc-77c96752b47f X-Archives-Hash: ed43b4f453fb5394920cf01ab925ecff commit: 58b4677f8fed20a5996c79496f93f992665e385a Author: Sam James gentoo org> AuthorDate: Sun Jan 17 01:12:57 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 17 01:17:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b4677f games-strategy/0ad: misc fixups * Tighten nvtt dep * Use xdg-utils -> xdg Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> .../0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild b/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild index efaa4577774..aff130d91e0 100644 --- a/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild +++ b/games-strategy/0ad/0ad-0.0.24_alpha_pre20210116040036.ebuild @@ -1,10 +1,10 @@ # Copyright 2014-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -WX_GTK_VER="3.0-gtk3" +EAPI=7 -inherit desktop toolchain-funcs wxwidgets xdg-utils +WX_GTK_VER="3.0-gtk3" +inherit desktop toolchain-funcs wxwidgets xdg if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -54,7 +54,8 @@ DEPEND=" x11-libs/libX11 editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) lobby? ( >=net-libs/gloox-1.0.20 ) - nvtt? ( media-gfx/nvidia-texture-tools )" + nvtt? ( >=media-gfx/nvidia-texture-tools-2.1.0 )" + RDEPEND="${DEPEND}" PDEPEND="~games-strategy/0ad-data-${PV}" @@ -94,7 +95,9 @@ src_configure() { --bindir="/usr/bin" --libdir="/usr/$(get_libdir)"/${PN} --datadir="/usr/share/${PN}" - ) + ) + + tc-export CC CXX # stock premake5 does not work, use the shipped one emake -C "${S}"/build/premake/premake5/build/gmake2.unix @@ -147,11 +150,3 @@ src_install() { doicon -s 128 build/resources/${PN}.png make_desktop_entry ${PN} } - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -}