wok view lmms/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 7364ffdaaa60 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lmms"
4 VERSION="0.4.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Linux MultiMedia Studio"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://lmms.io"
11 WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
14 xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer"
15 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \
16 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
17 libsndfile-dev libsamplerate-dev Qt4-dev phonon-dev qmake cmake pkg-config \
18 freetype-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \
24 sed '/-alpha/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
31 cmake . -DCMAKE_INSTALL_PREFIX=/usr
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share/lmms $fs/usr/share
43 rm -rf $fs/usr/share/lmms/locale
44 }