diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..782deb4b8e70 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = aravis-git + pkgdesc = A vision library for genicam-based cameras + pkgver = 0.7.2.r80.g783a296 + pkgrel = 1 + url = https://wiki.gnome.org/Projects/Aravis + arch = x86_64 + license = LGPL2 + makedepends = meson + makedepends = gtk-doc + makedepends = gobject-introspection + makedepends = appstream-glib + depends = gtk3 + depends = libnotify + depends = gst-plugins-base-libs + depends = audit + depends = libusb + source = git+https://github.com/AravisProject/aravis + sha256sums = SKIP + +pkgname = aravis-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1aace9926737 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# ignore everything ... +* + +# ... except itself +!.gitignore + +# ... except changes in package +!PKGBUILD +!.SRCINFO + +# ... except possible source files +!*.patch +!*.diff +!*.desktop +!*.png +!LICENSE + +# ... except files from PKGBUILD fields +!*.changelog +!*.install diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..138b9c5a3681 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Maarten de Vries <maarten@de-vri.es> +# Contributor: Rafael Fontenelle <rafaelff@gnome.org> + +pkgname=aravis-git +pkgver=0.7.2.r80.g783a296 +pkgrel=1 +pkgdesc="A vision library for genicam-based cameras" +url="https://wiki.gnome.org/Projects/Aravis" +arch=('x86_64') +license=('LGPL2') +depends=('gtk3' 'libnotify' 'gst-plugins-base-libs' 'audit' 'libusb') +makedepends=('meson' 'gtk-doc' 'gobject-introspection' 'appstream-glib') +source=('git+https://github.com/AravisProject/aravis') +sha256sums=('SKIP') + +_srcname=aravis + +pkgver() { + cd "$srcdir/$_srcname" + git describe --always | sed -e 's/ARAVIS_//' -e 's/_/./g' -e 's/-/.r/' -e 's/-/./' +} + +build() { + arch-meson $_srcname build + ninja -C build +} + +check() { + ninja test -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} |