milis/talimatname/genel/harfbuzz/talimat

33 lines
991 B
Plaintext
Raw Normal View History

2017-03-27 09:56:12 +02:00
# Description: OpenType metin şekillendirme motoru
2016-02-24 01:27:23 +01:00
# URL: http://www.freedesktop.org/software/harfbuzz
2017-09-14 19:45:35 +02:00
# Packager: Cihan Alkan
# Depends on: cairo glib icu freetype ragel graphite2
2016-02-24 01:27:23 +01:00
name=harfbuzz
2017-09-14 19:45:35 +02:00
version=1.5.1
2017-09-20 17:23:51 +02:00
release=2
2016-02-24 01:27:23 +01:00
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2)
build() {
cd $name-$version
2017-09-14 19:45:35 +02:00
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--with-cairo \
--with-freetype \
--with-glib \
--with-gobject \
--with-graphite2 \
--with-icu
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
install -Dm644 COPYING "$PKG/usr/share/licenses/harfbuzz/COPYING"
mkdir -p ../hb-icu/usr/{include/harfbuzz,lib/pkgconfig}; cd ../hb-icu
mv "$PKG"/usr/lib/libharfbuzz-icu* ./usr/lib
mv "$PKG"/usr/lib/pkgconfig/harfbuzz-icu.pc ./usr/lib/pkgconfig
mv "$PKG"/usr/include/harfbuzz/hb-icu.h ./usr/include/harfbuzz
cp -r $SRC/hb-icu/* "$PKG"
rm -rf $PKG/usr/share/gtk-doc
2016-02-24 01:27:23 +01:00
}