summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-11 17:55:33 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-11 17:56:07 +0100
commit5d778c4e74c83190d90e3817e1d8ceb7ef1ea0d3 (patch)
tree117ae012cb73b0e553e8909665e2909fb28497c5 /kde-apps
parentdev-python/flake8: fix pycodestyle dependency (diff)
downloadgentoo-5d778c4e74c83190d90e3817e1d8ceb7ef1ea0d3.tar.gz
gentoo-5d778c4e74c83190d90e3817e1d8ceb7ef1ea0d3.tar.bz2
gentoo-5d778c4e74c83190d90e3817e1d8ceb7ef1ea0d3.zip
media-sound/kwave -> kde-apps/kwave
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kwave/Manifest1
-rw-r--r--kde-apps/kwave/kwave-0.9.2.ebuild88
-rw-r--r--kde-apps/kwave/metadata.xml13
3 files changed, 102 insertions, 0 deletions
diff --git a/kde-apps/kwave/Manifest b/kde-apps/kwave/Manifest
new file mode 100644
index 00000000000..3f717662692
--- /dev/null
+++ b/kde-apps/kwave/Manifest
@@ -0,0 +1 @@
+DIST kwave-0.9.2-1.tar.bz2 3424851 SHA256 e5a01ded2c6d783dd882024b21ba0ba625b84ea8349dceb400d2314683019657 SHA512 8ecfacd1cc6159c64b95e4600bdb91b634c2e69baa56499837a165d8fe9b6ecca42ca9d20655ac1da6ad70b02bcf763cb1dc30086f0dcb080d7e57a60f35388f WHIRLPOOL 9f01a5c8336bafe3d69c892a6b50d2f2e64f5d0f72fe5935020f545105b4df642116b8fd676a48b3e85f41b1165187db78461620e43169c7c8dd935f4f32eaea
diff --git a/kde-apps/kwave/kwave-0.9.2.ebuild b/kde-apps/kwave/kwave-0.9.2.ebuild
new file mode 100644
index 00000000000..62de9887d39
--- /dev/null
+++ b/kde-apps/kwave/kwave-0.9.2.ebuild
@@ -0,0 +1,88 @@
+# 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="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 kservice)
+ $(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 )
+
+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/kde-apps/kwave/metadata.xml b/kde-apps/kwave/metadata.xml
new file mode 100644
index 00000000000..61824ce786d
--- /dev/null
+++ b/kde-apps/kwave/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <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="opus">Enable Opus audio codec support</flag>
+ <flag name="qtmedia">Enable playback via Qt5Multimedia</flag>
+ </use>
+</pkgmetadata>