wok-current view qtgain/receipt @ rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qtgain"
4 VERSION="0.9.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple frontend for MP3Gain, VorbisGain, AACGain and Metaflac."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="56842-QtGain.tar.lzma"
10 WEB_SITE="https://www.linux-apps.com/content/show.php/QtGain?content=56842"
11 WGET_URL="https://web.archive.org/web/20150802150319if_/http://qt-apps.org/CONTENT/content-files/$TARBALL"
13 DEPENDS="libQtCore libQtGui libQtNetwork"
14 BUILD_DEPENDS="Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/qtgain/files/QtGain/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/QtGain/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 qmake && make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $src/bin $fs/usr
35 cp -a $src/qtgain.png $fs/usr/share/pixmaps
36 cp -a $stuff/* $fs
37 chown -R root.root $fs
38 }