wok-6.x annotate lmms/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 1df6fa555414 |
children | 8ea0030e77cb |
rev | line source |
---|---|
slaxemulator@6933 | 1 # SliTaz package receipt. |
slaxemulator@6933 | 2 |
slaxemulator@6933 | 3 PACKAGE="lmms" |
slaxemulator@12336 | 4 VERSION="0.4.13" |
slaxemulator@6933 | 5 CATEGORY="multimedia" |
slaxemulator@6933 | 6 SHORT_DESC="The Linux MultiMedia Studio" |
slaxemulator@6933 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@24990 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15001 | 10 WEB_SITE="http://lmms.sourceforge.net/" |
pascal@24990 | 11 WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz" |
pascal@15001 | 12 |
pascal@12353 | 13 DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \ |
psychomaniak@19584 | 14 xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer" |
pascal@12353 | 15 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \ |
pascal@12353 | 16 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \ |
psychomaniak@19584 | 17 libsndfile-dev libsamplerate-dev Qt4-dev phonon-dev qmake cmake pkg-config \ |
pascal@12353 | 18 freetype-dev" |
slaxemulator@6933 | 19 |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24288 | 22 wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \ |
pascal@24288 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24288 | 24 } |
pascal@24288 | 25 |
slaxemulator@6933 | 26 # Rules to configure and make the package. |
slaxemulator@6933 | 27 compile_rules() |
slaxemulator@6933 | 28 { |
slaxemulator@6933 | 29 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake |
slaxemulator@6933 | 30 cmake . -DCMAKE_INSTALL_PREFIX=/usr |
slaxemulator@12336 | 31 make && make DESTDIR=$DESTDIR install |
slaxemulator@6933 | 32 } |
slaxemulator@6933 | 33 |
slaxemulator@6933 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6933 | 35 genpkg_rules() |
slaxemulator@6933 | 36 { |
al@17261 | 37 mkdir -p $fs/usr/share |
al@17261 | 38 |
al@17261 | 39 cp -a $install/usr/bin $fs/usr |
al@17261 | 40 cp -a $install/usr/lib $fs/usr |
al@17261 | 41 cp -a $install/usr/share/lmms $fs/usr/share |
al@17261 | 42 rm -rf $fs/usr/share/lmms/locale |
slaxemulator@6933 | 43 } |