updates for lib32 packages: alsa-lib, alsa-oss, alsa-plugins, atk, cairo, catalyst-utils, freetype2-ubuntu, kmod, libcups, libdrm, libpulse, libvorbis, sdl, sqlite, udev
2012-05-27 20:46:05 +08:00
|
|
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
_pkgbasename=freetype2-ubuntu
|
|
|
|
pkgname=lib32-$_pkgbasename
|
|
|
|
pkgver=2.4.9
|
|
|
|
_pkgver=2.4.4-2
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="TrueType font rendering library (32-bit) with infinality patch"
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL')
|
|
|
|
url="http://freetype.sourceforge.net"
|
2012-10-31 22:53:16 +08:00
|
|
|
depends=('lib32-zlib' $_pkgbasename=$pkgver)
|
updates for lib32 packages: alsa-lib, alsa-oss, alsa-plugins, atk, cairo, catalyst-utils, freetype2-ubuntu, kmod, libcups, libdrm, libpulse, libvorbis, sdl, sqlite, udev
2012-05-27 20:46:05 +08:00
|
|
|
makedepends=(gcc-multilib)
|
|
|
|
conflicts=('lib32-freetype2')
|
|
|
|
provides=("lib32-freetype2=$pkgver")
|
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
|
|
|
|
https://launchpad.net/ubuntu/oneiric/+source/freetype/$_pkgver/+files/freetype_$_pkgver.diff.gz
|
|
|
|
apple-offset.patch
|
|
|
|
enable-valid.patch)
|
|
|
|
|
|
|
|
md5sums=('77a893dae81fd5b896632715ca041179'
|
|
|
|
'8a170e472c2b1d60dff0987722a290d3'
|
|
|
|
'1c964f90ae90aa391af574ceb0814cda'
|
|
|
|
'214119610444c9b02766ccee5e220680')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
export CC="gcc -m32"
|
|
|
|
export CXX="g++ -m32"
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
|
|
|
|
cd "${srcdir}/freetype-${pkgver}"
|
|
|
|
|
|
|
|
msg "applying apple-offset.patch..."
|
|
|
|
patch -Np1 -i "${srcdir}/apple-offset.patch"
|
|
|
|
|
|
|
|
msg "applying enable-valid.patch..."
|
|
|
|
patch -Np1 -i "${srcdir}/enable-valid.patch"
|
|
|
|
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/freetype-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
|
|
|
}
|