[arch-commits] Commit in harfbuzz/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat May 6 16:06:31 UTC 2017


    Date: Saturday, May 6, 2017 @ 16:06:30
  Author: heftig
Revision: 295361

1.4.6-1

Modified:
  harfbuzz/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-06 15:32:24 UTC (rev 295360)
+++ PKGBUILD	2017-05-06 16:06:30 UTC (rev 295361)
@@ -3,15 +3,15 @@
 
 pkgbase=(harfbuzz)
 pkgname=(harfbuzz harfbuzz-icu)
-pkgver=1.4.5
-pkgrel=2
+pkgver=1.4.6
+pkgrel=1
 pkgdesc="OpenType text shaping engine"
 url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
 arch=(i686 x86_64)
 license=(MIT)
 makedepends=(glib2 freetype2 graphite cairo icu gobject-introspection gtk-doc ragel git
-             python2)
-_commit=60e2586f7652aaa0ee908eb8f54b1498e2ad299e  # tags/1.4.5^0
+             python)
+_commit=141b33de9a141248e2f034d55f48460159536cb9  # tags/1.4.6^0
 source=("git+https://anongit.freedesktop.org/git/harfbuzz#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -21,21 +21,21 @@
 }
 
 prepare() {
-  mkdir path
-  ln -s /usr/bin/python2 path/python
-
   cd $pkgbase
-  sed -i '1s/python$/&2/' test/shaping/hb-unicode-encode
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
   cd $pkgbase
-  CFLAGS+=' -DNDEBUG'
-  CXXFLAGS+=' -DNDEBUG'
-  ./configure --prefix=/usr \
-    --with-glib --with-freetype --with-cairo --with-icu --with-graphite2 \
-    --with-gobject --enable-gtk-doc
+  ./configure \
+    --prefix=/usr \
+    --with-cairo \
+    --with-freetype \
+    --with-glib \
+    --with-gobject \
+    --with-graphite2 \
+    --with-icu \
+    --enable-gtk-doc
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
@@ -42,7 +42,7 @@
 
 check() {
   cd $pkgbase
-  PATH="$srcdir/path:$PATH" make check
+  make check
 }
 
 package_harfbuzz() {



More information about the arch-commits mailing list