fontconfig: remove gperf; fix build
This commit is contained in:
parent
dbd979f86c
commit
223f33fb05
1 changed files with 10 additions and 3 deletions
|
@ -1,20 +1,27 @@
|
||||||
pkgname=fontconfig
|
pkgname=fontconfig
|
||||||
pkgver=2.13.93
|
pkgver=2.13.94
|
||||||
|
|
||||||
fetch() {
|
fetch() {
|
||||||
curl "https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.93.tar.gz" -o $pkgname-$pkgver.tar.xz
|
curl "https://www.freedesktop.org/software/fontconfig/release/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
tar -xf $pkgname-$pkgver.tar.xz
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
cp ../fcobjshash.h $pkgname-$pkgver/src
|
cp ../fcobjshash.h $pkgname-$pkgver/src
|
||||||
mkdir $pkgname-$pkgver/build
|
mkdir $pkgname-$pkgver/build
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
sed -i 's/fcobjshash\.h/fcjunk.h/' src/meson.build
|
||||||
|
sed -i "s/find_program(\'gperf/find_program(\'true/" meson.build
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
meson .. \
|
meson .. \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=lib
|
--libexecdir=lib \
|
||||||
|
-Ddocs=disabled \
|
||||||
|
-Dnls=disabled \
|
||||||
|
-Dtests=disabled
|
||||||
samu
|
samu
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue