You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.4 KiB
79 lines
2.4 KiB
5 years ago
|
# Copyright 2017-2019 Gentoo Authors
|
||
6 years ago
|
# 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
|
||
|
dvar=9fcd89593f8b7fb5c9f1c32f0b82f518eda4be46
|
||
5 years ago
|
ini=979a18fdd59f05f927d6cdf624d8ded6f81c6776
|
||
6 years ago
|
list=dda36d30c7d655b4d61358519168fa7ce0e9dae9
|
||
|
rbtree=bf627e0c32241915108f66ad9738444e4d045b45
|
||
5 years ago
|
shquote=b7e325c7ff098787f2937dd91597677374f038b6
|
||
6 years ago
|
sundry=50c8ccf01b39b3f11e59c69d1cafea5bef5a9769
|
||
|
utf8=b245df543717ee19ad398f8139447e3807c11c96
|
||
|
SRC_URI="https://github.com/bus1/dbus-broker/archive/v${PV}/${P}.tar.gz
|
||
|
https://github.com/c-util/c-dvar/archive/${dvar}/c-dvar-${dvar}.tar.gz
|
||
5 years ago
|
https://github.com/c-util/c-ini/archive/${ini}/c-ini-${ini}.tar.gz
|
||
6 years ago
|
https://github.com/c-util/c-list/archive/${list}/c-list-${list}.tar.gz
|
||
|
https://github.com/c-util/c-rbtree/archive/${rbtree}/c-rbtree-${rbtree}.tar.gz
|
||
5 years ago
|
https://github.com/c-util/c-shquote/archive/${shquote}/c-shquote-${shquote}.tar.gz
|
||
6 years ago
|
https://github.com/c-util/c-sundry/archive/${sundry}/c-sundry-${sundry}.tar.gz
|
||
|
https://github.com/c-util/c-utf8/archive/${utf8}/c-utf8-${utf8}.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 doc +launcher selinux"
|
||
|
|
||
|
RDEPEND="
|
||
|
audit? (
|
||
|
>=sys-process/audit-2.7
|
||
|
>=sys-libs/libcap-ng-0.6
|
||
|
)
|
||
|
launcher? (
|
||
|
>=dev-libs/expat-2.2
|
||
5 years ago
|
>=sys-apps/systemd-230:0=
|
||
6 years ago
|
)
|
||
|
selinux? ( sys-libs/libselinux )
|
||
|
"
|
||
5 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="
|
||
|
doc? ( dev-python/docutils )
|
||
6 years ago
|
dev-python/docutils
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
if [[ ${PV} != 9999 ]]; then
|
||
5 years ago
|
rmdir subprojects/c-{dvar,ini,list,rbtree,shquote,sundry,utf8} || die
|
||
6 years ago
|
mv "${WORKDIR}/c-dvar-${dvar}" subprojects/c-dvar || die
|
||
5 years ago
|
mv "${WORKDIR}/c-ini-${ini}" subprojects/c-ini || die
|
||
6 years ago
|
mv "${WORKDIR}/c-list-${list}" subprojects/c-list || die
|
||
|
mv "${WORKDIR}/c-rbtree-${rbtree}" subprojects/c-rbtree || die
|
||
5 years ago
|
mv "${WORKDIR}/c-shquote-${shquote}" subprojects/c-shquote || die
|
||
6 years ago
|
mv "${WORKDIR}/c-sundry-${sundry}" subprojects/c-sundry || die
|
||
|
mv "${WORKDIR}/c-utf8-${utf8}" subprojects/c-utf8 || die
|
||
|
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
|
||
|
}
|