summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD36
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..afa3996ee59
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Fri Jan 13 22:16:50 UTC 2017
+pkgbase = mingw-w64-vo-aacenc
+ pkgdesc = VisualOn Advanced Audio Coding (AAC) encoder (mingw-w64)
+ pkgver = 0.1.3
+ pkgrel = 1
+ url = http://sourceforge.net/projects/opencore-amr/
+ arch = any
+ license = APACHE
+ makedepends = mingw-w64-configure
+ depends = mingw-w64-crt
+ options = !strip
+ options = !buildflags
+ options = staticlibs
+ source = http://downloads.sourceforge.net/opencore-amr/vo-aacenc-0.1.3.tar.gz
+ sha256sums = e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36
+
+pkgname = mingw-w64-vo-aacenc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b416993828f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: drakkan <nicola.murino at gmail dot com>
+pkgname=mingw-w64-vo-aacenc
+pkgver=0.1.3
+pkgrel=1
+pkgdesc="VisualOn Advanced Audio Coding (AAC) encoder (mingw-w64)"
+arch=('any')
+url="http://sourceforge.net/projects/opencore-amr/"
+license=('APACHE')
+makedepends=('mingw-w64-configure')
+depends=('mingw-w64-crt')
+options=('!strip' '!buildflags' 'staticlibs')
+source=(http://downloads.sourceforge.net/opencore-amr/vo-aacenc-$pkgver.tar.gz)
+sha256sums=('e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ cd "${srcdir}/vo-aacenc-$pkgver/"
+ for _arch in ${_architectures}; do
+ mkdir -p build-${_arch} && pushd build-${_arch}
+ ${_arch}-configure ..
+ make
+ popd
+ done
+}
+
+package() {
+ for _arch in ${_architectures}; do
+ cd "${srcdir}/vo-aacenc-$pkgver/build-${_arch}"
+ make DESTDIR="${pkgdir}" install
+ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
+ ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
+ done
+}
+
+# vim: ts=2 sw=2 et: