diff options
author | Soukyuu | 2015-09-12 18:31:08 +0200 |
---|---|---|
committer | Soukyuu | 2015-09-12 18:31:08 +0200 |
commit | 7a5881ae1eda6dc01525e1b1be99fd0575fa7045 (patch) | |
tree | 23c0bba33259717afb1c83c1d77c16fdb7581d36 | |
download | aur-7a5881ae1eda6dc01525e1b1be99fd0575fa7045.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 59 |
2 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..23ff0b269ebe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = libvorbis-aotuv-lancer + pkgdesc = A fork of libvorbis intended to provide better quality sound at low to medium bitrates, with lancer patches to improve performance + pkgver = b6.03 + pkgrel = 6 + url = https://www.hydrogenaud.io/forums/index.php?showtopic=109766 + arch = i686 + arch = x86_64 + license = BSD + depends = libogg + provides = libvorbis=1.3.5 + provides = libvorbisfile.so + provides = libvorbis.so + provides = libvorbisenc.so + conflicts = libvorbis + conflicts = libvorbis-aotuv + source = http://www.geocities.jp/aoyoume/aotuv/source_code/libvorbis-aotuv_b6.03_2015.tar.bz2 + source = http://freac.org/patches/arch/libvorbis-aotuv_b6.03_2015-lancer.patch + source = http://freac.org/patches/arch/libvorbis-aotuv_b6.03_2015-lancer-x64.patch + sha256sums = fba6724d2bc2b6a911a25e60f21a45749d507f181a9e150415ce41e4d03bc08f + sha256sums = c380956943382b29ca26298ece0680f871cdc1a8367f6a851ba8053df89d54dc + sha256sums = 9d4a563b504284af8e54b11702ad79fc6c47bcfd9ad81af0ee38154a712e2418 + +pkgname = libvorbis-aotuv-lancer + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2b07404eb5f7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Soukyuu <chrno-spheredΘhotmail·com> +# Contributor: revel <revelΘmuub·net> +# Contributor: Stephen Caraher <moskvax@gmail.com> +# Contributor: Uli Armbruster <uli_armbrusterΘweb·de> +# Contributor: Robert Gregor <gimpΘpop·de> + +pkgname=libvorbis-aotuv-lancer +_srcname=libvorbis-aotuv +pkgver=b6.03 +pkgrel=6 +_releasedate=20110424-20150808 +_srcrel=2015 +pkgdesc='A fork of libvorbis intended to provide better quality sound at low to medium bitrates, with lancer patches to improve performance' +arch=('i686' 'x86_64') +url='https://www.hydrogenaud.io/forums/index.php?showtopic=109766' +license=('BSD') +depends=('libogg') +conflicts=('libvorbis' 'libvorbis-aotuv') +provides=('libvorbis=1.3.5' 'libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so') +source=("http://www.geocities.jp/aoyoume/aotuv/source_code/${_srcname}_${pkgver}_${_srcrel}.tar.bz2" + "http://freac.org/patches/arch/libvorbis-aotuv_b6.03_2015-lancer.patch" + "http://freac.org/patches/arch/libvorbis-aotuv_b6.03_2015-lancer-x64.patch") +sha256sums=('fba6724d2bc2b6a911a25e60f21a45749d507f181a9e150415ce41e4d03bc08f' + 'c380956943382b29ca26298ece0680f871cdc1a8367f6a851ba8053df89d54dc' + '9d4a563b504284af8e54b11702ad79fc6c47bcfd9ad81af0ee38154a712e2418') + +prepare() { + cd "aotuv-${pkgver}_${_releasedate}" + chmod +x configure + + # apply lancer patches + patch -p1 -i "${srcdir}/libvorbis-aotuv_b6.03_2015-lancer.patch" + + # linux x64 uses 8 byte for long - src expects 4 + if [ "${CARCH}" = "x86_64" ]; then + patch -p1 -i "${srcdir}/libvorbis-aotuv_b6.03_2015-lancer-x64.patch" + fi + + # configure sets their own CFLAGS to increase performance, so we clear makepkg.conf ones + #CFLAGS="march=native" + #CXXFLAGS="march=native" +} + +build() { + cd "aotuv-${pkgver}_${_releasedate}" + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd "aotuv-${pkgver}_${_releasedate}" + make -j1 check +} + +package() { + cd "aotuv-${pkgver}_${_releasedate}" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |