wok-current annotate hydrogen/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (5 days ago)
parents ba7cbdb5749c
children
rev   line source
slaxemulator@6811 1 # SliTaz package receipt.
slaxemulator@6811 2
slaxemulator@6811 3 PACKAGE="hydrogen"
slaxemulator@9302 4 VERSION="0.9.5"
slaxemulator@6811 5 CATEGORY="multimedia"
slaxemulator@6811 6 MAINTAINER="jozee@slitaz.org"
pascal@15000 7 LICENSE="GPL2"
slaxemulator@6811 8 SHORT_DESC="Advanced Drum Machine"
pascal@24894 9 WEB_SITE="https://github.com/hydrogen-music/hydrogen"
pascal@15000 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15000 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15000 12 TAGS="multimedia"
pascal@15000 13
pascal@11589 14 DEPENDS="libarchive liblrdf libQtCore libQtGui libQtXml \
pascal@11589 15 jack-audio-connection-kit libsndfile"
pascal@11589 16 BUILD_DEPENDS="scons libarchive-dev liblrdf-dev Qt4-dev \
pascal@11589 17 jack-audio-connection-kit jack-audio-connection-kit-dev \
pascal@11589 18 flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \
monghitri@13992 19 ladspa-dev raptor-dev pkg-config subversion"
slaxemulator@6811 20
pascal@24412 21 # What is the latest version available today?
pascal@24412 22 current_version()
pascal@24412 23 {
pascal@24412 24 wget -O - https://sourceforge.net/projects/hydrogen/files/Hydrogen/ 2>/dev/null | \
pascal@24412 25 sed '/scope="row/!d;s|.*/Hydrogen/||;s|%20.*||;q'
pascal@24412 26 }
pascal@24412 27
slaxemulator@6811 28 # Rules to configure and make the package.
slaxemulator@13110 29 compile_rules()
slaxemulator@13110 30 {
slaxemulator@13110 31 cd $src
slaxemulator@13110 32 export QTDIR=/usr
slaxemulator@13110 33 mkdir -p $DESTDIR
slaxemulator@13110 34 scons prefix=/usr libarchive=1
slaxemulator@13110 35 scons -k DESTDIR=$DESTDIR install
slaxemulator@6811 36 }
slaxemulator@6811 37
slaxemulator@6811 38 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6811 39 genpkg_rules()
slaxemulator@6811 40 {
slaxemulator@13110 41 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15000 42 cp -a $install/usr/bin $fs/usr
pascal@15000 43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
slaxemulator@6811 44 }