wok-current view lximage-qt/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | bdcd8803b305 |
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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build; cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 rm -rf $fs/usr/share/lximage-qt
40 }