* update fontforge to 20230101-4

This commit is contained in:
Alexander Baldeck 2024-05-22 20:59:13 +02:00
parent 39c9a92606
commit b403982859
3 changed files with 8811 additions and 34 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +1,32 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=fontforge
pkgver=20230101
pkgrel=3
pkgrel=4
pkgdesc='Outline and bitmap font editor'
url='https://fontforge.github.io/'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('BSD')
makedepends=('cmake' 'git' 'python-sphinx')
makedepends=('cmake' 'git' 'python-setuptools' 'python-sphinx')
depends=('libtool' 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'python'
'potrace' 'woff2' 'gtk3' 'libuninameslist')
source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"
fontforge-doc-no-warn-error.patch)
642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch)
sha256sums=('ca82ec4c060c4dda70ace5478a41b5e7b95eb035fe1c4cf85c48f996d35c60f8'
'b87fa5a39d6948262d2dfb9b84c2462dc21de0bfb115cdd13e893c1b533d8f78')
'ca4e15fca23c14851e74ad2a3551cf8426e46cf6b0c093aab43bea346a656236')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch
mkdir build
patch -Np1 -i ../fontforge-doc-no-warn-error.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -33,13 +34,11 @@ build() {
-DENABLE_FONTFORGE_EXTRAS=TRUE \
-DUNIX=TRUE \
..
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd build
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -1,25 +0,0 @@
From e8164ed0fa747bfc8e7e80e6ff6b9a34b7c1a33f Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Mon, 27 Apr 2020 20:00:54 -0400
Subject: [PATCH] doc: do not treat warnings as errors
---
doc/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6c4601a05..e5aeaed4f 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -21,7 +21,7 @@ file(STRINGS manifest.txt _manifest)
configure_file(manifest.txt manifest.txt COPYONLY)
add_custom_command(OUTPUT sphinx-docs
- COMMAND "${Sphinx_BUILD_BINARY}" -q -n -W -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs
+ COMMAND "${Sphinx_BUILD_BINARY}" -q -n -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs
DEPENDS ${_manifest}
)
--
2.26.2