summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpingplug2018-04-22 23:13:11 +0800
committerpingplug2018-04-22 23:13:11 +0800
commit70d7b6044fc6a069b7c94777eed7bbcf870caedf (patch)
tree887b45928ac647266c759330b3afda71cd73b0a5
parent9562080fb48c039e022069a552aedda0fc121cc9 (diff)
downloadaur-70d7b6044fc6a069b7c94777eed7bbcf870caedf.tar.gz
Minor fixes
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore13
-rw-r--r--PKGBUILD75
3 files changed, 55 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a7eb548f25..96f46c85b04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,13 +7,16 @@ pkgbase = mingw-w64-pango
license = LGPL
makedepends = mingw-w64-configure
makedepends = gtk-doc
+ makedepends = gobject-introspection
makedepends = git
depends = mingw-w64-harfbuzz
+ depends = mingw-w64-fribidi
+ depends = mingw-w64-fontconfig
+ depends = mingw-w64-freetype
depends = mingw-w64-cairo
- options = staticlibs
options = !strip
+ options = staticlibs
options = !buildflags
- options = !emptydirs
source = git+https://git.gnome.org/browse/pango#commit=46f8583c87c45b304ac98d06005c49df67d53b07
source = 0001-no-unconditional-xft-please.all.patch
sha256sums = SKIP
diff --git a/.gitignore b/.gitignore
index 15e0732b545..97589fb4de6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
-pango/
-pkg/
-src/
-*.log
-*.tar
-*.xz
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
+!*.install
+!*.patch
+!*.diff
diff --git a/PKGBUILD b/PKGBUILD
index 360a89fbb97..bf9f2208fef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,52 +1,63 @@
+# Maintainer: pingplug <pingplug@foxmail.com>
+# Contributor: Schala Zeal <schalaalexiazeal@gmail.com>
+
+_commit=46f8583c87c45b304ac98d06005c49df67d53b07 # tags/1.42.1^0
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
pkgname=mingw-w64-pango
pkgver=1.42.1
pkgrel=1
-_commit=46f8583c87c45b304ac98d06005c49df67d53b07 # tags/1.42.1^0
pkgdesc="A library for layout and rendering of text (mingw-w64)"
-arch=(any)
+arch=('any')
url="http://www.pango.org"
-license=("LGPL")
-makedepends=(mingw-w64-configure gtk-doc git)
-depends=(mingw-w64-harfbuzz mingw-w64-cairo)
-options=(staticlibs !strip !buildflags !emptydirs)
-source=("git+https://git.gnome.org/browse/pango#commit=$_commit"
-"0001-no-unconditional-xft-please.all.patch")
+license=('LGPL')
+depends=('mingw-w64-harfbuzz'
+ 'mingw-w64-fribidi'
+ 'mingw-w64-fontconfig'
+ 'mingw-w64-freetype'
+ 'mingw-w64-cairo')
+makedepends=('mingw-w64-configure'
+ 'gtk-doc'
+ 'gobject-introspection'
+ 'git')
+options=('!strip' 'staticlibs' '!buildflags')
+source=("git+https://git.gnome.org/browse/pango#commit=${_commit}"
+ "0001-no-unconditional-xft-please.all.patch")
sha256sums=('SKIP'
'bebab6128258d300e677df0751177f5c30235d0a49c150d97987d0f00b309f35')
-_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
pkgver() {
- cd "$srcdir/pango"
+ cd "${srcdir}/pango"
git describe --tags | sed 's/-/+/g'
}
prepare() {
- cd "$srcdir/pango"
- patch -p1 -i ${srcdir}/0001-no-unconditional-xft-please.all.patch
- NOCONFIGURE=1 ./autogen.sh
- sed -i 's/have_libthai=true/have_libthai=false/' configure
+ cd "${srcdir}/pango"
+ patch -p1 -i ${srcdir}/0001-no-unconditional-xft-please.all.patch
+ NOCONFIGURE=1 ./autogen.sh
+ sed -i 's/have_libthai=true/have_libthai=false/' configure
}
build() {
- cd "$srcdir/pango"
- for _arch in ${_architectures}; do
- mkdir -p build-${_arch} && pushd build-${_arch}
- ${_arch}-configure \
- --disable-introspection \
- --disable-debug
- make
- popd
- done
+ cd "${srcdir}/pango"
+ for _arch in ${_architectures}; do
+ mkdir -p build-${_arch} && pushd build-${_arch}
+ ${_arch}-configure \
+ --disable-introspection \
+ --disable-debug
+ make
+ popd
+ done
}
-
-
package() {
- for _arch in ${_architectures}; do
- cd "${srcdir}/pango/build-${_arch}"
- make -j1 DESTDIR="$pkgdir" install
- find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
- find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
- find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g
- done
+ for _arch in ${_architectures}; do
+ cd "${srcdir}/pango/build-${_arch}"
+ make -j1 DESTDIR="${pkgdir}" install
+ find "${pkgdir}/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
+ find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
+ find "${pkgdir}/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g
+ done
}
+
+# vim:set ts=2 sw=2 et: