commit:     1073621489e63137be274e6320352b5fa8c6710c
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Sep 19 17:55:08 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 20:48:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10736214

gnustep-libs/dbuskit: EAPI8 bump, fix LICENSE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 gnustep-libs/dbuskit/dbuskit-0.1.1-r2.ebuild | 36 ++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnustep-libs/dbuskit/dbuskit-0.1.1-r2.ebuild 
b/gnustep-libs/dbuskit/dbuskit-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..841a257ae165
--- /dev/null
+++ b/gnustep-libs/dbuskit/dbuskit-0.1.1-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 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
+}

Reply via email to