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 1D7631382C5 for ; Sat, 17 Apr 2021 23:37:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 284D9E07B3; Sat, 17 Apr 2021 23:37:21 +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 B24B1E07B3 for ; Sat, 17 Apr 2021 23:37:20 +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 5CA9D34087F for ; Sat, 17 Apr 2021 23:37:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C76CC646 for ; Sat, 17 Apr 2021 23:37:17 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1618702614.9334174f4579ea52f03270d1e480e0b4c6ba9f4e.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/tomb/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-crypt/tomb/tomb-2.9-r3.ebuild app-crypt/tomb/tomb-2.9-r4.ebuild X-VCS-Directories: app-crypt/tomb/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 9334174f4579ea52f03270d1e480e0b4c6ba9f4e X-VCS-Branch: dev Date: Sat, 17 Apr 2021 23:37:17 +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: 3f4983c6-8ca9-47a4-ab47-f8444174c9d5 X-Archives-Hash: 0a1c05248e299d4427b5139297bed535 commit: 9334174f4579ea52f03270d1e480e0b4c6ba9f4e Author: Alessandro Barbieri gmail com> AuthorDate: Sat Apr 17 23:34:48 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sat Apr 17 23:36:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9334174f app-crypt/tomb: install translations still unsure about that mime xml file Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> .../{tomb-2.9-r3.ebuild => tomb-2.9-r4.ebuild} | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app-crypt/tomb/tomb-2.9-r3.ebuild b/app-crypt/tomb/tomb-2.9-r4.ebuild similarity index 88% rename from app-crypt/tomb/tomb-2.9-r3.ebuild rename to app-crypt/tomb/tomb-2.9-r4.ebuild index 58f6cb53a..6d6005f78 100644 --- a/app-crypt/tomb/tomb-2.9-r3.ebuild +++ b/app-crypt/tomb/tomb-2.9-r4.ebuild @@ -3,6 +3,7 @@ EAPI="7" +XDG_ECLASS_MIMEINFOFILES="${S}/extras/desktop/dyne-tomb.xml" inherit desktop qmake-utils xdg MYP="${P^}" @@ -18,7 +19,6 @@ LICENSE=" " SLOT="0" KEYWORDS="~amd64" -#todo extras/desktop IUSE="gui test tray" #test require sudo, can't be done non interactively RESTRICT="test" @@ -40,9 +40,11 @@ DOCS=( S="${WORKDIR}/${MYP}" CDEPEND=" dev-libs/libgcrypt - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 + tray? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) " RDEPEND=" ${CDEPEND} @@ -91,7 +93,7 @@ src_install() { #translations export PREFIX="${ED}/usr" pushd extras/translations || die - emake + emake install popd || die #zenity gui @@ -116,13 +118,13 @@ src_install() { #is there an eclass for this? #pixmap - doicon extras/gtk-tray/monmort.xpm + pushd extras/gtk-tray + doicon monmort.xpm + newicon --context mimetypes --size 32 monmort.xpm monmort + newicon --size 32 monmort.xpm dyne-monmort + popd pushd extras/desktop #copied from install.zsh - #mime types - xdg-mime install dyne-tomb.xml - xdg-icon-resource install --context mimetypes --size 32 monmort.xpm monmort - xdg-icon-resource install --size 32 monmort.xpm dyne-monmort #desktop domenu tomb.desktop #menu