]> saetta.ns0.it Git - msys2/commitdiff
quvi: nuovo pacchetto WIP.
authorAndrea Zagli <azagli@libero.it>
Wed, 8 Apr 2015 08:42:01 +0000 (10:42 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 21 Apr 2018 13:13:22 +0000 (15:13 +0200)
packages/mingw-w64-quvi/001-win.patch [new file with mode: 0644]
packages/mingw-w64-quvi/PKGBUILD [new file with mode: 0644]

diff --git a/packages/mingw-w64-quvi/001-win.patch b/packages/mingw-w64-quvi/001-win.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/mingw-w64-quvi/PKGBUILD b/packages/mingw-w64-quvi/PKGBUILD
new file mode 100644 (file)
index 0000000..1994523
--- /dev/null
@@ -0,0 +1,48 @@
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=quvi
+pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="A command line tool for parsing Adobe Flash media stream URLs (mingw-w64)"
+arch=('any')
+license=('LGPL 2')
+url="http://www.gnome.org/"
+depends=("${MINGW_PACKAGE_PREFIX}-libquvi)
+makedepends=()
+options=('strip' 'staticlibs')
+source=(http://sourceforge.net/projects/quvi/files/${pkgver%.*}/quvi/${_realname}-${pkgver}.tar.xz
+        001-win.patch)
+sha256sums=('b5862f7e5fa6ed7defd169adb5c7586c6406af86e029671fd09615f6eb7aa903'
+            'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
+
+prepare() {
+  cd "${srcdir}"/${_realname}-${pkgver}
+
+  #patch -b -V simple -p1 -i ${srcdir}/001-win.patch
+
+  autoreconf -f -i
+}
+
+build() {
+  mkdir -p build-${MINGW_CHOST}
+  cd build-${MINGW_CHOST}
+
+  #mkdir -p docs/reference/html
+  #cp -rf ../${_realname}-${pkgver}/docs/reference/html/* docs/reference/html
+
+  ../${_realname}-${pkgver}/configure \
+    --host=${MINGW_CHOST} \
+    --target=${MINGW_CHOST} \
+    --build=${MINGW_CHOST} \
+    --prefix=${MINGW_PREFIX} \
+    --libexecdir=${MINGW_PREFIX}/lib
+  make
+}
+
+package() {
+  cd "$srcdir/build-${MINGW_CHOST}"
+  make DESTDIR=$pkgdir install
+
+  install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}