qmmp-plugin-pack: fix build

This commit is contained in:
Gerasim Troeglazov
2025-03-09 20:26:50 +10:00
parent 3108a36880
commit 28da1c0c40

View File

@@ -1,14 +1,14 @@
SUMMARY="Plugin pack is a set of extra plugins for Qmmp" SUMMARY="Plugin pack is a set of extra plugins for Qmmp"
DESCRIPTION="Plugin List: DESCRIPTION="Plugin List:
* FFap - enhanced Monkey's Audio (APE) decoder (24-bit samples and embedded cue support) * FFap - enhanced Monkey's Audio (APE) decoder (24-bit samples and embedded cue support)
* XMP - module player with use of the libxmp library * modplug - module player with use of the libmodplug library
* Sample Rate Converter - resampler based on libsamplerate library * Sample Rate Converter - resampler based on libsamplerate library
* Goom - audio visualization based on goom project * Goom - audio visualization based on goom project
* FFVideo - video playback engine based on FFmpeg library" * FFVideo - video playback engine based on FFmpeg library"
HOMEPAGE="http://qmmp.ylsoftware.com/" HOMEPAGE="http://qmmp.ylsoftware.com/"
COPYRIGHT="2006-2024 Qmmp Development Team" COPYRIGHT="2006-2024 Qmmp Development Team"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="2"
SOURCE_URI="https://qmmp.ylsoftware.com/files/qmmp-plugin-pack/2.2/qmmp-plugin-pack-$portVersion.tar.bz2" SOURCE_URI="https://qmmp.ylsoftware.com/files/qmmp-plugin-pack/2.2/qmmp-plugin-pack-$portVersion.tar.bz2"
CHECKSUM_SHA256="bfb19dfc657a3b2d882bb1cf4069551488352ae920d8efac391d218c00770682" CHECKSUM_SHA256="bfb19dfc657a3b2d882bb1cf4069551488352ae920d8efac391d218c00770682"
SOURCE_DIR="qmmp-plugin-pack-$portVersion" SOURCE_DIR="qmmp-plugin-pack-$portVersion"
@@ -38,8 +38,8 @@ REQUIRES="
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel haiku${secondaryArchSuffix}_devel
qt6_tools${secondaryArchSuffix}_devel qt6_tools${secondaryArchSuffix}_devel
devel:libavcodec$secondaryArchSuffix devel:libavcodec$secondaryArchSuffix >= 60
devel:libavformat$secondaryArchSuffix devel:libavformat$secondaryArchSuffix >= 60
devel:libmodplug$secondaryArchSuffix devel:libmodplug$secondaryArchSuffix
devel:libqmmp$secondaryArchSuffix devel:libqmmp$secondaryArchSuffix
devel:libQt6Core$secondaryArchSuffix devel:libQt6Core$secondaryArchSuffix
@@ -63,21 +63,17 @@ BUILD_PREREQUIRES="
BUILD() BUILD()
{ {
mkdir -p build cmake -S . -B build \ \
cd build -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_DATADIR=$dataDir \
cmake .. $cmakeDirArgs \
-DCMAKE_INSTALL_PREFIX=$appsDir/Qmmp \
-DCMAKE_INSTALL_BINDIR=$appsDir/Qmmp \
-DPLUGIN_DIR=$appsDir/Qmmp/plugins \ -DPLUGIN_DIR=$appsDir/Qmmp/plugins \
-DCMAKE_BUILD_TYPE=RELEASE \
-DUSE_FFVIDEO=OFF -DUSE_FFVIDEO=OFF
make $jobArgs cmake --build build $jobArgs
} }
INSTALL() INSTALL()
{ {
cd build make -C build install
make install rm -rf $dataDir
} }