dbuskit-0.1.1-r2.ebuild
Загрузить (863 байта)
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
S="${WORKDIR}/libs-${P}"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND=">=sys-apps/dbus-1.2.1"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-remove_gc.patch )
src_prepare() {
default
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
}
| ||