summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJure Varlec2015-06-10 18:40:48 +0200
committerJure Varlec2015-06-10 18:40:48 +0200
commit7345296324800ace29bb65e375d82cae16fd0544 (patch)
tree685285cfa17eb35b7e44de60c5e1a65eadba59e7
downloadaur-7345296324800ace29bb65e375d82cae16fd0544.tar.gz
Initial import
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD43
-rw-r--r--qarv.install4
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7b2bc39553
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = qarv
+ pkgdesc = Qt GUI and API interfaces to ethernet cameras via Aravis
+ pkgver = 2.0.0
+ pkgrel = 2
+ url = https://gitorious.org/adv/qarv
+ install = qarv.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = doxygen
+ makedepends = graphviz
+ depends = qt4
+ depends = aravis
+ depends = ffmpeg
+ depends = opencv
+ depends = gstreamer
+ provides = qarv
+ conflicts = qarv-git
+ source = http://software.ad-vega.si/qarv/qarv-2.0.0.tar.xz
+ md5sums = 23bc48cf980ced64a199c9874f21c7a1
+
+pkgname = qarv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5a581f0cc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Jure Varlec <jure.varlec@ad-vega.si>
+pkgname=qarv
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Qt GUI and API interfaces to ethernet cameras via Aravis"
+arch=( i686 x86_64 )
+url="https://gitorious.org/adv/${pkgname}"
+license=('GPL3')
+depends=( qt4 aravis ffmpeg opencv gstreamer )
+makedepends=( cmake doxygen graphviz )
+checkdepends=()
+optdepends=()
+provides=( ${pkgname} )
+conflicts=( ${pkgname}-git )
+replaces=()
+backup=()
+options=()
+install=$pkgname.install
+changelog=
+source=( "http://software.ad-vega.si/$pkgname/$pkgname-$pkgver.tar.xz" )
+noextract=()
+md5sums=( '23bc48cf980ced64a199c9874f21c7a1' )
+
+build() {
+ cd $srcdir
+ [ -d build ] && rm -r build
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr/ "$srcdir/$pkgname-$pkgver/"
+ make doc
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir/" install
+ local docdest="$pkgdir/usr/share/doc/$pkgname/"
+ mkdir -p "$docdest"
+ cp "$srcdir/$pkgname-$pkgver/"{README,NEWS,AUTHORS} "$docdest"
+ cp -r apidoc/html "$docdest/api"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/qarv.install b/qarv.install
new file mode 100644
index 00000000000..a1e25532ac8
--- /dev/null
+++ b/qarv.install
@@ -0,0 +1,4 @@
+post_install() {
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+}