commit:     4686a9eb70ecf09522b34063372b10c395bcdd5a
Author:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Tue Apr 23 19:32:57 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Apr 23 20:39:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4686a9eb

sys-apps/dbus-broker: add 36

Test suite passes fine on amd64

Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/36383
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/dbus-broker/Manifest              |  1 +
 sys-apps/dbus-broker/dbus-broker-36.ebuild | 61 ++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/dbus-broker/Manifest b/sys-apps/dbus-broker/Manifest
index 737f271721f0..a69b56d14cd1 100644
--- a/sys-apps/dbus-broker/Manifest
+++ b/sys-apps/dbus-broker/Manifest
@@ -1,2 +1,3 @@
 DIST dbus-broker-33.tar.xz 253172 BLAKE2B 
2b1773999af5caa435acb9dca848c96863b8d738dee6c3542e492d031555c0251a07d371465cd5dc071c0198b33251bf8233f18ddaa7ae34dc9b5df938ca9298
 SHA512 
776684a5d19a6c25fc46dff19821014a32d967f8132385b86c5281f2d69192dce64b3ad92ae6a158d1d64753e89d918385a1a31f32811f54060504113f065baa
 DIST dbus-broker-35.tar.xz 263388 BLAKE2B 
2c270197d76ec157bf2fd8eb561b49cea2739d656fac8129c4ecdd0bbd5804f8e4e427414cb5f209eef4c22cf9559fc409170476d8df0e1d252c0b5aa2288e01
 SHA512 
409e415889bd53b78e92ba077455e5583852a071e233e4b23dcbb23d8a367f177d6c8138e6fc113dcfe48440b68d594c1a076cb43ef445d472645f671d5ae033
+DIST dbus-broker-36.tar.xz 266084 BLAKE2B 
84a805982f038f0d9fe62b7f34de8ecbbdbd9b889edba05ab182f00116612545d2bf44d6ea0c6b5e121591a5ab3d2f0f6d5fa3dd413e8c36fe3494e35ac050f3
 SHA512 
47ff345e27ae2ba41f43a4a6eb09b813583ef43392d1dfa2fc1805578c0ed3a1e414c3eae63f78ca3806904dc017a138e283aa32ba973de51ed613050b244a0f

diff --git a/sys-apps/dbus-broker/dbus-broker-36.ebuild 
b/sys-apps/dbus-broker/dbus-broker-36.ebuild
new file mode 100644
index 000000000000..83050ef5bcd9
--- /dev/null
+++ b/sys-apps/dbus-broker/dbus-broker-36.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2017-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/bus1/dbus-broker.git";
+else
+       
SRC_URI="https://github.com/bus1/${PN}/releases/download/v${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+fi
+
+DESCRIPTION="Linux D-Bus Message Broker"
+HOMEPAGE="https://github.com/bus1/dbus-broker/wiki";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor audit doc +launcher selinux"
+
+DEPEND="
+       apparmor? (
+               >=sys-libs/libapparmor-3.0
+       )
+       audit? (
+               >=sys-process/audit-3.0
+               >=sys-libs/libcap-ng-0.6
+       )
+       launcher? (
+               >=dev-libs/expat-2.2
+               >=sys-apps/systemd-230:0=
+       )
+       selinux? ( >=sys-libs/libselinux-3.2 )
+"
+RDEPEND="${DEPEND}
+       launcher? ( sys-apps/dbus )"
+BDEPEND="
+       doc? ( dev-python/docutils )
+       virtual/pkgconfig
+"
+
+if [[ ${PV} == 9999 ]]; then
+src_unpack() {
+       git-r3_src_unpack
+       cd "${P}" || die
+       meson subprojects download || die
+}
+fi
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use apparmor)
+               $(meson_use audit)
+               $(meson_use doc docs)
+               $(meson_use launcher)
+               $(meson_use selinux)
+       )
+       meson_src_configure
+}

Reply via email to