summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7285499d860da9790959ba128b5696bfd4d4976b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Zdeněk Janeček <jan.zdenek@gmail.com>
pkgname=entangle
pkgver=3.0
pkgrel=1
pkgdesc="Entangle is an application which uses GTK and libgphoto2 to provide a graphical interface for tethered photography with digital cameras."
arch=('i686' 'x86_64')
url="http://entangle-photo.org/"
license=('GPL')
depends=('glib2>=2.26.0' 'dbus-glib>=0.60' 'gdk-pixbuf2>=2.12.0' 'gtk3>=3.22.0' 'libgphoto2>=2.4.11' 'libgudev' 'gobject-introspection' 'lcms2' 'libpeas' 'libgexiv2' 'libraw' 'adwaita-icon-theme' 'gstreamer' 'itstool' 'gst-plugins-base-libs')
makedepends=('intltool' 'meson' 'gtk-doc')
install=entangle.install
source=(http://entangle-photo.org/download/sources/$pkgname-$pkgver.tar.xz)
md5sums=('32060351f18a8caa04e3bf7dd888e54d')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i "s/'libraw_r'/'raw_r'/g" meson.build
  meson -Denable-gtk-doc=true build-dir --prefix=/usr
  ninja -C build-dir all
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  ninja -C build-dir test
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  DESTDIR="$pkgdir" ninja -C build-dir install
}