blob: 85f9ce36e4d81d71fee51510b0e6421f4953b35a (
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
31
32
33
34
35
36
37
38
39
|
# Maintainer: FabioLolix <fabio.loli@disroot.org>
# Contributor: Zdeněk Janeček <jan.zdenek@gmail.com>
pkgname=entangle
pkgver=3.0
pkgrel=2
pkgdesc="GTK graphical interface for tethered photography with digital cameras powered by libgphoto2"
arch=(x86_64 i686)
url="https://entangle-photo.org/"
license=(GPL3)
depends=(dbus-glib gdk-pixbuf2 gtk3 libgphoto2 libgudev gobject-introspection lcms2
libpeas libgexiv2 libraw adwaita-icon-theme gstreamer itstool gst-plugins-base-libs)
makedepends=(intltool meson gtk-doc)
source=("http://entangle-photo.org/download/sources/${pkgname}-${pkgver}.tar.xz"
"https://gitlab.com/entangle/entangle/-/commit/54795d275a93e94331a614c8712740fcedbdd4f0.patch")
sha256sums=('9285ebab273ebe788d39a7c1bf19717cc6312cfcaa0bc55d65cf5a8d4f42a545'
'b816b7fdbe121044a8cafcf9648e770a91a4df38b0758781276db22c8d29cd50')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../54795d275a93e94331a614c8712740fcedbdd4f0.patch
}
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
}
|