commit:     88e14f22db3af631897395bc93ffd3c956734862
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Fri Jan  1 22:06:37 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jan  5 00:56:48 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=88e14f22

media-sound/kwave: Frameworks merged to master

Package-Manager: portage-2.2.24

 media-sound/kwave/kwave-9999.ebuild | 86 +++++++++++++++++++++++++++++++++++++
 media-sound/kwave/metadata.xml      | 14 ++++++
 2 files changed, 100 insertions(+)

diff --git a/media-sound/kwave/kwave-9999.ebuild 
b/media-sound/kwave/kwave-9999.ebuild
new file mode 100644
index 0000000..67f0146
--- /dev/null
+++ b/media-sound/kwave/kwave-9999.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="A sound editor 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}-2.tar.bz2"
+fi
+
+LICENSE="BSD GPL-2 LGPL-2
+       handbook? ( FDL-1.2 )"
+KEYWORDS=""
+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 kdbusaddons)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kinit)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       dev-qt/qtconcurrent:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       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/twolame media-sound/toolame )
+       )
+       qtmedia? ( dev-qt/qtmultimedia:5 )
+       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)
+       || ( media-gfx/imagemagick[png,svg] 
media-gfx/graphicsmagick[imagemagick,png,svg] )
+"
+RDEPEND="${COMMON_DEPEND}
+       !media-sound/kwave:4
+"
+
+DOCS=( AUTHORS CHANGES README TODO )
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_with alsa)
+               $(cmake-utils_use_with handbook DOC)
+               $(cmake-utils_use_with flac)
+               $(cmake-utils_use_with mp3)
+               $(cmake-utils_use_with vorbis OGG_VORBIS)
+               $(cmake-utils_use_with opus OGG_OPUS)
+               $(cmake-utils_use_with oss)
+               $(cmake-utils_use_with pulseaudio)
+               $(cmake-utils_use_with qtmedia QT_AUDIO)
+               $(cmake-utils_use debug)
+       )
+
+       kde5_src_configure
+}

diff --git a/media-sound/kwave/metadata.xml b/media-sound/kwave/metadata.xml
new file mode 100644
index 0000000..f055d94
--- /dev/null
+++ b/media-sound/kwave/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <herd>kde</herd>
+       <longdescription>With Kwave you can edit many sorts of wav-files 
including multi-channel files. You are able to alter and play back each channel 
on its own. Kwave also includes many plugins (most are still under development) 
to transform the wave-file in several ways and presents a graphical view with a 
complete zoom- and scroll capability.</longdescription>
+       <use>
+               <flag name="qtmedia">Enable playback via Qt5Multimedia</flag>
+               <flag name="opus">Enable Opus audio codec support</flag>
+       </use>
+       <upstream>
+               <remote-id type="sourceforge">kwave</remote-id>
+               <bugs-to>http://sourceforge.net/tracker/?group_id=6478</bugs-to>
+       </upstream>
+</pkgmetadata>

Reply via email to