mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-11 16:04:40 +08:00
42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
_pkgbasename=pango
|
|
pkgname=lib32-$_pkgbasename
|
|
pkgver=1.32.5
|
|
pkgrel=1
|
|
pkgdesc="A library for layout and rendering of text (32-bit)"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('lib32-glib2>=2.25.15' 'lib32-cairo>=1.10.0' 'lib32-libxft>=2.1.14'
|
|
'lib32-freetype2>=2.4.2' 'lib32-harfbuzz' "$_pkgbasename=$pkgver")
|
|
makedepends=("gcc-multilib")
|
|
options=('!libtool' '!emptydirs')
|
|
install=pango.install
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/1.32/${_pkgbasename}-${pkgver}.tar.xz)
|
|
url="http://www.pango.org/"
|
|
sha256sums=('7d7bc99c3d9b580cb4fe787fe47824e56e39534b9040e1c8a2a159248d8e5821')
|
|
|
|
build() {
|
|
export CC="gcc -m32"
|
|
export CXX="g++ -m32"
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc \
|
|
--localstatedir=/var --with-included-modules=basic-fc \
|
|
--with-dynamic-modules=arabic-fc,arabic-lang,basic-fc,basic-win32,basic-x,basic-atsui,hangul-fc,hebrew-fc,indic-fc,indic-lang,khmer-fc,syriac-fc,tibetan-fc \
|
|
--disable-introspection
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
rm -rf "$pkgdir"/etc
|
|
rm -rf "$pkgdir"/usr/{bin/pango-view,share,include}
|
|
mv "$pkgdir"/usr/bin/pango-querymodules "$pkgdir"/usr/bin/pango-querymodules-32
|
|
}
|