diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/kwave/Manifest | 1 | ||||
-rw-r--r-- | media-sound/kwave/files/kwave-0.9.1-deps.patch | 36 | ||||
-rw-r--r-- | media-sound/kwave/files/kwave-0.9.1-qtmedia.patch | 25 | ||||
-rw-r--r-- | media-sound/kwave/kwave-0.9.1-r1.ebuild | 92 | ||||
-rw-r--r-- | media-sound/kwave/metadata.xml | 1 |
5 files changed, 155 insertions, 0 deletions
diff --git a/media-sound/kwave/Manifest b/media-sound/kwave/Manifest index b03f6f5ab76e..483826bc4776 100644 --- a/media-sound/kwave/Manifest +++ b/media-sound/kwave/Manifest @@ -1,3 +1,4 @@ DIST kwave-0.8.10-1.tar.bz2 2955781 SHA256 82f6cd2b256fbeb94fadd0b7920671e69a4ba2649b9bcb2bdaab8dc834b757bc SHA512 c6421b9ccb03e198cffd745e7f77553014f9148930dfc09e59a5ff02ba5c36cd17ad2835f76033b3edd517f006bd164fd1def6fa0f7189177c62012acbfc380a WHIRLPOOL f325a160887c33589faf0316adc34740096f67de288d56506c57da74357379ab8866d3b5ee0d31537fbc6ac250f67612f18f6b2d5ea8ec4c28d73c3da5251566 DIST kwave-0.8.12-1.tar.bz2 3692668 SHA256 88c1fb9fd55b6a7fe230d3257268f8c91d5b6ddd6106b4a1d791bb671e6d4b0b SHA512 1ee182054b2e35aa6e40c8c8a51589eda615a019578f41b001d470bdc1809970e5bd78772c4c87c5a482dbe72e08b5ae5992457e9aa83fbb92225408e9f3f10d WHIRLPOOL 0934e743372a00b92a9fd3ec697d68ea267b41bf491dedbc72a139ed42da7b7db0bd4cfad9355b9498a06865b672cd87b2d8c94959fd45a45a7cf509a0889b2a DIST kwave-0.8.99-2.tar.bz2 4111307 SHA256 94ad5d5d526714c5c496cf2f83d4e1aa34081997f574b465cd1972e5cba377f2 SHA512 390c08a2b8e540deb15d59a97dd210c6ce051cb2faa2002f60fb9ba03460978c633050688c16ed6e12442c40eef57710aa4ac7268964a045e35a2ac5c637cbdc WHIRLPOOL 66ade430c4f29934fd41576368fa8ff685c3cae5ebf14a006496641373efdb05aa1b6327522e76b04ba95b847f8bad97390830d13afe72c77b9e6e5ec41f2f5c +DIST kwave-0.9.1-1.tar.bz2 3378570 SHA256 5698bc0c3970b50ad47de6c8f9f2fae3921b7403eec341d7117fa732a9f2fc1f SHA512 3da2065cd81434f3ab78d96c65e7efadbd02e7fa96da13a24847d4172043c68115cd80f9a6e7babf5929a921300774d1650476405a0108cd543f5533a9192204 WHIRLPOOL 78aa6e5a270eae137698b8df88bec1cf09eee02d6cbd345db83eb2cd5193ad10ede315ff0455efb89d4eac54343d594c951f795863c5c6bba9adc3e153ff5a28 diff --git a/media-sound/kwave/files/kwave-0.9.1-deps.patch b/media-sound/kwave/files/kwave-0.9.1-deps.patch new file mode 100644 index 000000000000..789896261e6d --- /dev/null +++ b/media-sound/kwave/files/kwave-0.9.1-deps.patch @@ -0,0 +1,36 @@ +commit e8d391eb7c3d2f4835705990d1ffaaa9084c31bb +Author: Thomas Eschenbacher <Thomas.Eschenbacher@gmx.de> +Date: Mon Feb 29 06:01:02 2016 +0100 + + removed unneeded build and runtime dependencies + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e669aff..eeaa6c4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -211,13 +211,9 @@ FIND_PACKAGE(KF5 REQUIRED COMPONENTS + Crash + DBusAddons + DocTools +- GuiAddons + I18n + IconThemes +- Init + KIO +- Notifications +- Service + TextWidgets + XmlGui + WidgetsAddons +diff --git a/kwave/CMakeLists.txt b/kwave/CMakeLists.txt +index 8b2f6a3..4c72325 100644 +--- a/kwave/CMakeLists.txt ++++ b/kwave/CMakeLists.txt +@@ -92,7 +92,6 @@ TARGET_LINK_LIBRARIES(kwave_core + KF5::I18n + KF5::IconThemes + KF5::KIOFileWidgets +- KF5::Service + KF5::XmlGui + ) + diff --git a/media-sound/kwave/files/kwave-0.9.1-qtmedia.patch b/media-sound/kwave/files/kwave-0.9.1-qtmedia.patch new file mode 100644 index 000000000000..86948b403e15 --- /dev/null +++ b/media-sound/kwave/files/kwave-0.9.1-qtmedia.patch @@ -0,0 +1,25 @@ +commit 6fc0b2732f836e5511a5164dc3f78e79c2d3ee4d +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Tue Mar 8 22:55:40 2016 +0100 + + Make Qt Multimedia optional + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index eeaa6c4..c8f23f7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -180,13 +180,13 @@ SET(CMAKE_AUTOMOC_RELAXED_MODE FALSE) + FIND_PACKAGE(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS + Concurrent + Core +- Multimedia + Widgets + ) + + # Qt Multimedia support + OPTION(WITH_QT_AUDIO "enable playback via Qt Multimedia [default=on]" ON) + IF (WITH_QT_AUDIO) ++ FIND_PACKAGE(Qt5Multimedia ${QT_MIN_VERSION} CONFIG REQUIRED) + SET(HAVE_QT_AUDIO_SUPPORT on) + ENDIF (WITH_QT_AUDIO) + diff --git a/media-sound/kwave/kwave-0.9.1-r1.ebuild b/media-sound/kwave/kwave-0.9.1-r1.ebuild new file mode 100644 index 000000000000..51fbdb1d0e85 --- /dev/null +++ b/media-sound/kwave/kwave-0.9.1-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +inherit kde5 + +DESCRIPTION="A sound editor built on KDE Frameworks 5 that can edit many types of audio files" +HOMEPAGE="http://kwave.sourceforge.net/" +if [[ ${KDE_BUILD_TYPE} != live ]]; then + SRC_URI="mirror://sourceforge/${PN}/${P}-1.tar.bz2" +fi + +LICENSE=" + CC-BY-SA-3.0 CC0-1.0 GPL-2+ LGPL-2+ + handbook? ( FDL-1.2 ) + opus? ( BSD-2 ) +" +KEYWORDS="~amd64 ~x86" +IUSE="alsa flac mp3 +qtmedia opus oss pulseaudio vorbis" + +COMMON_DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + media-libs/audiofile:= + >=sci-libs/fftw-3 + media-libs/libsamplerate + alsa? ( media-libs/alsa-lib ) + flac? ( media-libs/flac ) + mp3? ( + media-libs/id3lib + media-libs/libmad + || ( media-sound/lame media-sound/toolame media-sound/twolame ) + ) + qtmedia? ( $(add_qt_dep qtmultimedia) ) + opus? ( + media-libs/libogg + media-libs/opus + ) + pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) +" +DEPEND="${COMMON_DEPEND} + $(add_kdeapps_dep poxml) + $(add_qt_dep qtconcurrent) + || ( media-gfx/imagemagick[png,svg] media-gfx/graphicsmagick[imagemagick,png,svg] ) + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + !media-sound/kwave:4 +" + +DOCS=( AUTHORS CHANGES LICENSES README TODO ) + +PATCHES=( + "${FILESDIR}/${P}-deps.patch" + "${FILESDIR}/${P}-qtmedia.patch" +) + +src_configure() { + local mycmakeargs=( + -DDEBUG=$(usex debug) + -DWITH_ALSA=$(usex alsa) + -DWITH_DOC=$(usex handbook) + -DWITH_FLAC=$(usex flac) + -DWITH_MP3=$(usex mp3) + -DWITH_OGG_VORBIS=$(usex vorbis) + -DWITH_OGG_OPUS=$(usex opus) + -DWITH_OSS=$(usex oss) + -DWITH_PULSEAUDIO=$(usex pulseaudio) + -DWITH_QT_AUDIO=$(usex qtmedia) + ) + + kde5_src_configure +} diff --git a/media-sound/kwave/metadata.xml b/media-sound/kwave/metadata.xml index 789280cb80a9..84651615544d 100644 --- a/media-sound/kwave/metadata.xml +++ b/media-sound/kwave/metadata.xml @@ -9,6 +9,7 @@ <use> <flag name="opus">Enable Opus audio codec support</flag> <flag name="phonon">Enable playback via Phonon</flag> + <flag name="qtmedia">Enable playback via Qt5Multimedia</flag> </use> <upstream> <remote-id type="sourceforge">kwave</remote-id> |