blob: c1ae8327544d2aa997cc5ea8a1d50d6f1bd4e2ab (
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
|
# Maintainer: easymodo <easymodofrf@gmail.com>
pkgname=qimgv-git
_pkgname=qimgv
pkgver=v1.0.1.r4.g29421a3
pkgrel=1
pkgdesc="Qt5 image viewer. Fast, configurable, easy to use. Supports video playback."
arch=('i686' 'x86_64')
url="https://github.com/easymodo/qimgv"
license=('GPL3')
depends=('qt5-base' 'qt5-imageformats' 'qt5-svg' 'mpv' 'exiv2' 'opencv')
makedepends=('git' 'cmake' 'pkgconf' 'qt5-tools' 'mpv' 'exiv2' 'opencv')
#checkdepends=()
optdepends=('kimageformats: support for more image formats'
'qt5-apng-plugin: apng support'
'qtraw-git: RAW support'
'qt5-jpegxl-image-plugin: JPEG-XL support'
'qt-avif-image-plugin-git: AVIF support')
provides=("qimgv")
conflicts=("qimgv")
source=('git+https://github.com/easymodo/qimgv.git')
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${_pkgname}"
install -d build
}
build() {
cd "${srcdir}/${_pkgname}/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}/${_pkgname}/build"
make DESTDIR=${pkgdir} install
}
|