milis/talimatname/genel/h/harfbuzz/talimat

34 lines
991 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: OpenType metin şekillendirme motoru
# URL: http://www.freedesktop.org/software/harfbuzz
# Paketçi: Cihan Alkan
# Gerekler: cairo glib icu freetype ragel graphite2
2018-08-09 13:24:37 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=harfbuzz
surum=1.5.1
devir=3
kaynak=(http://www.freedesktop.org/software/$isim/release/$isim-$surum.tar.bz2)
derle() {
cd $isim-$surum
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
}