1 |
commit: 94c83418cf3446b81be3b65e3cc081659a8006d5 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Tue Nov 29 15:00:04 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Tue Nov 29 15:00:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94c83418 |
7 |
|
8 |
gnome-extra/junction: fix a broken ebuild |
9 |
|
10 |
Closes: https://bugs.gentoo.org/866467 |
11 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 |
|
13 |
gnome-extra/junction/Manifest | 2 + |
14 |
gnome-extra/junction/junction-1.6-r1.ebuild | 58 +++++++++++++++++++++++++++++ |
15 |
gnome-extra/junction/junction-1.6.ebuild | 24 ------------ |
16 |
gnome-extra/junction/junction-9999.ebuild | 25 ------------- |
17 |
4 files changed, 60 insertions(+), 49 deletions(-) |
18 |
|
19 |
diff --git a/gnome-extra/junction/Manifest b/gnome-extra/junction/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..39d62007d |
22 |
--- /dev/null |
23 |
+++ b/gnome-extra/junction/Manifest |
24 |
@@ -0,0 +1,2 @@ |
25 |
+DIST junction-1.6.tar.gz 1882299 BLAKE2B ff4e51f65eea7fd12de4cade632762d4cc752df2de80057fc0bb1bd711e4802e812f2358fbe19d249e19e0c1c32e5e81cdf125a4e6b0e7730442ca56d375114a SHA512 c92207496ade1c49f2d4ab5846839c8f4afaf777d77a59285a7b9eea139736aa77618fe5cb0b2386b9d1a821ef6a27b23eb4abd2b4d094222211430cca76949b |
26 |
+DIST troll-junction-1.6.tar.gz 469179 BLAKE2B cbbfd7be194f286149e673ea7fd5b314dcc99ca6cf1490012cffcd00645e0fa126cd32ab1b0162bfccdd3065c4dbb11edff0cea0b570335ebb03a170eb1d14a3 SHA512 4b9ea85d826f3a030d432b333e6c64bc59a9f1f8d48474e4d5a3edb9c1e528da1acd556055e430465ba66e338ac00fca0a782e4f995c9946f22063a1051f6c61 |
27 |
|
28 |
diff --git a/gnome-extra/junction/junction-1.6-r1.ebuild b/gnome-extra/junction/junction-1.6-r1.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000..d7d8303e6 |
31 |
--- /dev/null |
32 |
+++ b/gnome-extra/junction/junction-1.6-r1.ebuild |
33 |
@@ -0,0 +1,58 @@ |
34 |
+# Copyright 2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit meson |
40 |
+ |
41 |
+TROLL_COMMIT="8d7c2be66a4bf1cbb2081121997a33662fc19cd0" |
42 |
+DESCRIPTION="Application/browser chooser" |
43 |
+HOMEPAGE=" |
44 |
+ https://apps.gnome.org/app/re.sonny.Junction/ |
45 |
+ https://github.com/sonnyp/Junction |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/sonnyp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz |
49 |
+ https://github.com/sonnyp/troll/archive/${TROLL_COMMIT}.tar.gz -> troll-${P}.tar.gz |
50 |
+" |
51 |
+S="${WORKDIR}/${PN^}-${PV}" |
52 |
+ |
53 |
+LICENSE="GPL-3+" |
54 |
+KEYWORDS="~amd64" |
55 |
+SLOT="0" |
56 |
+ |
57 |
+DEPEND=" |
58 |
+ dev-libs/gjs |
59 |
+ dev-libs/glib:2 |
60 |
+" |
61 |
+RDEPEND="${DEPEND} |
62 |
+ dev-libs/gobject-introspection |
63 |
+ dev-libs/libportal[introspection] |
64 |
+ gui-libs/gtk:4[introspection] |
65 |
+ gui-libs/libadwaita:1[introspection] |
66 |
+ net-libs/libsoup:3.0[introspection] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ dev-util/blueprint-compiler |
70 |
+ sys-devel/gettext |
71 |
+" |
72 |
+ |
73 |
+src_unpack() { |
74 |
+ default |
75 |
+ |
76 |
+ rmdir "${S}"/troll || die |
77 |
+ mv "${WORKDIR}"/troll-${TROLL_COMMIT} "${S}"/troll || die |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ local mymesonargs=( |
82 |
+ --datadir=/usr/share |
83 |
+ ) |
84 |
+ |
85 |
+ meson_src_configure |
86 |
+} |
87 |
+ |
88 |
+# only data files validators, skip them |
89 |
+src_test() { |
90 |
+ : |
91 |
+} |
92 |
|
93 |
diff --git a/gnome-extra/junction/junction-1.6.ebuild b/gnome-extra/junction/junction-1.6.ebuild |
94 |
deleted file mode 100644 |
95 |
index 533490046..000000000 |
96 |
--- a/gnome-extra/junction/junction-1.6.ebuild |
97 |
+++ /dev/null |
98 |
@@ -1,24 +0,0 @@ |
99 |
-# Copyright 2022 Gentoo Authors |
100 |
-# Distributed under the terms of the GNU General Public License v2 |
101 |
- |
102 |
-EAPI=8 |
103 |
- |
104 |
-inherit git-r3 meson |
105 |
- |
106 |
-DESCRIPTION="Application/browser chooser" |
107 |
-HOMEPAGE="https://apps.gnome.org/app/re.sonny.Junction/" |
108 |
- |
109 |
-EGIT_REPO_URI="https://github.com/sonnyp/Junction.git" |
110 |
- |
111 |
-if [[ ${PV} != *9999 ]]; then |
112 |
- EGIT_COMMIT="v${PV}" |
113 |
- KEYWORDS="~amd64" |
114 |
-fi |
115 |
- |
116 |
-LICENSE="GPL-3+" |
117 |
-SLOT="0" |
118 |
- |
119 |
-src_configure() { |
120 |
- meson_src_configure \ |
121 |
- --datadir=/usr/share |
122 |
-} |
123 |
|
124 |
diff --git a/gnome-extra/junction/junction-9999.ebuild b/gnome-extra/junction/junction-9999.ebuild |
125 |
deleted file mode 100644 |
126 |
index 561a653dc..000000000 |
127 |
--- a/gnome-extra/junction/junction-9999.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,25 +0,0 @@ |
130 |
-# Copyright 2022 Gentoo Authors |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-EAPI=8 |
134 |
- |
135 |
-inherit git-r3 meson |
136 |
- |
137 |
-DESCRIPTION="Application/browser chooser" |
138 |
-HOMEPAGE="https://apps.gnome.org/app/re.sonny.Junction/" |
139 |
- |
140 |
-EGIT_REPO_URI="https://github.com/sonnyp/Junction.git" |
141 |
- |
142 |
-if [[ ${PV} != *9999 ]]; then |
143 |
- EGIT_TAG="v${PV}" |
144 |
- KEYWORDS="~amd64" |
145 |
-fi |
146 |
- |
147 |
-LICENSE="GPL-3+" |
148 |
-KEYWORDS="" |
149 |
-SLOT="0" |
150 |
- |
151 |
-src_configure() { |
152 |
- meson_src_configure \ |
153 |
- --datadir=/usr/share |
154 |
-} |