summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-06-09 19:04:03 +0200
committerMichel Zou2016-06-09 19:04:03 +0200
commitfa4a16b3e6febd64f52e8dbebe7a6152c3ab95d7 (patch)
treefe5a8890ed0eecf99bad007f0278dfdac1e6aefa
parentdd98e496aa1876a6a0e145c6e6f9615af9b0abfb (diff)
downloadaur-fa4a16b3e6febd64f52e8dbebe7a6152c3ab95d7.tar.gz
1.3.5
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD32
2 files changed, 23 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40911428b46..474aa9acf98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Jun 9 17:04:02 UTC 2016
pkgbase = mingw-w64-libvorbis
pkgdesc = Vorbis codec library (mingw-w64)
- pkgver = 1.3.4
- pkgrel = 3
+ pkgver = 1.3.5
+ pkgrel = 1
url = http://xiph.org
arch = any
license = custom
- makedepends = mingw-w64-gcc
- makedepends = mingw-w64-binutils
- makedepends = mingw-w64-pkg-config
+ makedepends = mingw-w64-configure
depends = mingw-w64-libogg
depends = mingw-w64-crt
options = !strip
options = !buildflags
options = staticlibs
- source = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
- md5sums = 8851c593a52d1ef9c526d95174873852
+ source = http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.gz
+ md5sums = 7220e089f3be3412a2317d6fde9e3944
pkgname = mingw-w64-libvorbis
diff --git a/PKGBUILD b/PKGBUILD
index 8162b3e2de3..dbab28c0b27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,35 @@
-# Maintainer: naelstrof <naelstrof@gmail.com>
+# Contributor: naelstrof <naelstrof@gmail.com>
pkgname=mingw-w64-libvorbis
-pkgver=1.3.4
-pkgrel=3
+pkgver=1.3.5
+pkgrel=1
pkgdesc="Vorbis codec library (mingw-w64)"
arch=(any)
url="http://xiph.org"
license=('custom')
depends=('mingw-w64-libogg' 'mingw-w64-crt')
-makedepends=('mingw-w64-gcc' 'mingw-w64-binutils' 'mingw-w64-pkg-config')
+makedepends=('mingw-w64-configure')
options=(!strip !buildflags staticlibs)
source=(http://downloads.xiph.org/releases/vorbis/libvorbis-${pkgver}.tar.gz)
-md5sums=('8851c593a52d1ef9c526d95174873852')
+md5sums=('7220e089f3be3412a2317d6fde9e3944')
+
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
- unset LDFLAGS
- #-march=i686 optimizes too much, strip it out
+ cd "${srcdir}/libvorbis-${pkgver}"
for _arch in ${_architectures}; do
- mkdir -p "${srcdir}/libvorbis-${pkgver}-build-${_arch}"
- cd "${srcdir}/libvorbis-${pkgver}-build-${_arch}"
- CFLAGS=${CFLAGS/-march=$CARCH} "${srcdir}"/libvorbis-${pkgver}/configure --enable-static --enable-shared --prefix=/usr/${_arch} --host=${_arch}
- make
+ mkdir -p build-${_arch} && pushd build-${_arch}
+ ${_arch}-configure ..
+ make
+ popd
done
}
package() {
for _arch in ${_architectures}; do
- cd "${srcdir}"/libvorbis-${pkgver}-build-${_arch}
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/${_arch}/share/doc
- ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
- ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
+ cd "${srcdir}"/libvorbis-${pkgver}/build-${_arch}
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/${_arch}/share/doc
+ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
+ ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}