wok-next annotate screengrab/receipt @ rev 20450

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