wok-6.x view lximage-qt/receipt @ rev 25235

updated python-serial (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Jul 13 17:36:30 2022 +0100 (2022-07-13)
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 }