media-gfx/fontforge: bump to 20190317
authorMike Gilbert <floppym@gentoo.org>
Sat, 23 Mar 2019 13:56:50 +0000 (09:56 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sat, 23 Mar 2019 13:58:40 +0000 (09:58 -0400)
Closes: https://bugs.gentoo.org/681350
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
media-gfx/fontforge/Manifest
media-gfx/fontforge/fontforge-20190317.ebuild [new file with mode: 0644]

index 27102719d57066ae92e19a2d9906417d54323501..6a5907bce02a2ca8d93767b1a0a06b2b51f184e7 100644 (file)
@@ -1 +1,2 @@
+DIST fontforge-20190317.tar.gz 22762120 BLAKE2B 5cb85d2fb9a2a08fe64548f2667c026e916dd0239d17d8f8d7d2fe8ecb51f2106cf3dc6e6298014c0deadffbfe91925327b483ed4750a171fb621aea8bdee60b SHA512 55f9b0f7cafb1aa5a1461dbf39b52ca6b69a2baa6b761c8c28f86a0bb99e090d9ecc981294f51dadd9297b5ebd3036f01cb4f17b9a97a737eb567b4ae6522f20
 DIST fontforge-dist-20170731.tar.xz 13985256 BLAKE2B 7bc49a3b7747de419e4fafb445062873cf9bf56aa73fd7499509b787a1c0fd6c47b0b5d7bfeb2a69d9237f9f66f989af968b0d00e9d5e57030906394f042f29c SHA512 26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11
diff --git a/media-gfx/fontforge/fontforge-20190317.ebuild b/media-gfx/fontforge/fontforge-20190317.ebuild
new file mode 100644 (file)
index 0000000..4980021
--- /dev/null
@@ -0,0 +1,107 @@
+# Copyright 2004-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit python-single-r1 xdg
+
+DESCRIPTION="postscript font editor and converter"
+HOMEPAGE="http://fontforge.github.io/"
+SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/fontforge-${PV}.tar.gz"
+
+LICENSE="BSD GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="cairo truetype-debugger gif gtk jpeg png +python readline test tiff svg unicode X"
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+       cairo? ( png )
+       python? ( ${PYTHON_REQUIRED_USE} )
+       test? ( png python )
+"
+
+RDEPEND="
+       dev-libs/glib
+       dev-libs/libltdl:0
+       dev-libs/libxml2:2=
+       >=media-libs/freetype-2.3.7:2=
+       cairo? (
+               >=x11-libs/cairo-1.6:0=
+               x11-libs/pango:0=
+       )
+       gif? ( media-libs/giflib:0= )
+       jpeg? ( virtual/jpeg:0 )
+       png? ( media-libs/libpng:0= )
+       tiff? ( media-libs/tiff:0= )
+       truetype-debugger? ( >=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)] )
+       gtk? ( >=x11-libs/gtk+-3.10:3 )
+       python? ( ${PYTHON_DEPS} )
+       readline? ( sys-libs/readline:0= )
+       unicode? ( media-libs/libuninameslist:0= )
+       X? (
+               x11-libs/libX11:0=
+               x11-libs/libXi:0=
+               >=x11-libs/pango-1.10:0=[X]
+       )
+       !media-gfx/pfaedit
+"
+DEPEND="${RDEPEND}
+       X? ( x11-base/xorg-proto )
+"
+BDEPEND="
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+# Needs keywording on many arches.
+#      zeromq? (
+#              >=net-libs/czmq-2.2.0:0=
+#              >=net-libs/zeromq-4.0.4:0=
+#      )
+
+PATCHES=(
+       "${FILESDIR}"/20170731-gethex-unaligned.patch
+)
+
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+       local myeconfargs=(
+               --disable-static
+               $(use_enable truetype-debugger freetype-debugger "${EPREFIX}/usr/include/freetype2/internal4fontforge")
+               $(use_enable gtk gdk gdk3)
+               $(use_enable python python-extension)
+               $(use_enable python python-scripting)
+               --enable-tile-path
+               --enable-gb12345
+               $(use_with cairo)
+               $(use_with gif giflib)
+               $(use_with jpeg libjpeg)
+               $(use_with png libpng)
+               $(use_with readline libreadline)
+               --without-libspiro
+               $(use_with tiff libtiff)
+               $(use_with unicode libuninameslist)
+               #$(use_with zeromq libzmq)
+               --without-libzmq
+               $(use_with X x)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+       # Build system deps are broken
+       emake -C plugins
+       emake
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -type f -delete || die
+}