diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-07-22 14:49:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-07-22 14:49:16 +0100 |
commit | eea607f851e8d1659e8cd50facfefe00e8835767 (patch) | |
tree | fecc0e22d3f95c92da457a14bf266b1e668cf8dc /media-sound | |
parent | fb465e879075b8ae73954a3503b3e669f83a7158 (diff) |
make little cleanup
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/audacity/Manifest | 2 | ||||
-rw-r--r-- | media-sound/audacity/audacity-2.1.2.ebuild | 103 | ||||
-rw-r--r-- | media-sound/audacity/files/audacity-1.3.13-automagic.patch | 61 | ||||
-rw-r--r-- | media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch | 41 | ||||
-rw-r--r-- | media-sound/deadbeef/Manifest | 1 | ||||
-rw-r--r-- | media-sound/deadbeef/deadbeef-0.6.1.ebuild | 182 | ||||
-rw-r--r-- | media-sound/deadbeef/files/desktop-2.patch | 32 |
7 files changed, 0 insertions, 422 deletions
diff --git a/media-sound/audacity/Manifest b/media-sound/audacity/Manifest deleted file mode 100644 index 466a2ee5..00000000 --- a/media-sound/audacity/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST audacity-manual-2.1.2.zip 20533055 SHA256 5c80ae719e0314011443cf5caaa7e27d5733bf70b1b1549f0c5ef8a4f71e5c0b SHA512 f4313c50f12259838a869a135e6c1366e0d746657654a31b5f05ed3a6e330d67b4567db7533df54d461873813982c47b48b463ee607c88fe0f018c9f75f06fe8 WHIRLPOOL 64e56177e6584a9094c1690e3de08097e1f1da6f80cf4bc98c6671cf0517cd1de3a6e9d73ba599ce9387571d83834a9b9c38faa13414e0c80dd41512e6a74464 -DIST audacity-minsrc-2.1.2.tar.xz 7233500 SHA256 0df79fe0647a4cd68e46ad40d6e73d2f8eaae413b6d8b186ac036be3554d7e44 SHA512 46bc68825d29e88b14a674749532345ab63673ea1b85ad0d2a1b72b0974c74d2175e0ef307dad735592d18e56c1e0c65f994f4ee05d9e0f1aec194cd02c930da WHIRLPOOL 7c5cb69e38154de21a88aae5e4710035e459ca093c7d116bb96bd99bdced2526d3c727c8930bb80faad78c20f8d9b6ce801c5858f370b53c1412373956b39b3f diff --git a/media-sound/audacity/audacity-2.1.2.ebuild b/media-sound/audacity/audacity-2.1.2.ebuild deleted file mode 100644 index 81c0e3b2..00000000 --- a/media-sound/audacity/audacity-2.1.2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils wxwidgets - -MY_P="${PN}-minsrc-${PV}" -DESCRIPTION="Free crossplatform audio editor" -HOMEPAGE="http://web.audacityteam.org/" -SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${MY_P}.tar.xz - doc? ( https://dev.gentoo.org/~polynomial-c/dist/${PN}-manual-${PV}.zip )" - # wget doesn't seem to work on FossHub links, so we mirror - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="alsa cpu_flags_x86_sse doc ffmpeg +flac id3tag jack +ladspa +lame libav - +lv2 mad +midi nls +portmixer sbsms +soundtouch twolame vamp +vorbis +vst" -RESTRICT="test" - -RDEPEND=">=app-arch/zip-2.3 - dev-libs/expat - >=media-libs/libsndfile-1.0.0 - =media-libs/portaudio-19* - media-libs/soxr - x11-libs/wxGTK:3.0[X] - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( libav? ( media-video/libav:= ) - !libav? ( >=media-video/ffmpeg-1.2:= ) ) - flac? ( >=media-libs/flac-1.2.0[cxx] ) - id3tag? ( media-libs/libid3tag ) - jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 ) - lame? ( >=media-sound/lame-3.70 ) - lv2? ( media-libs/lv2 ) - mad? ( >=media-libs/libmad-0.14.2b ) - midi? ( media-libs/portmidi ) - sbsms? ( media-libs/libsbsms ) - soundtouch? ( >=media-libs/libsoundtouch-1.3.1 ) - twolame? ( media-sound/twolame ) - vamp? ( >=media-libs/vamp-plugin-sdk-2.0 ) - vorbis? ( >=media-libs/libvorbis-1.0 )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -REQUIRED_USE="soundtouch? ( midi )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}/${PN}-2.1.2-fix-c++14.patch" -} - -src_configure() { - WX_GTK_VER="3.0" - need-wxwidgets unicode - - # * always use system libraries if possible - # * options listed in the order that configure --help lists them - econf \ - $(use_enable nls) \ - --enable-unicode \ - $(use_enable cpu_flags_x86_sse sse) \ - --disable-dynamic-loading \ - --enable-nyquist \ - $(use_enable ladspa) \ - $(use_enable vst) \ - --with-wx-version=${WX_GTK_VER} \ - --with-expat=system \ - $(use_with ffmpeg) \ - $(use_with lame) \ - $(use_with flac libflac) \ - $(use_with id3tag libid3tag) \ - $(use_with mad libmad) \ - $(use_with sbsms) \ - --with-libsndfile=system \ - $(use_with soundtouch) \ - --with-libsoxr=system \ - $(use_with twolame libtwolame) \ - $(use_with vamp libvamp) \ - $(use_with vorbis libvorbis) \ - $(use_with lv2) \ - --with-portaudio \ - $(use_with midi) \ - --with-widgetextra=local \ - $(use_with portmixer) -# $(use_with alsa) \ -# $(use_with jack) -} - -src_install() { - emake DESTDIR="${D}" install - - # Remove bad doc install - rm -rf "${D}"/usr/share/doc - - # Install our docs - dodoc README.txt - - use doc && dohtml -r "${WORKDIR}"/help/manual -} diff --git a/media-sound/audacity/files/audacity-1.3.13-automagic.patch b/media-sound/audacity/files/audacity-1.3.13-automagic.patch deleted file mode 100644 index 4e7c2917..00000000 --- a/media-sound/audacity/files/audacity-1.3.13-automagic.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- audacity-src-1.3.13-beta.orig/configure.in -+++ audacity-src-1.3.13-beta/configure.in -@@ -173,6 +173,9 @@ - lib_preference=$withval, - lib_preference="system local") - -+AC_ARG_WITH([alsa], AS_HELP_STRING([--without-alsa], [Build without alsa library (default: test)])) -+AC_ARG_WITH([jack], AS_HELP_STRING([--without-jack], [Build without jack library (default: test)])) -+ - dnl AC_ARG_WITH(wx-version, - dnl [AS_HELP_STRING([--with-wx-version], - dnl [select wxWidgets version (if both installed) [2.8,]])], -@@ -574,13 +577,21 @@ - ;; - *) - dnl Unix -- AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no) -- if [[ $have_alsa = "yes" ]] ; then -- LIBS="$LIBS -lasound" -- fi -- PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no) -- if [[ $have_jack = "yes" ]] ; then -- LIBS="$LIBS $JACK_LIBS" -+ if test "x$with_alsa" != "xno"; then -+ AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no) -+ if [[ $have_alsa = "yes" ]] ; then -+ LIBS="$LIBS -lasound" -+ else -+ AC_MSG_WARN([Support for alsa not available]) -+ fi -+ fi -+ if test "x$with_jack" != "xno"; then -+ PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no) -+ if [[ $have_jack = "yes" ]] ; then -+ LIBS="$LIBS $JACK_LIBS" -+ else -+ AC_MSG_WARN([Support for jack not available]) -+ fi - fi - AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm) - if [[ $have_asihpi = "yes" ]] ; then ---- audacity-src-1.3.13-beta.orig/lib-src/portmixer/configure.ac -+++ audacity-src-1.3.13-beta/lib-src/portmixer/configure.ac -@@ -31,6 +31,8 @@ - [AC_SUBST( cflags, ["$cflags -g"] ) AC_MSG_RESULT(yes)], - [AC_SUBST( cflags, ["$cflags -O2"] ) AC_MSG_RESULT(no)]) - -+AC_ARG_WITH([alsa], AC_HELP_STRING([--without-alsa], [Build without alsa library (default: test)])) -+ - # - # Check for portaudio path - # -@@ -133,7 +135,7 @@ - have_support=yes - fi - --if [[ $have_alsa = "yes" ]] ; then -+if [[ $have_alsa = "yes" -a "x$with_alsa" != "xno" ]] ; then - AC_MSG_NOTICE([Including support for ALSA]) - AC_DEFINE(PX_USE_LINUX_ALSA) - objects="$objects px_linux_alsa.o" diff --git a/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch b/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch deleted file mode 100644 index 32bcf42f..00000000 --- a/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch +++ /dev/null @@ -1,41 +0,0 @@ -Fix building with C++14, which errors out due to bool -> T* conversions -See also: https://bugs.gentoo.org/show_bug.cgi?id=592448 - -Patch by OpenSUSE - -Index: src/effects/vamp/LoadVamp.cpp -=================================================================== ---- src/effects/vamp/LoadVamp.cpp.orig -+++ src/effects/vamp/LoadVamp.cpp -@@ -266,7 +266,7 @@ Plugin *VampEffectsModule::FindPlugin(co - Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here - if (!vp) - { -- return false; -+ return NULL; - } - - // We limit the listed plugin outputs to those whose results can -Index: src/import/ImportFLAC.cpp -=================================================================== ---- src/import/ImportFLAC.cpp.orig -+++ src/import/ImportFLAC.cpp -@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open - int cnt; - wxFile binaryFile; - if (!binaryFile.Open(filename)) { -- return false; // File not found -+ return NULL; // File not found - } - - #ifdef USE_LIBID3TAG -@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open - - if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) { - // File is not a FLAC file -- return false; -+ return NULL; - } - - // Open the file for import - diff --git a/media-sound/deadbeef/Manifest b/media-sound/deadbeef/Manifest deleted file mode 100644 index c8a99ba9..00000000 --- a/media-sound/deadbeef/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST deadbeef-0.6.1.tar.bz2 3429924 SHA256 362b7d496eca487a09fa919e1b03ffb3c01034f1e2b05f09ea5a47aaa2f0af45 SHA512 0812f2d6b2ebc2ef1e65af9912546fa769e0e6d090f15cf3f2c4170bfa5aab03545cd63f26dcdcde905416801c0b56bd190cd1792f29eabaa318db212db99f90 WHIRLPOOL 2ac6f4abd70625c4f0898cb07e7b5ef645755136aee4b424af5e9d11c00b290dc75a467288e45bf35f2d25fc51fd76c12c58a58c966ea6fdf9ae4e1cea512339 diff --git a/media-sound/deadbeef/deadbeef-0.6.1.ebuild b/media-sound/deadbeef/deadbeef-0.6.1.ebuild deleted file mode 100644 index c4cd4fe0..00000000 --- a/media-sound/deadbeef/deadbeef-0.6.1.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit fdo-mime gnome2-utils eutils versionator - -MY_PV="$(replace_version_separator 3 '-')" - -SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.bz2 - http://sourceforge.net/projects/${PN}/files/${PN}-${MY_PV}.tar.bz2/download -> ${PN}-${MY_PV}.tar.bz2" -KEYWORDS="x86 amd64" - -DESCRIPTION="foobar2k-like music player" -HOMEPAGE="http://deadbeef.sourceforge.net/" - -LICENSE="GPL-2 - LGPL-2.1 - ZLIB - psf? ( BSD XMAME ) - dumb? ( DUMB-0.9.2 ) - shn? ( shorten )" -SLOT="0" -IUSE="adplug aac alac alsa psf ape cdda cover cover-imlib2 dts dumb converter curl ffmpeg flac gme - hotkeys lastfm m3u midi mms mp3 musepack nls notify nullout oss pulseaudio rpath mono2stereo pltbrowser - shellexec shn sid sndfile src static supereq threads tta vorbis vtx wavpack zip gtk3 +gtk2 wma" - -REQUIRED_USE=" - cover? ( curl ) - lastfm? ( curl ) - || ( alsa oss pulseaudio nullout )" - -LANGS="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg - lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW" - -for lang in ${LANGS}; do - IUSE+=" linguas_${lang}" -done - -RDEPEND="aac? ( media-libs/faad2 ) - adplug? ( media-libs/adplug ) - alsa? ( media-libs/alsa-lib ) - alac? ( media-libs/faad2 ) - cdda? ( >=dev-libs/libcdio-0.90 media-libs/libcddb ) - cover? ( media-libs/imlib2 ) - ffmpeg? ( !media-plugins/deadbeef-ffmpeg >=virtual/ffmpeg-9 ) - flac? ( media-libs/flac ) - gtk2? ( x11-libs/gtk+:2 x11-libs/gtkglext ) - gtk3? ( x11-libs/gtk+:3 ) - notify? ( sys-apps/dbus ) - midi? ( media-sound/timidity-freepats ) - mms? ( media-libs/libmms ) - mp3? ( media-libs/libmad ) - musepack? ( media-sound/musepack-tools ) - pulseaudio? ( media-sound/pulseaudio ) - sndfile? ( media-libs/libsndfile ) - src? ( media-libs/libsamplerate ) - vorbis? ( media-libs/libvorbis ) - wavpack? ( media-sound/wavpack ) - zip? ( dev-libs/libzip - sys-libs/zlib ) - curl? ( net-misc/curl )" - -DEPEND=" - dev-util/intltool - ${RDEPEND}" - -QA_TEXTRELS="usr/lib/deadbeef/ffap.so.0.0.0" - -S="${WORKDIR}/${PN}-${MY_PV}" - -pkg_setup() { - if use psf || use dumb || use shn && use static ; then - die "ao/converter/dumb or shn plugins can't be builded statically" - fi -} - -src_prepare() { - if [[ -f autogen.sh ]];then - touch config.rpath - sh autogen.sh - fi - - if use midi ; then - # set default gentoo path - sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \ - -i "${S}/plugins/wildmidi/wildmidiplug.c" - fi - - # remove unity trash - epatch "${FILESDIR}/desktop-2.patch" - - for lang in ${LANGS};do - for x in ${lang};do - if ! use linguas_${x}; then - sed -e "s|^${x}$||" -i "po/LINGUAS" - fi - done - done -} - -src_configure() { - my_config="--disable-portable - --docdir=/usr/share/${PN} - --disable-coreaudio - $(use_enable aac) - $(use_enable adplug) - $(use_enable alac) - $(use_enable alsa) - $(use_enable ape ffap) - $(use_enable cdda) - $(use_enable converter) - $(use_enable cover artwork) - $(use_enable cover-imlib2 artwork-imlib2) - $(use_enable curl vfs-curl) - $(use_enable dts dca) - $(use_enable dumb) - $(use_enable ffmpeg) - $(use_enable flac) - $(use_enable gme) - $(use_enable gtk2) - $(use_enable gtk3) - $(use_enable hotkeys) - $(use_enable lastfm lfm) - $(use_enable m3u) - $(use_enable midi wildmidi) - $(use_enable mms) - $(use_enable mono2stereo) - $(use_enable mp3 mad) - $(use_enable musepack) - $(use_enable nls) - $(use_enable notify) - $(use_enable nullout) - $(use_enable oss) - $(use_enable psf) - $(use_enable pulseaudio pulse) - $(use_enable pltbrowser) - $(use_enable rpath) - $(use_enable shellexec) - $(use_enable shellexec shellexecui) - $(use_enable shn) - $(use_enable sid) - $(use_enable sndfile) - $(use_enable src) - $(use_enable static) - $(use_enable static staticlink) - $(use_enable supereq) - $(use_enable threads) - $(use_enable tta) - $(use_enable vorbis) - $(use_enable vtx) - $(use_enable wavpack) - $(use_enable zip vfs-zip) - $(use_enable wma)" - - econf ${my_config} -} -pkg_preinst() { - use linguas_pt_BR || rm -f "${D}/usr/share/deadbeef/help.pt_BR.txt" - use linguas_ru || rm -f "${D}/usr/share/deadbeef/help.ru.txt" - gnome2_icon_savelist - gnome2_schemas_savelist -} - -pkg_postinst() { - if use midi ; then - einfo "enable manually freepats support for timidity via" - einfo "eselect timidity set --global freepats" - fi - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update - gnome2_schemas_update -} diff --git a/media-sound/deadbeef/files/desktop-2.patch b/media-sound/deadbeef/files/desktop-2.patch deleted file mode 100644 index 23899675..00000000 --- a/media-sound/deadbeef/files/desktop-2.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- deadbeef.desktop.in 2013-11-02 15:03:15.000000000 +0400 -+++ /home/megabaks/deadbeef.desktop.in 2013-11-25 21:40:07.000000000 +0400 -@@ -13,29 +13,3 @@ - Type=Application - Icon=deadbeef - X-PulseAudio-Properties=media.role=music -- --X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev --[Play Shortcut Group] --Name=Play --Exec=deadbeef --play --TargetEnvironment=Unity -- --[Pause Shortcut Group] --Name=Pause --Exec=deadbeef --pause --TargetEnvironment=Unity -- --[Stop Shortcut Group] --Name=Stop --Exec=deadbeef --stop --TargetEnvironment=Unity -- --[Next Shortcut Group] --Name=Next --Exec=deadbeef --next --TargetEnvironment=Unity -- --[Prev Shortcut Group] --Name=Prev --Exec=deadbeef --prev --TargetEnvironment=Unity |