wok-next diff screengrab/receipt @ rev 20151

uclibc-cross-compiler-x86_64: receipt v2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 14:57:04 2017 +0100 (2017-11-01)
parents
children c0521c689857
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/screengrab/receipt	Wed Nov 01 14:57:04 2017 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="screengrab"
     1.7 +VERSION="1.97"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Crossplatform tool for fast making screenshots"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/QtDesktop/screengrab"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15 +WGET_URL="https://github.com/QtDesktop/screengrab/releases/download/$VERSION/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake qt5-dev mesa17-dev kwindowsystem-dev libqtxdg-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	mkdir build; cd build
    1.21 +	cmake \
    1.22 +		-DCMAKE_BUILD_TYPE=Release \
    1.23 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.24 +		.. &&
    1.25 +	make &&
    1.26 +	make install
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	copy @std
    1.31 +	DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras xorg-libX11 \
    1.32 +	xorg-libXext xorg-libxcb"
    1.33 +}