summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChocobo12020-01-13 21:02:25 +0800
committerChocobo12020-01-13 21:02:25 +0800
commit88f9f0bd51493bc2617776c0fcaa5c252b6e4eb1 (patch)
tree4dd7ad48fdb9020c7ae3bbd319e8d726aca14222 /PKGBUILD
downloadaur-libquicktime-git.tar.gz
newpkg: libquicktime-git r971.gfff99cd-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ab6d18b49d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libquicktime-git
+pkgver=r971.gfff99cd
+pkgrel=1
+pkgdesc="Library for reading and writing quicktime files"
+arch=('i686' 'x86_64')
+url="http://libquicktime.sourceforge.net/"
+license=('LGPL')
+depends=('glibc' 'alsa-lib' 'faac' 'faad2' 'gtk2' 'lame' 'libjpeg-turbo' 'libxaw'
+ 'libxv' 'schroedinger'
+ 'libavcodec.so' 'libswscale.so' 'libvorbisenc.so' 'libvorbisfile.so'
+ 'libvorbis.so' 'libx264.so')
+makedepends=('git' 'doxygen' 'mesa-libgl')
+provides=('libquicktime')
+conflicts=('libquicktime')
+source=("git+https://git.code.sf.net/p/libquicktime/git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "git"
+
+ _rev=$(git rev-list --count --all)
+ _hash=$(git rev-parse --short HEAD)
+ printf "r%s.g%s" "$_rev" "$_hash"
+}
+
+build() {
+ cd "git"
+
+ ./autogen.sh
+ ./configure \
+ --prefix="/usr" \
+ --enable-gpl \
+ --with-ffmpeg \
+ --with-x264
+ make
+}
+
+package() {
+ cd "git"
+
+ make DESTDIR="$pkgdir" install
+}