summaryrefslogtreecommitdiff
path: root/manualPorts/gexiv2/Pkgfile
blob: 193301d6dd8a35e4648928601c174986a15348d9 (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.0
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

}