gnustep-base/mknfonts: ebuild update (and EAPI bump)
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 24 Jul 2017 22:43:01 +0000 (00:43 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 24 Jul 2017 22:54:28 +0000 (00:54 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

gnustep-base/mknfonts/files/mknfonts-rename.patch
gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild [new file with mode: 0644]

index ffd49997177ca6976ef4594ccc4396f8e73b9206..e62618b7844c11ba6d5250d348c830161fc9cba1 100644 (file)
@@ -1,5 +1,5 @@
---- mknfonts.m.orig    2007-05-03 11:46:27.000000000 +0200
-+++ mknfonts.m 2007-05-03 11:47:34.000000000 +0200
+--- mknfonts-0.5/mknfonts.m.orig       2007-05-03 11:46:27.000000000 +0200
++++ mknfonts-0.5/mknfonts.m    2007-05-03 11:47:34.000000000 +0200
 @@ -310,12 +310,6 @@
                        {
                                fi=[faceinfos objectAtIndex: i];
diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild
new file mode 100644 (file)
index 0000000..5ab8dae
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnustep-base
+
+DESCRIPTION="A tool to create .nfont packages for use with gnustep-back-art"
+HOMEPAGE="https://packages.debian.org/mknfonts.tool"
+SRC_URI="mirror://debian/pool/main/m/${PN}.tool/${PN}.tool_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+DEPEND="gnustep-base/gnustep-gui
+       >=media-libs/freetype-2.1"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-rename.patch )
+
+src_prepare() {
+       # Correct link command for --as-needed
+       sed -i -e "s/ADDITIONAL_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die "sed failed"
+
+       default
+}