diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -4,29 +4,27 @@ _pkgname=faad2 pkgname=lib32-${_pkgname} -pkgver=2.7 -pkgrel=5 +pkgver=2.8.1 +pkgrel=1 pkgdesc="ISO AAC audio decoder (32 bit)" arch=('x86_64') url="http://www.audiocoding.com/" license=('GPL' 'custom:FAAD2') depends=('lib32-glibc' ${_pkgname}) options=('!makeflags') -source=(http://downloads.sourceforge.net/sourceforge/faac/${_pkgname}-${pkgver}.tar.bz2 - faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch - faad2-2.7-libmp4ff-shared-lib.patch - faad2-2.7-man1_MANS.patch) -md5sums=('4c332fa23febc0e4648064685a3d4332' +source=("http://downloads.sourceforge.net/sourceforge/faac/${_pkgname}-${pkgver}.tar.bz2" + 'faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch' + 'faad2-2.7-libmp4ff-shared-lib.patch') +md5sums=('c0c0d1e6d66de38c40ae56a1981321f9' 'b33354022bc1696a89b3ccc1ab94c54f' - 'b23d2853fec6f07ae7769fd4eabd8f42' - 'a8cee29241a696ab24d010af35b951b8') + 'b23d2853fec6f07ae7769fd4eabd8f42') + prepare() { cd ${_pkgname}-${pkgver} -patch -p1 -i "${srcdir}/faad2-2.7-libmp4ff-shared-lib.patch" -patch -p0 -i "${srcdir}/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch" -patch -p1 -i "${srcdir}/faad2-2.7-man1_MANS.patch" -autoreconf --force --install +#patch -p1 -i "${srcdir}/faad2-2.7-libmp4ff-shared-lib.patch" +#patch -p0 -i "${srcdir}/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch" +#autoreconf --force --install } build() { @@ -35,8 +33,9 @@ export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' cd ${_pkgname}-${pkgver} +./bootstrap ./configure --prefix=/usr --libdir=/usr/lib32 -make CFLAGS="${CFLAGS} -fPIC" +make } package() { |