summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD36
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..585309e4abf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = libav-no-libs
+ pkgdesc = Open source audio and video processing tools forked from ffmpeg
+ pkgver = 12.1
+ pkgrel = 3
+ url = http://www.libav.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = yasm
+ depends = sdl
+ depends = ffmpeg
+ provides = libav-no-libs
+ conflicts = libav
+ conflicts = libav-no-libs
+ conflicts = libav-no-libs-git
+ conflicts = libav-git-no-libs
+ source = http://libav.org/releases/libav-12.1.tar.xz
+ md5sums = b611fd79ebcf90e3d0b8e66c4ea80a17
+
+pkgname = libav-no-libs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f87c20b76ae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Fabio Loli <loli_fabio@protonmail.com> -> https://github.com/FabioLolix
+
+pkgname=libav-no-libs
+pkgver=12.1
+pkgrel=3
+pkgdesc="Open source audio and video processing tools forked from ffmpeg"
+arch=('i686' 'x86_64')
+url="http://www.libav.org/"
+license=('LGPL')
+depends=('sdl' 'ffmpeg')
+makedepends=('yasm')
+provides=('libav-no-libs')
+conflicts=('libav' 'libav-no-libs' 'libav-no-libs-git' 'libav-git-no-libs')
+source=("http://libav.org/releases/libav-$pkgver.tar.xz")
+md5sums=('b611fd79ebcf90e3d0b8e66c4ea80a17')
+
+build() {
+ cd "$srcdir/libav-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --enable-nonfree \
+ --disable-static \
+ --enable-shared \
+ --disable-debug \
+ --disable-pthreads
+ make
+}
+
+package() {
+ cd "$srcdir/libav-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/{include,lib}
+}
+