wok-next view screengrab/receipt @ rev 20428
Port changes from cooking wok: fake-sane, sane-backends.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:17:46 2018 +0200 (2018-01-24) |
parents | |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="screengrab"
4 VERSION="1.97"
5 CATEGORY="utilities"
6 SHORT_DESC="Crossplatform tool for fast making screenshots"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/QtDesktop/screengrab"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/QtDesktop/screengrab/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake qt5-dev mesa17-dev kwindowsystem-dev libqtxdg-dev"
16 compile_rules() {
17 mkdir build; cd build
18 cmake \
19 -DCMAKE_BUILD_TYPE=Release \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 .. &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras xorg-libX11 \
29 xorg-libXext xorg-libxcb"
30 }