Skip to content

Commit

Permalink
gnustep-base/mknfonts: ebuild update (and EAPI bump)
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
voyageur committed Jul 24, 2017
1 parent 99b6e13 commit c5d41a8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnustep-base/mknfonts/files/mknfonts-rename.patch
Original file line number Diff line number Diff line change
@@ -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];
Expand Down
27 changes: 27 additions & 0 deletions gnustep-base/mknfonts/mknfonts-0.5-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c5d41a8

Please sign in to comment.