summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-01-13 21:02:25 +0800
committerChocobo12020-01-13 21:02:25 +0800
commit88f9f0bd51493bc2617776c0fcaa5c252b6e4eb1 (patch)
tree4dd7ad48fdb9020c7ae3bbd319e8d726aca14222
downloadaur-libquicktime-git.tar.gz
newpkg: libquicktime-git r971.gfff99cd-1
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD45
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2d8d5ba3960
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = libquicktime-git
+ pkgdesc = Library for reading and writing quicktime files
+ pkgver = r971.gfff99cd
+ pkgrel = 1
+ url = http://libquicktime.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ makedepends = doxygen
+ makedepends = mesa-libgl
+ depends = glibc
+ depends = alsa-lib
+ depends = faac
+ depends = faad2
+ depends = gtk2
+ depends = lame
+ depends = libjpeg-turbo
+ depends = libxaw
+ depends = libxv
+ depends = schroedinger
+ depends = libavcodec.so
+ depends = libswscale.so
+ depends = libvorbisenc.so
+ depends = libvorbisfile.so
+ depends = libvorbis.so
+ depends = libx264.so
+ provides = libquicktime
+ conflicts = libquicktime
+ source = git+https://git.code.sf.net/p/libquicktime/git
+ sha256sums = SKIP
+
+pkgname = libquicktime-git
+
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
+}