wok-current annotate lximage-qt/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | bdcd8803b305 |
children |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lximage-qt" |
psychomaniak@17239 | 4 VERSION="0.3.0" |
al@16833 | 5 CATEGORY="graphics" |
al@16833 | 6 SHORT_DESC="The image viewer and screenshot tool for LXQt" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="GPL2" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/lximage-qt" |
al@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@17239 | 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@16833 | 14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libexif libffi libfm libgio \ |
al@16833 | 15 pcmanfm-qt pcre xorg-libX11 xorg-libXext xorg-libXfixes zlib" |
al@16833 | 16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake glib-dev libexif-dev libfm-dev \ |
psychomaniak@17239 | 17 xorg-libX11-dev xorg-libXfixes-dev xorg-xproto pcmanfm-qt-dev menu-cache-dev \ |
psychomaniak@17239 | 18 libqtxdg-dev" |
al@16833 | 19 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24055 | 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
al@16833 | 26 # Rules to configure and make the package. |
al@16833 | 27 compile_rules() |
al@16833 | 28 { |
al@16833 | 29 mkdir build; cd build |
al@16833 | 30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 31 make && |
al@16833 | 32 make DESTDIR=$install install |
al@16833 | 33 } |
al@16833 | 34 |
al@16833 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 36 genpkg_rules() |
al@16833 | 37 { |
al@16833 | 38 cp -a $install/* $fs |
al@16833 | 39 rm -rf $fs/usr/share/lximage-qt |
al@16833 | 40 } |