mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
Closes: https://bugs.gentoo.org/700328 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
33 lines
809 B
Bash
33 lines
809 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
inherit autotools gnustep-2
|
|
|
|
DESCRIPTION="framework that interfaces Objective-C applications with the D-Bus IPC service"
|
|
HOMEPAGE="https://github.com/gnustep/libs-dbuskit"
|
|
SRC_URI="https://github.com/gnustep/libs-dbuskit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=sys-apps/dbus-1.2.1"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S=${WORKDIR}/libs-${P}
|
|
|
|
src_prepare() {
|
|
if ! use doc; then
|
|
# Remove doc target
|
|
sed -i -e "/SUBPROJECTS/s/Documentation//" GNUmakefile \
|
|
|| die "doc sed failed"
|
|
fi
|
|
|
|
# Bug 410697
|
|
sed -e "s#ObjectiveC2/runtime.h#ObjectiveC2/objc/runtime.h#" \
|
|
-i configure.ac || die "ObjectiveC2 runtime sed failed"
|
|
eautoreconf
|
|
}
|