diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-12-05 18:24:19 +1100 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-12-12 10:24:51 -0500 |
commit | c748ef3ef70c11262598517b4040dd0de7a5f461 (patch) | |
tree | 249723c837a480b94348114d96be4ded5f84a173 /sys-apps/dbus-broker/dbus-broker-25.ebuild | |
parent | def-python/fcl: fixed linking with lld (diff) | |
download | gentoo-c748ef3ef70c11262598517b4040dd0de7a5f461.tar.gz gentoo-c748ef3ef70c11262598517b4040dd0de7a5f461.tar.bz2 gentoo-c748ef3ef70c11262598517b4040dd0de7a5f461.zip |
sys-apps/dbus-broker: bump up to 25
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/dbus-broker/dbus-broker-25.ebuild')
-rw-r--r-- | sys-apps/dbus-broker/dbus-broker-25.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sys-apps/dbus-broker/dbus-broker-25.ebuild b/sys-apps/dbus-broker/dbus-broker-25.ebuild new file mode 100644 index 000000000000..93084e63543f --- /dev/null +++ b/sys-apps/dbus-broker/dbus-broker-25.ebuild @@ -0,0 +1,75 @@ +# Copyright 2017-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bus1/dbus-broker.git" +else + KEYWORDS="~amd64" # ~ppc64 + SRC_URI="https://github.com/bus1/dbus-broker/archive/v${PV}/${P}.tar.gz" + declare -Ag SUBPROJECTS=( + [c-dvar]=70f0f21e86a34577e674e202d5d09ef167102f02 + [c-ini]=867f06a12a702c6869924575503877caa0adde75 + [c-list]=ac7c831398219acd8d63038e866035a6f86f9e21 + [c-rbtree]=a3b1f80548d1c736208c55e9251c49ada649dd62 + [c-shquote]=95e4713a0de475688a5727a5d776dccbc69d3d28 + [c-stdaux]=346623b40eb8137cae7568a69ee42253ff098ff7 + [c-utf8]=af5bf7f330078d285e5f58584abd6de01c4cfd7d + ) + for sp in "${!SUBPROJECTS[@]}"; do + commit=${SUBPROJECTS[${sp}]} + SRC_URI+=" https://github.com/c-util/${sp}/archive/${commit}/${sp}-${commit}.tar.gz" + done + unset sp commit +fi + +DESCRIPTION="Linux D-Bus Message Broker" +HOMEPAGE="https://github.com/bus1/dbus-broker/wiki" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="audit doc +launcher selinux" + +DEPEND=" + audit? ( + >=sys-process/audit-2.7 + >=sys-libs/libcap-ng-0.6 + ) + launcher? ( + >=dev-libs/expat-2.2 + >=sys-apps/systemd-230:0= + ) + selinux? ( sys-libs/libselinux ) +" +RDEPEND="${DEPEND} + launcher? ( sys-apps/dbus )" +BDEPEND=" + doc? ( dev-python/docutils ) + virtual/pkgconfig +" + +src_prepare() { + if [[ ${PV} != 9999 ]]; then + local sp commit + for sp in "${!SUBPROJECTS[@]}"; do + commit=${SUBPROJECTS[${sp}]} + rmdir "subprojects/${sp}" || die + mv "${WORKDIR}/${sp}-${commit}" "subprojects/${sp}" || die + done + fi + default +} + +src_configure() { + local emesonargs=( + -Daudit=$(usex audit true false) + -Ddocs=$(usex doc true false) + -Dlauncher=$(usex launcher true false) + -Dselinux=$(usex selinux true false) + ) + meson_src_configure +} |