1 |
commit: f2a132239e469b0b52d1cd60a085fdacbbf1151c |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 02:48:49 2022 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 02:48:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a13223 |
7 |
|
8 |
sys-apps/dbus-broker: update live ebuild |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
sys-apps/dbus-broker/dbus-broker-9999.ebuild | 37 +++++++--------------------- |
13 |
1 file changed, 9 insertions(+), 28 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/dbus-broker/dbus-broker-9999.ebuild b/sys-apps/dbus-broker/dbus-broker-9999.ebuild |
16 |
index 83f7734dc680..628f0de368a5 100644 |
17 |
--- a/sys-apps/dbus-broker/dbus-broker-9999.ebuild |
18 |
+++ b/sys-apps/dbus-broker/dbus-broker-9999.ebuild |
19 |
@@ -1,7 +1,7 @@ |
20 |
# Copyright 2017-2022 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
inherit meson |
27 |
|
28 |
@@ -10,21 +10,6 @@ if [[ ${PV} == 9999 ]]; then |
29 |
EGIT_REPO_URI="https://github.com/bus1/dbus-broker.git" |
30 |
else |
31 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" |
32 |
- SRC_URI="https://github.com/bus1/dbus-broker/archive/v${PV}/${P}.tar.gz" |
33 |
- declare -Ag SUBPROJECTS=( |
34 |
- [c-dvar]=9e1a5b4363aaece7169df2b2852944a1434b2df5 |
35 |
- [c-ini]=43f379396a320940d0661c15780f618f84d29348 |
36 |
- [c-list]=b1cd4dbf967d73b24dfe6cc56aaf3fdd668692e3 |
37 |
- [c-rbtree]=fa97402c3faa18c2ddd8325eb66e2bd58a224477 |
38 |
- [c-shquote]=1d171fe52c23944c3c0be1f2603595f2488a9ff8 |
39 |
- [c-stdaux]=d6ecce8afbb7703e1469cc5e7a59a8bd32e2d4a4 |
40 |
- [c-utf8]=1f7e2ff1164bd2161cb480532b2b34cb2074bde1 |
41 |
- ) |
42 |
- for sp in "${!SUBPROJECTS[@]}"; do |
43 |
- commit=${SUBPROJECTS[${sp}]} |
44 |
- SRC_URI+=" https://github.com/c-util/${sp}/archive/${commit}/${sp}-${commit}.tar.gz" |
45 |
- done |
46 |
- unset sp commit |
47 |
fi |
48 |
|
49 |
DESCRIPTION="Linux D-Bus Message Broker" |
50 |
@@ -36,14 +21,14 @@ IUSE="audit doc +launcher selinux" |
51 |
|
52 |
DEPEND=" |
53 |
audit? ( |
54 |
- >=sys-process/audit-2.7 |
55 |
+ >=sys-process/audit-3.0 |
56 |
>=sys-libs/libcap-ng-0.6 |
57 |
) |
58 |
launcher? ( |
59 |
>=dev-libs/expat-2.2 |
60 |
>=sys-apps/systemd-230:0= |
61 |
) |
62 |
- selinux? ( sys-libs/libselinux ) |
63 |
+ selinux? ( >=sys-libs/libselinux-3.2 ) |
64 |
" |
65 |
RDEPEND="${DEPEND} |
66 |
launcher? ( sys-apps/dbus )" |
67 |
@@ -52,17 +37,13 @@ BDEPEND=" |
68 |
virtual/pkgconfig |
69 |
" |
70 |
|
71 |
-src_prepare() { |
72 |
- if [[ ${PV} != 9999 ]]; then |
73 |
- local sp commit |
74 |
- for sp in "${!SUBPROJECTS[@]}"; do |
75 |
- commit=${SUBPROJECTS[${sp}]} |
76 |
- rmdir "subprojects/${sp}" || die |
77 |
- mv "${WORKDIR}/${sp}-${commit}" "subprojects/${sp}" || die |
78 |
- done |
79 |
- fi |
80 |
- default |
81 |
+if [[ ${PV} == 9999 ]]; then |
82 |
+src_unpack() { |
83 |
+ git-r3_src_unpack |
84 |
+ cd "${P}" || die |
85 |
+ meson subprojects download |
86 |
} |
87 |
+fi |
88 |
|
89 |
src_configure() { |
90 |
local emesonargs=( |