summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/dbus-broker/Manifest5
-rw-r--r--sys-apps/dbus-broker/dbus-broker-4.ebuild65
-rw-r--r--sys-apps/dbus-broker/dbus-broker-9999.ebuild65
-rw-r--r--sys-apps/dbus-broker/metadata.xml11
4 files changed, 146 insertions, 0 deletions
diff --git a/sys-apps/dbus-broker/Manifest b/sys-apps/dbus-broker/Manifest
new file mode 100644
index 000000000000..a21a78433580
--- /dev/null
+++ b/sys-apps/dbus-broker/Manifest
@@ -0,0 +1,5 @@
+DIST c-dvar-e1c94e3c3c42ca9bcb336ccd7c3693bcd330c6fc.tar.gz 28449 SHA256 9004cb8073292beddf6ad410ad029c447d2732a8f2cf5243b0b43538e5f70d33 SHA512 a752a5d8c67c97d672502e814c6930c60d9588f7f77f38a6d027dede71c11cb18e7debcf10fa2f405a117123af386944bb7cf70c90504aed874056c8de1fab05 WHIRLPOOL 2510dabf7273f68c78487cdd354be184181fbdecfc3a15dd32093cece56924c6c83bec2be569d27c2dbc30fd1f87dcd24b131b68c383cfe04a11f507d6cfb769
+DIST c-list-9e50b8b08e0b0b75e1c651d5aa4e3cf94368a574.tar.gz 20459 SHA256 5ed9fc0286507a08f4e4aeae436be45ee05d0c071c1d8418fa77ed777e2f5a25 SHA512 d45630c8a54ca9145862b673afc3a15a19d330f46c9a1eb451c2282c2701d596cead45e6bb57a9e32aab344a3732f70ff8fe27d13065ebd8b402dd37a252ad05 WHIRLPOOL 21fc689d1d7551bfc957e83630ad81b5093b8e67c3c754e2b4173681829f78835ef7fcc94f46c34f7379c21ebdb96ebc83cd50d4e816a25179c60274c9c0c2e0
+DIST c-rbtree-6181232360c9b517a6af3d82ebdbdce5fe36933a.tar.gz 24927 SHA256 5831113e793af5e583cc7844a8961b05ded70dc487877b64bbbf0fef0869c711 SHA512 4ff8d8def07882850b1983f8eb9b4c82e444429beafbf249385717805a5a89427bb91bde6dcfb60565866f90ee3daa8d35e681ab65cb0a1f20dcb96dcd9e0756 WHIRLPOOL 5c8d42a9601362197ba890bc056d46b3cf7f0a99dd07189fd2c1c037a339b58726e5929b7e22d0c960ad6ba380f134b2040fb32aa9da2a95fbe192d3c8f575e0
+DIST c-sundry-644ea3c2ce5b78d2433c111694f5d602d1aa7fa9.tar.gz 26611 SHA256 9ebf3f9e90004b7483d71bf41e2786586e0b192feb1d397536730b0d2304c7cc SHA512 503da82b8cea9eddffbea70ce05c8a6b2684a90a104f6df46a5183ab46844543db1d02e8aaabc4e5d50aa21e239af147309fa9abed5f13cb751bcee310c8234a WHIRLPOOL beff440ecfdff3d636710ab197d73cd628ba3615d6890540ea5014d0fcc318353f083b0d4885a88d3fef502c0fbf801fac7bacaaf0cb4939a7b4251b838309d9
+DIST dbus-broker-4.tar.gz 148231 SHA256 165fab697e0f9ef66588688758edb601c89b65ee3240d462cc278f0755c6e122 SHA512 d4c9974e730d0b6374edb2afb6f928f35e3912f7d5d7d908429581e235ebc013dbab1bd0f0c446547d2a960e762868e2d98ab1cd3ff5e1169240f3e6886236d8 WHIRLPOOL e25075a2cee78bc0be56267a9140a0392bf12ed69c23ea3a8f0b9f8abdc9f86581428a7dbcb8afffa9fba8f03e9b588f896e95ecd53a8317c51030cd94940192
diff --git a/sys-apps/dbus-broker/dbus-broker-4.ebuild b/sys-apps/dbus-broker/dbus-broker-4.ebuild
new file mode 100644
index 000000000000..a71009e17e72
--- /dev/null
+++ b/sys-apps/dbus-broker/dbus-broker-4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/bus1/dbus-broker.git"
+else
+ dvar=e1c94e3c3c42ca9bcb336ccd7c3693bcd330c6fc
+ list=9e50b8b08e0b0b75e1c651d5aa4e3cf94368a574
+ rbtree=6181232360c9b517a6af3d82ebdbdce5fe36933a
+ sundry=644ea3c2ce5b78d2433c111694f5d602d1aa7fa9
+ SRC_URI="https://github.com/bus1/dbus-broker/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/c-util/c-dvar/archive/${dvar}.tar.gz -> c-dvar-${dvar}.tar.gz
+ https://github.com/c-util/c-list/archive/${list}.tar.gz -> c-list-${list}.tar.gz
+ https://github.com/c-util/c-rbtree/archive/${rbtree}.tar.gz -> c-rbtree-${rbtree}.tar.gz
+ https://github.com/c-util/c-sundry/archive/${sundry}.tar.gz -> c-sundry-${sundry}.tar.gz
+ "
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Linux D-Bus Message Broker"
+HOMEPAGE="https://github.com/bus1/dbus-broker/wiki"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="audit +launcher selinux test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ audit? ( sys-process/audit )
+ launcher? (
+ >=dev-libs/expat-2.2
+ >=dev-libs/glib-2.50:2
+ >=sys-apps/systemd-230
+ )
+ selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( >=sys-apps/dbus-1.10 )
+"
+
+src_prepare() {
+ default
+ if [[ ${PV} != 9999 ]]; then
+ rmdir subprojects/{c-dvar,c-list,c-rbtree,c-sundry} || die
+ ln -s "${WORKDIR}/c-dvar-${dvar}" subprojects/c-dvar || die
+ ln -s "${WORKDIR}/c-list-${list}" subprojects/c-list || die
+ ln -s "${WORKDIR}/c-rbtree-${rbtree}" subprojects/c-rbtree || die
+ ln -s "${WORKDIR}/c-sundry-${sundry}" subprojects/c-sundry || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ -D audit=$(usex audit true false)
+ -D launcher=$(usex launcher true false)
+ -D selinux=$(usex selinux true false)
+ )
+ meson_src_configure
+}
diff --git a/sys-apps/dbus-broker/dbus-broker-9999.ebuild b/sys-apps/dbus-broker/dbus-broker-9999.ebuild
new file mode 100644
index 000000000000..a71009e17e72
--- /dev/null
+++ b/sys-apps/dbus-broker/dbus-broker-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/bus1/dbus-broker.git"
+else
+ dvar=e1c94e3c3c42ca9bcb336ccd7c3693bcd330c6fc
+ list=9e50b8b08e0b0b75e1c651d5aa4e3cf94368a574
+ rbtree=6181232360c9b517a6af3d82ebdbdce5fe36933a
+ sundry=644ea3c2ce5b78d2433c111694f5d602d1aa7fa9
+ SRC_URI="https://github.com/bus1/dbus-broker/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/c-util/c-dvar/archive/${dvar}.tar.gz -> c-dvar-${dvar}.tar.gz
+ https://github.com/c-util/c-list/archive/${list}.tar.gz -> c-list-${list}.tar.gz
+ https://github.com/c-util/c-rbtree/archive/${rbtree}.tar.gz -> c-rbtree-${rbtree}.tar.gz
+ https://github.com/c-util/c-sundry/archive/${sundry}.tar.gz -> c-sundry-${sundry}.tar.gz
+ "
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Linux D-Bus Message Broker"
+HOMEPAGE="https://github.com/bus1/dbus-broker/wiki"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="audit +launcher selinux test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ audit? ( sys-process/audit )
+ launcher? (
+ >=dev-libs/expat-2.2
+ >=dev-libs/glib-2.50:2
+ >=sys-apps/systemd-230
+ )
+ selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( >=sys-apps/dbus-1.10 )
+"
+
+src_prepare() {
+ default
+ if [[ ${PV} != 9999 ]]; then
+ rmdir subprojects/{c-dvar,c-list,c-rbtree,c-sundry} || die
+ ln -s "${WORKDIR}/c-dvar-${dvar}" subprojects/c-dvar || die
+ ln -s "${WORKDIR}/c-list-${list}" subprojects/c-list || die
+ ln -s "${WORKDIR}/c-rbtree-${rbtree}" subprojects/c-rbtree || die
+ ln -s "${WORKDIR}/c-sundry-${sundry}" subprojects/c-sundry || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ -D audit=$(usex audit true false)
+ -D launcher=$(usex launcher true false)
+ -D selinux=$(usex selinux true false)
+ )
+ meson_src_configure
+}
diff --git a/sys-apps/dbus-broker/metadata.xml b/sys-apps/dbus-broker/metadata.xml
new file mode 100644
index 000000000000..70b5bc00f437
--- /dev/null
+++ b/sys-apps/dbus-broker/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <use>
+ <flag name="launcher">dbus-daemon compatibility launcher</flag>
+ </use>
+</pkgmetadata>