summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/codecs
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-04-28 06:52:05 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-04-28 06:52:05 (GMT)
commit8f0a6a7f2601544ceada1019f4385c6dd2ad399c (patch)
tree75bd37f8294b24765a2dedc41a2e843922e7de8e /abs/extra-testing/community/codecs
parent212ebdcb36cfb131e71613bbe92b76c2cd1cd5d3 (diff)
downloadlinhes_pkgbuild-8f0a6a7f2601544ceada1019f4385c6dd2ad399c.zip
linhes_pkgbuild-8f0a6a7f2601544ceada1019f4385c6dd2ad399c.tar.gz
linhes_pkgbuild-8f0a6a7f2601544ceada1019f4385c6dd2ad399c.tar.bz2
Initial inclusion of codecs.
Diffstat (limited to 'abs/extra-testing/community/codecs')
-rw-r--r--abs/extra-testing/community/codecs/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra-testing/community/codecs/PKGBUILD b/abs/extra-testing/community/codecs/PKGBUILD
new file mode 100644
index 0000000..8cf80be
--- /dev/null
+++ b/abs/extra-testing/community/codecs/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 27228 2009-02-17 05:58:02Z thayer $
+# Contributor: Thomas Baechler <thomas@archlinux.org>
+# Maintainer: Thayer Williams <thayer@archlinux.org>
+
+pkgname=codecs
+pkgver=20071007
+pkgrel=3
+pkgdesc="Non-linux native codec pack. (Win32, Real9, QuickTime)"
+arch=('i686' 'x86_64')
+license=('unknown')
+# The codec packages are different
+# only the 32 bit package needs legacy libstdc++
+[ "$CARCH" = "i686" ] && depends=('libstdc++5')
+[ "$CARCH" = "x86_64" ] && depends=('gcc-libs')
+options=('!strip')
+url="http://www.mplayerhq.hu/design7/dload.html"
+
+md5sums=('4ea9c2dbd0945c83af1a8d0dd363993c')
+_arch=""
+if [ "${CARCH}" = "x86_64" ]; then
+ _arch="-amd64"
+ md5sums=('8e1ceeec51469f5baac65e56fac709e8')
+fi
+source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/essential${_arch}-${pkgver}.tar.bz2)
+
+build() {
+ mkdir -p ${pkgdir}/usr/lib/codecs
+ cd ${pkgdir}/usr/lib
+ ln -s codecs win32
+ install -m755 ${srcdir}/essential${_arch}-${pkgver}/* ${pkgdir}/usr/lib/codecs
+ rm ${pkgdir}/usr/lib/codecs/README
+}
+