blob: f1b02b5fe7ee549bebc309a2834c2a15423a80f3 (
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
|
# Description: GObject wrapper around the Exiv2 photo metadata library
# URL: https://wiki.gnome.org/Projects/gexiv2
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Thomas Penteker, tek at serverop dot de
# Packager: #teatime (irc.kyber.io), teatime at kyber dot io
# Depends on: exiv2 glib meson vala
name=gexiv2
version=0.12.1
release=1
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
mkdir -p build
meson setup \
--prefix /usr \
--libexecdir lib \
--sbindir bin \
--buildtype plain \
--auto-features enabled \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
$name-$version build -Denable-gtk-doc=true
ninja -C build
meson test -C build
DESTDIR="$PKG" ninja -C build install
}
|