SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lmms"

# SliTaz package receipt.

PACKAGE="lmms"
VERSION="0.4.13"
CATEGORY="multimedia"
SHORT_DESC="The Linux MultiMedia Studio"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://lmms.io"
WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz"

DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer"
BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \
libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
libsndfile-dev libsamplerate-dev Qt4-dev phonon-dev qmake cmake pkg-config \
freetype-dev"

current_version()
{
    wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
    cmake . -DCMAKE_INSTALL_PREFIX=/usr
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/lmms $fs/usr/share
    rm -rf $fs/usr/share/lmms/locale
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)