mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 22:11:30 +01:00
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
# Contributor: Ed Robinson <ed@reevoo.com>
|
|
# Maintainer: Ed Robinson <ed@reevoo.com>
|
|
pkgname=fontforge
|
|
pkgver=20190801
|
|
pkgrel=0
|
|
pkgdesc="FontForge is a free (libre) font editor for Windows, Mac OS X and GNU+Linux."
|
|
url="https://github.com/fontforge/fontforge"
|
|
arch="all !s390x"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
libtool
|
|
pango-dev
|
|
giflib-dev
|
|
tiff-dev
|
|
libxml2-dev
|
|
libspiro-dev
|
|
python3-dev
|
|
potrace
|
|
woff2-dev
|
|
gtk+3.0-dev
|
|
libuninameslist-dev
|
|
coreutils
|
|
"
|
|
subpackages="
|
|
$pkgname-dev
|
|
$pkgname-doc
|
|
$pkgname-python3:_py3
|
|
"
|
|
source="https://github.com/fontforge/fontforge/releases/download/$pkgver/fontforge-$pkgver.tar.gz
|
|
fix-select.patch
|
|
"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--enable-python-extension \
|
|
--enable-woff2 \
|
|
--enable-gdk
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
_py3() {
|
|
pkgdesc="python3 bindings for $pkgname"
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib
|
|
|
|
mkdir -p "$subpkgdir"/usr/share/fontforge/python
|
|
mv "$pkgdir"/usr/share/fontforge/python/excepthook.py "$subpkgdir"/usr/share/fontforge/python
|
|
}
|
|
|
|
sha512sums="78f3e1e94e38e26dcf52c6a0e038753033dc47052b7492f0ac0aaf1b8962e4e4bbf07c2550ef6014ea7290a6429bf669acb0691735efe0aee368480b4b7e6236 fontforge-20190801.tar.gz
|
|
8cb3fb00fa537eab2d4b194916343a0e2aab85c2415a1944c0d0e648d62a7748d5d4465fb99cb92385b749e73abfcaa429f4c9d2bb4c2edea8febeb227add93a fix-select.patch"
|