blob: 2e1505b3e94f9c7307096afc4ad255114ddabef8 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Maintainer:
# Contributor: Mitch Bigelow <mitch.bigelow at gmail.com>
# Contributer: Steven Honeyman <stevenhoneyman at gmail com>
_pkgname="geeqie"
pkgname="$_pkgname-git"
pkgver=2.5.r26.g2b88951
pkgrel=1
pkgdesc='Lightweight image viewer'
url="https://github.com/BestImageViewer/geeqie"
license=('GPL-2.0-or-later')
arch=('x86_64')
depends=(
cfitsio
clutter
clutter-gtk
djvulibre
exiv2
ffmpegthumbnailer
gspell
gtk3
hicolor-icon-theme
libarchive
libchamplain
libjxl.so
libraw
lua
openexr
openjpeg2
poppler-glib
)
makedepends=(
doxygen
evince
fbida
gawk
glib2-devel
graphviz
imagemagick
intltool
librsvg
libwmf
meson
pandoc-cli
perl-image-exiftool
python
vim
yelp-tools
)
optdepends=(
'evince: for print preview'
'fbida: for jpeg rotation'
'gawk: to use the geo-decode function'
'gphoto2: command-line tools for various (plugin) operations'
'imagemagick: command-line tools for various (plugin) operations'
'librsvg: SVG rendering'
'perl-image-exiftool: for the jpeg extraction plugin'
)
provides=("$_pkgname=${pkgver%%.r*}")
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source=("$_pkgname"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
local _version _revision _hash
_version=$(git tag | grep -Ev '^.*[A-Za-z]{2}.*$' | sort -V | tail -1)
_revision=$(git rev-list --count --cherry-pick $_version...HEAD)
_hash=$(git rev-parse --short=7 HEAD)
printf '%s.r%s.g%s' "${_version#v}" "${_revision:?}" "${_hash:?}"
}
build() {
arch-meson "$_pkgsrc" build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|