blob: 4e6231aab099a3080947a7d521887207a1652c0b (
plain)
1 # Description: GObject wrapper around the Exiv2 photo metadata library
2 # URL: https://wiki.gnome.org/Projects/gexiv2
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: exiv2 python3-gobject
5 # Optional: vala
6
7 name=gexiv2
8 version=0.14.0
9 release=1
10 source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
11
12 build() {
13 prt-get isinst vala || PKGMK_GEXIV+=' -D vapi=false'
14
15 meson setup build $name-$version $PKGMK_GEXIV \
16 --prefix=/usr \
17 --buildtype=plain \
18 --wrap-mode nodownload \
19 -D b_lto=true \
20 -D b_pie=true \
21 -D gtk_doc=false
22 meson compile -C build -j ${JOBS:-1}
23 DESTDIR=$PKG meson install -C build
24
25 export PYTHONHASHSEED=0
26 /usr/bin/python3 -m compileall -d /usr/lib/python3.9/site-packages/gi $PKG/usr/lib/python3.9/site-packages/gi
27 /usr/bin/python3 -O -m compileall -d /usr/lib/python3.9/site-packages/gi $PKG/usr/lib/python3.9/site-packages/gi
28 }
|