[arch-commits] Commit in lib32-harfbuzz/repos (3 files)

Florian Pritz bluewind at nymeria.archlinux.org
Wed Jan 23 17:10:18 UTC 2013


    Date: Wednesday, January 23, 2013 @ 18:10:18
  Author: bluewind
Revision: 82742

archrelease: copy trunk to community-x86_64

Added:
  lib32-harfbuzz/repos/community-x86_64/
  lib32-harfbuzz/repos/community-x86_64/PKGBUILD
    (from rev 82741, lib32-harfbuzz/trunk/PKGBUILD)
  lib32-harfbuzz/repos/community-x86_64/remove-graphite.patch
    (from rev 82741, lib32-harfbuzz/trunk/remove-graphite.patch)

-----------------------+
 PKGBUILD              |   40 ++++++++++++++++++++++++++++++++++++++++
 remove-graphite.patch |   15 +++++++++++++++
 2 files changed, 55 insertions(+)

Copied: lib32-harfbuzz/repos/community-x86_64/PKGBUILD (from rev 82741, lib32-harfbuzz/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-01-23 17:10:18 UTC (rev 82742)
@@ -0,0 +1,40 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+_pkgbasename=harfbuzz
+pkgname=lib32-$_pkgbasename
+pkgver=0.9.9
+pkgrel=2
+pkgdesc="OpenType text shaping engine. (32-bit)"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
+license=('MIT')
+depends=('lib32-icu' 'lib32-glib2' 'lib32-freetype2' $_pkgbasename)
+makedepends=('gcc-multilib')
+options=(!libtool)
+source=(http://www.freedesktop.org/software/harfbuzz/release/${_pkgbasename}-${pkgver}.tar.bz2
+        remove-graphite.patch)
+sha256sums=('3d8dd4ebbc38da011485ef181f8ff072b4b0d7e305bbda19b355f217d25169cf'
+            'bf89c8387b94638cd8f371931f8101a7c32b744023df252e1a0b67f4e82e9df4')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+  patch -p0 -i "$srcdir/remove-graphite.patch"
+
+  ./autogen.sh --prefix=/usr --libdir=/usr/lib32 --disable-silent-rules
+  make
+}
+
+package() {
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: lib32-harfbuzz/repos/community-x86_64/remove-graphite.patch (from rev 82741, lib32-harfbuzz/trunk/remove-graphite.patch)
===================================================================
--- community-x86_64/remove-graphite.patch	                        (rev 0)
+++ community-x86_64/remove-graphite.patch	2013-01-23 17:10:18 UTC (rev 82742)
@@ -0,0 +1,15 @@
+--- configure_2012-11-21_104449.ac	2012-11-21 10:44:49.577069798 +0100
++++ configure.ac	2012-11-21 10:51:47.620933574 +0100
+@@ -185,11 +185,7 @@
+ 
+ dnl ==========================================================================
+ 
+-PKG_CHECK_MODULES(GRAPHITE2, graphite2, have_graphite=true, have_graphite=false)
+-if $have_graphite; then
+-    AC_DEFINE(HAVE_GRAPHITE2, 1, [Have Graphite library])
+-fi
+-AM_CONDITIONAL(HAVE_GRAPHITE2, $have_graphite)
++AM_CONDITIONAL(HAVE_GRAPHITE2, 0)
+ 
+ dnl ==========================================================================
+ 




More information about the arch-commits mailing list