wok view lximage-qt/receipt @ rev 25686

Use System category for pm-suspend entry
author Stanislas Leduc <shann@slitaz.org>
date Sat Apr 06 12:03:22 2024 +0200 (7 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lximage-qt"
4 VERSION="0.3.0"
5 CATEGORY="graphics"
6 SHORT_DESC="The image viewer and screenshot tool for LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/lximage-qt"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libexif libffi libfm libgio \
15 pcmanfm-qt pcre xorg-libX11 xorg-libXext xorg-libXfixes zlib"
16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake glib-dev libexif-dev libfm-dev \
17 xorg-libX11-dev xorg-libXfixes-dev xorg-xproto pcmanfm-qt-dev menu-cache-dev \
18 libqtxdg-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir build; cd build
31 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
32 make &&
33 make DESTDIR=$install install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -rf $fs/usr/share/lximage-qt
41 }