blob: 29340da85963aafbcc0a3b2874786eee822a16a1 (
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
|
# Maintainer: Manuel Coenen <manuel.coenen@gmail.com>
pkgname=timg
pkgver=1.4.2
pkgrel=1
pkgdesc="Terminal Image and Video Viewer"
arch=('any')
url="https://github.com/hzeller/timg"
license=('GPL2')
depends=('libwebp' 'libjpeg-turbo' 'libexif' 'graphicsmagick' 'ffmpeg' 'openslide')
makedepends=('cmake' 'pkgconf' 'git' 'gcc')
source=("timg-$pkgver.tar.gz::https://github.com/hzeller/timg/archive/v$pkgver.tar.gz")
sha256sums=('7607efaffbed0b65b3c824956de421b155a4f14243e7a752b19454f88bf9d563')
build() {
cd $pkgname-$pkgver
rm -rf build
mkdir build
cd build
cmake ../ \
-DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
-DWITH_VIDEO_DECODING=On \
-DWITH_VIDEO_DEVICE=On \
-DWITH_OPENSLIDE_SUPPORT=On
make
}
package() {
cd $pkgname-$pkgver/build
install -d "${pkgdir}/usr/"{bin,share/man/man1}
make install
}
|