Date: Monday, July 29, 2013 @ 01:23:53 Author: speps Revision: 94623 archrelease: copy trunk to community-i686, community-x86_64
Added: zita-resampler/repos/community-i686/PKGBUILD (from rev 94622, zita-resampler/trunk/PKGBUILD) zita-resampler/repos/community-x86_64/PKGBUILD (from rev 94622, zita-resampler/trunk/PKGBUILD) Deleted: zita-resampler/repos/community-i686/PKGBUILD zita-resampler/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 142 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 64 ------------------- community-x86_64/PKGBUILD | 64 ------------------- 3 files changed, 142 insertions(+), 128 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-07-28 23:23:35 UTC (rev 94622) +++ community-i686/PKGBUILD 2013-07-28 23:23:53 UTC (rev 94623) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer : speps <speps at aur dot archlinux dot org> -# Contributor: Philipp Überbacher <murks at lavabit dot com> - -pkgname=zita-resampler -pkgver=1.3.0 -pkgrel=1 -pkgdesc="A C++ library for resampling audio signals." -url="http://kokkinizita.linuxaudio.org/linuxaudio/" -arch=('i686' 'x86_64') -license=('GPL3') -depends=('gcc-libs' 'libsndfile') -source=("${url}downloads/$pkgname-$pkgver.tar.bz2") -md5sums=('74c12e2280008f63ac9f2670fe4cf79b') - -build() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - make PREFIX=/usr - - # create lib link for building apps - ln -s lib$pkgname.so.$pkgver lib$pkgname.so - - # apps - cd ../apps - CXXFLAGS+=" -I../libs" \ - LDFLAGS+=" -L../libs" \ - make PREFIX=/usr -} - -package() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - install -Dm755 lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.$pkgver" - - # links - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so" - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" - - # headers - install -d "$pkgdir/usr/include/$pkgname" - install -Dm644 $pkgname/*.h \ - "$pkgdir/usr/include/$pkgname" - - # apps - install -d "$pkgdir/usr/bin" - install -Dm755 ../apps/zre{sample,tune} \ - "$pkgdir/usr/bin" - - # docs - install -d "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 ../docs/* \ - "$pkgdir/usr/share/doc/$pkgname" - - # man - install -d "$pkgdir/usr/share/man/man1" - install -Dm644 ../apps/zre{sample,tune}.1 \ - "$pkgdir/usr/share/man/man1" -} Copied: zita-resampler/repos/community-i686/PKGBUILD (from rev 94622, zita-resampler/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-07-28 23:23:53 UTC (rev 94623) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Philipp Überbacher <murks at lavabit dot com> + +pkgname=zita-resampler +pkgver=1.3.0 +pkgrel=2 +pkgdesc="A C++ library for resampling audio signals" +url="http://kokkinizita.linuxaudio.org/linuxaudio/" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('gcc-libs' 'libsndfile') +source=("${url}downloads/$pkgname-$pkgver.tar.bz2") +md5sums=('74c12e2280008f63ac9f2670fe4cf79b') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # FS#36248 - strip march=native + sed -i '/native/d' {libs,apps}/Makefile +} + +build() { + cd "$srcdir/$pkgname-$pkgver/libs" + + # lib + make PREFIX=/usr + + # create lib link for building apps + ln -s lib$pkgname.so.$pkgver lib$pkgname.so + + # apps + cd ../apps + CXXFLAGS+=" -I../libs" \ + LDFLAGS+=" -L../libs" \ + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver/libs" + + # lib + install -Dm755 lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so.$pkgver" + + # links + ln -s lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so" + ln -s lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" + + # headers + install -d "$pkgdir/usr/include/$pkgname" + install -Dm644 $pkgname/*.h \ + "$pkgdir/usr/include/$pkgname" + + # apps + install -d "$pkgdir/usr/bin" + install -Dm755 ../apps/zre{sample,tune} \ + "$pkgdir/usr/bin" + + # docs + install -d "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 ../docs/* \ + "$pkgdir/usr/share/doc/$pkgname" + + # man + install -d "$pkgdir/usr/share/man/man1" + install -Dm644 ../apps/zre{sample,tune}.1 \ + "$pkgdir/usr/share/man/man1" +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-07-28 23:23:35 UTC (rev 94622) +++ community-x86_64/PKGBUILD 2013-07-28 23:23:53 UTC (rev 94623) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer : speps <speps at aur dot archlinux dot org> -# Contributor: Philipp Überbacher <murks at lavabit dot com> - -pkgname=zita-resampler -pkgver=1.3.0 -pkgrel=1 -pkgdesc="A C++ library for resampling audio signals." -url="http://kokkinizita.linuxaudio.org/linuxaudio/" -arch=('i686' 'x86_64') -license=('GPL3') -depends=('gcc-libs' 'libsndfile') -source=("${url}downloads/$pkgname-$pkgver.tar.bz2") -md5sums=('74c12e2280008f63ac9f2670fe4cf79b') - -build() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - make PREFIX=/usr - - # create lib link for building apps - ln -s lib$pkgname.so.$pkgver lib$pkgname.so - - # apps - cd ../apps - CXXFLAGS+=" -I../libs" \ - LDFLAGS+=" -L../libs" \ - make PREFIX=/usr -} - -package() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - install -Dm755 lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.$pkgver" - - # links - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so" - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" - - # headers - install -d "$pkgdir/usr/include/$pkgname" - install -Dm644 $pkgname/*.h \ - "$pkgdir/usr/include/$pkgname" - - # apps - install -d "$pkgdir/usr/bin" - install -Dm755 ../apps/zre{sample,tune} \ - "$pkgdir/usr/bin" - - # docs - install -d "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 ../docs/* \ - "$pkgdir/usr/share/doc/$pkgname" - - # man - install -d "$pkgdir/usr/share/man/man1" - install -Dm644 ../apps/zre{sample,tune}.1 \ - "$pkgdir/usr/share/man/man1" -} Copied: zita-resampler/repos/community-x86_64/PKGBUILD (from rev 94622, zita-resampler/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-07-28 23:23:53 UTC (rev 94623) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Philipp Überbacher <murks at lavabit dot com> + +pkgname=zita-resampler +pkgver=1.3.0 +pkgrel=2 +pkgdesc="A C++ library for resampling audio signals" +url="http://kokkinizita.linuxaudio.org/linuxaudio/" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('gcc-libs' 'libsndfile') +source=("${url}downloads/$pkgname-$pkgver.tar.bz2") +md5sums=('74c12e2280008f63ac9f2670fe4cf79b') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # FS#36248 - strip march=native + sed -i '/native/d' {libs,apps}/Makefile +} + +build() { + cd "$srcdir/$pkgname-$pkgver/libs" + + # lib + make PREFIX=/usr + + # create lib link for building apps + ln -s lib$pkgname.so.$pkgver lib$pkgname.so + + # apps + cd ../apps + CXXFLAGS+=" -I../libs" \ + LDFLAGS+=" -L../libs" \ + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver/libs" + + # lib + install -Dm755 lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so.$pkgver" + + # links + ln -s lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so" + ln -s lib$pkgname.so.$pkgver \ + "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" + + # headers + install -d "$pkgdir/usr/include/$pkgname" + install -Dm644 $pkgname/*.h \ + "$pkgdir/usr/include/$pkgname" + + # apps + install -d "$pkgdir/usr/bin" + install -Dm755 ../apps/zre{sample,tune} \ + "$pkgdir/usr/bin" + + # docs + install -d "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 ../docs/* \ + "$pkgdir/usr/share/doc/$pkgname" + + # man + install -d "$pkgdir/usr/share/man/man1" + install -Dm644 ../apps/zre{sample,tune}.1 \ + "$pkgdir/usr/share/man/man1" +}