From c825798c24c04b50722cc6c9a11d412d61de5955 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Wed, 13 Feb 2019 22:28:34 +1000 Subject: [PATCH] qmmp-plugin-pack: bump version --- ...3.recipe => qmmp_plugin_pack-1.3.0.recipe} | 35 +++++++++++-------- 1 file changed, 20 insertions(+), 15 deletions(-) rename media-plugins/qmmp-plugin-pack/{qmmp_plugin_pack-1.2.3.recipe => qmmp_plugin_pack-1.3.0.recipe} (69%) diff --git a/media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.2.3.recipe b/media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.3.0.recipe similarity index 69% rename from media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.2.3.recipe rename to media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.3.0.recipe index a488bd064..37b83c303 100644 --- a/media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.2.3.recipe +++ b/media-plugins/qmmp-plugin-pack/qmmp_plugin_pack-1.3.0.recipe @@ -1,18 +1,16 @@ 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" + * FFVideo - video playback engine based on FFmpeg library" HOMEPAGE="http://qmmp.ylsoftware.com/" -COPYRIGHT="2006-2018 Qmmp Development Team" +COPYRIGHT="2006-2019 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" -CHECKSUM_SHA256="aec1af63feda672a59427bc399792a59682d4d1b9d1af280702ae36a0e09665e" +CHECKSUM_SHA256="4abb4cff9c3ef5abcc8e80279963f2423cb62e5d46f5c4751acd81f1ef42c82a" SOURCE_DIR="qmmp-plugin-pack-$portVersion" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -26,7 +24,6 @@ REQUIRES=" lib:libavcodec$secondaryArchSuffix lib:libavformat$secondaryArchSuffix lib:libavutil$secondaryArchSuffix - lib:libmpg123$secondaryArchSuffix lib:libqmmp$secondaryArchSuffix lib:libqmmpui$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix @@ -34,25 +31,27 @@ REQUIRES=" lib:libQt5Widgets$secondaryArchSuffix lib:libsamplerate$secondaryArchSuffix lib:libtag$secondaryArchSuffix + lib:libxmp$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libavcodec$secondaryArchSuffix devel:libavformat$secondaryArchSuffix - devel:libmpg123$secondaryArchSuffix devel:libqmmp$secondaryArchSuffix - devel:libQt5Core$secondaryArchSuffix >= 5.7 + devel:libQt5Core$secondaryArchSuffix >= 5.12 devel:libsamplerate$secondaryArchSuffix devel:libtag$secondaryArchSuffix + devel:libxmp$secondaryArchSuffix " BUILD_PREREQUIRES=" + cmd:cmake cmd:find cmd:flex cmd:gcc$secondaryArchSuffix + cmd:lrelease$secondaryArchSuffix >= 5.12 cmd:make cmd:pkg_config$secondaryArchSuffix - cmd:qmake$secondaryArchSuffix >= 5.7 cmd:xargs cmd:yacc cmd:yasm @@ -60,15 +59,21 @@ BUILD_PREREQUIRES=" BUILD() { - qmake \ - DISABLED_PLUGINS+=XMP_PLUGIN \ - DISABLED_PLUGINS+=GOOM_ASM \ - DISABLED_PLUGINS+=FFVIDEO_PLUGIN + mkdir -p build + cd build + + cmake .. $cmakeDirArgs \ + -DCMAKE_INSTALL_PREFIX=$appsDir/Qmmp \ + -DCMAKE_INSTALL_BINDIR=$appsDir/Qmmp \ + -DPLUGIN_DIR=$appsDir/Qmmp/plugins \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DUSE_FFVIDEO=OFF + make $jobArgs } INSTALL() { - mkdir -p $appsDir/Qmmp/plugins - cp -rf lib/qmmp/* $appsDir/Qmmp/plugins + cd build + make install }