diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/sonic-visualiser | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/sonic-visualiser')
9 files changed, 384 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest new file mode 100644 index 000000000000..c35a0c2abeef --- /dev/null +++ b/media-sound/sonic-visualiser/Manifest @@ -0,0 +1,3 @@ +DIST sonic-visualiser-1.9.tar.gz 1867608 SHA256 d899c219403d96c415809521ff71b7f326bf3c5015af496df7ae236de4712f02 SHA512 b626b1ddf59071b280b1da9d8733759784febefb5abcb7ac8fc9bfa1bd7beb45aa8f68e854122cddd6a85b393943c87671298759945ae1f771ccc4fbd9ba2a5e WHIRLPOOL c7e66421e133ec36ad26e7f44da6f1ed2b2378be5d33bb6f3a66f822a7b81422280053d4902e844d1c91dbcb8c4cb40a5000eb30e63bc8722c1c05d3fc94008d +DIST sonic-visualiser-2.3.tar.gz 2909195 SHA256 0c90198d6974c8dfad7295498277f2ad8bd870b5e32d00e2aa22131bb3e006b8 SHA512 647b8e9a5e3547f7d8546318a63e68282ccec70a6710e90b97f5ddc1425038784f1f2da251dbae5db5b380737181de8e22561b33f4b86f7a6b4af336cdbdb7d3 WHIRLPOOL a7dd137f0d16bec5c462374932bd7e389f59fc19601bd2bd5e6872d4e5ce870f7414179e88bc3c13b46b42e10b06461d366146f09171a79531bece1db3303c89 +DIST sonic-visualiser-2.4.1.tar.gz 4155745 SHA256 cb57cefddd47bdb31130dbc6d6ed53dd1084cbcecf426f4df02bbf098e82d41a SHA512 9eb63ba8de670114d388e5faae6e8a16c732f05950324cee2c414d48cbe2e3a320b6876f4db578c01d08aa76de677ee295d5362160b03ab086eaba40c6f7f59f WHIRLPOOL 601764c75110545147620fe94e089bb0b71d874e7da1f7eb15ba01a39a541d80fa73605ea8d25c48d4d1db41b1eac92ec56e52bd557c7b2f41784274cc162ccd diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.7.1-liboggz11.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.7.1-liboggz11.patch new file mode 100644 index 000000000000..6f2842c35132 --- /dev/null +++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.7.1-liboggz11.patch @@ -0,0 +1,37 @@ +Index: sonic-visualiser-1.7.1/data/fileio/OggVorbisFileReader.cpp +=================================================================== +--- sonic-visualiser-1.7.1.orig/data/fileio/OggVorbisFileReader.cpp ++++ sonic-visualiser-1.7.1/data/fileio/OggVorbisFileReader.cpp +@@ -138,15 +138,15 @@ OggVorbisFileReader::DecodeThread::run() + } + + int +-OggVorbisFileReader::readPacket(OGGZ *, ogg_packet *packet, long, void *data) ++OggVorbisFileReader::readPacket(OGGZ *, oggz_packet *packet, long, void *data) + { + OggVorbisFileReader *reader = (OggVorbisFileReader *)data; + FishSound *fs = reader->m_fishSound; + +- fish_sound_prepare_truncation(fs, packet->granulepos, packet->e_o_s); +- fish_sound_decode(fs, packet->packet, packet->bytes); ++ fish_sound_prepare_truncation(fs, packet->op.granulepos, packet->op.e_o_s); ++ fish_sound_decode(fs, packet->op.packet, packet->op.bytes); + +- reader->m_bytesRead += packet->bytes; ++ reader->m_bytesRead += packet->op.bytes; + + // The number of bytes read by this function is smaller than + // the file size because of the packet headers +Index: sonic-visualiser-1.7.1/data/fileio/OggVorbisFileReader.h +=================================================================== +--- sonic-visualiser-1.7.1.orig/data/fileio/OggVorbisFileReader.h ++++ sonic-visualiser-1.7.1/data/fileio/OggVorbisFileReader.h +@@ -82,7 +82,7 @@ protected: + bool m_cancelled; + int m_completion; + +- static int readPacket(OGGZ *, ogg_packet *, long, void *); ++ static int readPacket(OGGZ *, oggz_packet *, long, void *); + static int acceptFrames(FishSound *, float **, long, void *); + + class DecodeThread : public Thread diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-configure.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-configure.patch new file mode 100644 index 000000000000..02752b746acc --- /dev/null +++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-configure.patch @@ -0,0 +1,11 @@ +--- sonic-visualiser-1.8/configure.orig ++++ sonic-visualiser-1.8/configure +@@ -18,7 +18,7 @@ + \$(MAKE) --directory=svgui + sub-svapp: + \$(MAKE) --directory=svapp +-sub-sonic-visualiser: ++sub-sonic-visualiser: sub-svcore sub-svgui sub-svapp + \$(MAKE) --directory=sonic-visualiser + EOF + echo " *** Generated Makefile" diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-gcc46.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-gcc46.patch new file mode 100644 index 000000000000..47ff291daa97 --- /dev/null +++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.8-gcc46.patch @@ -0,0 +1,10 @@ +--- sonic-visualiser-1.8/svcore/base/ResizeableBitset.h.orig ++++ sonic-visualiser-1.8/svcore/base/ResizeableBitset.h +@@ -16,6 +16,7 @@ + #ifndef _RESIZEABLE_BITMAP_H_ + #define _RESIZEABLE_BITMAP_H_ + ++#include <cstddef> + #include <vector> + #include <stdint.h> + diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.9-gcc47.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.9-gcc47.patch new file mode 100644 index 000000000000..19f9fb488f01 --- /dev/null +++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.9-gcc47.patch @@ -0,0 +1,20 @@ +--- sonic-visualiser-1.9/svcore/data/fileio/CodedAudioFileReader.cpp ++++ sonic-visualiser-1.9/svcore/data/fileio/CodedAudioFileReader.cpp +@@ -22,6 +22,7 @@ + #include "base/Serialiser.h" + #include "base/Resampler.h" + ++#include <stdint.h> + #include <iostream> + #include <QDir> + #include <QMutexLocker> +--- sonic-visualiser-1.9/svcore/data/model/WritableWaveFileModel.cpp ++++ sonic-visualiser-1.9/svcore/data/model/WritableWaveFileModel.cpp +@@ -26,6 +26,7 @@ + + #include <cassert> + #include <iostream> ++#include <stdint.h> + + //#define DEBUG_WRITABLE_WAVE_FILE_MODEL 1 + diff --git a/media-sound/sonic-visualiser/metadata.xml b/media-sound/sonic-visualiser/metadata.xml new file mode 100644 index 000000000000..44897b8eb8c0 --- /dev/null +++ b/media-sound/sonic-visualiser/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <use> + <flag name="id3tag">Enables ID3 tagging with id3tag library</flag> + </use> +</pkgmetadata> diff --git a/media-sound/sonic-visualiser/sonic-visualiser-1.9.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-1.9.ebuild new file mode 100644 index 000000000000..24f752a4cb34 --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-1.9.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils qt4-r2 autotools fdo-mime + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="http://www.sonicvisualiser.org/" +SRC_URI="http://code.soundsoftware.ac.uk/attachments/download/194/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fftw id3tag jack mad ogg osc +portaudio pulseaudio" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/libsndfile + media-libs/libsamplerate + fftw? ( sci-libs/fftw:3.0 ) + app-arch/bzip2 + >=media-libs/dssi-0.9.1 + media-libs/liblrdf + dev-libs/redland + media-libs/ladspa-sdk + osc? ( media-libs/liblo ) + media-libs/speex + >=media-libs/vamp-plugin-sdk-2.0 + media-libs/rubberband + jack? ( media-sound/jack-audio-connection-kit ) + mad? ( media-libs/libmad ) + id3tag? ( media-libs/libid3tag ) + ogg? ( media-libs/libfishsound >=media-libs/liboggz-1.1.0 ) + portaudio? ( >=media-libs/portaudio-19_pre20071207 ) + pulseaudio? ( media-sound/pulseaudio )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +REQUIRED_USE="|| ( jack pulseaudio portaudio )" + +sv_disable_opt() { + einfo "Disabling $1" + for i in sonic-visualiser svapp svcore svgui ; do + sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support" + done +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.8-configure.patch + epatch "${FILESDIR}"/${PN}-1.9-gcc47.patch + cd svcore + epatch "${FILESDIR}"/${PN}-1.7.1-liboggz11.patch + + use fftw || sv_disable_opt fftw3f + use fftw || sv_disable_opt fftw3 + use id3tag || sv_disable_opt id3tag + use jack || sv_disable_opt jack + use mad || sv_disable_opt mad + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use osc || sv_disable_opt liblo + use portaudio || sv_disable_opt portaudio + use pulseaudio || sv_disable_opt libpulse + + for i in sonic-visualiser svapp svcore svgui ; do + pushd "${S}"/$i > /dev/null + eautoreconf + popd > /dev/null + done +} + +src_install() { + cd ${PN} + dobin ${PN} + dodoc README* + #install samples + insinto /usr/share/${PN}/samples + doins samples/* + # desktop entry + doicon icons/sv-icon.svg + domenu *.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild new file mode 100644 index 000000000000..29c3b81a4f07 --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-2.3.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils qt4-r2 autotools fdo-mime + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="http://www.sonicvisualiser.org/" +SRC_URI="http://code.soundsoftware.ac.uk/attachments/download/918/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="id3tag jack mad ogg osc +portaudio pulseaudio" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qttest:4 + media-libs/libsndfile + media-libs/libsamplerate + app-arch/bzip2 + >=media-libs/dssi-0.9.1 + media-libs/liblrdf + media-libs/ladspa-sdk + media-libs/speex + >=media-libs/vamp-plugin-sdk-2.0 + media-libs/rubberband + dev-libs/sord + dev-libs/serd + sci-libs/fftw:3.0 + osc? ( media-libs/liblo ) + portaudio? ( >=media-libs/portaudio-19_pre20071207 ) + jack? ( media-sound/jack-audio-connection-kit ) + mad? ( media-libs/libmad ) + id3tag? ( media-libs/libid3tag ) + ogg? ( media-libs/libfishsound >=media-libs/liboggz-1.1.0 ) + pulseaudio? ( media-sound/pulseaudio )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +REQUIRED_USE="|| ( jack pulseaudio portaudio )" + +sv_disable_opt() { + einfo "Disabling $1" + for i in . svapp svcore svgui ; do + sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support" + done +} + +src_prepare() { + use id3tag || sv_disable_opt id3tag + use jack || sv_disable_opt jack + use mad || sv_disable_opt mad + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use osc || sv_disable_opt liblo + use portaudio || sv_disable_opt portaudio + use pulseaudio || sv_disable_opt libpulse + + eautoreconf +} + +src_configure() { + econf + eqmake4 +} + +src_compile() { + # de parallelize a bit otherwise it fails... + emake sub-dataquay-lib-pro + emake sub-svcore + emake sub-svgui + emake sub-svapp + emake +} + +src_install() { + cd ${PN} + dobin ${PN} + dodoc README* + #install samples + insinto /usr/share/${PN}/samples + doins samples/* + # desktop entry + doicon icons/sv-icon.svg + domenu *.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/media-sound/sonic-visualiser/sonic-visualiser-2.4.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-2.4.1.ebuild new file mode 100644 index 000000000000..0584fdc91e39 --- /dev/null +++ b/media-sound/sonic-visualiser/sonic-visualiser-2.4.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils qmake-utils autotools fdo-mime + +DESCRIPTION="Music audio files viewer and analiser" +HOMEPAGE="http://www.sonicvisualiser.org/" +SRC_URI="http://code.soundsoftware.ac.uk/attachments/download/1185/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="id3tag jack mad ogg osc +portaudio pulseaudio" + +RDEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtxml:5 + dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + media-libs/libsndfile + media-libs/libsamplerate + app-arch/bzip2 + >=media-libs/dssi-0.9.1 + media-libs/liblrdf + media-libs/ladspa-sdk + media-libs/speex + >=media-libs/vamp-plugin-sdk-2.0 + media-libs/rubberband + dev-libs/sord + dev-libs/serd + sci-libs/fftw:3.0 + osc? ( media-libs/liblo ) + portaudio? ( >=media-libs/portaudio-19_pre20071207 ) + jack? ( media-sound/jack-audio-connection-kit ) + mad? ( media-libs/libmad ) + id3tag? ( media-libs/libid3tag ) + ogg? ( media-libs/libfishsound >=media-libs/liboggz-1.1.0 ) + pulseaudio? ( media-sound/pulseaudio )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +REQUIRED_USE="|| ( jack pulseaudio portaudio )" + +sv_disable_opt() { + einfo "Disabling $1" + for i in . svapp svcore svgui ; do + sed -i -e "/$1/d" "${S}/$i/configure.ac" || die "failed to remove $1 support" + done +} + +src_prepare() { + use id3tag || sv_disable_opt id3tag + use jack || sv_disable_opt jack + use mad || sv_disable_opt mad + use ogg || sv_disable_opt fishsound + use ogg || sv_disable_opt oggz + use osc || sv_disable_opt liblo + use portaudio || sv_disable_opt portaudio + use pulseaudio || sv_disable_opt libpulse + + eautoreconf +} + +src_configure() { + export QMAKE="$(qt5_get_bindir)"/qmake + econf + eqmake5 -r sonic-visualiser.pro +} + +src_compile() { + # de parallelize a bit otherwise it fails... + emake sub-dataquay-lib-pro + emake sub-svcore + emake sub-svgui + emake sub-svapp + emake sub-sv-pro +} + +src_test() { + emake sub-svcore-base-test + emake sub-svcore-data-fileio-test +} + +src_install() { + cd ${PN} + dobin ${PN} + dodoc README* + #install samples + insinto /usr/share/${PN}/samples + doins samples/* + # desktop entry + doicon icons/sv-icon.svg + domenu *.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |