1 |
commit: 9334174f4579ea52f03270d1e480e0b4c6ba9f4e |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 17 23:34:48 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Apr 17 23:36:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9334174f |
7 |
|
8 |
app-crypt/tomb: install translations |
9 |
|
10 |
still unsure about that mime xml file |
11 |
|
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
14 |
|
15 |
.../{tomb-2.9-r3.ebuild => tomb-2.9-r4.ebuild} | 22 ++++++++++++---------- |
16 |
1 file changed, 12 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/tomb/tomb-2.9-r3.ebuild b/app-crypt/tomb/tomb-2.9-r4.ebuild |
19 |
similarity index 88% |
20 |
rename from app-crypt/tomb/tomb-2.9-r3.ebuild |
21 |
rename to app-crypt/tomb/tomb-2.9-r4.ebuild |
22 |
index 58f6cb53a..6d6005f78 100644 |
23 |
--- a/app-crypt/tomb/tomb-2.9-r3.ebuild |
24 |
+++ b/app-crypt/tomb/tomb-2.9-r4.ebuild |
25 |
@@ -3,6 +3,7 @@ |
26 |
|
27 |
EAPI="7" |
28 |
|
29 |
+XDG_ECLASS_MIMEINFOFILES="${S}/extras/desktop/dyne-tomb.xml" |
30 |
inherit desktop qmake-utils xdg |
31 |
|
32 |
MYP="${P^}" |
33 |
@@ -18,7 +19,6 @@ LICENSE=" |
34 |
" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64" |
37 |
-#todo extras/desktop |
38 |
IUSE="gui test tray" |
39 |
#test require sudo, can't be done non interactively |
40 |
RESTRICT="test" |
41 |
@@ -40,9 +40,11 @@ DOCS=( |
42 |
S="${WORKDIR}/${MYP}" |
43 |
CDEPEND=" |
44 |
dev-libs/libgcrypt |
45 |
- dev-qt/qtcore:5 |
46 |
- dev-qt/qtgui:5 |
47 |
- dev-qt/qtwidgets:5 |
48 |
+ tray? ( |
49 |
+ dev-qt/qtcore:5 |
50 |
+ dev-qt/qtgui:5 |
51 |
+ dev-qt/qtwidgets:5 |
52 |
+ ) |
53 |
" |
54 |
RDEPEND=" |
55 |
${CDEPEND} |
56 |
@@ -91,7 +93,7 @@ src_install() { |
57 |
#translations |
58 |
export PREFIX="${ED}/usr" |
59 |
pushd extras/translations || die |
60 |
- emake |
61 |
+ emake install |
62 |
popd || die |
63 |
|
64 |
#zenity gui |
65 |
@@ -116,13 +118,13 @@ src_install() { |
66 |
|
67 |
#is there an eclass for this? |
68 |
#pixmap |
69 |
- doicon extras/gtk-tray/monmort.xpm |
70 |
+ pushd extras/gtk-tray |
71 |
+ doicon monmort.xpm |
72 |
+ newicon --context mimetypes --size 32 monmort.xpm monmort |
73 |
+ newicon --size 32 monmort.xpm dyne-monmort |
74 |
+ popd |
75 |
pushd extras/desktop |
76 |
#copied from install.zsh |
77 |
- #mime types |
78 |
- xdg-mime install dyne-tomb.xml |
79 |
- xdg-icon-resource install --context mimetypes --size 32 monmort.xpm monmort |
80 |
- xdg-icon-resource install --size 32 monmort.xpm dyne-monmort |
81 |
#desktop |
82 |
domenu tomb.desktop |
83 |
#menu |