harfbuzz.guncellendi

This commit is contained in:
milisbir 2017-09-14 20:45:35 +03:00
parent 9551d82fa8
commit a0d653f24e
2 changed files with 41 additions and 7 deletions

View File

@ -1,17 +1,33 @@
# Description: OpenType metin şekillendirme motoru
# URL: http://www.freedesktop.org/software/harfbuzz
# Packager: milisarge
# Depends on: cairo glib icu freetype
# Packager: Cihan Alkan
# Depends on: cairo glib icu freetype ragel graphite2
name=harfbuzz
version=1.1.2
version=1.5.1
release=1
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--with-gobject
make
make DESTDIR=$PKG install
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
}

View File

@ -0,0 +1,18 @@
# Description: Sonlu durum makinelerini düzenli dillerden çalıştırılabilir C, C ++, Objective-C veya D koduna derler.
# URL: http://www.complang.org/ragel/
# Packager: Cihan Alkan
# Depends on:
name=ragel
version=6.10
release=1
source=(https://www.colm.net/files/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr CXXFLAGS="$CXXFLAGS -std=gnu++98"
make
make DESTDIR=$PKG install
install -m0644 -D ragel.vim "$PKG"/usr/share/vim/vimfiles/syntax/ragel.vim
}