[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Sun Feb 7 04:21:24 UTC 2016


    Date: Sunday, February 7, 2016 @ 05:21:24
  Author: fyan
Revision: 160507

addpkg: lib32-taglib 1.10-3

Added:
  lib32-taglib/
  lib32-taglib/repos/
  lib32-taglib/trunk/
  lib32-taglib/trunk/PKGBUILD

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Added: lib32-taglib/trunk/PKGBUILD
===================================================================
--- lib32-taglib/trunk/PKGBUILD	                        (rev 0)
+++ lib32-taglib/trunk/PKGBUILD	2016-02-07 04:21:24 UTC (rev 160507)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: GordonGR <gordongr at freemail.gr>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Ike Devolder <ike.devolder at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+_pkgname=taglib
+pkgname=lib32-taglib
+pkgver=1.10
+pkgrel=3
+pkgdesc="A Library for reading and editing the meta-data of several popular audio formats (32 bit)"
+arch=('x86_64')
+url="http://developer.kde.org/~wheeler/taglib.html"
+license=('LGPL' 'MPL')
+depends=($_pkgname 'lib32-zlib' 'lib32-gcc-libs')
+makedepends=('cmake')
+options=('!libtool')
+source=("http://taglib.github.io/releases/$_pkgname-$pkgver.tar.gz")
+md5sums=('5b4441a15423b046dd92a096e09ea22c')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  cd build
+  cmake ../${_pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_SUFFIX=32 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DWITH_MP4=ON \
+    -DWITH_ASF=ON
+
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  cd "$pkgdir/usr"
+  rm -rf {include,share}/
+  mv bin/taglib-config{,-32}
+}


Property changes on: lib32-taglib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list