Qmmp-plugins-pack: add recipe for version 1.2.0

This commit is contained in:
Gerasim Troeglazov
2017-11-28 13:19:53 +10:00
parent fe1e1dc0c3
commit dffb495681

View File

@@ -0,0 +1,67 @@
SUMMARY="Plugin pack is a set of extra plugins for Qmmp"
DESCRIPTION="Plugin List:
* MPG123 - MPEG v1/2 layer1/2/3 decoder using of libmpg123 library
* FFap - enhanced Monkey's Audio (APE) decoder (24-bit samples and embedded cue support)
* XMP - module player with use of the libxmp library
* Sample Rate Converter - resampler based on libsamplerate library
* Goom - audio visualization based on goom project
* FFVideo - video playback engine based on FFmpeg library
* History - a tool for collection information information about listened tracks"
HOMEPAGE="http://qmmp.ylsoftware.com/"
COPYRIGHT="2006-2017 Qmmp Development Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/qmmp-dev/files/qmmp-plugin-pack/qmmp-plugin-pack-$portVersion.tar.bz2"
SOURCE_DIR="qmmp-plugin-pack-$portVersion"
CHECKSUM_SHA256="194a1bb35b4f14d2806cde920c56376bf6d5e9b0ee19a0b2039e1c3bc7b70361"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
qmmp_plugin_pack$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libmpg123$secondaryArchSuffix
lib:libqmmp$secondaryArchSuffix
lib:libqmmpui$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libsamplerate$secondaryArchSuffix
lib:libtag$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libmpg123$secondaryArchSuffix
devel:libqmmp$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libsamplerate$secondaryArchSuffix
devel:libtag$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:find
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5.7
cmd:yacc
cmd:yasm
cmd:xargs
"
BUILD()
{
qmake \
DISABLED_PLUGINS+=XMP_PLUGIN \
DISABLED_PLUGINS+=GOOM_ASM \
DISABLED_PLUGINS+=FFVIDEO_PLUGIN
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Qmmp/plugins
cp -rf lib/qmmp/* $appsDir/Qmmp/plugins
}