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-plugins | |
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-plugins')
1372 files changed, 38095 insertions, 0 deletions
diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest new file mode 100644 index 000000000000..1e8b1981b60b --- /dev/null +++ b/media-plugins/alsa-plugins/Manifest @@ -0,0 +1,3 @@ +DIST alsa-plugins-1.0.27.tar.bz2 363593 SHA256 0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35 SHA512 73c2010b66022429bc664bdab1c03694dfd669260dea569e32496bc6e10a11a0da2dd87db6a661ab1376f3aa59f1df8a84cb48ff1d20bb064756c655203f9993 WHIRLPOOL 4487734e0377c880a46df6f7fa53d86a7c38fa3d4bd35e06d128c0ec2b99c789ed64674b59003d8bd0abce2db53301234e467d235532ea145ddb150919cb49af +DIST alsa-plugins-1.0.28.tar.bz2 366023 SHA256 426f8af1a07ee9d8c06449524d1f0bd59a06e0331a51aa3d59d343a7c6d03120 SHA512 c79cf22f426f500c704c947af602604c62a76a026c9b945589d1ca83dff16de23cec2f1c29c9713e42736092aa0d0389e514ca2ca646f8e4770c8aa8320725cc WHIRLPOOL 9cb54e2a30a3f682aa23acb6317f267ffb3cd47eceb959fbce73c8db3ba7c8af420b91b91cce865f0aaf0c60b2920f51972640aff8413c871d0709fa7f4f90a6 +DIST alsa-plugins-1.0.29.tar.bz2 366077 SHA256 325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532 SHA512 6bc7d417ee5deb00a6e36864778deb4675a186951747cc799386288704f0d22a5c3d7011b6091602378d02ee79c4696ebb879140cebea392bd68937c8640898a WHIRLPOOL 987c348b536b03b36c2e7f9bff733e5309961b6f052d6a76f1372eb231d9af92191c113d0a577221809b0fcc4bc9614f278afb10472bd1606822aab468210af3 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r1.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r1.ebuild new file mode 100644 index 000000000000..32e81d4165e5 --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="ALSA extra plugins" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux" +IUSE="debug ffmpeg jack libsamplerate pulseaudio speex" + +RDEPEND=">=media-libs/alsa-lib-${PV}:= + ffmpeg? ( virtual/ffmpeg ) + jack? ( >=media-sound/jack-audio-connection-kit-0.98 ) + libsamplerate? ( media-libs/libsamplerate:= ) + pulseaudio? ( media-sound/pulseaudio ) + speex? ( media-libs/speex:= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.0.19-missing-avutil.patch \ + "${FILESDIR}"/${PN}-1.0.23-automagic.patch \ + "${FILESDIR}"/${P}-{ffmpeg,ffmpeg-version-check}.patch + + epatch_user + + # For some reasons the polyp/pulse plugin does fail with alsaplayer with a + # failed assert. As the code works just fine with asserts disabled, for now + # disable them waiting for a better solution. + sed -i \ + -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ + pulse/Makefile.am || die + + eautoreconf +} + +src_configure() { + use debug || append-cppflags -DNDEBUG + + local myspeex=no + use speex && myspeex=lib + + econf \ + $(use_enable ffmpeg avcodec) \ + $(use_enable jack) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable pulseaudio) \ + --with-speex=${myspeex} +} + +src_install() { + emake DESTDIR="${D}" install + + cd doc + dodoc upmix.txt vdownmix.txt README-pcm-oss + use jack && dodoc README-jack + use libsamplerate && dodoc samplerate.txt + use ffmpeg && dodoc lavcrate.txt a52.txt + + if use pulseaudio; then + dodoc README-pulse + # install ALSA configuration files + # making PA to be used by alsa clients + insinto /usr/share/alsa + doins "${FILESDIR}"/pulse-default.conf + insinto /usr/share/alsa/alsa.conf.d + doins "${FILESDIR}"/51-pulseaudio-probe.conf + # bug #410261, comment 5+ + # seems to work fine without any path + sed -i \ + -e "s:/usr/lib/alsa-lib/::" \ + "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 + fi + + prune_libtool_files --all +} + +pkg_postinst() { + if use pulseaudio; then + einfo "The PulseAudio device is now set as the default device if the" + einfo "PulseAudio server is found to be running. Any custom" + einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" + einfo "purpose should now be unnecessary." + fi +} diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r3.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r3.ebuild new file mode 100644 index 000000000000..f6644a93bd57 --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.27-r3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib multilib-minimal + +DESCRIPTION="ALSA extra plugins" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux" +IUSE="debug ffmpeg jack libsamplerate pulseaudio speex" + +# TODO: handle USE=ffmpeg once it is converted + +RDEPEND=">=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}] + ffmpeg? ( virtual/ffmpeg ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.0.19-missing-avutil.patch \ + "${FILESDIR}"/${PN}-1.0.23-automagic.patch \ + "${FILESDIR}"/${P}-{ffmpeg,ffmpeg-version-check}.patch + + epatch_user + + # For some reasons the polyp/pulse plugin does fail with alsaplayer with a + # failed assert. As the code works just fine with asserts disabled, for now + # disable them waiting for a better solution. + sed -i \ + -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ + pulse/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + use debug || append-cppflags -DNDEBUG + + local myspeex=no + use speex && myspeex=lib + + ECONF_SOURCE=${S} \ + econf \ + $(multilib_native_use_enable ffmpeg avcodec) \ + $(use_enable jack) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable pulseaudio) \ + --with-speex=${myspeex} +} + +multilib_src_install_all() { + einstalldocs + + cd doc || die + dodoc upmix.txt vdownmix.txt README-pcm-oss + use jack && dodoc README-jack + use libsamplerate && dodoc samplerate.txt + use ffmpeg && dodoc lavcrate.txt a52.txt + + if use pulseaudio; then + dodoc README-pulse + # install ALSA configuration files + # making PA to be used by alsa clients + insinto /usr/share/alsa + doins "${FILESDIR}"/pulse-default.conf + insinto /usr/share/alsa/alsa.conf.d + doins "${FILESDIR}"/51-pulseaudio-probe.conf + # bug #410261, comment 5+ + # seems to work fine without any path + sed -i \ + -e "s:/usr/lib/alsa-lib/::" \ + "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 + fi + + prune_libtool_files --all +} + +pkg_postinst() { + if use pulseaudio; then + einfo "The PulseAudio device is now set as the default device if the" + einfo "PulseAudio server is found to be running. Any custom" + einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" + einfo "purpose should now be unnecessary." + fi +} diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.28.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.28.ebuild new file mode 100644 index 000000000000..cf86cb61c825 --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.28.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib multilib-minimal + +DESCRIPTION="ALSA extra plugins" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux" +IUSE="debug ffmpeg jack libsamplerate pulseaudio speex" + +RDEPEND=">=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}] + ffmpeg? ( virtual/ffmpeg[${MULTILIB_USEDEP}] ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { +: epatch "${FILESDIR}"/${PN}-1.0.23-automagic.patch + + epatch_user + + # For some reasons the polyp/pulse plugin does fail with alsaplayer with a + # failed assert. As the code works just fine with asserts disabled, for now + # disable them waiting for a better solution. + sed -i \ + -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ + pulse/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + use debug || append-cppflags -DNDEBUG + + local myspeex=no + use speex && myspeex=lib + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable ffmpeg avcodec) \ + $(use_enable jack) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable pulseaudio) \ + --with-speex=${myspeex} +} + +multilib_src_install_all() { + einstalldocs + + cd doc || die + dodoc upmix.txt vdownmix.txt README-pcm-oss + use jack && dodoc README-jack + use libsamplerate && dodoc samplerate.txt + use ffmpeg && dodoc lavcrate.txt a52.txt + + if use pulseaudio; then + dodoc README-pulse + # install ALSA configuration files + # making PA to be used by alsa clients + insinto /usr/share/alsa + doins "${FILESDIR}"/pulse-default.conf + insinto /usr/share/alsa/alsa.conf.d + doins "${FILESDIR}"/51-pulseaudio-probe.conf + # bug #410261, comment 5+ + # seems to work fine without any path + sed -i \ + -e "s:/usr/lib/alsa-lib/::" \ + "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 + fi + + prune_libtool_files --all +} + +pkg_postinst() { + if use pulseaudio; then + einfo "The PulseAudio device is now set as the default device if the" + einfo "PulseAudio server is found to be running. Any custom" + einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" + einfo "purpose should now be unnecessary." + fi +} diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.29-r1.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.29-r1.ebuild new file mode 100644 index 000000000000..4e2b087585fa --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.29-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib multilib-minimal + +DESCRIPTION="ALSA extra plugins" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux" +IUSE="debug ffmpeg jack libav libsamplerate pulseaudio speex" + +RDEPEND=" + >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}] + ffmpeg? ( + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:0= ) + ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.23-automagic.patch + epatch "${FILESDIR}"/${PN}-1.0.28-libav10.patch + + epatch_user + + # For some reasons the polyp/pulse plugin does fail with alsaplayer with a + # failed assert. As the code works just fine with asserts disabled, for now + # disable them waiting for a better solution. + sed -i \ + -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ + pulse/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + use debug || append-cppflags -DNDEBUG + + local myspeex=no + use speex && myspeex=lib + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable ffmpeg avcodec) \ + $(use_enable jack) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable pulseaudio) \ + --with-speex=${myspeex} +} + +multilib_src_install_all() { + einstalldocs + + cd doc || die + dodoc upmix.txt vdownmix.txt README-pcm-oss + use jack && dodoc README-jack + use libsamplerate && dodoc samplerate.txt + use ffmpeg && dodoc lavcrate.txt a52.txt + + if use pulseaudio; then + dodoc README-pulse + # install ALSA configuration files + # making PA to be used by alsa clients + insinto /usr/share/alsa + doins "${FILESDIR}"/pulse-default.conf + insinto /usr/share/alsa/alsa.conf.d + doins "${FILESDIR}"/51-pulseaudio-probe.conf + # bug #410261, comment 5+ + # seems to work fine without any path + sed -i \ + -e "s:/usr/lib/alsa-lib/::" \ + "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 + fi + + prune_libtool_files --all +} + +pkg_postinst() { + if use pulseaudio; then + einfo "The PulseAudio device is now set as the default device if the" + einfo "PulseAudio server is found to be running. Any custom" + einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" + einfo "purpose should now be unnecessary." + fi +} diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.29.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.29.ebuild new file mode 100644 index 000000000000..2e04ad7f7153 --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.29.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib multilib-minimal + +DESCRIPTION="ALSA extra plugins" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux" +IUSE="debug ffmpeg jack libsamplerate pulseaudio speex" + +RDEPEND=">=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}] + ffmpeg? ( virtual/ffmpeg[${MULTILIB_USEDEP}] ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.23-automagic.patch + epatch "${FILESDIR}"/${PN}-1.0.28-libav10.patch + + epatch_user + + # For some reasons the polyp/pulse plugin does fail with alsaplayer with a + # failed assert. As the code works just fine with asserts disabled, for now + # disable them waiting for a better solution. + sed -i \ + -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ + pulse/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + use debug || append-cppflags -DNDEBUG + + local myspeex=no + use speex && myspeex=lib + + ECONF_SOURCE=${S} \ + econf \ + $(use_enable ffmpeg avcodec) \ + $(use_enable jack) \ + $(use_enable libsamplerate samplerate) \ + $(use_enable pulseaudio) \ + --with-speex=${myspeex} +} + +multilib_src_install_all() { + einstalldocs + + cd doc || die + dodoc upmix.txt vdownmix.txt README-pcm-oss + use jack && dodoc README-jack + use libsamplerate && dodoc samplerate.txt + use ffmpeg && dodoc lavcrate.txt a52.txt + + if use pulseaudio; then + dodoc README-pulse + # install ALSA configuration files + # making PA to be used by alsa clients + insinto /usr/share/alsa + doins "${FILESDIR}"/pulse-default.conf + insinto /usr/share/alsa/alsa.conf.d + doins "${FILESDIR}"/51-pulseaudio-probe.conf + # bug #410261, comment 5+ + # seems to work fine without any path + sed -i \ + -e "s:/usr/lib/alsa-lib/::" \ + "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 + fi + + prune_libtool_files --all +} + +pkg_postinst() { + if use pulseaudio; then + einfo "The PulseAudio device is now set as the default device if the" + einfo "PulseAudio server is found to be running. Any custom" + einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" + einfo "purpose should now be unnecessary." + fi +} diff --git a/media-plugins/alsa-plugins/files/51-pulseaudio-probe.conf b/media-plugins/alsa-plugins/files/51-pulseaudio-probe.conf new file mode 100644 index 000000000000..c2272c85b072 --- /dev/null +++ b/media-plugins/alsa-plugins/files/51-pulseaudio-probe.conf @@ -0,0 +1,19 @@ +# PulseAudio alsa plugin configuration file to set the pulseaudio plugin as +# default output for applications using alsa when pulseaudio is running. + +hook_func.pulse_load_if_running { + lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so" + func "conf_pulse_hook_load_if_running" +} + +@hooks [ + { + func pulse_load_if_running + files [ + "/usr/share/alsa/pulse-default.conf" + "/etc/asound.conf" + "~/.asoundrc" + ] + errors false + } +] diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch new file mode 100644 index 000000000000..12acbbca1dcd --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch @@ -0,0 +1,11 @@ +--- configure.in_old 2009-01-26 21:46:07.000000000 +0100 ++++ configure.in 2009-01-26 21:47:25.000000000 +0100 +@@ -67,7 +67,7 @@ + AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)])) + + if test "x$enable_avcodec" != "xno"; then +- PKG_CHECK_MODULES(AVCODEC, [libavcodec], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) ++ PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) + fi + + if test "x$HAVE_AVCODEC" = "xno"; then diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch new file mode 100644 index 000000000000..8e62f20a143d --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch @@ -0,0 +1,12 @@ +diff -uNr alsa-plugins-1.0.23.ORIg//Makefile.am alsa-plugins-1.0.23/Makefile.am +--- alsa-plugins-1.0.23.ORIg//Makefile.am 2010-04-16 23:38:58.546243512 +0100 ++++ alsa-plugins-1.0.23/Makefile.am 2010-04-16 23:39:20.049278487 +0100 +@@ -17,7 +17,7 @@ + if HAVE_PPH + SUBDIRS += pph + endif +-if HAVE_SPEEXDSP ++if USE_LIBSPEEX + SUBDIRS += speex + endif + diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch new file mode 100644 index 000000000000..6b9b698471d2 --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch @@ -0,0 +1,13 @@ +Index: alsa-plugins-1.0.27/a52/pcm_a52.c +=================================================================== +--- alsa-plugins-1.0.27.orig/a52/pcm_a52.c ++++ alsa-plugins-1.0.27/a52/pcm_a52.c +@@ -27,7 +27,7 @@ + #include <alsa/pcm_plugin.h> + #include AVCODEC_HEADER + +-#if LIBAVCODEC_VERSION_MAJOR >= 53 && LIBAVCODEC_VERSION_MINOR >= 34 ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,34,0) + #include <libavutil/audioconvert.h> + #include <libavutil/mem.h> + #define USE_AVCODEC_FRAME diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch new file mode 100644 index 000000000000..56f51e35a9c9 --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch @@ -0,0 +1,38 @@ +From 367e208954711fabe159070d242927246ed821cd Mon Sep 17 00:00:00 2001 +From: Anton Khirnov <anton@khirnov.net> +Date: Thu, 9 Jan 2014 21:14:17 +0100 +Subject: [PATCH] a52: switch to AV_CODEC_ID identifiers + +Fixes build with latest libavcodec versions. + +Signed-off-by: Takashi Iwai <tiwai@suse.de> +--- + a52/pcm_a52.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c +index 359608f..b467ec8 100644 +--- a/a52/pcm_a52.c ++++ b/a52/pcm_a52.c +@@ -58,6 +58,9 @@ + #endif + #endif + ++#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 25, 0) ++#define AV_CODEC_ID_AC3 CODEC_ID_AC3 ++#endif + + struct a52_ctx { + snd_pcm_ioplug_t io; +@@ -916,7 +919,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52) + if (rec->codec == NULL) + rec->codec = avcodec_find_encoder_by_name("ac3"); + if (rec->codec == NULL) +- rec->codec = avcodec_find_encoder(CODEC_ID_AC3); ++ rec->codec = avcodec_find_encoder(AV_CODEC_ID_AC3); + if (rec->codec == NULL) { + SNDERR("Cannot find codec engine"); + err = -EINVAL; +-- +1.7.11.7 + diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.28-libav10.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.28-libav10.patch new file mode 100644 index 000000000000..9718369782b3 --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.28-libav10.patch @@ -0,0 +1,338 @@ +https://bugs.gentoo.org/539680 + +From: Luca Barbato <lu_zero@gentoo.org> +Description: lavr: Add a libavresample based rate plugin +Date: Mon, 14 Apr 2014 10:01:07 +0200 + +Provide lavcrate compatibility. + +Index: alsa-plugins-1.0.28/configure.ac +=================================================================== +--- alsa-plugins-1.0.28.orig/configure.ac ++++ alsa-plugins-1.0.28/configure.ac +@@ -66,7 +66,7 @@ if test "$use_maemo_rm" = "yes"; then + fi + + AC_ARG_ENABLE([avcodec], +- AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)])) ++ AS_HELP_STRING([--disable-avcodec], [Do not build plugins depending on avcodec (a52)])) + + if test "x$enable_avcodec" != "xno"; then + PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) +@@ -101,6 +101,10 @@ if test $HAVE_AVCODEC = yes; then + if test -z "$AVCODEC_HEADER"; then + HAVE_AVCODEC=no + fi ++ SAVE_LIBS=$LIBS ++ LIBS="$LIBS $AVCODEC_LIBS" ++ AC_CHECK_FUNCS([av_resample_init]) ++ LIBS=$SAVE_LIBS + fi + + AM_CONDITIONAL(HAVE_AVCODEC, test x$HAVE_AVCODEC = xyes) +@@ -108,6 +112,18 @@ AC_SUBST(AVCODEC_CFLAGS) + AC_SUBST(AVCODEC_LIBS) + AC_SUBST(AVCODEC_HEADER) + ++AC_ARG_ENABLE([avresample], ++ AS_HELP_STRING([--disable-avresample], [Do not build plugins depending on avcodec (lavrate)])) ++ ++if test "x$enable_avresample" != "xno"; then ++ PKG_CHECK_MODULES(AVRESAMPLE, [libavresample libavutil], [HAVE_AVRESAMPLE=yes], [HAVE_AVRESAMPLE=no]) ++fi ++ ++AM_CONDITIONAL(HAVE_AVRESAMPLE, test x$HAVE_AVCODEC = xyes) ++AC_SUBST(AVRESAMPLE_CFLAGS) ++AC_SUBST(AVRESAMPLE_LIBS) ++AC_SUBST(AVRESAMPLE_HEADER) ++ + PKG_CHECK_MODULES(speexdsp, [speexdsp >= 1.2], [HAVE_SPEEXDSP="yes"], [HAVE_SPEEXDSP=""]) + AM_CONDITIONAL(HAVE_SPEEXDSP, test "$HAVE_SPEEXDSP" = "yes") + +@@ -181,7 +197,7 @@ AC_OUTPUT([ + mix/Makefile + rate/Makefile + a52/Makefile +- rate-lavc/Makefile ++ rate-lavr/Makefile + maemo/Makefile + doc/Makefile + usb_stream/Makefile +Index: alsa-plugins-1.0.28/Makefile.am +=================================================================== +--- alsa-plugins-1.0.28.orig/Makefile.am ++++ alsa-plugins-1.0.28/Makefile.am +@@ -9,8 +9,14 @@ if HAVE_SAMPLERATE + SUBDIRS += rate + endif + if HAVE_AVCODEC ++SUBDIRS += a52 ++if !HAVE_AVRESAMPLE + SUBDIRS += a52 rate-lavc + endif ++endif ++if HAVE_AVRESAMPLE ++SUBDIRS += rate-lavr ++endif + if HAVE_MAEMO_PLUGIN + SUBDIRS += maemo + endif +Index: alsa-plugins-1.0.28/rate-lavr/Makefile.am +=================================================================== +--- /dev/null ++++ alsa-plugins-1.0.28/rate-lavr/Makefile.am +@@ -0,0 +1,22 @@ ++asound_module_rate_lavr_LTLIBRARIES = libasound_module_rate_lavr.la ++ ++asound_module_rate_lavrdir = @ALSA_PLUGIN_DIR@ ++ ++AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVRESAMPLE_CFLAGS@ ++AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED) ++ ++libasound_module_rate_lavr_la_SOURCES = rate_lavr.c ++libasound_module_rate_lavr_la_LIBADD = @ALSA_LIBS@ @AVRESAMPLE_LIBS@ ++ ++ ++install-exec-hook: ++ rm -f $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate*.so ++ $(LN_S) libasound_module_rate_lavr.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate.so ++ $(LN_S) libasound_module_rate_lavr.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate_higher.so ++ $(LN_S) libasound_module_rate_lavr.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate_high.so ++ $(LN_S) libasound_module_rate_lavr.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate_fast.so ++ $(LN_S) libasound_module_rate_lavr.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate_faster.so ++ ++uninstall-hook: ++ rm -f $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavcrate*.so ++ rm -f $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_lavr*.so +Index: alsa-plugins-1.0.28/rate-lavr/rate_lavr.c +=================================================================== +--- /dev/null ++++ alsa-plugins-1.0.28/rate-lavr/rate_lavr.c +@@ -0,0 +1,227 @@ ++/* ++ * Rate converter plugin using libavresample ++ * Copyright (c) 2014 by Anton Khirnov ++ * ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Lesser General Public License for more details. ++ */ ++ ++#include <stdio.h> ++#include <alsa/asoundlib.h> ++#include <alsa/pcm_rate.h> ++ ++#include <libavresample/avresample.h> ++#include <libavutil/channel_layout.h> ++#include <libavutil/opt.h> ++#include <libavutil/mathematics.h> ++#include <libavutil/samplefmt.h> ++ ++ ++static int filter_size = 16; ++static int phase_shift = 10; /* auto-adjusts */ ++static double cutoff = 0; /* auto-adjusts */ ++ ++struct rate_src { ++ AVAudioResampleContext *avr; ++ ++ int in_rate; ++ int out_rate; ++ unsigned int channels; ++}; ++ ++static snd_pcm_uframes_t input_frames(void *obj, snd_pcm_uframes_t frames) ++{ ++ return frames; ++} ++ ++static snd_pcm_uframes_t output_frames(void *obj, snd_pcm_uframes_t frames) ++{ ++ return frames; ++} ++ ++static void pcm_src_free(void *obj) ++{ ++ struct rate_src *rate = obj; ++ avresample_free(&rate->avr); ++} ++ ++static int pcm_src_init(void *obj, snd_pcm_rate_info_t *info) ++{ ++ struct rate_src *rate = obj; ++ int i, ir, or; ++ ++ if (!rate->avr || rate->channels != info->channels) { ++ int ret; ++ ++ pcm_src_free(rate); ++ rate->channels = info->channels; ++ ir = rate->in_rate = info->in.rate; ++ or = rate->out_rate = info->out.rate; ++ i = av_gcd(or, ir); ++ if (or > ir) { ++ phase_shift = or/i; ++ } else { ++ phase_shift = ir/i; ++ } ++ if (cutoff <= 0.0) { ++ cutoff = 1.0 - 1.0/filter_size; ++ if (cutoff < 0.80) ++ cutoff = 0.80; ++ } ++ ++ rate->avr = avresample_alloc_context(); ++ if (!rate->avr) ++ return -ENOMEM; ++ ++ av_opt_set_int(rate->avr, "in_sample_rate", info->in.rate, 0); ++ av_opt_set_int(rate->avr, "out_sample_rate", info->out.rate, 0); ++ av_opt_set_int(rate->avr, "in_sample_format", AV_SAMPLE_FMT_S16, 0); ++ av_opt_set_int(rate->avr, "out_sample_format", AV_SAMPLE_FMT_S16, 0); ++ av_opt_set_int(rate->avr, "in_channel_layout", av_get_default_channel_layout(rate->channels), 0); ++ av_opt_set_int(rate->avr, "out_channel_layout", av_get_default_channel_layout(rate->channels), 0); ++ ++ av_opt_set_int(rate->avr, "filter_size", filter_size, 0); ++ av_opt_set_int(rate->avr, "phase_shift", phase_shift, 0); ++ av_opt_set_double(rate->avr, "cutoff", cutoff, 0); ++ ++ ret = avresample_open(rate->avr); ++ if (ret < 0) { ++ avresample_free(&rate->avr); ++ return -EINVAL; ++ } ++ } ++ ++ return 0; ++} ++ ++static int pcm_src_adjust_pitch(void *obj, snd_pcm_rate_info_t *info) ++{ ++ struct rate_src *rate = obj; ++ ++ if (info->out.rate != rate->out_rate || info->in.rate != rate->in_rate) ++ pcm_src_init(obj, info); ++ return 0; ++} ++ ++static void pcm_src_reset(void *obj) ++{ ++ struct rate_src *rate = obj; ++ ++ if (rate->avr) { ++ avresample_close(rate->avr); ++ avresample_open(rate->avr); ++ } ++} ++ ++static void pcm_src_convert_s16(void *obj, int16_t *dst, unsigned int ++ dst_frames, const int16_t *src, unsigned int src_frames) ++{ ++ struct rate_src *rate = obj; ++ int consumed = 0, chans=rate->channels, ret=0, i; ++ int total_in = avresample_get_delay(rate->avr) + src_frames; ++ ++ ret = avresample_convert(rate->avr, &dst, dst_frames * chans * 2, dst_frames, ++ &src, src_frames * chans * 2, src_frames); ++ ++ avresample_set_compensation(rate->avr, ++ total_in - src_frames > filter_size ? 0 : 1, src_frames); ++} ++ ++static void pcm_src_close(void *obj) ++{ ++ pcm_src_free(obj); ++} ++ ++#if SND_PCM_RATE_PLUGIN_VERSION >= 0x010002 ++static int get_supported_rates(void *obj, unsigned int *rate_min, ++ unsigned int *rate_max) ++{ ++ *rate_min = *rate_max = 0; /* both unlimited */ ++ return 0; ++} ++ ++static void dump(void *obj, snd_output_t *out) ++{ ++ snd_output_printf(out, "Converter: libavr\n"); ++} ++#endif ++ ++static snd_pcm_rate_ops_t pcm_src_ops = { ++ .close = pcm_src_close, ++ .init = pcm_src_init, ++ .free = pcm_src_free, ++ .adjust_pitch = pcm_src_adjust_pitch, ++ .convert_s16 = pcm_src_convert_s16, ++ .input_frames = input_frames, ++ .output_frames = output_frames, ++#if SND_PCM_RATE_PLUGIN_VERSION >= 0x010002 ++ .version = SND_PCM_RATE_PLUGIN_VERSION, ++ .get_supported_rates = get_supported_rates, ++ .dump = dump, ++#endif ++}; ++ ++int pcm_src_open(unsigned int version, void **objp, snd_pcm_rate_ops_t *ops) ++ ++{ ++ struct rate_src *rate; ++ ++#if SND_PCM_RATE_PLUGIN_VERSION < 0x010002 ++ if (version != SND_PCM_RATE_PLUGIN_VERSION) { ++ fprintf(stderr, "Invalid rate plugin version %x\n", version); ++ return -EINVAL; ++ } ++#endif ++ rate = calloc(1, sizeof(*rate)); ++ if (!rate) ++ return -ENOMEM; ++ ++ *objp = rate; ++ rate->avr = NULL; ++#if SND_PCM_RATE_PLUGIN_VERSION >= 0x010002 ++ if (version == 0x010001) ++ memcpy(ops, &pcm_src_ops, sizeof(snd_pcm_rate_old_ops_t)); ++ else ++#endif ++ *ops = pcm_src_ops; ++ return 0; ++} ++ ++int SND_PCM_RATE_PLUGIN_ENTRY(lavcrate)(unsigned int version, void **objp, ++ snd_pcm_rate_ops_t *ops) ++{ ++ return pcm_src_open(version, objp, ops); ++} ++int SND_PCM_RATE_PLUGIN_ENTRY(lavcrate_higher)(unsigned int version, ++ void **objp, snd_pcm_rate_ops_t *ops) ++{ ++ filter_size = 64; ++ return pcm_src_open(version, objp, ops); ++} ++int SND_PCM_RATE_PLUGIN_ENTRY(lavcrate_high)(unsigned int version, ++ void **objp, snd_pcm_rate_ops_t *ops) ++{ ++ filter_size = 32; ++ return pcm_src_open(version, objp, ops); ++} ++int SND_PCM_RATE_PLUGIN_ENTRY(lavcrate_fast)(unsigned int version, ++ void **objp, snd_pcm_rate_ops_t *ops) ++{ ++ filter_size = 8; ++ return pcm_src_open(version, objp, ops); ++} ++int SND_PCM_RATE_PLUGIN_ENTRY(lavcrate_faster)(unsigned int version, ++ void **objp, snd_pcm_rate_ops_t *ops) ++{ ++ filter_size = 4; ++ return pcm_src_open(version, objp, ops); ++} ++ ++ diff --git a/media-plugins/alsa-plugins/files/pulse-default.conf b/media-plugins/alsa-plugins/files/pulse-default.conf new file mode 100644 index 000000000000..8f7cbf29d60c --- /dev/null +++ b/media-plugins/alsa-plugins/files/pulse-default.conf @@ -0,0 +1,10 @@ +# This file is referred to from files in /usr/share/alsa/alsa.conf.d/ in order +# to set up the pulse device as the default if required. + +pcm.!default { + type pulse +} + +ctl.!default { + type pulse +} diff --git a/media-plugins/alsa-plugins/metadata.xml b/media-plugins/alsa-plugins/metadata.xml new file mode 100644 index 000000000000..7a7ed4ca3bbe --- /dev/null +++ b/media-plugins/alsa-plugins/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>alsa</herd> +<maintainer> +<email>alsa-bugs@gentoo.org</email> +</maintainer> +<upstream> +<remote-id type="cpe">cpe:/a:alsa-project:alsa-plugins</remote-id> +</upstream> +</pkgmetadata> diff --git a/media-plugins/alsaequal/Manifest b/media-plugins/alsaequal/Manifest new file mode 100644 index 000000000000..d61f8f1f40b9 --- /dev/null +++ b/media-plugins/alsaequal/Manifest @@ -0,0 +1 @@ +DIST alsaequal-0.6.tar.bz2 23562 SHA256 916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0 SHA512 53a73469682eb7b641849151d4e91a3ac031daa5f11f7ad328bdd0bcf5251112814c75d27dceb8baf8582c749bf80f055414397259d24b749e7edbc03472bc6a WHIRLPOOL 991467670e6913829b402d6ba46b019317bcc49f98c45620ee2501c950d7b655c72a5dd65a76e68c59b4f2bbedc9c2c4a78d00a6b80bbfd34a37d8845eb43d85 diff --git a/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild b/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild new file mode 100644 index 000000000000..f8a8c5c8b865 --- /dev/null +++ b/media-plugins/alsaequal/alsaequal-0.6-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib toolchain-funcs multilib-minimal + +DESCRIPTION="a real-time adjustable equalizer plugin for ALSA" +HOMEPAGE="http://www.thedigitalmachine.net/alsaequal.html" +SRC_URI="http://www.thedigitalmachine.net/tools/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] + >=media-plugins/caps-plugins-0.9.15[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} +DOCS=( README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + epatch "${FILESDIR}"/${P}-eq-name.patch + multilib_copy_sources +} + +multilib_src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall -fPIC -DPIC" \ + LD="$(tc-getCC)" \ + LDFLAGS="${LDFLAGS} -shared" \ + Q= \ + SND_PCM_LIBS="-lasound" \ + SND_CTL_LIBS="-lasound" || die +} + +multilib_src_install() { + exeinto /usr/$(get_libdir)/alsa-lib + doexe *.so || die +} diff --git a/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch b/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch new file mode 100644 index 000000000000..50a95e6a5c95 --- /dev/null +++ b/media-plugins/alsaequal/files/alsaequal-0.6-asneeded.patch @@ -0,0 +1,16 @@ +--- Makefile ++++ Makefile +@@ -29,11 +29,11 @@ + + $(SND_PCM_BIN): $(SND_PCM_OBJECTS) + @echo LD $@ +- $(Q)$(LD) $(LDFLAGS) $(SND_PCM_LIBS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) ++ $(Q)$(LD) $(LDFLAGS) $(SND_PCM_OBJECTS) -o $(SND_PCM_BIN) $(SND_PCM_LIBS) + + $(SND_CTL_BIN): $(SND_CTL_OBJECTS) + @echo LD $@ +- $(Q)$(LD) $(LDFLAGS) $(SND_CTL_LIBS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) ++ $(Q)$(LD) $(LDFLAGS) $(SND_CTL_OBJECTS) -o $(SND_CTL_BIN) $(SND_CTL_LIBS) + + %.o: %.c + @echo GCC $< diff --git a/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch b/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch new file mode 100644 index 000000000000..7317214bf914 --- /dev/null +++ b/media-plugins/alsaequal/files/alsaequal-0.6-eq-name.patch @@ -0,0 +1,63 @@ +Description: Fix CAPS Eq plugin name +Origin: vendor +Bug-Debian: http://bugs.debian.org/721355 +Forwarded: no +Author: Alessandro Ghedini <ghedo@debian.org> +Last-Update: 2013-08-30 + +--- a/ctl_equal.c ++++ b/ctl_equal.c +@@ -167,7 +167,7 @@ + snd_ctl_equal_t *equal; + const char *controls = ".alsaequal.bin"; + const char *library = "/usr/lib/ladspa/caps.so"; +- const char *module = "Eq"; ++ const char *module = "Eq10"; + long channels = 2; + const char *sufix = " Playback Volume"; + int err, i, index; +--- a/pcm_equal.c ++++ b/pcm_equal.c +@@ -151,7 +151,7 @@ + snd_config_t *sconf = NULL; + const char *controls = ".alsaequal.bin"; + const char *library = "/usr/lib/ladspa/caps.so"; +- const char *module = "Eq"; ++ const char *module = "Eq10"; + long channels = 2; + int err; + +--- a/README ++++ b/README +@@ -1,11 +1,11 @@ + Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can + be adjusted using any ALSA compatible mixer, e.g. alsamixergui. + +-Alsaequal uses the Eq CAPS LADSPA Plugin for audio processing, actually ++Alsaequal uses the Eq10 CAPS LADSPA Plugin for audio processing, actually + alsaequal is a generic LADSPA plugin interface with real-time access to + the LADSPA controls (the LADSPA plugin included with alsa doesn't allow + for real-time controls) but it was developed for and only tested with +-Eq CAPS LADSPA plugin. You are welcome to try it with other plugins, it ++Eq10 CAPS LADSPA plugin. You are welcome to try it with other plugins, it + may work. Let me know how it goes, you can reach me at + <charles@thedigitalmachine.net>. + +@@ -66,7 +66,7 @@ + library -- location of the LADSPA library, the default is + "/usr/lib/ladspa/caps.so" + module -- module name within the LADSPA library, the deafault +- is "Eq" ++ is "Eq10" + channels -- number of channels, the default is 2 + } + +@@ -81,7 +81,7 @@ + library -- location of the LADSPA library, the default is + "/usr/lib/ladspa/caps.so" + module -- module name within the LADSPA library, the deafault +- is "Eq" ++ is "Eq10" + channels -- number of channels, the default is 2 + } + diff --git a/media-plugins/alsaequal/metadata.xml b/media-plugins/alsaequal/metadata.xml new file mode 100644 index 000000000000..af0275e2998a --- /dev/null +++ b/media-plugins/alsaequal/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> +</pkgmetadata> diff --git a/media-plugins/amb-plugins/Manifest b/media-plugins/amb-plugins/Manifest new file mode 100644 index 000000000000..ec0dc5b1e64e --- /dev/null +++ b/media-plugins/amb-plugins/Manifest @@ -0,0 +1 @@ +DIST AMB-plugins-0.8.1.tar.bz2 28988 RMD160 5f1dee6e1a3c2b48a6849171d6d2854cb5a540a7 SHA1 fda55d11342d9a59ead64e30e037d92114637c87 SHA256 f44a60b782948662537c0cb14befa6678d6dce790c64dc2c9058eab849a58b74 diff --git a/media-plugins/amb-plugins/amb-plugins-0.8.1.ebuild b/media-plugins/amb-plugins/amb-plugins-0.8.1.ebuild new file mode 100644 index 000000000000..9229dc505576 --- /dev/null +++ b/media-plugins/amb-plugins/amb-plugins-0.8.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit base multilib toolchain-funcs eutils + +MY_P=${P/amb/AMB} + +DESCRIPTION="AMB-plugins ladspa plugin package. Filters by Fons Adriaensen" +HOMEPAGE="http://www.kokkinizita.net/linuxaudio/" +SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${P}-Makefile.patch" ) + +src_compile() { + tc-export CXX + emake || die +} + +src_install() { + dodoc AUTHORS README + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} diff --git a/media-plugins/amb-plugins/files/amb-plugins-0.8.1-Makefile.patch b/media-plugins/amb-plugins/files/amb-plugins-0.8.1-Makefile.patch new file mode 100644 index 000000000000..5cc183408c70 --- /dev/null +++ b/media-plugins/amb-plugins/files/amb-plugins-0.8.1-Makefile.patch @@ -0,0 +1,43 @@ +--- AMB-plugins-0.8.1/Makefile.old 2010-12-28 02:37:00.828999995 +0000 ++++ AMB-plugins-0.8.1/Makefile 2010-12-28 02:39:14.333999996 +0000 +@@ -15,35 +15,35 @@ + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + +-CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O3 ++CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall + + + all: ambisonic0.so ambisonic1.so ambisonic2.so ambisonic3.so + + + ambisonic0.so: ambisonic0.o ambisonic0_if.o virtmic.o allpass.o +- g++ -shared -o $@ ambisonic0.o ambisonic0_if.o virtmic.o allpass.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic0.o ambisonic0_if.o virtmic.o allpass.o + + ambisonic0.o: ladspaplugin.h ambisonic0.h + ambisonic0_if.o: ladspaplugin.h ambisonic0.h + + + ambisonic1.so: ambisonic1.o ambisonic1_if.o filter1.o +- g++ -shared -o $@ ambisonic1.o ambisonic1_if.o filter1.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic1.o ambisonic1_if.o filter1.o + + ambisonic1.o: ladspaplugin.h ambisonic1.h filter1.h + ambisonic1_if.o: ladspaplugin.h ambisonic1.h + + + ambisonic2.so: ambisonic2.o ambisonic2_if.o +- g++ -shared -o $@ ambisonic2.o ambisonic2_if.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic2.o ambisonic2_if.o + + ambisonic2.o: ladspaplugin.h ambisonic2.h + ambisonic2_if.o: ladspaplugin.h ambisonic2.h + + + ambisonic3.so: ambisonic3.o ambisonic3_if.o +- g++ -shared -o $@ ambisonic3.o ambisonic3_if.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic3.o ambisonic3_if.o + + ambisonic3.o: ladspaplugin.h ambisonic3.h + ambisonic3_if.o: ladspaplugin.h ambisonic3.h diff --git a/media-plugins/amb-plugins/metadata.xml b/media-plugins/amb-plugins/metadata.xml new file mode 100644 index 000000000000..3a8ea7e02972 --- /dev/null +++ b/media-plugins/amb-plugins/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> +</pkgmetadata> diff --git a/media-plugins/ams-lv2/Manifest b/media-plugins/ams-lv2/Manifest new file mode 100644 index 000000000000..aa8c407af9cc --- /dev/null +++ b/media-plugins/ams-lv2/Manifest @@ -0,0 +1 @@ +DIST ams-lv2-1.1.0.tar.gz 217762 SHA256 a5b9320a3034b5bc9c26c0c1df972ea15f5a07cf0ea857d8113affc1f2a10bcf SHA512 4a994d21b9078ec84cbccc99d028a75a175bfc7a6648a7daf645da7877e2fda6a3ec31b351a01fa2ddf8f6a815f79e1dc1f9bf74ea8c5b82931076ceb645bf54 WHIRLPOOL 864b228f0888153f4db88f014cdaa667cfd22c5b54d6945445526bb4786d9580e03dafb285da4405d9f13b6f0d98c3044484aab900fe4c1a01d7f8a5975353b9 diff --git a/media-plugins/ams-lv2/ams-lv2-1.1.0.ebuild b/media-plugins/ams-lv2/ams-lv2-1.1.0.ebuild new file mode 100644 index 000000000000..4df52bf263d3 --- /dev/null +++ b/media-plugins/ams-lv2/ams-lv2-1.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" +inherit waf-utils python-any-r1 + +DESCRIPTION="A port of the AMS internal modules to LV2 plugins to create modular synthesizers" +HOMEPAGE="http://objectivewave.wordpress.com/ams-lv2/" +SRC_URI="https://github.com/blablack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-cpp/gtkmm-2.24.0:2.4 + >=media-libs/lv2-1.10.0 + >=media-libs/lvtk-1.2.0[gtk2] + >=media-sound/jack-audio-connection-kit-0.120 + >=sci-libs/fftw-3.3.3:3.0 + >=x11-libs/cairo-1.10.0 + >=x11-libs/gtk+-2.24:2" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig" + +DOCS=( LICENSE README.md THANKS ) diff --git a/media-plugins/ams-lv2/metadata.xml b/media-plugins/ams-lv2/metadata.xml new file mode 100644 index 000000000000..0325c5cea542 --- /dev/null +++ b/media-plugins/ams-lv2/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> + <upstream> + <remote-id type="github">blablack/ams-lv2</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/audacious-dumb/Manifest b/media-plugins/audacious-dumb/Manifest new file mode 100644 index 000000000000..f5ab5f9c7d10 --- /dev/null +++ b/media-plugins/audacious-dumb/Manifest @@ -0,0 +1,7 @@ +DIST audacious-dumb-0.65.tar.gz 24483 SHA256 5b27718179634b61cad9843be4ff70b23a9be2f50134d5594e7ce329c1907c0d +DIST audacious-dumb-0.73.tar.gz 19608 SHA256 189ca98cdce0fa79ec3695bdb09e57cb97881c5cae7a36e3722c636801b76265 +DIST audacious-dumb-0.74.tar.gz 19616 SHA256 be920a99cb03ad95f0448ff73f55f2a4f75b54b247e62621ef3e4d1542b7fbd6 +DIST audacious-dumb-0.80.tar.gz 19905 SHA256 534a47f7ae1a14b8fcd877082d00cf0cc96cec9b6c4c5cc8cf01443c150bb469 +DIST audacious-dumb-0.81.tar.gz 19819 SHA256 a8fc36ee3080e6d736da427e6336a9de6088ea5b0e099612cc03463f5ae52a85 SHA512 4c25a14810803c625be11fde854343ad72e69f624aa8e2fbb78c8e12f4490192d35596b7e1b0b412c84078134a0c8ef0669651d492dea45f4d4cba36a8562bae WHIRLPOOL 1075b7346d6f933370cb572e5fabc86a763303e77dd3d0a73868531791f1e8fba9b42d51c01c7ecfd33fe111a23149444d656a57e91a5655638f2d118c169a62 +DIST audacious-dumb-0.82.tar.gz 19839 SHA256 a1c1a0cc513a7c261f789aa533907e02c14d55342771177f11b07154e3056a03 SHA512 5e8e821f7d63054e1909365c605ee9205c4551d63fd1a39d8d33b98e66bcb93cc4ad7ee6676a2db40b7df16652fa0f1ce48e41f033390ef347ec013bacdd6e67 WHIRLPOOL f86261b1a00f1d850351fc5ca2aeeb4d0793d7afaa3ff8487430ff71a99d4b64b02cdd58e52505f607d5d76ad50a0510af0fcee4b7787762373fd4f039b1f335 +DIST audacious-dumb-0.83.tar.gz 19325 SHA256 c9d218228b2dcbbbaea12b0ff8e1782d0fe5b7b8028fccd0f946db3c6b05517c SHA512 7cce90ff698166f0945db12b9bdc6719a0b85719ef2d1b74e8ae2665bee0c193a2a1d4fbec3d6cabb5d6fb871bffff47921121e4bcf6ff57fed8aea3f966e56e WHIRLPOOL a948a4fe2def66e16bcd947e4f5d880a4c7fdb65926db5a32265c9a82a4652e783a10bfef5d2a529725d6f4d3c891549fc63a2ed7f08f54127ff215f4982e902 diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.65.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.65.ebuild new file mode 100644 index 000000000000..80bb55a643b1 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.65.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="<media-sound/audacious-3.0 + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.73.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.73.ebuild new file mode 100644 index 000000000000..82dd6dae73c9 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.73.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=media-sound/audacious-3.1* + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.74.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.74.ebuild new file mode 100644 index 000000000000..82dd6dae73c9 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.74.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=media-sound/audacious-3.1* + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.80.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.80.ebuild new file mode 100644 index 000000000000..72ff84f1ffa1 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.80.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=media-sound/audacious-3.2* + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.81.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.81.ebuild new file mode 100644 index 000000000000..635ae93a4172 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.81.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-sound/audacious-3.3 + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.82.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.82.ebuild new file mode 100644 index 000000000000..b9ae30a546e0 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.82.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-sound/audacious-3.3 + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/audacious-dumb-0.83.ebuild b/media-plugins/audacious-dumb/audacious-dumb-0.83.ebuild new file mode 100644 index 000000000000..fa9ca96faa41 --- /dev/null +++ b/media-plugins/audacious-dumb/audacious-dumb-0.83.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit toolchain-funcs + +DESCRIPTION="Audacious Plug-in for accurate, high-quality IT/XM/S3M/MOD playback" +HOMEPAGE="http://www.netswarm.net/" +SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-sound/audacious-3.5 + >=media-libs/dumb-0.9.3" + +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README README-dumb-bmp README-dumb-xmms +} diff --git a/media-plugins/audacious-dumb/metadata.xml b/media-plugins/audacious-dumb/metadata.xml new file mode 100644 index 000000000000..fe3c0b333337 --- /dev/null +++ b/media-plugins/audacious-dumb/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>joker@gentoo.org</email> +<name>Christian Birchinger</name> +</maintainer> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-plugins/audacious-plugins/Manifest b/media-plugins/audacious-plugins/Manifest new file mode 100644 index 000000000000..ad606fcdf820 --- /dev/null +++ b/media-plugins/audacious-plugins/Manifest @@ -0,0 +1,13 @@ +DIST audacious-plugins-2.4.4.tgz 3425914 SHA256 24948ae2161ddde580bcad27dbc11faed0cacd142252749e64da5f8f5e8084e4 SHA512 075af56ff2be5262b892cca40a0270a14e20c8b2627296ee5d546f1a3817657e8a46c3c6388ea920efede9a9a727391e31f09a7c781ff651726929b4e6f58ec6 WHIRLPOOL c357c222784b5a178cd8c5e83a8d1b90cbba453613507c11cc1bba34bbcf3aef7c3d6fd1540ffaa92c90699d20203a7acf3241cbbde83525fad011889addaa54 +DIST audacious-plugins-2.5.4.tar.gz 3500309 SHA256 149fd27f476670d8ab3b8e9beaad9ab9de5955c8cbec70bf27e26446168148d8 SHA512 43eedbb4d599cc0437f5870cf0501222e107667a76873aa26786086b0ca29a5fb074f7715e7aeff504560e033dd482b98d9d771964d981afcd3b29a46f410bcc WHIRLPOOL e131fb818e90eaa7e98b06b903d6192d4b0fcac4f6af771ea75ce4323033d56ced9fd1b05f7534e390162378c7de8dd384ac9946e0df3cb99cf8cd00d170252c +DIST audacious-plugins-3.1.1.tar.bz2 2167856 SHA256 dd85e982a49a2794041a391aba3d12a12505338b2c9623b60f16842ae89215ad SHA512 f6c89a38385d9fed72e18e54cac5a4a5a126802b5dc0e71a868b92aec2d37b484b9c95e983aade2bdf3d8cf38af8f79aa2f67bc75ef292a3c8448f6029ea91fb WHIRLPOOL 79067763e94cd14191c6636e45ce2ca5778b5e28a6683d4fa69ffbe9c084e5830a3a56c9afeaf7f29b2df70db8582d7ab3fe9bcead8bbf0b910cd431dff35e53 +DIST audacious-plugins-3.1.tar.bz2 2156993 SHA256 2d1e9b229b83e4ab2a2065e7116d0d36e774d73146d2cb63162ca880770d7ca8 SHA512 b8aa443d407dab8c5f55c9593e0306d2b2498018dd7787ab32275490d9b2cd76ee0e8c906a98fdf2ae70040f73399718c1eff9a6f8447b7327938a35b5de42d5 WHIRLPOOL 1a3c2efd8e2518011eceffd4104fbd2dcc9c9ac3038493a8a1d6e4ec8d7376311423319f8648f524be13b0332ed305a91c5810243e69ca7a3f816f65cead2911 +DIST audacious-plugins-3.2.2.tar.bz2 1898457 SHA256 c637e6770ed41ec0e885f210944234326090d9cecf0547e2545fff09bc25b7fc SHA512 22f7af18ce7e128a73c21942a73ea3ed6b9f022efec64c091dfa38abd6bba02f9260db93645f83e3d54c32b3c24573f2417fb24c51f1a00a4e9759f9198e96b5 WHIRLPOOL 2e840350767852cc9b8899a76fc18d892382639add7bce127212f1386675c29ef3e135e2fd3f9564c3f2431568aa7df6dc6c1e43cec3ee9491468674c85a3ad1 +DIST audacious-plugins-3.2.3.tar.bz2 1921236 SHA256 bba70fbbb4fa7d1f40de4d96265069b6faf23233cbf544cb2882f7c709c9d2da SHA512 d4a78bab856450213dbb35d4c899134360ff20b907fea81a532c9b1176f348e191be64ca1f51b575d76b9f6df44c124259e3a92f00f4eebe723f51b0e14b0698 WHIRLPOOL 73f8ba2cb7e6ffb15253d7bf25e545e4f8be71b18652ef2a18569ece526514e01750b2b21204a48ceb5114990ea3ad4b1bcb8860a74a4835bc0b4141449111f5 +DIST audacious-plugins-3.2.4.tar.bz2 1921658 SHA256 0f03556de593d85d4aba0895c4586643026d15f5c1243e7353a4636e84b31882 SHA512 3eb887559983b35c33c5f91550262fb7473c6c968f152c8605332fcd62674ddbb6250c2eb952b73f99aaefbcedc47fc74d1c2bf5116f9bd919faf76ffa483085 WHIRLPOOL 9b8ed381a3eab08dc83ba3507f74d35a5ef7a769c6ec1968b88bbcaa866b196fd6997e79fd51eab54055d99f8166c374f099f8e17393a2bce63745672b4b58e5 +DIST audacious-plugins-3.3.3.tar.bz2 1740185 SHA256 3906a70090edb09b94504fa37c823635b752b408e129fc0156286d409d350f8f SHA512 0f9d07f3290dd25efd4360f064abce4ddfa21aa84d42b1eefb3308715fb7013b1db4958e620b1cd293a5487973b4e7d0e7313922a576c182cde458dbaaad0a00 WHIRLPOOL 3730c16f21c7cc4dd2f51a4c51033d6733f434b75a7076c081970feb8863a4f701aa98a19289e169a142717d557c9d217fc559cc71d033e25eb1987000187ae0 +DIST audacious-plugins-3.3.4.tar.bz2 1756149 SHA256 b66dd84ab092d9fb64182599706ed60a3c382c904a77e23285e1e271f007afd0 SHA512 4e3ba9adc4f44c3f02934a98d5c3225ae560e062b1e1f93e478770c8ea7f6e741a9cf83ae2ec34a05ac4c40dd08d0cf732e41029fa88bc37014bb8bbe1c1a681 WHIRLPOOL a96db513d671f656a5c8747cf1e8c300a6043e4decf3b3b939e07ec7b49b583289793da2d7ac9b52f4ceedae14ed3fa3d076831ec0fd38300f28b7c99663e605 +DIST audacious-plugins-3.4.1.tar.bz2 1765085 SHA256 ad86b31a69bd3305aa4e65bb9daea7429b51674b6ecd9b7ead36816074cf3b0a SHA512 7919a87a7aac9cfa0820a96e2eb937c70ee4d7f1091cdb3c1097b9849551cadea820e5e51877092590a8d49534be83fbc5b3147c3a2a482d4d47a2d3fd079dd6 WHIRLPOOL 5e46099b7970d64042e0bdf928c5bd658b0c065e4ea06b53f7d67db0332b554a0417b1efaad73e66df7816596e2c1735d22c06025e56634efe215fd27a94c301 +DIST audacious-plugins-3.5.1.tar.bz2 1714137 SHA256 e6da3346df520f3c6cee3c3706eb09290840ea12dfff28d6bec32e5842dc9e26 SHA512 6359edd6c89220f110dc20cf52418b741cfbbce4618f6ba4e4c97d6656216575aba1dfa8e7de4f11a24a28a27cc008e2f7e551759185972a17748f7e043b8823 WHIRLPOOL e4885108904f0badf81411040e1a5098190ab4dd4b53b14ddb5c39148dc01f982a95d1143ff2d8dd9e9cfbad75fa40654791dcf2a7e21d95e80c3ec0d484d218 +DIST audacious-plugins-3.6.2-gtk3.tar.bz2 1788886 SHA256 943d94c1ea09817caba627b6abbf0de301c3cd19f2c8c0afae1ebc4dbe31fc95 SHA512 1745c48ec5a71ed92d938fc56d0ae06fbbd43b2ef62652dd06178a3c739e2f8c701ee55249db135ee8afca663151482bb9a2b8c83f1d5bbfcd0408b0594d5847 WHIRLPOOL 2ff212a964c959d1acaf4c9d35e3ce0e3ef7261054ccef3f8174e6188d1bfb9215b780bd17df9e4c6848d4e3fd2e29d8847d3cf37e4203430a87b9fd439080a3 +DIST audacious-plugins-3.6.2.tar.bz2 1786338 SHA256 e7798936249e1601177503d148a3dd59edd289579f3f1667351eb0ba463642e8 SHA512 d0715bdc819b115e55daafc6715a770a9e2d8d61d19b9a9485195774e8ace672144dc7852f71bd0b796d26bfcb82766252f65d58a2a061e7a0228a1dda3148c5 WHIRLPOOL 055be62da6c7f8ddacf2c3ef18194ba09bf63dc3699919f6e5068740c0fc6db2b370da999ffe8724e62c60363928ae87ca86d526458fa93b9a3cce37799b12af diff --git a/media-plugins/audacious-plugins/audacious-plugins-2.4.4-r1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-2.4.4-r1.ebuild new file mode 100644 index 000000000000..6506bf19d507 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-2.4.4-r1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils flag-o-matic + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.atheme.org/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa aqua bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate lirc midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile cpu_flags_x86_sse2 vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + ~media-sound/audacious-2.4.4 + >=net-libs/neon-0.26.4 + >=x11-libs/gtk+-2.14:2 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( virtual/ffmpeg ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( >=media-libs/libsdl-1.2.5 ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.x-fix-skins-build-glib-2.32.patch +} + +src_configure() { + mp3_warning + + econf \ + --enable-chardet \ + --enable-dbus \ + --enable-modplug \ + --enable-neon \ + --disable-projectm \ + --disable-projectm-1.0 \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa bluetooth) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable aqua coreaudio) \ + $(use_enable aqua dockalbumart) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl paranormal) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable vorbis) \ + $(use_enable vorbis filewriter_vorbis) \ + $(use_enable wavpack) +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-2.5.4.ebuild b/media-plugins/audacious-plugins/audacious-plugins-2.5.4.ebuild new file mode 100644 index 000000000000..2d62ffe3e164 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-2.5.4.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils flag-o-matic + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.atheme.org/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa aqua bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate lirc midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile cpu_flags_x86_sse2 vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + ~media-sound/audacious-2.5.4 + >=net-libs/neon-0.26.4 + >=x11-libs/gtk+-2.14:2 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( virtual/ffmpeg ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( >=media-libs/libsdl-1.2.5 ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.x-fix-skins-build-glib-2.32.patch +} + +src_configure() { + mp3_warning + + econf \ + --enable-chardet \ + --enable-modplug \ + --enable-neon \ + --disable-projectm-1.0 \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa bluetooth) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable aqua coreaudio) \ + $(use_enable aqua dockalbumart) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl paranormal) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable vorbis) \ + $(use_enable vorbis filewriter_vorbis) \ + $(use_enable wavpack) +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.1.1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.1.1.ebuild new file mode 100644 index 000000000000..45542f2a6fb7 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.1.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils flag-o-matic + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.atheme.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa aqua bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.1.1 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_configure() { + mp3_warning + # Turn "-z defs" into "-Wl,-z,defs" because some versions of gcc don't like + # it (bug 395213) + epatch "${FILESDIR}/audacious-plugins_ldflags.patch" + econf \ + --enable-modplug \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable aqua coreaudio) \ + $(use_enable aqua dockalbumart) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable vorbis filewriter_vorbis) \ + $(use_enable wavpack) +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.1.ebuild new file mode 100644 index 000000000000..a241c3494e2c --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils flag-o-matic + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.atheme.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa aqua bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.1 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_configure() { + mp3_warning + # Turn "-z defs" into "-Wl,-z,defs" because some versions of gcc don't like + # it (bug 395213) + epatch "${FILESDIR}/audacious-plugins_ldflags.patch" + + econf \ + --enable-modplug \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable aqua coreaudio) \ + $(use_enable aqua dockalbumart) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable vorbis filewriter_vorbis) \ + $(use_enable wavpack) +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.2.2-r1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.2.2-r1.ebuild new file mode 100644 index 000000000000..8d95fd34574f --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.2.2-r1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils autotools flag-o-matic + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome +gtk gtk3 ipv6 jack +lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.2.2 + >=net-libs/neon-0.26.4 + gtk? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +REQUIRED_USE="^^ ( gtk gtk3 )" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + epatch "$FILESDIR"/${P}-fix-build-gmodule.patch + epatch "$FILESDIR"/${P}-fix-build-sdl.patch + eaclocal -I m4 + eautoheader + eautoconf +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable gtk3) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable vorbis filewriter_vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.2.3.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.2.3.ebuild new file mode 100644 index 000000000000..1bbe41b99b00 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.2.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.2.3 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:2 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --enable-neon \ + --disable-gtk3 \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.2.4.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.2.4.ebuild new file mode 100644 index 000000000000..333d69f602c9 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.2.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate midi mms mp3 mtp nls oss pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.2.4 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:2 + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + >=dev-libs/libcdio-0.79-r1 ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + mtp? ( media-libs/libmtp ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --enable-neon \ + --disable-gtk3 \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable mtp mtp_up) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.3.3.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.3.3.ebuild new file mode 100644 index 000000000000..cf0d54edc3b3 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.3.3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate lirc midi mms mp3 nls pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.3.3 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + ( || ( >=dev-libs/glib-2.32.2 dev-util/gdbus-codegen ) ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + dev-libs/libcdio-paranoia ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + has_version "<dev-libs/glib-2.32" && \ + cd "${S}"/src/mpris2 && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris --generate-c-code object-core mpris2.xml && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris \ + --generate-c-code object-player mpris2-player.xml && \ + cd "${S}" + epatch "${FILESDIR}"/${P}-libcdio.patch +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable nls) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.3.4.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.3.4.ebuild new file mode 100644 index 000000000000..bffff386e3c8 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.3.4.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate lirc midi mms mp3 nls pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.3.4 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + ( || ( >=dev-libs/glib-2.32.2 dev-util/gdbus-codegen ) ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + dev-libs/libcdio-paranoia ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplay-2.1.1-r2 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + has_version "<dev-libs/glib-2.32" && \ + cd "${S}"/src/mpris2 && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris --generate-c-code object-core mpris2.xml && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris \ + --generate-c-code object-player mpris2-player.xml && \ + cd "${S}" +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable nls) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.4.1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.4.1.ebuild new file mode 100644 index 000000000000..5f446b1181ed --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.4.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome ipv6 jack +lame libnotify libsamplerate lirc midi mms mp3 nls pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.4.1 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + ( || ( >=dev-libs/glib-2.32.2 dev-util/gdbus-codegen ) ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + dev-libs/libcdio-paranoia ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplayfp-1.0.0 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + has_version "<dev-libs/glib-2.32" && \ + cd "${S}"/src/mpris2 && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris --generate-c-code object-core mpris2.xml && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris \ + --generate-c-code object-player mpris2-player.xml && \ + cd "${S}" +} + +src_configure() { + mp3_warning + + econf \ + --enable-modplug \ + --disable-soxr \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa amidiplug-alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable ffmpeg ffaudio) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug-flsyn) \ + $(use_enable flac filewriter_flac) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable nls) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.5.1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.5.1.ebuild new file mode 100644 index 000000000000..01322eb6a951 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.5.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome jack +lame libnotify libsamplerate lirc midi mms mp3 nls pulseaudio scrobbler sdl sid sndfile vorbis wavpack" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-3.5.1 + >=net-libs/neon-0.26.4 + x11-libs/gtk+:3 + ( || ( >=dev-libs/glib-2.32.2[utils] dev-util/gdbus-codegen ) ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + dev-libs/libcdio-paranoia ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplayfp-1.0.0 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +DOCS="AUTHORS" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_prepare() { + has_version "<dev-libs/glib-2.32" && \ + cd "${S}"/src/mpris2 && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris --generate-c-code object-core mpris2.xml && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris \ + --generate-c-code object-player mpris2-player.xml && \ + cd "${S}" +} + +src_configure() { + mp3_warning + + if use ffmpeg && has_version media-video/ffmpeg ; then + ffmpeg="--with-ffmpeg=ffmpeg" + elif use ffmpeg && has_version media-video/libav ; then + ffmpeg="--with-ffmpeg=libav" + else + ffmpeg="--with-ffmpeg=none" + fi + + econf \ + ${ffmpeg} \ + --enable-modplug \ + --disable-soxr \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug) \ + $(use_enable flac filewriter_flac) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable midi amidiplug) \ + $(use_enable nls) \ + $(use_enable pulseaudio pulse) \ + $(use_enable scrobbler scrobbler2) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.6.2.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.6.2.ebuild new file mode 100644 index 000000000000..d32cf6cd0736 --- /dev/null +++ b/media-plugins/audacious-plugins/audacious-plugins-3.6.2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Audacious Player - Your music, your way, no exceptions" +HOMEPAGE="http://audacious-media-player.org/" +SRC_URI="!gtk3? ( http://distfiles.audacious-media-player.org/${MY_P}.tar.bz2 ) + gtk3? ( http://distfiles.audacious-media-player.org/${MY_P}-gtk3.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="aac adplug alsa bs2b cdda cue ffmpeg flac fluidsynth gnome http gtk3 jack +lame libnotify libsamplerate lirc mms mp3 nls pulseaudio qt5 scrobbler sdl sid sndfile vorbis wavpack" +REQUIRED_USE="|| ( alsa flac lame jack pulseaudio qt5 sdl )" + +RDEPEND="app-arch/unzip + >=dev-libs/dbus-glib-0.60 + dev-libs/libxml2:2 + media-libs/libmodplug + ~media-sound/audacious-${PV} + ( || ( >=dev-libs/glib-2.32.2[utils] dev-util/gdbus-codegen ) ) + aac? ( >=media-libs/faad2-2.7 ) + adplug? ( >=dev-cpp/libbinio-1.4 ) + alsa? ( >=media-libs/alsa-lib-1.0.16 ) + bs2b? ( media-libs/libbs2b ) + cdda? ( >=media-libs/libcddb-1.2.1 + dev-libs/libcdio-paranoia ) + cue? ( media-libs/libcue ) + ffmpeg? ( >=virtual/ffmpeg-0.7.3 ) + flac? ( >=media-libs/libvorbis-1.0 + >=media-libs/flac-1.2.1-r1 ) + fluidsynth? ( media-sound/fluidsynth ) + http? ( >=net-libs/neon-0.26.4 ) + gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtwidgets:5 ) + jack? ( >=media-libs/bio2jack-0.4 + media-sound/jack-audio-connection-kit ) + lame? ( media-sound/lame ) + libnotify? ( x11-libs/libnotify ) + libsamplerate? ( media-libs/libsamplerate ) + lirc? ( app-misc/lirc ) + mms? ( >=media-libs/libmms-0.3 ) + mp3? ( >=media-sound/mpg123-1.12.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.3 ) + scrobbler? ( net-misc/curl ) + sdl? ( media-libs/libsdl[sound] ) + sid? ( >=media-libs/libsidplayfp-1.0.0 ) + sndfile? ( >=media-libs/libsndfile-1.0.17-r1 ) + vorbis? ( >=media-libs/libvorbis-1.2.0 + >=media-libs/libogg-1.1.3 ) + wavpack? ( >=media-sound/wavpack-4.50.1-r1 )" + +DEPEND="${RDEPEND} + nls? ( dev-util/intltool ) + virtual/pkgconfig" + +mp3_warning() { + if ! use mp3 ; then + ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" + fi +} + +src_unpack() { + default + if use gtk3 ; then + mv "${MY_P}-gtk3" "${MY_P}" + fi +} + +src_prepare() { + has_version "<dev-libs/glib-2.32" && \ + cd "${S}"/src/mpris2 && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris --generate-c-code object-core mpris2.xml && \ + gdbus-codegen --interface-prefix org.mpris. \ + --c-namespace Mpris \ + --generate-c-code object-player mpris2-player.xml && \ + cd "${S}" +} + +src_configure() { + mp3_warning + + if use ffmpeg && has_version media-video/ffmpeg ; then + ffmpeg="--with-ffmpeg=ffmpeg" + elif use ffmpeg && has_version media-video/libav ; then + ffmpeg="--with-ffmpeg=libav" + else + ffmpeg="--with-ffmpeg=none" + fi + + econf \ + ${ffmpeg} \ + --enable-modplug \ + --disable-soxr \ + --enable-neon \ + $(use_enable adplug) \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable bs2b) \ + $(use_enable cdda cdaudio) \ + $(use_enable cue) \ + $(use_enable flac flacng) \ + $(use_enable fluidsynth amidiplug) \ + $(use_enable flac filewriter_flac) \ + $(use_enable http neon) \ + $(use_enable jack) \ + $(use_enable gnome gnomeshortcuts) \ + $(use_enable lame filewriter_mp3) \ + $(use_enable libnotify notify) \ + $(use_enable libsamplerate resample) \ + $(use_enable lirc) \ + $(use_enable mms) \ + $(use_enable mp3) \ + $(use_enable nls) \ + $(use_enable pulseaudio pulse) \ + $(use_enable qt5 qt) \ + $(use_enable scrobbler scrobbler2) \ + $(use_enable sdl sdlout) \ + $(use_enable sid) \ + $(use_enable sndfile) \ + $(use_enable vorbis) \ + $(use_enable wavpack) +} diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-2.x-fix-skins-build-glib-2.32.patch b/media-plugins/audacious-plugins/files/audacious-plugins-2.x-fix-skins-build-glib-2.32.patch new file mode 100644 index 000000000000..f5fb42cf53d1 --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins-2.x-fix-skins-build-glib-2.32.patch @@ -0,0 +1,13 @@ +diff --git a/src/skins/ui_skinned_window.c b/src/skins/ui_skinned_window.c +index 9b178a2..b90e943 100644 +--- a/src/skins/ui_skinned_window.c ++++ b/src/skins/ui_skinned_window.c +@@ -20,7 +20,7 @@ + + #include <gtk/gtkmain.h> + #include <glib-object.h> +-#include <glib/gmacros.h> ++#include <glib.h> + #include <gtk/gtkmarshal.h> + #include <gtk/gtkwindow.h> + #include <string.h> diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-gmodule.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-gmodule.patch new file mode 100644 index 000000000000..2f06396e8d1a --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-gmodule.patch @@ -0,0 +1,31 @@ +commit a29df1ab4ba9f3964ca475c0c727136357ddfb86 +Author: John Lindgren <john.lindgren@aol.com> +Date: Mon Apr 2 02:10:32 2012 -0400 + + Make check for GMODULE_{CFLAGS,LIBS} unconditional; LADSPA plugin needs it also. + +diff --git a/acinclude.m4 b/acinclude.m4 +index 6f6f293..5acb6b7 100644 +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -194,6 +194,7 @@ AC_PATH_PROG([WINDRES], [windres]) + dnl Check for Gtk+/GLib and pals + dnl ============================ + AUD_CHECK_MODULE([GLIB], [glib-2.0], [>= 2.16], [Glib2]) ++AUD_CHECK_MODULE([GMODULE], [gmodule-2.0], [>= 2.16], [GModule]) + AUD_CHECK_MODULE([GTHREAD], [gthread-2.0], [>= 2.16], [GThread]) + AUD_CHECK_MODULE([PANGO], [pango], [>= 1.20], [Pango]) + AUD_CHECK_MODULE([CAIRO], [cairo], [>= 1.6], [Cairo]) +diff --git a/configure.ac b/configure.ac +index d976576..358f841 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -757,8 +757,6 @@ fi + + if test "x$enable_amidiplug" = "xyes"; then + INPUT_PLUGINS="$INPUT_PLUGINS amidi-plug" +- PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0],,) +- PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.6.0],,) + AMIDIPLUG_BACKEND_DIR=amidi-plug + AC_SUBST(AMIDIPLUG_BACKEND_DIR) + if test "x$enable_amidiplug_alsa" = "xauto" -o "x$enable_amidiplug_alsa" = "xyes"; then diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-sdl.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-sdl.patch new file mode 100644 index 000000000000..8f6fda0ba1b2 --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.2.2-fix-build-sdl.patch @@ -0,0 +1,19 @@ +commit b6df18997dabe37f4357d977d2dfae07899be5e7 +Author: Michał Lipski <tallica@o2.pl> +Date: Mon May 7 12:48:23 2012 +0200 + + Use pkg-config for libsdl detection. (Gentoo #414999) + +diff --git a/configure.ac b/configure.ac +index 358f841..cbba0ce 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -693,7 +693,7 @@ AC_ARG_ENABLE(sdlout, + [enable_sdlout=$enableval], [enable_sdlout=yes]) + + if test $enable_sdlout = yes ; then +- AM_PATH_SDL(1.2.5, [enable_sdlout=yes], [enable_sdlout=no]) ++ PKG_CHECK_MODULES([SDL], [sdl >= 1.2.11], [enable_sdlout=yes], [enable_sdlout=no]) + fi + + if test $enable_sdlout = yes ; then diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.3.3-libcdio.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.3.3-libcdio.patch new file mode 100644 index 000000000000..e0943e6471f3 --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.3.3-libcdio.patch @@ -0,0 +1,111 @@ +diff --git a/src/cdaudio-ng/cdaudio-ng.c b/src/cdaudio-ng/cdaudio-ng.c +index 925b847..e986839 100644 +--- a/src/cdaudio-ng/cdaudio-ng.c ++++ b/src/cdaudio-ng/cdaudio-ng.c +@@ -26,11 +26,16 @@ + #include <cdio/cdio.h> + #include <cdio/cdtext.h> + #include <cdio/track.h> +-#include <cdio/cdda.h> + #include <cdio/audio.h> + #include <cdio/sector.h> + #include <cdio/cd_types.h> + ++#if LIBCDIO_VERSION_NUM >= 90 ++#include <cdio/paranoia/cdda.h> ++#else ++#include <cdio/cdda.h> ++#endif ++ + /* libcdio's header files #define these */ + #undef PACKAGE + #undef PACKAGE_BUGREPORT +@@ -269,9 +274,9 @@ static void cdaudio_set_strinfo (trackinfo_t * t, + const char * performer, const char * name, + const char * genre) + { +- g_strlcpy (t->performer, performer, DEF_STRING_LEN); +- g_strlcpy (t->name, name, DEF_STRING_LEN); +- g_strlcpy (t->genre, genre, DEF_STRING_LEN); ++ g_strlcpy (t->performer, performer ? performer : "", DEF_STRING_LEN); ++ g_strlcpy (t->name, name ? name : "", DEF_STRING_LEN); ++ g_strlcpy (t->genre, genre ? genre : "", DEF_STRING_LEN); + } + + /* thread safe (mutex may be locked) */ +@@ -622,23 +627,32 @@ static void scan_cd (void) + } + + /* get trackinfo[0] cdtext information (the disc) */ ++ cdtext_t *pcdtext = NULL; + if (aud_get_bool ("CDDA", "use_cdtext")) + { + AUDDBG ("getting cd-text information for disc\n"); +- cdtext_t *pcdtext = cdio_get_cdtext (pcdrom_drive->p_cdio, 0); ++#if LIBCDIO_VERSION_NUM >= 90 ++ pcdtext = cdio_get_cdtext (pcdrom_drive->p_cdio); ++ if (pcdtext == NULL) ++#else ++ pcdtext = cdio_get_cdtext (pcdrom_drive->p_cdio, 0); + if (pcdtext == NULL || pcdtext->field[CDTEXT_TITLE] == NULL) ++#endif + { + AUDDBG ("no cd-text available for disc\n"); + } + else + { + cdaudio_set_strinfo (&trackinfo[0], +- pcdtext->field[CDTEXT_PERFORMER] ? pcdtext-> +- field[CDTEXT_PERFORMER] : "", +- pcdtext->field[CDTEXT_TITLE] ? pcdtext-> +- field[CDTEXT_TITLE] : "", +- pcdtext->field[CDTEXT_GENRE] ? pcdtext-> +- field[CDTEXT_GENRE] : ""); ++#if LIBCDIO_VERSION_NUM >= 90 ++ cdtext_get(pcdtext, CDTEXT_FIELD_PERFORMER, 0), ++ cdtext_get(pcdtext, CDTEXT_FIELD_TITLE, 0), ++ cdtext_get(pcdtext, CDTEXT_FIELD_GENRE, 0)); ++#else ++ pcdtext->field[CDTEXT_PERFORMER], ++ pcdtext->field[CDTEXT_TITLE], ++ pcdtext->field[CDTEXT_GENRE]); ++#endif + } + } + +@@ -646,7 +660,7 @@ static void scan_cd (void) + bool_t cdtext_was_available = FALSE; + for (trackno = firsttrackno; trackno <= lasttrackno; trackno++) + { +- cdtext_t *pcdtext = NULL; ++#if LIBCDIO_VERSION_NUM < 90 + if (aud_get_bool ("CDDA", "use_cdtext")) + { + AUDDBG ("getting cd-text information for track %d\n", trackno); +@@ -657,16 +671,20 @@ static void scan_cd (void) + pcdtext = NULL; + } + } ++#endif + + if (pcdtext != NULL) + { + cdaudio_set_strinfo (&trackinfo[trackno], +- pcdtext->field[CDTEXT_PERFORMER] ? pcdtext-> +- field[CDTEXT_PERFORMER] : "", +- pcdtext->field[CDTEXT_TITLE] ? pcdtext-> +- field[CDTEXT_TITLE] : "", +- pcdtext->field[CDTEXT_GENRE] ? pcdtext-> +- field[CDTEXT_GENRE] : ""); ++#if LIBCDIO_VERSION_NUM >= 90 ++ cdtext_get(pcdtext, CDTEXT_FIELD_PERFORMER, trackno), ++ cdtext_get(pcdtext, CDTEXT_FIELD_TITLE, trackno), ++ cdtext_get(pcdtext, CDTEXT_FIELD_GENRE, trackno)); ++#else ++ pcdtext->field[CDTEXT_PERFORMER], ++ pcdtext->field[CDTEXT_TITLE], ++ pcdtext->field[CDTEXT_GENRE]); ++#endif + cdtext_was_available = TRUE; + } + else diff --git a/media-plugins/audacious-plugins/files/audacious-plugins_ldflags.patch b/media-plugins/audacious-plugins/files/audacious-plugins_ldflags.patch new file mode 100644 index 000000000000..359964ecd943 --- /dev/null +++ b/media-plugins/audacious-plugins/files/audacious-plugins_ldflags.patch @@ -0,0 +1,11 @@ +--- configure.old 2012-01-17 13:00:17.000000000 +0000 ++++ configure 2012-01-17 13:00:33.000000000 +0000 +@@ -5223,7 +5223,7 @@ + *linux*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +- LDFLAGS="$LDFLAGS -z defs" ++ LDFLAGS="$LDFLAGS -Wl,-z,defs" + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 diff --git a/media-plugins/audacious-plugins/metadata.xml b/media-plugins/audacious-plugins/metadata.xml new file mode 100644 index 000000000000..731f28e89c71 --- /dev/null +++ b/media-plugins/audacious-plugins/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> +</maintainer> +<use> + <flag name='adplug'>Build with AdPlug (Adlib sound card emulation) + support</flag> + <flag name='bs2b'>Enable Bauer Bauer stereophonic-to-binaural + headphone filter</flag> + <flag name='cue'>Support CUE sheets using the libcue library</flag> + <flag name='fluidsynth'>Support FluidSynth as MIDI synth backend</flag> + <flag name='http'>Support HTTP streams through neon</flag> + <flag name="gtk3">Link against version 3 of the GIMP Toolkit instead of version 2 (x11-libs/gtk+)</flag> + <flag name='midi'>Build with amidi-plug (MIDI synth) support</flag> + <flag name='scrobbler'>Build with scrobbler/LastFM submission support</flag> + <flag name='sid'>Build with SID (Commodore 64 Audio) support</flag> +</use> +</pkgmetadata> diff --git a/media-plugins/banshee-community-extensions/Manifest b/media-plugins/banshee-community-extensions/Manifest new file mode 100644 index 000000000000..da769d9a0197 --- /dev/null +++ b/media-plugins/banshee-community-extensions/Manifest @@ -0,0 +1,2 @@ +DIST banshee-community-extensions-2.2.0.tar.bz2 858373 SHA256 3ac0c7e9e00b8ab7b91a8942cb5b1fc360977b15ec303756d4a440704a22bb15 SHA512 7b130d69639bd9fca28d5320abf7c742e687ecf049711ac68230355a85faa5570ba349e6163ca982e9b24519e2224e1f2fb07ca6686cbf1c73a7e3cccf2e0598 WHIRLPOOL e5898414f75321847c6c487a3d8b3282fde77a6dc7c74812b75428266b8ea44c1510ad25e9521a96d531ea4c71bc52f367aed44d5b8448c86ea42144281e5d72 +DIST banshee-community-extensions-2.4.0.tar.bz2 892287 SHA256 6f20404de80090bb5d88a57c043e876a192f480ac3488ce7697344f1447d48b3 SHA512 fbaad9ede79fc2ae6ddccd3799e465ea9d0fc08251cca7be5a7eebe041b3b71d788bb767e070737c2d7c8ddeffcd196bc353d37c30489f1a77c6d9c2e2c991da WHIRLPOOL d8ba009ccbd1c8192ca3ec333a271f4f40205ed514fc7fd9c0a64ef43a3a96b923d5ffc7d175eee994f6e713f99e57670e7659a95a31205a2eed10b6be407400 diff --git a/media-plugins/banshee-community-extensions/banshee-community-extensions-2.2.0.ebuild b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.2.0.ebuild new file mode 100644 index 000000000000..e9730b42f009 --- /dev/null +++ b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.2.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit base mono + +DESCRIPTION="Community-developed plugins for the Banshee media player" +HOMEPAGE="http://banshee.fm/" +SRC_URI="http://download.banshee-project.org/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc lastfmfingerprint lirc lyrics mirage telepathy" + +DEPEND=">=dev-lang/mono-2.0 + >=media-sound/banshee-2.1.0[web] + >=gnome-base/gconf-2.0 + dev-dotnet/gconf-sharp:2 + doc? ( >=app-text/gnome-doc-utils-0.17.3 ) + lastfmfingerprint? ( + sci-libs/fftw:3.0 + media-libs/libsamplerate + ) + lirc? ( app-misc/lirc ) + mirage? ( + dev-libs/glib:2 + dev-db/sqlite:3 + sci-libs/fftw:3.0 + media-libs/libsamplerate + >=media-libs/gstreamer-0.10.15:0.10 + >=media-libs/gst-plugins-base-0.10.15:0.10 + ) + telepathy? ( + dev-dotnet/notify-sharp + >=dev-lang/mono-2.4.2 + )" +RDEPEND="${DEPEND} + !media-plugins/banshee-lyrics + !media-plugins/banshee-mirage" + +src_configure() { + # Disable ClutterFlow as we don't have clutter-sharp and co in tree + # Disable UbuntuOneMusicStore as we don't have ubuntuone-sharp + # Disable AppIndicator as it's not in tree + # Disable OpenVP as some of its dependencies are not in the tree + # Disable SoundMenu as it requires indicate-sharp + # Disable zeitgeistdataprovider as it requires zeitgeist-sharp + local myconf="--enable-gnome + --disable-static + --enable-release + --disable-maintainer-mode + --with-gconf-schema-file-dir=/etc/gconf/schemas + --with-vendor-build-id=Gentoo/${PN}/${PVR} + --disable-scrollkeeper + --disable-clutterflow --disable-appindicator --disable-openvp + --disable-zeitgeistdataprovider + --enable-ampache --enable-karaoke --enable-jamendo + --enable-randombylastfm --enable-albumartwriter + --enable-duplicatesongdetector" + + econf \ + $(use_enable doc user-help) \ + $(use_enable lastfmfingerprint) \ + $(use_enable lirc) \ + $(use_enable lyrics) \ + $(use_enable mirage) \ + $(use_enable telepathy) \ + $(use_enable test tests) \ + ${myconf} +} + +src_install() { + base_src_install + find "${D}" -name "*.la" -delete || die "remove of la files failed" + dodoc AUTHORS NEWS README +} diff --git a/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0-r1.ebuild b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0-r1.ebuild new file mode 100644 index 000000000000..3917e663534c --- /dev/null +++ b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit base mono + +DESCRIPTION="Community-developed plugins for the Banshee media player" +HOMEPAGE="http://banshee.fm/download/extensions/" +SRC_URI="http://download.banshee-project.org/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc lastfmfingerprint lirc lyrics mirage telepathy zeitgeist" + +DEPEND=">=dev-lang/mono-2.0 + >=media-sound/banshee-2.4.0[web] + >=gnome-base/gconf-2.0 + dev-dotnet/gconf-sharp:2 + doc? ( >=app-text/gnome-doc-utils-0.17.3 ) + lastfmfingerprint? ( + sci-libs/fftw:3.0 + media-libs/libsamplerate + ) + lirc? ( app-misc/lirc ) + mirage? ( + dev-libs/glib:2 + dev-db/sqlite:3 + sci-libs/fftw:3.0 + media-libs/libsamplerate + >=media-libs/gstreamer-0.10.15:0.10 + >=media-libs/gst-plugins-base-0.10.15:0.10 + ) + telepathy? ( + dev-dotnet/notify-sharp + >=dev-lang/mono-2.4.2 + ) + zeitgeist? ( + dev-libs/libzeitgeist + dev-dotnet/zeitgeist-sharp + )" +RDEPEND="${DEPEND} + !media-plugins/banshee-lyrics + !media-plugins/banshee-mirage" + +DOCS=( AUTHORS NEWS README ) + +src_configure() { + # Disable ClutterFlow as we don't have clutter-sharp and co in tree + # Disable UbuntuOneMusicStore as we don't have ubuntuone-sharp + # Disable AppIndicator as it's not in tree + # Disable OpenVP as some of its dependencies are not in the tree + # Disable SoundMenu as it requires indicate-sharp + # Disable zeitgeistdataprovider as it requires zeitgeist-sharp + local myconf="--enable-gnome + --disable-static + --enable-release + --disable-maintainer-mode + --with-gconf-schema-file-dir=/etc/gconf/schemas + --with-vendor-build-id=Gentoo/${PN}/${PVR} + --disable-scrollkeeper + --disable-clutterflow --disable-appindicator --disable-openvp + --enable-ampache --enable-karaoke --enable-jamendo + --enable-randombylastfm --enable-albumartwriter + --enable-duplicatesongdetector --enable-foldersync" + + econf \ + $(use_enable doc user-help) \ + $(use_enable lastfmfingerprint) \ + $(use_enable lirc) \ + $(use_enable lyrics) \ + $(use_enable mirage) \ + $(use_enable telepathy) \ + $(use_enable zeitgeist zeitgeistdataprovider) \ + $(use_enable test tests) \ + ${myconf} +} + +src_install() { + base_src_install + prune_libtool_files --all +} diff --git a/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0.ebuild b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0.ebuild new file mode 100644 index 000000000000..a7a50986fcdd --- /dev/null +++ b/media-plugins/banshee-community-extensions/banshee-community-extensions-2.4.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit base mono + +DESCRIPTION="Community-developed plugins for the Banshee media player" +HOMEPAGE="http://banshee.fm/download/extensions/" +SRC_URI="http://download.banshee-project.org/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc lastfmfingerprint lirc lyrics mirage telepathy" + +DEPEND=">=dev-lang/mono-2.0 + >=media-sound/banshee-2.4.0[web] + >=gnome-base/gconf-2.0 + dev-dotnet/gconf-sharp:2 + doc? ( >=app-text/gnome-doc-utils-0.17.3 ) + lastfmfingerprint? ( + sci-libs/fftw:3.0 + media-libs/libsamplerate + ) + lirc? ( app-misc/lirc ) + mirage? ( + dev-libs/glib:2 + dev-db/sqlite:3 + sci-libs/fftw:3.0 + media-libs/libsamplerate + >=media-libs/gstreamer-0.10.15:0.10 + >=media-libs/gst-plugins-base-0.10.15:0.10 + ) + telepathy? ( + dev-dotnet/notify-sharp + >=dev-lang/mono-2.4.2 + )" +RDEPEND="${DEPEND} + !media-plugins/banshee-lyrics + !media-plugins/banshee-mirage" + +DOCS=( AUTHORS NEWS README ) + +src_configure() { + # Disable ClutterFlow as we don't have clutter-sharp and co in tree + # Disable UbuntuOneMusicStore as we don't have ubuntuone-sharp + # Disable AppIndicator as it's not in tree + # Disable OpenVP as some of its dependencies are not in the tree + # Disable SoundMenu as it requires indicate-sharp + # Disable zeitgeistdataprovider as it requires zeitgeist-sharp + local myconf="--enable-gnome + --disable-static + --enable-release + --disable-maintainer-mode + --with-gconf-schema-file-dir=/etc/gconf/schemas + --with-vendor-build-id=Gentoo/${PN}/${PVR} + --disable-scrollkeeper + --disable-clutterflow --disable-appindicator --disable-openvp + --enable-ampache --enable-karaoke --enable-jamendo + --enable-randombylastfm --enable-albumartwriter + --enable-duplicatesongdetector --enable-foldersync" + + econf \ + $(use_enable doc user-help) \ + $(use_enable lastfmfingerprint) \ + $(use_enable lirc) \ + $(use_enable lyrics) \ + $(use_enable mirage) \ + $(use_enable telepathy) \ + --disable-zeitgeistdataprovider \ + $(use_enable test tests) \ + ${myconf} +} + +src_install() { + base_src_install + prune_libtool_files --all +} diff --git a/media-plugins/banshee-community-extensions/metadata.xml b/media-plugins/banshee-community-extensions/metadata.xml new file mode 100644 index 000000000000..ceff0fb2ab2a --- /dev/null +++ b/media-plugins/banshee-community-extensions/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <herd>gstreamer</herd> + <use> + <flag name="lastfmfingerprint">Enable support to ientify your + music automatically, using the Last.fm online service.</flag> + <flag name="lirc">Enable the remote control plugin (uses + <pkg>app-misc/lirc</pkg>)</flag> + <flag name="lyrics">Enable support for automatically fetching + lyrics</flag> + <flag name="mirage">Enable the Mirage plugin which automatically, and + intelligently generates playlists for you</flag> + <flag name="telepathy">Enables the Telepathy plugin which lets you to + share and stream music with IM buddies</flag> + <flag name="zeitgeist">Build the plugin to inject events to <pkg>gnome-extra/zeitgeist</pkg></flag> + </use> +</pkgmetadata> diff --git a/media-plugins/calf/Manifest b/media-plugins/calf/Manifest new file mode 100644 index 000000000000..65b6ac7ff478 --- /dev/null +++ b/media-plugins/calf/Manifest @@ -0,0 +1 @@ +DIST calf-0.0.60.tar.gz 5594386 SHA256 5ca8d3c8fbdca52304cbd01d80eebc0e2adf6bc6404a05a5fc58a0f5512c8100 SHA512 85a814b1210765bd16a60a4921c4518b1721c6b72aa9c902d1c0f8e4dcad285de2b52e3c2783bc221b575c61de9c859f40d589cf8a68efc260f393a864dfc360 WHIRLPOOL 4cf931e1f6bddf4b4b53cd2d18f61c400fdf8c2137507f3623414bdd39980502163eb4cebcac953d9ab38e5571cbaf9de54e6c7cb25bfb61e59e2d0efbc5b692 diff --git a/media-plugins/calf/calf-0.0.60.ebuild b/media-plugins/calf/calf-0.0.60.ebuild new file mode 100644 index 000000000000..3a0b8061f503 --- /dev/null +++ b/media-plugins/calf/calf-0.0.60.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +AUTOTOOLS_AUTORECONF=yes +inherit autotools-utils + +DESCRIPTION="A set of open source instruments and effects for digital audio workstations" +HOMEPAGE="http://calf-studio-gear.org/" + +if [[ "${PV}" = "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/calf-studio-gear/calf.git" +else + SRC_URI="https://github.com/calf-studio-gear/calf/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="lash lv2 static-libs" + +RDEPEND="dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + gnome-base/libglade:2.0 + media-sound/fluidsynth + media-sound/jack-audio-connection-kit + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/pango + lash? ( media-sound/lash ) + lv2? ( media-libs/lv2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + myeconfargs=( + --with-lv2-dir=/usr/$(get_libdir)/lv2 + $(use_with lash) + $(use_with lv2) + ) + autotools-utils_src_configure +} diff --git a/media-plugins/calf/calf-9999.ebuild b/media-plugins/calf/calf-9999.ebuild new file mode 100644 index 000000000000..3a0b8061f503 --- /dev/null +++ b/media-plugins/calf/calf-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +AUTOTOOLS_AUTORECONF=yes +inherit autotools-utils + +DESCRIPTION="A set of open source instruments and effects for digital audio workstations" +HOMEPAGE="http://calf-studio-gear.org/" + +if [[ "${PV}" = "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/calf-studio-gear/calf.git" +else + SRC_URI="https://github.com/calf-studio-gear/calf/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="lash lv2 static-libs" + +RDEPEND="dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + gnome-base/libglade:2.0 + media-sound/fluidsynth + media-sound/jack-audio-connection-kit + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/pango + lash? ( media-sound/lash ) + lv2? ( media-libs/lv2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + myeconfargs=( + --with-lv2-dir=/usr/$(get_libdir)/lv2 + $(use_with lash) + $(use_with lv2) + ) + autotools-utils_src_configure +} diff --git a/media-plugins/calf/metadata.xml b/media-plugins/calf/metadata.xml new file mode 100644 index 000000000000..7e7647c57c5a --- /dev/null +++ b/media-plugins/calf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <use> + <flag name="lv2">Add support for Ladspa V2</flag> + </use> + <upstream> + <remote-id type="github">calf-studio-gear/calf</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/caps-plugins/Manifest b/media-plugins/caps-plugins/Manifest new file mode 100644 index 000000000000..ebac19d8f1c8 --- /dev/null +++ b/media-plugins/caps-plugins/Manifest @@ -0,0 +1,5 @@ +DIST caps-doc_0.9.10.tar.bz2 833461 SHA256 0384181ba7bfb48da10631f3e4a9040e242755cce20091880adcdfaf054e328e SHA512 4e8cb72a6e49aa48f4984ecc41269ea316391b9e1316b2938c9e90008ec1cfb1ce08ab4577d2af8e370439b3c074c874a5539a5232f49cf9524393a9ca93c642 WHIRLPOOL 7ef3468e154c9bc9977a26da20a6161f7ce0e89a87755db9d32f98957639f93d5900df4205bfa9e5b03827bfe3c87b5ac5a6a5986d142e22e6ce0fbebc40f443 +DIST caps-doc_0.9.15.tar.bz2 795374 SHA256 7d6b471ef039de7d09df07c0692c3d17298e34a2a3b54325d2971526368c72fb SHA512 5fa72b6b057ceefda0695df9cf2e1866a4635bb757ed6e184fa3548f54eb0dc3a0ef3f65808819550e326f557d0de5614940c2f700d00a8ffa8d364026781f65 WHIRLPOOL ff3ef07e297fa86b8f17c5c88e7864b627612788055b0262be1b4e57232002e10d9be2a045cb4ba12fb0c07858aef84e9f549843cfaa3063f630c9232338043f +DIST caps_0.4.5.tar.gz 790187 SHA256 cba5a7785ab5b1c596250fded999215906bc7eda7c8a688f677de15698e31616 SHA512 5ceaa43e40f3a5d746abc847b8c8e4a2aafe1569b3d370b32b09a64ac52e642b172cc6b944b495b902e5c2a81c538f3406e08124475a80cc143c6e33ee960f15 WHIRLPOOL c219010c7c28508ab5c5606742131369ba8c115f17775f61bdea4ccc06ba015014fb871bb3abc4b9896f3ca61f7345d0b829fde87be53772a2fe9d7dc62a8280 +DIST caps_0.9.10.tar.bz2 683323 SHA256 9d25395edb8bc68989c0aeafd888de542dc7c1484a6ca97c9a92918d57e2a812 SHA512 7d1e4d8e70a967e0a704ba50fa87dbac0b85c6d0f2359e869d89b22f88278659511ca0abfe960a6defa5d887db2c0d4956f5e069dd96d90deee358d5391b4ee5 WHIRLPOOL 7ca125a09cc1fd96071fe9285825cd4aeea5d523d8582b0facb4e3b6369f68c9d2a043466ad0ba00446a7ba52f31d14f972ff92a5ad8733a982ccc014ad088f5 +DIST caps_0.9.15.tar.bz2 683218 SHA256 a4f0cd12bf4d8605adc94b1dfb23e38989c05bdbc71702f1cf3afd0928157995 SHA512 91984a80cd3e750fb995f9d7f7d4ea44cdfce1a6b49944ed4eb5c3ddbdf9abf87dfd3005ba5a94686d2320bea603f4faf177201e15e0eeafb6a0284f0cb368ae WHIRLPOOL 09afcc03aa1107aae82b22143fa228f93cc5087a4de3ce291c3ebf58ce13624954a74ac8c4ee7acc41aa136067c53da491265b4d19f540746122363f331201d1 diff --git a/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild new file mode 100644 index 000000000000..6f58fa5604ca --- /dev/null +++ b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs multilib + +IUSE="" +MY_P=caps-${PV} + +DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite" +HOMEPAGE="http://quitte.de/dsp/caps.html" +SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${P}-double-free-corruption.patch" +} + +src_compile() { + emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)" || die +} + +src_install() { + dodoc README CHANGES + dohtml caps.html + + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so + + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf +} diff --git a/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild b/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild new file mode 100644 index 000000000000..f48969027d1d --- /dev/null +++ b/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs multilib multilib-minimal + +IUSE="" +MY_P=caps-${PV} + +DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite" +HOMEPAGE="http://quitte.de/dsp/caps.html" +SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND=" + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" + +S="${WORKDIR}/${MY_P}" +DOCS=( README CHANGES ) + +src_prepare() { + epatch "${FILESDIR}/${P}-double-free-corruption.patch" + multilib_copy_sources +} + +multilib_src_compile() { + emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)" +} + +multilib_src_install() { + dohtml caps.html + + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} + +multilib_src_install_all() { + einstalldocs + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf +} diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.10.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.10.ebuild new file mode 100644 index 000000000000..2af5516df12e --- /dev/null +++ b/media-plugins/caps-plugins/caps-plugins-0.9.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs multilib multilib-minimal + +IUSE="doc" +MY_P=caps-${PV} + +DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite" +HOMEPAGE="http://quitte.de/dsp/caps.html" +SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2 + doc? ( http://quitte.de/dsp/caps-doc_${PV}.tar.bz2 )" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND=" + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" + +S="${WORKDIR}/${MY_P}" +DOCS=( README CHANGES ) + +src_prepare() { + multilib_copy_sources +} + +multilib_src_compile() { + emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" ARCH="" _LDFLAGS="-shared ${LDFLAGS}" CC="$(tc-getCXX)" +} + +multilib_src_install() { + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} + +multilib_src_install_all() { + einstalldocs + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf + + use doc && dohtml -r "${WORKDIR}/caps-doc-${PV}/." +} diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild new file mode 100644 index 000000000000..8d37b2e96ee6 --- /dev/null +++ b/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs multilib multilib-minimal + +IUSE="doc" +MY_P=caps-${PV} + +DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite" +HOMEPAGE="http://quitte.de/dsp/caps.html" +SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2 + doc? ( http://quitte.de/dsp/caps-doc_${PV}.tar.bz2 )" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND=" + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" + +S="${WORKDIR}/${MY_P}" +DOCS=( README CHANGES ) + +src_prepare() { + multilib_copy_sources +} + +multilib_src_compile() { + emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" ARCH="" _LDFLAGS="-shared ${LDFLAGS}" CC="$(tc-getCXX)" +} + +multilib_src_install() { + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} + +multilib_src_install_all() { + einstalldocs + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf + + use doc && dohtml -r "${WORKDIR}/caps-doc-${PV}/." +} diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch new file mode 100644 index 000000000000..a85e41cd1f10 --- /dev/null +++ b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/show_bug.cgi?id=418241 + +--- interface.cc.orig 2012-08-11 07:35:45.723235289 -0300 ++++ interface.cc 2012-08-11 07:36:46.656565620 -0300 +@@ -128,8 +128,10 @@ + __attribute__ ((destructor)) + void _fini() + { +- for (ulong i = 0; i < N; ++i) ++ for (ulong i = 0; i < N; ++i) { + delete descriptors[i]; ++ descriptors[i] = NULL; ++ } + } + + /* /////////////////////////////////////////////////////////////////////// */ diff --git a/media-plugins/caps-plugins/metadata.xml b/media-plugins/caps-plugins/metadata.xml new file mode 100644 index 000000000000..b56ef9e42ed2 --- /dev/null +++ b/media-plugins/caps-plugins/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +<longdescription>The CAPS Audio Plugin Suite - LADSPA plugin suite which includes DSP units emulating instrument amplifiers, stomp-box classics, versatile 'virtual analogue' oscillators, fractal oscillation, reverb, equalization and others</longdescription> +</pkgmetadata> diff --git a/media-plugins/emotion_generic_players/Manifest b/media-plugins/emotion_generic_players/Manifest new file mode 100644 index 000000000000..314fe20070af --- /dev/null +++ b/media-plugins/emotion_generic_players/Manifest @@ -0,0 +1 @@ +DIST emotion_generic_players-1.15.0.tar.xz 100080 SHA256 9f6d5e9041ac7c014d663dac56d1b39ac42a45abe954d09d0edbf6e759e55f5f SHA512 e0dbebadf9fa3b8b6af4f6828e13a7445731508f219258d2c12c6c0a27e140571dc7abf657fe34fba4295a4c5f6a370950e29c9b3c5dad38ab746e20ccaa4ea3 WHIRLPOOL 1ad44ce27f975244420a4ccd376240d125a93f6894e785faf2ad6f620e35975dbba2d481273c81347dd5e1816c579c47a99d2291e5448964e949be9650bd077b diff --git a/media-plugins/emotion_generic_players/emotion_generic_players-1.15.0.ebuild b/media-plugins/emotion_generic_players/emotion_generic_players-1.15.0.ebuild new file mode 100644 index 000000000000..95a76648f420 --- /dev/null +++ b/media-plugins/emotion_generic_players/emotion_generic_players-1.15.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_P=${PN}-${PV/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" + +LICENSE="GPL-2" +# The -arch need to keyword vlc first. +KEYWORDS="~alpha ~amd64 ~arm -hppa -ia64 ~mips ~ppc ~ppc64 ~sh -sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris" + +RDEPEND=">=dev-libs/efl-${PV} + media-video/vlc" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} diff --git a/media-plugins/emotion_generic_players/emotion_generic_players-9999.ebuild b/media-plugins/emotion_generic_players/emotion_generic_players-9999.ebuild new file mode 100644 index 000000000000..927cb92356e7 --- /dev/null +++ b/media-plugins/emotion_generic_players/emotion_generic_players-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_P=${PN}-${PV/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" + +LICENSE="GPL-2" + +RDEPEND=">=dev-libs/efl-${PV} + media-video/vlc" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} diff --git a/media-plugins/emotion_generic_players/metadata.xml b/media-plugins/emotion_generic_players/metadata.xml new file mode 100644 index 000000000000..99165add909f --- /dev/null +++ b/media-plugins/emotion_generic_players/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>enlightenment</herd> +</pkgmetadata> diff --git a/media-plugins/evas_generic_loaders/Manifest b/media-plugins/evas_generic_loaders/Manifest new file mode 100644 index 000000000000..5a8301653b80 --- /dev/null +++ b/media-plugins/evas_generic_loaders/Manifest @@ -0,0 +1,2 @@ +DIST evas_generic_loaders-1.12.0.tar.bz2 215245 SHA256 981a6b70cfcc99c95936c835c9992735fcb004a99579e461ae64d2e28ea14f20 SHA512 9752fad43843c4fe2a86d8fcab00176f2dcb27888b84f57632add70a47daa4ab5775c0dcbd785e4a8b20b4ce09f4fd6f361128f166cd1f4753ac86afeb8443d5 WHIRLPOOL 4657ef9113d6e0255c26f65bceda87f29defccfbf7cdb803d722d9dbff1ff45721dd4287bc98dd79a06c3072756e062df9391bb5828657c950cbe0c3baf6a77c +DIST evas_generic_loaders-1.15.0.tar.xz 186976 SHA256 1e539e4d4d4e1590345caeb7fdd84f47ec7cd63bb76b6b7107a87420a401fd7f SHA512 629f2d264b7904dbe4d057878c96ad78257bb73e1304ce441d7f14d4c1d5638793331e0b7bd376b9debe8761a62d96e5342ce642a7b1aa164aee595e327a6b08 WHIRLPOOL b5112d1833f274a90fc2087ece41e4c26057abbdc1ee7b2f73ce960ff4f533ea321e805f732538a4546a2a0305141d775ec0b4ea4f4040e0025bccaf63263611 diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-1.12.0.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.12.0.ebuild new file mode 100644 index 000000000000..e4a18fa06fca --- /dev/null +++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.12.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit enlightenment + +MY_P=${PN}-${PV/_/-} + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" +SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="gstreamer pdf postscript raw svg" + +S=${WORKDIR}/${MY_P} + +RDEPEND=" + >=dev-libs/efl-1.12.2 + gstreamer? ( media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 ) + pdf? ( app-text/poppler ) + postscript? ( app-text/libspectre ) + raw? ( media-libs/libraw ) + svg? ( gnome-base/librsvg + x11-libs/cairo )" +DEPEND="${RDEPEND}" + +src_configure() { + local MY_ECONF="$(use_enable gstreamer gstreamer1) + $(use_enable pdf poppler) + $(use_enable postscript spectre) + $(use_enable raw libraw) + $(use_enable svg) + + --disable-gstreamer" + + enlightenment_src_configure +} diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-1.15.0.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.15.0.ebuild new file mode 100644 index 000000000000..e40192ba49f1 --- /dev/null +++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.15.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_P=${PN}-${PV/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" + +LICENSE="GPL-2" +IUSE="gstreamer pdf postscript raw svg" + +RDEPEND=">=dev-libs/efl-${PV} + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + pdf? ( app-text/poppler ) + postscript? ( app-text/libspectre ) + raw? ( media-libs/libraw ) + svg? ( + gnome-base/librsvg + x11-libs/cairo + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + E_ECONF=( + $(use_enable gstreamer gstreamer1) + $(use_enable pdf poppler) + $(use_enable postscript spectre) + $(use_enable raw libraw) + $(use_enable svg) + + --disable-gstreamer + ) + + enlightenment_src_configure +} diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild new file mode 100644 index 000000000000..e40192ba49f1 --- /dev/null +++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_P=${PN}-${PV/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" + +LICENSE="GPL-2" +IUSE="gstreamer pdf postscript raw svg" + +RDEPEND=">=dev-libs/efl-${PV} + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + pdf? ( app-text/poppler ) + postscript? ( app-text/libspectre ) + raw? ( media-libs/libraw ) + svg? ( + gnome-base/librsvg + x11-libs/cairo + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + E_ECONF=( + $(use_enable gstreamer gstreamer1) + $(use_enable pdf poppler) + $(use_enable postscript spectre) + $(use_enable raw libraw) + $(use_enable svg) + + --disable-gstreamer + ) + + enlightenment_src_configure +} diff --git a/media-plugins/evas_generic_loaders/metadata.xml b/media-plugins/evas_generic_loaders/metadata.xml new file mode 100644 index 000000000000..99165add909f --- /dev/null +++ b/media-plugins/evas_generic_loaders/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>enlightenment</herd> +</pkgmetadata> diff --git a/media-plugins/fil-plugins/Manifest b/media-plugins/fil-plugins/Manifest new file mode 100644 index 000000000000..8dd5f0faf3ae --- /dev/null +++ b/media-plugins/fil-plugins/Manifest @@ -0,0 +1 @@ +DIST FIL-plugins-0.3.0.tar.bz2 16833 SHA256 1c0bf271211965f670a15a7783b4167307db77264ac1624a06e5667964da8ee9 diff --git a/media-plugins/fil-plugins/fil-plugins-0.3.0.ebuild b/media-plugins/fil-plugins/fil-plugins-0.3.0.ebuild new file mode 100644 index 000000000000..9d76f82798e6 --- /dev/null +++ b/media-plugins/fil-plugins/fil-plugins-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit multilib toolchain-funcs eutils + +MY_P=${P/fil/FIL} + +DESCRIPTION="FIL-plugins ladspa plugin package. Filters by Fons Adriaensen" +HOMEPAGE="http://www.kokkinizita.net/linuxaudio/" +SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-makefile.patch" +} + +src_compile() { + tc-export CXX + emake || die +} + +src_install() { + dodoc AUTHORS README || die + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so || die +} diff --git a/media-plugins/fil-plugins/files/fil-plugins-makefile.patch b/media-plugins/fil-plugins/files/fil-plugins-makefile.patch new file mode 100644 index 000000000000..625cab9d7325 --- /dev/null +++ b/media-plugins/fil-plugins/files/fil-plugins-makefile.patch @@ -0,0 +1,21 @@ +Index: FIL-plugins-0.3.0/Makefile +=================================================================== +--- FIL-plugins-0.3.0.orig/Makefile ++++ FIL-plugins-0.3.0/Makefile +@@ -15,14 +15,14 @@ + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + +-CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O3 ++CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall + + + all: filters.so + + + filters.so: filters.o filters_if.o exp2ap.o +- g++ -shared filters.o filters_if.o exp2ap.o -o filters.so ++ $(CXX) $(LDFLAGS) -shared filters.o filters_if.o exp2ap.o -o filters.so + + filters.o: ladspaplugin.h filters.h + filters_if.o: ladspaplugin.h filters.h diff --git a/media-plugins/fil-plugins/metadata.xml b/media-plugins/fil-plugins/metadata.xml new file mode 100644 index 000000000000..3a8ea7e02972 --- /dev/null +++ b/media-plugins/fil-plugins/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> +</pkgmetadata> diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest new file mode 100644 index 000000000000..c61cafb0e8bf --- /dev/null +++ b/media-plugins/frei0r-plugins/Manifest @@ -0,0 +1,2 @@ +DIST frei0r-plugins-1.3.tar.gz 1092809 SHA256 b25da901115aa7f960cf5e541057266fddf132a7521d628e6cb344c9f16c0236 SHA512 3fcbdb61b656db42b841df6485ca06e2fe2bb8ca16dc054f9154408f843c4170454f8b9fc619b49989f6da9990b67eb7ac6b548dd0fbfb560fdb0f2789346f90 WHIRLPOOL d79a14eae912bd9739b498c7e4d2949529f3e212835a337023bd9760bc9a1dbf239fb4e8cb7f038060d945932df725559fbf283c6362e2777d171126859eff05 +DIST frei0r-plugins-1.4.tar.gz 1164909 SHA256 8470fcabde9f341b729be3be16385ffc8383d6f3328213907a43851b6e83be57 SHA512 48e5da48a8886242bc5f38911f943d28d507d802076f5fcd2b5c9adc29ed40cb37f30316d4f4c253d279f17eb00c6acad47a7be3aeeec0def7a4aca1130b34fa WHIRLPOOL 6245799e4c56e80ca75db0a75836912412b7b91d55719a5d1d76c27f11a1df0f3ca8d3106903b6535a250cd5579be981bf8b01373c2bca7db1cf2857e449eb5e diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch new file mode 100644 index 000000000000..70d20329ff8d --- /dev/null +++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch @@ -0,0 +1,24 @@ +diff -up frei0r-plugins-1.1.21/src/Makefile.am.libdir frei0r-plugins-1.1.21/src/Makefile.am +--- frei0r-plugins-1.1.21/src/Makefile.am.libdir 2008-06-07 15:21:48.000000000 +0200 ++++ frei0r-plugins-1.1.21/src/Makefile.am 2008-06-07 15:23:30.000000000 +0200 +@@ -112,7 +112,7 @@ AM_CPPFLAGS = -I@top_srcdir@/include + AM_CFLAGS = -I@top_srcdir@/include + AM_LDFLAGS = -module -avoid-version -Wc,-nostartfiles + +-plugindir = @prefix@/lib/frei0r-1 ++plugindir = @libdir@/frei0r-1 + + + install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) +diff -up frei0r-plugins-1.1.21/src/Makefile.in.libdir frei0r-plugins-1.1.21/src/Makefile.in +--- frei0r-plugins-1.1.21/src/Makefile.in.libdir 2008-06-07 15:21:44.000000000 +0200 ++++ frei0r-plugins-1.1.21/src/Makefile.in 2008-06-07 15:23:08.000000000 +0200 +@@ -583,7 +583,7 @@ RGB_la_SOURCES = mixer3/RGB/RGB.c + AM_CPPFLAGS = -I@top_srcdir@/include + AM_CFLAGS = -I@top_srcdir@/include + AM_LDFLAGS = -module -avoid-version -Wc,-nostartfiles +-plugindir = @prefix@/lib/frei0r-1 ++plugindir = @libdir@/frei0r-1 + all: all-am + + .SUFFIXES: diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch new file mode 100644 index 000000000000..142a9a8c24f9 --- /dev/null +++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch @@ -0,0 +1,47 @@ +--- orig/configure.ac 2008-10-28 11:57:18.000000000 +0100 ++++ patched/configure.ac 2009-07-05 15:19:37.000000000 +0200 +@@ -11,12 +11,18 @@ + AC_PROG_CC + AC_PROG_LIBTOOL + ++ ++AC_ARG_ENABLE([facedetect], [ --enable-facedetect enable facedetect plugin (needs opencv)], ++ [facedetect=${enableval}], [facedetect=no]) ++ + HAVE_OPENCV=false +-PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, [HAVE_OPENCV=true], [true]) +-if test x$HAVE_OPENCV = xfalse; then +- AC_MSG_WARN([*** opencv >= 1.0.0 not found - this program enables optional plugin with the Open Source Computer Vision library >= 1.0.0 http://opencvlibrary.sourceforge.net/ ***]) +-else +- OPENCV_CFLAGS="$OPENCV_CFLAGS -DOPENCV_PREFIX=`pkg-config opencv --variable=prefix`" ++if test "x${facedetect}" = xyes; then ++ PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, [HAVE_OPENCV=true], [true]) ++ if test x$HAVE_OPENCV = xfalse; then ++ AC_MSG_WARN([*** opencv >= 1.0.0 not found - this program enables optional plugin with the Open Source Computer Vision library >= 1.0.0 http://opencvlibrary.sourceforge.net/ ***]) ++ else ++ OPENCV_CFLAGS="$OPENCV_CFLAGS -DOPENCV_PREFIX=`pkg-config opencv --variable=prefix`" ++ fi + fi + AM_CONDITIONAL([HAVE_OPENCV], [test x$HAVE_OPENCV = xtrue]) + +@@ -35,11 +41,16 @@ + AC_FUNC_MALLOC + AC_CHECK_FUNCS([floor memset pow sqrt]) + ++ ++AC_ARG_ENABLE([scale0tilt], [ --enable-scale0tilt enable scale0tilt plugin (needs gavl)], ++ [scale0tilt=${enableval}], [scale0tilt=no]) ++ + HAVE_GAVL=false +-PKG_CHECK_MODULES(GAVL, gavl >= 0.2.3, [HAVE_GAVL=true], [true]) +-if test x$HAVE_GAVL = xfalse; then +- AC_MSG_WARN([*** gavl >= 0.2.3 not found - this program enables optional plugin with the gmerlin audio +- video library >= 0.2.3 http://gmerlin.sourceforge.net/ ***]) ++if test "x${scale0tilt}" = xyes; then ++ PKG_CHECK_MODULES(GAVL, gavl >= 0.2.3, [HAVE_GAVL=true], [true]) ++ if test x$HAVE_GAVL = xfalse; then ++ AC_MSG_WARN([*** gavl >= 0.2.3 not found - this program enables optional plugin with the gmerlin audio video library >= 0.2.3 http://gmerlin.sourceforge.net/ ***]) ++ fi + fi + AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue]) + diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch new file mode 100644 index 000000000000..a60f18f217da --- /dev/null +++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch @@ -0,0 +1,49 @@ +From c950588f3e9188aa51e2cd3b9346bf346ad34118 Mon Sep 17 00:00:00 2001 +From: Luca Bigliardi <shammash@artha.org> +Date: Thu, 09 Apr 2009 15:10:53 +0000 +Subject: Add pkg-config support + +--- +diff --git a/Makefile.am b/Makefile.am +index 8e8dbf9..511dbc0 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -10,3 +10,7 @@ + + SUBDIRS=src include doc + EXTRA_DIST = Doxyfile ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = frei0r.pc ++ +diff --git a/configure.ac b/configure.ac +index ed440a9..49d65b2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -67,6 +67,7 @@ fi + AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue]) + + AC_CONFIG_FILES([ ++ frei0r.pc + Makefile + include/Makefile + src/Makefile +diff --git a/frei0r.pc.in b/frei0r.pc.in +new file mode 100644 +index 0000000..3bd60da +--- a/dev/null ++++ b/frei0r.pc.in +@@ -0,0 +1,11 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: frei0r ++Description: minimalistic plugin API for video effects ++Version: @VERSION@ ++Libs: ++Cflags: -I${includedir} ++ +-- +cgit v0.7.2-83-g9ec5 diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild new file mode 100644 index 000000000000..3c727db8c031 --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit cmake-utils multilib + +DESCRIPTION="A minimalistic plugin API for video effects" +HOMEPAGE="http://www.piksel.org/frei0r/" +SRC_URI="http://www.piksel.no/frei0r/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc x86 ~x86-fbsd" +IUSE="doc +facedetect +scale0tilt" + +RDEPEND="facedetect? ( >=media-libs/opencv-2.3.0 ) + scale0tilt? ( >=media-libs/gavl-1.2.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +S=${WORKDIR}/${P/-plugins} + +DOCS=( AUTHORS ChangeLog README TODO ) + +src_prepare() { + cat <<-EOF > "${T}"/frei0r.pc + Name: frei0r + Description: ${DESCRIPTION} + Version: ${PV} + EOF + + local f=CMakeLists.txt + + sed -i \ + -e '/set(CMAKE_C_FLAGS/d' \ + -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \ + ${f} || die + + # http://bugs.gentoo.org/418243 + sed -i \ + -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \ + src/filter/*/${f} || die + + use facedetect || sed -i -e '/package.*OpenCV/d' ${f} + use scale0tilt || sed -i -e '/modules.*gavl/d' ${f} +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + pushd doc + doxygen || die + popd + fi +} + +src_install() { + cmake-utils_src_install + + insinto /usr/$(get_libdir)/pkgconfig + doins "${T}"/frei0r.pc + + use doc && dohtml -r doc/html +} diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild new file mode 100644 index 000000000000..672a979e0b26 --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit cmake-utils multilib + +DESCRIPTION="A minimalistic plugin API for video effects" +HOMEPAGE="http://www.dyne.org/software/frei0r/" +SRC_URI="http://files.dyne.org/frei0r/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc +facedetect +scale0tilt" + +RDEPEND="x11-libs/cairo + facedetect? ( >=media-libs/opencv-2.3.0 ) + scale0tilt? ( >=media-libs/gavl-1.2.0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS ChangeLog README TODO ) + +src_prepare() { + local f=CMakeLists.txt + + sed -i \ + -e '/set(CMAKE_C_FLAGS/d' \ + -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \ + ${f} || die + + # http://bugs.gentoo.org/418243 + sed -i \ + -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \ + src/filter/*/${f} || die +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use "!facedetect" "WITHOUT_GAVL" ) + $(cmake-utils_use "!scale0tilt" "WITHOUT_OPENCV") + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + pushd doc + doxygen || die + popd + fi +} + +src_install() { + cmake-utils_src_install + + use doc && dohtml -r doc/html +} diff --git a/media-plugins/frei0r-plugins/metadata.xml b/media-plugins/frei0r-plugins/metadata.xml new file mode 100644 index 000000000000..296444e60bc9 --- /dev/null +++ b/media-plugins/frei0r-plugins/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <use> + <flag name='facedetect'>Enables building of facedetect plugin, which + depends on <pkg>media-libs/opencv</pkg> + </flag> + <flag name='scale0tilt'>Enables building of scale0tilt and vectorscope + plugins, which depend on <pkg>media-libs/gavl</pkg> + </flag> + </use> +</pkgmetadata> diff --git a/media-plugins/gimp-gmic/Manifest b/media-plugins/gimp-gmic/Manifest new file mode 100644 index 000000000000..86fa815b986f --- /dev/null +++ b/media-plugins/gimp-gmic/Manifest @@ -0,0 +1,4 @@ +DIST gmic_1.6.0.2.tar.gz 3013936 SHA256 ec9fa41bb8c27f883b9f845258d41f8024936c80bdec723a1c67cfe05ef9b900 SHA512 9d754cc2c72835bd139a39f72863f5315bebc25716efadb023f54661a4bb3fbf29066ddcd258ab8f084164edc9bd02f77a5a801b5c0753322f959205ce0adaf1 WHIRLPOOL 1d8e7126901b7a269f0aae9bdc1bd05a859efa3269de892e712892aa0c06eeb856c27cf05564bac30abcacf27f3e11d2bcc8f179fc29a675960d6640567cdc0c +DIST gmic_1.6.0.3.tar.gz 3019692 SHA256 91ce6cfe58e29a6819bf849346bf049d2d73f826bbd7b8b8de42dae7d54c7752 SHA512 377b361fc178ab73a7542a39243d32de970ad6ec5928c295d86acf1bd67efc2ebaf72ce818b55c6a7aeda17eb657fbf4176f4f4c90bc48179419842343e3619b WHIRLPOOL fb78366cd72467b2c1ac2e3f704061be173ba28cb888dabee56f7c4c7c2a4b870293c2e1ae88c87edad8f4e511944bb99218e9fae2d30226c1a4b07b001927f6 +DIST gmic_1.6.0.4.tar.gz 3073596 SHA256 ef83e4efc31280e819d02315b1ebbaec6c0b8ebb960da3e785651572853b8f58 SHA512 75c0adc8a0460c140ec656403053e4533fc6434a0b23c2ac842045aeb788a8ce5da5338832574e76e06fd710bebf5ec627a5bc894f00081ffd1b37a5c6aa852e WHIRLPOOL 1eb3afc6c9fb9c07999e5e497e6d6c5075fda46293417e889511c28c9e0ce26b0070e1356dcf0db9bb49e76b83d75941ed917c01b61c98ab537430ea938c831d +DIST gmic_1.6.5.0.tar.gz 3005945 SHA256 ebc98c4f5848b8343d581104e072299529ac3edbcea7b565ffd6e1fb4bfd66ed SHA512 3feb5589dcc341106ce1305ce2d3f90776f074607bec3b8413519aa5f2c9dc9554a9ee7a5ba1d52d1a9e7676e6bff135d444276c989511f973cd456136d0e4e1 WHIRLPOOL 02f3f711fa9c876fba39e56a42c30f62a6c2d0848ae836f9635d7df0ef57f48f2a8f09ca361232c2239e473046fe7d085260ac365d2e7b6d49e65c3c0aa2e9bc diff --git a/media-plugins/gimp-gmic/files/gmic-1.6.0.2-makefile.patch b/media-plugins/gimp-gmic/files/gmic-1.6.0.2-makefile.patch new file mode 100644 index 000000000000..2ec90476f410 --- /dev/null +++ b/media-plugins/gimp-gmic/files/gmic-1.6.0.2-makefile.patch @@ -0,0 +1,155 @@ +--- gmic-1.6.0.2/src/Makefile ++++ gmic-1.6.0.2/src/Makefile +@@ -85,7 +85,6 @@ + else
+ MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/$(INCLUDE)
+ endif
+-MANDATORY_LIBS += -L$(USR)/$(LIB)
+ ifeq ($(notdir $(CC)),g++)
+ MANDATORY_CFLAGS += -Wall -W
+ MANDATORY_LIBS += -lm
+@@ -142,14 +141,14 @@ + # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
+ # This requires the presence of the X11 include and library files.
+ # (package 'libx11-dev' on Debian).
+-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
+-X11_LIBS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
++X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
++X11_LIBS = -lX11 -lpthread #-lXrandr
+
+ # Flags to enable fast display, using XShm.
+ # This requires the presence of the X11 extension include and library files.
+ # (package 'libx11-dev' on Debian).
+ XSHM_CFLAGS = -Dcimg_use_xshm
+-XSHM_LIBS = -L$(USR)/X11R6/lib -lXext
++XSHM_LIBS = -lXext
+
+ # Flags to enable image display, using GDI32.
+ # This requires the presence of the GDI32 include and library files.
+@@ -177,8 +176,8 @@ + # Flags to enable native support for MINC2 image files, using the MINC2 library.
+ # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide )
+ # (package 'libminc-dev' on Debian).
+-MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include
+-MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib
++MINC2_CFLAGS = -Dcimg_use_minc2
++MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz
+
+ # Flags to enable native support for compressed .cimgz files, using the Zlib library.
+ # This requires the presence of the Zlib include and library files.
+@@ -345,10 +344,10 @@ + endif
+
+ gimp:
+- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS) $(OPT_LIBS)" "STRIP_EXE=1" gmic_gimp
++ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS) $(OPT_LIBS)" gmic_gimp
+
+ lib:
+- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_LIB_LIBS) $(OPT_LIBS)" gmic_lib
++ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_LIB_LIBS) $(OPT_LIBS)" gmic_lib
+
+ zart: lib
+ ifneq ($(OS),Darwin)
+@@ -359,7 +358,7 @@ +
+ # Entries for other configurations.
+ linux:
+- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" "STRIP_EXE=1" gmic
++ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" gmic
+
+ solaris:
+ $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic
+@@ -386,28 +385,27 @@ + $(MAKE) "CFLAGS+=$(MINIMAL_MACOSX_CFLAGS)" "LIBS+=$(MINIMAL_MACOSX_LIBS)" gmic
+
+ custom:
+- $(MAKE) "CFLAGS=$(CUSTOM_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(CUSTOM_UNIX_LIBS)" "STRIP_EXE=1" gmic
++ $(MAKE) "CFLAGS+=$(CUSTOM_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(CUSTOM_UNIX_LIBS)" gmic
+
+ # Internal rules to build compilation modules.
+ gmic_lib.o: gmic.cpp
+ $(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS)
+ gmic_lib: gmic_lib.o
+- ar rcs libgmic.a gmic_lib.o
++ $(AR) rcs libgmic.a gmic_lib.o
+ ifneq ($(OS),Darwin)
+- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LIBS)
++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LIBS)
+ $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LIBS)
+ else
+- $(CC) -shared -o libgmic.so gmic_lib.o $(LIBS)
++ $(CC) $(LDFLAGS) -shared -o libgmic.so gmic_lib.o $(LIBS)
+ endif
+
+ gmic_gimp.o: gmic.cpp CImg.h
+ $(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp
+ gmic_gimp : gmic_gimp.o gmic_gimp.cpp
+- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS)
+- strip gmic_gimp$(EXE)
++ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS)
+
+ gmic: gmic.cpp gmic.h CImg.h
+- $(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_main $(LIBS)
++ $(CC) -o gmic gmic.cpp $(CFLAGS) $(LDFLAGS) -Dgmic_main $(LIBS)
+
+ gmic_def.h: gmic_def.gmic
+ @echo "#ifndef gmic_gimp" > gmic_def.h
+@@ -422,20 +420,25 @@ + # Generate bash completion script.
+ bashcompletion:
+ @mkdir -p ../resources
+- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh
++ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh
+
+ # Generate man page.
+ man:
+ @mkdir -p ../man
+- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1
+- @gzip -f ../man/gmic.1
++ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1
++
++install: install-gimp install-bin install-lib install-man install-bash
+
+ # Install/uninstall/clean procedures.
+-install:
++install-gimp:
+ mkdir -p $(DESTDIR)$(PLUGINDIR)/
+ cp -f gmic_gimp $(DESTDIR)$(PLUGINDIR)/
++
++install-bin:
+ mkdir -p $(DESTDIR)$(USR)/$(BIN)/
+ cp -f gmic $(DESTDIR)$(USR)/$(BIN)/
++
++install-lib:
+ mkdir -p $(DESTDIR)$(USR)/$(INCLUDE)/
+ cp -f gmic.h $(DESTDIR)$(USR)/$(INCLUDE)/
+ ifneq ($(OS),Darwin)
+@@ -445,13 +448,14 @@ + ln -s libgmic.so.1.6.0 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
+ ln -s libgmic.so.1 $(DESTDIR)$(USR)/$(LIB)/libgmic.so
+ endif
++
++install-man:
+ mkdir -p $(DESTDIR)$(USR)/share/man/
+ mkdir -p $(DESTDIR)$(USR)/share/man/man1/
+- mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/
+- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
+- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
++ cp -f ../man/gmic.1 $(DESTDIR)$(USR)/share/man/man1/gmic.1
++
++install-bash:
+ if [ -d /etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
+- if [ -d /opt/local/etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
+
+ uninstall:
+ rm -f $(DESTDIR)$(USR)/$(BIN)/gmic
+@@ -460,8 +464,7 @@ + rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
+ rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so
+ rm -rf $(DESTDIR)$(USR)/share/doc/gmic/
+- rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
+- rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
++ rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1
+
+ distclean: clean
+
diff --git a/media-plugins/gimp-gmic/files/gmic-1.6.5.0-makefile.patch b/media-plugins/gimp-gmic/files/gmic-1.6.5.0-makefile.patch new file mode 100644 index 000000000000..91e7528ae850 --- /dev/null +++ b/media-plugins/gimp-gmic/files/gmic-1.6.5.0-makefile.patch @@ -0,0 +1,154 @@ +--- gmic-1.6.5.0/src/Makefile ++++ gmic-1.6.5.0/src/Makefile +@@ -85,7 +85,6 @@ + ifndef NO_STDLIB + MANDATORY_CFLAGS += -std=c++11 + endif +-MANDATORY_LIBS += -L$(USR)/$(LIB) + ifeq ($(notdir $(CC)),g++) + MANDATORY_CFLAGS += -Wall -W + MANDATORY_LIBS += -lm +@@ -139,14 +138,14 @@ + # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too). + # This requires the presence of the X11 include and library files. + # (package 'libx11-dev' on Debian). +-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr +-X11_LIBS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr ++X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr ++X11_LIBS = -lX11 -lpthread #-lXrandr + + # Flags to enable fast display, using XShm. + # This requires the presence of the X11 extension include and library files. + # (package 'libx11-dev' on Debian). + XSHM_CFLAGS = -Dcimg_use_xshm +-XSHM_LIBS = -L$(USR)/X11R6/lib -lXext ++XSHM_LIBS = -lXext + + # Flags to enable image display, using GDI32. + # This requires the presence of the GDI32 include and library files. +@@ -174,8 +173,8 @@ + # Flags to enable native support for MINC2 image files, using the MINC2 library. + # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide ) + # (package 'libminc-dev' on Debian). +-MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include +-MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib ++MINC2_CFLAGS = -Dcimg_use_minc2 ++MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz + + # Flags to enable native support for downloading files from the network. + # ( http://curl.haxx.se/libcurl/ ) +@@ -325,7 +324,6 @@ + + cli: + $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic +- strip gmic$(EXE) + + gimp: + $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp +@@ -335,11 +333,9 @@ + + gmicol: + $(MAKE) "CFLAGS+=$(STD_GMICOL_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GMICOL_LIBS)" gmic +- strip gmic$(EXE) + + static: + $(MAKE) "CFLAGS+=$(STATIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STATIC_CLI_LIBS)" gmic +- strip gmic$(EXE) + + debug: + $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(DEBUG_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic +@@ -355,24 +351,22 @@ + libgmic.o: gmic.cpp gmic.h gmic_def.h CImg.h + $(CC) -o libgmic.o -c gmic.cpp -fPIC $(CFLAGS) + +-libgmic: libgmic.o gmic_use_lib.cpp +- ar rcs libgmic.a libgmic.o ++libgmic: libgmic.o ++ $(AR) rcs libgmic.a libgmic.o + ifeq ($(OS),Darwin) +- $(CC) -shared -o libgmic.so libgmic.o $(LIBS) ++ $(CC) $(LDFLAGS) -shared -o libgmic.so libgmic.o $(LIBS) + else +- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) +- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) + endif + + gmic_gimp.o: gmic.cpp gmic.h gmic_def.h CImg.h + $(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp $(CFLAGS) + + gmic_gimp : gmic_gimp.o gmic_gimp.cpp +- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) +- strip gmic_gimp$(EXE) ++ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) + + gmic: gmic.cpp gmic.h gmic_def.h CImg.h +- $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LIBS) ++ $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LDFLAGS) $(LIBS) + + gmic_def.h: + @wget --quiet -O gmic_def.h http://gmic.eu/gmic_def.h +@@ -397,38 +391,43 @@ + # Generate bash completion script (requires 'gmic' to be installed first). + bashcompletion: + @mkdir -p ../resources +- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh ++ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh + + # Generate man page (requires 'gmic' to be installed first). + man: + @mkdir -p ../man +- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 +- @gzip -f ../man/gmic.1 ++ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 + + # Install/uninstall/clean procedures. +-install: ++install-gimp: + mkdir -p $(DESTDIR)$(PLUGINDIR)/ + cp -f gmic_gimp $(DESTDIR)$(PLUGINDIR)/ ++ ++install-bin: + mkdir -p $(DESTDIR)$(USR)/$(BIN)/ + cp -f gmic $(DESTDIR)$(USR)/$(BIN)/ ++ ++install-lib: + mkdir -p $(DESTDIR)$(USR)/$(INCLUDE)/ + cp -f gmic.h $(DESTDIR)$(USR)/$(INCLUDE)/ +- + ifneq ($(OS),Darwin) + mkdir -p $(DESTDIR)$(USR)/share + mkdir -p $(DESTDIR)$(USR)/$(LIB) + cp -f libgmic.so $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.6.5 + ln -fs libgmic.so.1.6.5 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 + ln -fs libgmic.so.1 $(DESTDIR)$(USR)/$(LIB)/libgmic.so +- cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ + endif ++ ++install-zart: ++ cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ ++ ++install-man: + mkdir -p $(DESTDIR)$(USR)/share/man/ + mkdir -p $(DESTDIR)$(USR)/share/man/man1/ +- mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ +- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz +- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz ++ cp -f ../man/gmic.1 $(DESTDIR)$(USR)/share/man/man1/gmic.1 ++ ++install-bash: + if [ -d /etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi +- if [ -d /opt/local/etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi + + uninstall: + rm -f $(DESTDIR)$(USR)/$(BIN)/gmic +@@ -438,8 +437,7 @@ + rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 + rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so + rm -rf $(DESTDIR)$(USR)/share/doc/gmic/ +- rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz +- rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz ++ rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1 + + distclean: clean + diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.6.0.2-r1.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.2-r1.ebuild new file mode 100644 index 000000000000..f58bf9056026 --- /dev/null +++ b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="G'MIC GIMP plugin" +HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml" +SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz" + +LICENSE="CeCILL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND=" + >=media-gfx/gimp-2.4.0 + media-libs/libpng:0= + sci-libs/fftw:3.0[threads] + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/gmic-${PV}/src + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/gmic-${PV}-makefile.patch + + if ! use openmp ; then + sed -i -r "s/^(OPENMP_(CFLAGS|LIBS) =).*/\1/" Makefile || die + fi +} + +src_compile() { + emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp +} + +src_install() { + emake DESTDIR="${D}" install-gimp + dodoc ../README +} + +pkg_postinst() { + elog "The G'MIC plugin is accessible from the menu:" + elog "Filters -> G'MIC" +} diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.6.0.3.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.3.ebuild new file mode 100644 index 000000000000..a1062e969343 --- /dev/null +++ b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="G'MIC GIMP plugin" +HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml" +SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz" + +LICENSE="CeCILL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND=" + >=media-gfx/gimp-2.4.0 + media-libs/libpng:0= + sci-libs/fftw:3.0[threads] + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/gmic-${PV}/src + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + cp "${FILESDIR}"/gmic-1.6.0.2-makefile.patch "${WORKDIR}" || die + edos2unix "${WORKDIR}"/gmic-1.6.0.2-makefile.patch + epatch "${WORKDIR}"/gmic-1.6.0.2-makefile.patch + + if ! use openmp ; then + sed -i -r "s/^(OPENMP_(CFLAGS|LIBS) =).*/\1/" Makefile || die + fi +} + +src_compile() { + emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp +} + +src_install() { + emake DESTDIR="${D}" install-gimp + dodoc ../README +} + +pkg_postinst() { + elog "The G'MIC plugin is accessible from the menu:" + elog "Filters -> G'MIC" +} diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild new file mode 100644 index 000000000000..8a6e4a198c99 --- /dev/null +++ b/media-plugins/gimp-gmic/gimp-gmic-1.6.0.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="G'MIC GIMP plugin" +HOMEPAGE="http://gmic.eu/" +SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz" + +LICENSE="CeCILL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND=" + >=media-gfx/gimp-2.4.0 + media-libs/libpng:0= + sci-libs/fftw:3.0[threads] + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/gmic-${PV}/src + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + cp "${FILESDIR}"/gmic-1.6.0.2-makefile.patch "${WORKDIR}" || die + edos2unix "${WORKDIR}"/gmic-1.6.0.2-makefile.patch + epatch "${WORKDIR}"/gmic-1.6.0.2-makefile.patch + + if ! use openmp ; then + sed -i -r "s/^(OPENMP_(CFLAGS|LIBS) =).*/\1/" Makefile || die + fi +} + +src_compile() { + emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp +} + +src_install() { + emake DESTDIR="${D}" install-gimp + dodoc ../README +} + +pkg_postinst() { + elog "The G'MIC plugin is accessible from the menu:" + elog "Filters -> G'MIC" +} diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.6.5.0.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.6.5.0.ebuild new file mode 100644 index 000000000000..f40254714c6f --- /dev/null +++ b/media-plugins/gimp-gmic/gimp-gmic-1.6.5.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="G'MIC GIMP plugin" +HOMEPAGE="http://gmic.eu/" +SRC_URI="http://gmic.eu/files/source/gmic_${PV}.tar.gz" + +LICENSE="CeCILL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND=" + >=media-gfx/gimp-2.4.0 + media-libs/libpng:0= + sci-libs/fftw:3.0[threads] + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/gmic-${PV}/src + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/gmic-${PV}-makefile.patch + + if ! use openmp ; then + sed -i -r "s/^(OPENMP_(CFLAGS|LIBS) =).*/\1/" Makefile || die + fi +} + +src_compile() { + emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp +} + +src_install() { + emake DESTDIR="${D}" install-gimp + dodoc ../README +} + +pkg_postinst() { + elog "The G'MIC plugin is accessible from the menu:" + elog "Filters -> G'MIC" +} diff --git a/media-plugins/gimp-gmic/metadata.xml b/media-plugins/gimp-gmic/metadata.xml new file mode 100644 index 000000000000..e17a902d43af --- /dev/null +++ b/media-plugins/gimp-gmic/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>graphics</herd> + <upstream> + <remote-id type="sourceforge">gmic</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gimp-lensfun/Manifest b/media-plugins/gimp-lensfun/Manifest new file mode 100644 index 000000000000..713078dce659 --- /dev/null +++ b/media-plugins/gimp-lensfun/Manifest @@ -0,0 +1,2 @@ +DIST gimp-lensfun-0.2.3.tar.gz 28793 SHA256 08b75b780458e82d2c8efaf2d3cb7a213a4a98d4e6f90c56bc01adfe94aa9ccf SHA512 c9c0dae61ca33f27f46b4a7f5db2bb939eade2f258780e161938aa5cae7262e9ef5ec2057fd07ccbd1492638b91902b9e3647f9b2ab3f38e7697822022642b42 WHIRLPOOL 9d83a861718094eabab4ac7c0bab9ac72e68ec173b7a04650985f8fd42e7cfd6b21dbacd4b176cd0a5c13d058a18d4294b5a01319810a4a4eb017d91015489a5 +DIST gimplensfun-0.2.2.tar.gz 90562 SHA256 ccc598c662869e12fa49ac77b110166ec79b5aa191b0a46387a56bec164dc7c1 SHA512 7bdddebe91ecdc5c73e748f07606b4de64fea12b79a8c36874a0495a1cb12202d48ff5d7503d615ee937f5e3cc5adabb660ab74ee314a5e4ac6d2b302115d773 WHIRLPOOL 68d4f9ca97771646e64112392c9d347b3333f1d84997bba78c5a14141d4a1e1ca46ccca93f616ae78a08bcd8f53654e1a7da0aa5ace9e194ca007b49b7c9b4a6 diff --git a/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch new file mode 100644 index 000000000000..3b4e7162e827 --- /dev/null +++ b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch @@ -0,0 +1,22 @@ +From 730e1280bb1968ec1e31f8c87949187b022a74bb Mon Sep 17 00:00:00 2001 +From: Sebastian Kraft <mail@sebastiankraft.net> +Date: Mon, 11 Aug 2014 21:30:07 +0200 +Subject: [PATCH] CCI has been removed from lensfun, also remove it here + +--- + src/gimplensfun.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/gimplensfun.cpp b/src/gimplensfun.cpp +index 0b4bb8f..6a66a8f 100644 +--- a/src/gimplensfun.cpp ++++ b/src/gimplensfun.cpp +@@ -297,7 +297,6 @@ static void PrintLens (const lfLens *lens) + g_print ("\tFocal: %g-%g\n", lens->MinFocal, lens->MaxFocal); + g_print ("\tAperture: %g-%g\n", lens->MinAperture, lens->MaxAperture); + g_print ("\tCenter: %g,%g\n", lens->CenterX, lens->CenterY); +- g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); + if (lens->Mounts) + for (int j = 0; lens->Mounts [j]; j++) + g_print ("\tMount: %s\n", lf_db_mount_name (ldb, lens->Mounts [j])); + diff --git a/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch new file mode 100644 index 000000000000..41e171e5248f --- /dev/null +++ b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch @@ -0,0 +1,34 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Sep 30 13:22:40 UTC 2012 +Subject: build system + + respect CC, CFLAGS and LDFLAGS + https://bugs.gentoo.org/show_bug.cgi?id=436660 + +--- Makefile ++++ Makefile +@@ -1,8 +1,9 @@ +-CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp ++CXXFLAGS ?= -O3 ++CXXFLAGS += -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp + LIBS = $(shell gimptool-2.0 --libs && pkg-config --libs lensfun exiv2) + PLUGIN = gimplensfun + SOURCES = src/gimplensfun.c +-CC = g++ ++CXX ?= g++ + # END CONFIG ################################################################## + + .PHONY: all install userinstall clean uninstall useruninstall +@@ -12,10 +13,10 @@ + OBJECTS = $(subst .c,.o,$(SOURCES)) + + $(PLUGIN): $(OBJECTS) +- $(CC) $(CFLAGS) -o $@ $^ $(LIBS) ++ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) + + %.o: %.c $(HEADERS) +- $(CC) $(CFLAGS) -c -o $@ $*.c ++ $(CXX) $(CXXFLAGS) -c -o $@ $*.c + + install: $(PLUGIN) + @gimptool-2.0 --install-admin-bin $^ diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild new file mode 100644 index 000000000000..5ecba82ad069 --- /dev/null +++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils toolchain-funcs + +MY_PN="gimplensfun" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Lensfun plugin for GIMP" +HOMEPAGE="http://lensfun.sebastiankraft.net/" +SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="media-gfx/gimp + media-gfx/exiv2 + media-libs/lensfun" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe ${MY_PN} +} diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild new file mode 100644 index 000000000000..bd9d82b64f49 --- /dev/null +++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils toolchain-funcs + +MY_PN="gimplensfun" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Lensfun plugin for GIMP" +HOMEPAGE="http://lensfun.sebastiankraft.net/" +SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +RDEPEND="media-gfx/gimp + media-gfx/exiv2 + media-libs/lensfun" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + + if ! use openmp; then + sed -i "s/-fopenmp//g" Makefile + fi + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe ${MY_PN} +} diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild new file mode 100644 index 000000000000..d069bde3c3f8 --- /dev/null +++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils toolchain-funcs + +MY_PN="GIMP-Lensfun" + +DESCRIPTION="Lensfun plugin for GIMP" +HOMEPAGE="http://seebk.github.io/GIMP-Lensfun/" +SRC_URI="https://github.com/seebk/GIMP-Lensfun/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +RDEPEND="media-gfx/gimp + media-gfx/exiv2 + media-libs/lensfun" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_PN}-${PV} + +pkg_setup() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-remove-deprecated-output.patch + + if ! use openmp; then + sed -i "s/-fopenmp//g" Makefile + fi + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe ${PN} +} diff --git a/media-plugins/gimp-lensfun/metadata.xml b/media-plugins/gimp-lensfun/metadata.xml new file mode 100644 index 000000000000..91089c8462f8 --- /dev/null +++ b/media-plugins/gimp-lensfun/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>proxy-maintainers</herd> + <maintainer> + <email>dev@kicherer.org</email> + <name>Mario</name> + </maintainer> + <longdescription lang="en"> +</longdescription> + <upstream> + <remote-id type="github">seebk/GIMP-Lensfun</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gimp-lqr/Manifest b/media-plugins/gimp-lqr/Manifest new file mode 100644 index 000000000000..17904ddd8420 --- /dev/null +++ b/media-plugins/gimp-lqr/Manifest @@ -0,0 +1,2 @@ +DIST gimp-lqr-plugin-0.7.1.tar.bz2 783423 SHA256 6298183e31d992e789592e754069ae8176af192fb5c78a36d12b77d6aa119e0e SHA512 6c7b4d6c28e6736a4dbfd4d97f4624f67dce0c88b57ee8688c52f3731971a3128a1968bb91824a9a5b58bdb0ca4bf23d5ae0fbabc3e0b4b422ae723423631d3b WHIRLPOOL e35ca5b6902f19634c003dabf0fde40c0a6934140ce7c8659abe5ec5a31fbfa6091cd8ae82b0f8adb219416976c01f1b76f7d5d9ae5a97c1b47f8f880769d0a7 +DIST gimp-lqr-plugin-0.7.2.tar.bz2 784455 SHA256 169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a SHA512 bcbd72aa8e31a86261a2de35c0d9acdbe6bef9f612281a32239578e0bbd74ba154a5b7fe2b8bfee4ef3301333c0ebb749a12732497d82452720bf9be271048c4 WHIRLPOOL cbd29028662a07e3dbe4eea9aa63e69900b4e6206019f26dfe8734944c678a3115204b5d180a28848de1866a792b79d5af7026f74be202c51c253fbd1886f94e diff --git a/media-plugins/gimp-lqr/files/gimp-lqr-0.7.2-no-deprecated.patch b/media-plugins/gimp-lqr/files/gimp-lqr-0.7.2-no-deprecated.patch new file mode 100644 index 000000000000..02ab936dd80e --- /dev/null +++ b/media-plugins/gimp-lqr/files/gimp-lqr-0.7.2-no-deprecated.patch @@ -0,0 +1,22 @@ +--- configure.ac.orig 2012-02-24 19:32:04.000000000 +0100 ++++ configure.ac 2012-02-24 19:32:20.000000000 +0100 +@@ -116,9 +116,6 @@ + fi + AC_MSG_RESULT($have_gtk_2_12) + +-if test "x$have_gtk_2_12" != "xyes"; then +- CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" +-fi + + + AC_MSG_CHECKING([if GIMP is version 2.8.0 or newer]) +@@ -129,9 +126,6 @@ + fi + AC_MSG_RESULT($have_gimp_2_8) + +-if test "x$have_gimp_2_8" != "xyes"; then +- CPPFLAGS="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED" +-fi + + AC_MSG_CHECKING([if we are on Win32]) + AC_LANG([C]) diff --git a/media-plugins/gimp-lqr/files/gimp-lqr-no-deprecated.patch b/media-plugins/gimp-lqr/files/gimp-lqr-no-deprecated.patch new file mode 100644 index 000000000000..b309df4d6090 --- /dev/null +++ b/media-plugins/gimp-lqr/files/gimp-lqr-no-deprecated.patch @@ -0,0 +1,22 @@ +--- configure.ac.orig 2012-02-24 19:32:04.000000000 +0100 ++++ configure.ac 2012-02-24 19:32:20.000000000 +0100 +@@ -116,9 +116,6 @@ + fi + AC_MSG_RESULT($have_gtk_2_12) + +-if test "x$have_gtk_2_7" != "xyes"; then +- CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" +-fi + + + AC_MSG_CHECKING([if GIMP is version 2.4.0 or newer]) +@@ -129,9 +126,6 @@ + fi + AC_MSG_RESULT($have_gimp_2_4) + +-if test "x$have_gimp_2_4" != "xyes"; then +- CPPFLAGS="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED" +-fi + + AC_MSG_CHECKING([if we are on Win32]) + AC_LANG([C]) diff --git a/media-plugins/gimp-lqr/gimp-lqr-0.7.1.ebuild b/media-plugins/gimp-lqr/gimp-lqr-0.7.1.ebuild new file mode 100644 index 000000000000..c65d8d991b4c --- /dev/null +++ b/media-plugins/gimp-lqr/gimp-lqr-0.7.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit autotools eutils + +MY_P="${PN}-plugin-${PV}" + +DESCRIPTION="Content-aware resizing for the GIMP" +HOMEPAGE="http://liquidrescale.wikidot.com/" +SRC_URI="http://liquidrescale.wikidot.com/local--files/en:download-page-sources/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-gfx/gimp + media-libs/liblqr" +DEPEND="dev-util/intltool + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-no-deprecated.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS BUGS ChangeLog NEWS README TODO +} diff --git a/media-plugins/gimp-lqr/gimp-lqr-0.7.2.ebuild b/media-plugins/gimp-lqr/gimp-lqr-0.7.2.ebuild new file mode 100644 index 000000000000..1624869cce1a --- /dev/null +++ b/media-plugins/gimp-lqr/gimp-lqr-0.7.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-plugin-${PV}" + +DESCRIPTION="Content-aware resizing for the GIMP" +HOMEPAGE="http://liquidrescale.wikidot.com/" +SRC_URI="http://liquidrescale.wikidot.com/local--files/en:download-page-sources/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=media-gfx/gimp-2.8 + media-libs/liblqr" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" diff --git a/media-plugins/gimp-lqr/metadata.xml b/media-plugins/gimp-lqr/metadata.xml new file mode 100644 index 000000000000..ca7415b87d35 --- /dev/null +++ b/media-plugins/gimp-lqr/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>phajdan.jr@gentoo.org</email> + <name>Pawel Hajdan jr</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/gimp-resynthesizer/Manifest b/media-plugins/gimp-resynthesizer/Manifest new file mode 100644 index 000000000000..d4637bf9bd7a --- /dev/null +++ b/media-plugins/gimp-resynthesizer/Manifest @@ -0,0 +1 @@ +DIST resynthesizer-0.16.tar.gz 18241 SHA256 dd24ec89f3a36f867b733c6a5c1d193b6d603251bd6553ac54b573fd655020cd diff --git a/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch b/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch new file mode 100644 index 000000000000..04d25511e61c --- /dev/null +++ b/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch @@ -0,0 +1,27 @@ +--- Makefile-orig 2010-03-28 00:42:45.759669796 +0300 ++++ Makefile 2010-03-28 00:43:33.024936557 +0300 +@@ -1,15 +1,8 @@ +-CC = g++ +- + GIMPTOOL = gimptool-2.0 + + GIMP_LDFLAGS=`$(GIMPTOOL) --libs` + GIMP_CFLAGS=`$(GIMPTOOL) --cflags` + +-CFLAGS=$(GIMP_CFLAGS) -O3 -fno-common -ffast-math -frename-registers -fomit-frame-pointer +- +-LDFLAGS=$(GIMP_LDFLAGS) -lm +- +- + all: resynth + @echo + @echo 'Now type "make install" to install resynthesizer' +@@ -30,7 +23,7 @@ + @echo + + resynth: resynth.cc +- $(CC) $(CFLAGS) -o $@ resynth.cc $(LDFLAGS) ++ $(CXX) $(CFLAGS) $(GIMP_CFLAGS) $(LDFLAGS) -o $@ resynth.cc $(GIMP_LDFLAGS) -lm + + clean: + -rm -f *~ *.o core resynth diff --git a/media-plugins/gimp-resynthesizer/files/smart-remove.scm b/media-plugins/gimp-resynthesizer/files/smart-remove.scm new file mode 100644 index 000000000000..7324ebd56741 --- /dev/null +++ b/media-plugins/gimp-resynthesizer/files/smart-remove.scm @@ -0,0 +1,111 @@ + +; Smart Remove + +; Smart selection eraser. +; Requires resynthesizer plug-in. +; Paul Harrison (pfh@logarithmic.net) + +; Versions +; lloyd konneker lkk 3/29/2009 Fix passing workLayerID to plugin. +; Other non-functional changes: comments, error checking, menu item, blurb, license +; + +; License: +; +; This program is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; This program is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; The GNU Public License is available at +; http://www.gnu.org/copyleft/gpl.html + +; lkk comment: creates stencil selection in a temp dupe image to pass as source drawable to plugin + + +(define (script-fu-smart-remove img layer corpus-border) + (cond + ((= 0 (car (gimp-selection-bounds img))) + (gimp-message "To use this script-fu, first select the region you wish to remove.") + ) + (#t (let* + ( + (dupe (car (gimp-image-duplicate img))) + (channel (car (gimp-selection-save dupe))) + (workLayerID -1) ; lkk + ) + + ; lkk flatten (so stencil gets everything visible) and to activate a layer in dupe + ; (gimp-message-set-handler 1) ; debug messages to console + (gimp-image-flatten dupe) ; lkk !!! flatten, activates layer, but deletes alpha + (set! workLayerID (car (gimp-image-get-active-layer dupe))) + (cond ((= -1 workLayerID) + (gimp-message "Failed get active layer") + ) ) + ; lkk plugin requires equal count of channels, target and source. Plugin should be changed to relax this reqt. + (cond ((= 1 (car (gimp-drawable-has-alpha layer))) + ;debug (gimp-message "Adding alpha") + (if (not (car (gimp-layer-add-alpha workLayerID))) (gimp-message "Failed add alpha") ) + ) ) + + + ; lkk comment: grow selection, invert, save to channel2, cut a hole size of orig selection + ; lkk in the grown selection in channel2, select channel2, un invert + (gimp-selection-grow dupe corpus-border) + (gimp-selection-invert dupe) + (let* + ( + (old-background (car (gimp-context-get-background))) + (channel2 (car (gimp-selection-save dupe))) + ) + + (gimp-selection-load channel) + (gimp-context-set-background '(255 255 255)) + (if (not (car (gimp-edit-clear channel2))) (gimp-message "Failed edit clear") ) + (gimp-context-set-background old-background) + (gimp-selection-load channel2) + ) + + (gimp-selection-invert dupe) + ; lkk comment: crop the dupe to size of stencil to save memory + (let* + ( + (bounds (gimp-selection-bounds dupe)) + (x1 (nth 1 bounds)) + (y1 (nth 2 bounds)) + (x2 (nth 3 bounds)) + (y2 (nth 4 bounds)) + ) + + (gimp-image-crop dupe (- x2 x1) (- y2 y1) x1 y1) + ) + + (gimp-selection-invert dupe) ; lkk !!! plugin requires inverted selection + ;(gimp-display-new dupe) ; debug to see the stencil as passed to plugin + ;(gimp-displays-flush) ; debug + + ; lkk originally 7th param was layer (the in layer), which only SEEMED to work. Should be the stencil. + (plug-in-resynthesizer 1 img layer 0 0 1 workLayerID -1 -1 0.0 0.117 16 500) + + (gimp-image-delete dupe) + (gimp-displays-flush) +) ) )) + +(script-fu-register "script-fu-smart-remove" + "<Image>/Filters/Enhance/Heal selection..." + "Extend surrounding texture to cover the selection. Works best with homogenous, not regular surroundings. \ +Requires separate resynthesizer plug-in." + "Paul Harrison (pfh@logarithmic.net)" + "Copyright 2000 Paul Harrison, 2009 Lloyd Konneker" + "13/9/2000" + "RGB* GRAY*" + SF-IMAGE "Input Image" 0 + SF-DRAWABLE "Input Layer" 0 + SF-ADJUSTMENT "Radius to take texture from" '(50 7 1000 1.0 1.0 0 1) +) + diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild new file mode 100644 index 000000000000..59361419eabf --- /dev/null +++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils toolchain-funcs + +MY_PN="${PN#gimp-}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="GIMP plug-ing for texture synthesis" +HOMEPAGE="http://www.logarithmic.net/pfh/resynthesizer" +SRC_URI="http://www.logarithmic.net/pfh-files/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-gfx/gimp" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${P}-makefile.patch" + cp "${FILESDIR}/smart-remove.scm" "${S}" || die + + tc-export CXX +} + +src_install() { + exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins + doexe resynth || die + + insinto $(gimptool-2.0 --gimpdatadir)/scripts + doins smart-enlarge.scm smart-remove.scm || die + + dodoc README || die +} + +pkg_postinst() { + elog "The Resynthesizer plugin is accessible from the menu:" + elog "* Filters -> Map -> Resynthesize" + elog "* Filters -> Enhance -> Smart enlarge/sharpen" + elog "* Filters -> Enhance -> Heal selection" +} diff --git a/media-plugins/gimp-resynthesizer/metadata.xml b/media-plugins/gimp-resynthesizer/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/media-plugins/gimp-resynthesizer/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/gkrellmpc/Manifest b/media-plugins/gkrellmpc/Manifest new file mode 100644 index 000000000000..10a5af8ba5cf --- /dev/null +++ b/media-plugins/gkrellmpc/Manifest @@ -0,0 +1,2 @@ +DIST gkrellmpc-0.1_beta10.tar.gz 25388 SHA256 320c04cce9530d12e4cc20d58710c29a25154e3450f3e3cdee2aa3c9433312b6 SHA512 f5d687264f08146bf1eb54aee6d42a200fb97008a355d26a68be91b04e4bd622fc222725bf498c0837eacb8b94d6aede5aa1a05ed504fe5f9b790a9cd08d3973 WHIRLPOOL 4e4fc8772fb6c8a1caf405e6d045c973b37b7d03df2ded65c611268883f98a963de84a1f51cbc382dad9e39c3e0e8ba3607a5990559869817289e22b69a90f00 +DIST gkrellmpc-0.1_beta9.tar.gz 22029 SHA256 b4fed5b55afdeefe978d1ab7f82a0e2f79b15ea2158110775cf6e05616ded9e2 diff --git a/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta10-mt.patch b/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta10-mt.patch new file mode 100644 index 000000000000..42a5848a44cb --- /dev/null +++ b/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta10-mt.patch @@ -0,0 +1,154 @@ +diff --git a/gkrellmpc.c b/gkrellmpc.c +index eb28982..08a3fb3 100644 +--- a/gkrellmpc.c ++++ b/gkrellmpc.c +@@ -140,7 +140,7 @@ void mpc_create_plugin (GtkWidget *vbox, gint first_create) { + /* Create the status decal */ + mpc_status_decal = gkrellm_create_decal_pixmap(mpc_panel, gkrellm_decal_misc_pixmap(), gkrellm_decal_misc_mask(), N_MISC_DECALS, style, 0, t); + mpc_status_decal->x = w - mpc_status_decal->w; +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, (mpc_mpd ? D_MISC_LED1 : D_MISC_LED0)); ++ gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, (mpc_mpd_connected() ? D_MISC_LED1 : D_MISC_LED0)); + + /* Update t */ + t += mpc_label_decal->h > mpc_status_decal->h ? mpc_label_decal->h : mpc_status_decal->h; +@@ -279,7 +279,7 @@ void mpc_update_plugin () { + static gint x_scroll; + + /* Try to connect to mpd */ +- if (!mpc_mpd && mpc_ticker->ten_second_tick) { ++ if (!mpc_mpd_connected() && mpc_ticker->ten_second_tick) { + mpc_mpd_connect(); + } + +@@ -457,7 +457,7 @@ void mpc_sync_with_mpd() { + status = mpc_mpd_get("status\n"); + currentsong = mpc_mpd_get("currentsong\n"); + +- if (!mpc_mpd) { ++ if (!mpc_mpd_connected()) { + mpc_update_label(_("NO MPD")); + mpc_update_songname(""); + gtk_tooltips_set_tip(mpc_tooltip, mpc_panel->drawing_area, _("MPD is not running"), NULL); +diff --git a/mpd.c b/mpd.c +index 5918416..1d9ea6a 100644 +--- a/mpd.c ++++ b/mpd.c +@@ -12,18 +12,32 @@ + #include <sys/socket.h> + #include <netdb.h> + ++#include <errno.h> ++#include <pthread.h> ++ + GIOChannel * mpc_mpd = NULL; ++pthread_mutex_t mpc_mutex = { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, { 0 } } }; //PTHREAD_MUTEX_INITIALIZER; ++ ++gboolean mpc_mpd_connected() { ++ if(pthread_mutex_trylock(&mpc_mutex)){ ++ return (FALSE); ++ } ++ pthread_mutex_unlock(&mpc_mutex); ++ return (gboolean)mpc_mpd; ++} + + /* + * Connects to the MPD server, sets up the mpd object, sets the status decal to ON + */ +-gboolean mpc_mpd_connect() { ++void* mpc_mpd_connect_worker(void* arg) { + int sockfd; + struct hostent *server; + struct sockaddr_in serv_addr; + gchar * line; + gchar ** parts; + gboolean retval; ++ ++ pthread_mutex_lock(&mpc_mutex); + + if (mpc_mpd) { + /* +@@ -33,11 +47,11 @@ gboolean mpc_mpd_connect() { + } + + if (!mpc_conf_hostname || !mpc_conf_port) { +- return (FALSE); ++ goto err; + } + +- if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) return(FALSE); +- if (!(server = gethostbyname(mpc_conf_hostname))) return(FALSE); ++ if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) goto err; ++ if (!(server = gethostbyname(mpc_conf_hostname))) goto err; + + bzero((char *) &serv_addr, sizeof(serv_addr)); + serv_addr.sin_family = AF_INET; +@@ -46,7 +60,7 @@ gboolean mpc_mpd_connect() { + server->h_length); + serv_addr.sin_port = htons(mpc_conf_port); + +- if (connect(sockfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) return(FALSE); ++ if (connect(sockfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) goto err; + + /* Getup the mpd object */ + mpc_mpd = g_io_channel_unix_new(sockfd); +@@ -72,29 +86,39 @@ gboolean mpc_mpd_connect() { + retval = FALSE; + } + +- if (retval) { +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, D_MISC_LED1); +- mpc_update_label(_("MPD")); +- mpc_update_songname(""); +- } ++err: ++ pthread_mutex_unlock(&mpc_mutex); ++ return NULL; ++} + +- return(retval); ++gboolean mpc_mpd_connect() { ++ pthread_attr_t attr; ++ pthread_t thread_id; ++ ++ if(pthread_mutex_trylock(&mpc_mutex)){ ++ return (FALSE); ++ } ++ ++ pthread_attr_init(&attr); ++ pthread_create(&thread_id, &attr, mpc_mpd_connect_worker, NULL); ++ ++ pthread_mutex_unlock(&mpc_mutex); ++ ++ return (FALSE); + } + + /* + * Disconnects from MPD, destroys the mpd object, sets the status decal to off + */ + gboolean mpc_mpd_disconnect() { +- ++ pthread_mutex_lock(&mpc_mutex); + if (mpc_mpd) { + g_io_channel_shutdown(mpc_mpd, FALSE, NULL); + free(mpc_mpd); + mpc_mpd = NULL; + } + +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, D_MISC_LED0); +- mpc_update_label(_("NO MPD")); +- mpc_update_songname(""); ++ pthread_mutex_lock(&mpc_mutex); + return (TRUE); + } + +diff --git a/mpd.h b/mpd.h +index efcb9f6..c6942c4 100644 +--- a/mpd.h ++++ b/mpd.h +@@ -10,5 +10,6 @@ gboolean mpc_mpd_disconnect(); + gboolean mpc_mpd_do(gchar *); + GHashTable * mpc_mpd_get(gchar *); + GPtrArray * mpc_mpd_get_clumps(gchar *, gboolean); ++gboolean mpc_mpd_connected(); + + #endif diff --git a/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta9-mt.patch b/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta9-mt.patch new file mode 100644 index 000000000000..4de5688a2b5e --- /dev/null +++ b/media-plugins/gkrellmpc/files/gkrellmpc-0.1_beta9-mt.patch @@ -0,0 +1,152 @@ +diff -uNr gkrellmpc-0.1_beta9/gkrellmpc.c gkrellmpc-0.1_beta9.mine/gkrellmpc.c +--- gkrellmpc-0.1_beta9/gkrellmpc.c 2005-01-05 22:33:16.000000000 +0300 ++++ gkrellmpc-0.1_beta9.mine/gkrellmpc.c 2009-04-05 19:51:12.000000000 +0400 +@@ -132,7 +132,7 @@ + /* Create the status decal */ + mpc_status_decal = gkrellm_create_decal_pixmap(mpc_panel, gkrellm_decal_misc_pixmap(), gkrellm_decal_misc_mask(), N_MISC_DECALS, style, 0, t); + mpc_status_decal->x = w - mpc_status_decal->w; +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, (mpc_mpd ? D_MISC_LED1 : D_MISC_LED0)); ++ gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, (mpc_mpd_connected() ? D_MISC_LED1 : D_MISC_LED0)); + + /* Update t */ + t += mpc_label_decal->h > mpc_status_decal->h ? mpc_label_decal->h : mpc_status_decal->h; +@@ -254,7 +254,7 @@ + static gint x_scroll; + + /* Try to connect to mpd */ +- if (!mpc_mpd && mpc_ticker->ten_second_tick) { ++ if (!mpc_mpd_connected() && mpc_ticker->ten_second_tick) { + mpc_mpd_connect(); + } + +@@ -428,7 +428,7 @@ + status = mpc_mpd_get("status\n"); + currentsong = mpc_mpd_get("currentsong\n"); + +- if (!mpc_mpd) { ++ if (!mpc_mpd_connected()) { + mpc_update_label("NO MPD"); + mpc_update_songname(""); + } +diff -uNr gkrellmpc-0.1_beta9/mpd.c gkrellmpc-0.1_beta9.mine/mpd.c +--- gkrellmpc-0.1_beta9/mpd.c 2005-01-05 22:33:16.000000000 +0300 ++++ gkrellmpc-0.1_beta9.mine/mpd.c 2009-04-05 20:30:38.000000000 +0400 +@@ -12,18 +12,32 @@ + #include <sys/socket.h> + #include <netdb.h> + ++#include <errno.h> ++#include <pthread.h> ++ + GIOChannel * mpc_mpd = NULL; ++pthread_mutex_t mpc_mutex = { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, { 0 } } }; //PTHREAD_MUTEX_INITIALIZER; ++ ++gboolean mpc_mpd_connected() { ++ if(pthread_mutex_trylock(&mpc_mutex)){ ++ return (FALSE); ++ } ++ pthread_mutex_unlock(&mpc_mutex); ++ return (gboolean)mpc_mpd; ++} + + /* + * Connects to the MPD server, sets up the mpd object, sets the status decal to ON + */ +-gboolean mpc_mpd_connect() { ++void* mpc_mpd_connect_worker(void* arg) { + int sockfd; + struct hostent *server; + struct sockaddr_in serv_addr; + gchar * line; + gchar ** parts; + gboolean retval; ++ ++ pthread_mutex_lock(&mpc_mutex); + + if (mpc_mpd) { + /* +@@ -33,11 +47,11 @@ + } + + if (!mpc_conf_hostname || !mpc_conf_port) { +- return (FALSE); ++ goto err; + } + +- if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) return(FALSE); +- if (!(server = gethostbyname(mpc_conf_hostname))) return(FALSE); ++ if ((sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1) goto err; ++ if (!(server = gethostbyname(mpc_conf_hostname))) goto err; + + bzero((char *) &serv_addr, sizeof(serv_addr)); + serv_addr.sin_family = AF_INET; +@@ -46,7 +60,7 @@ + server->h_length); + serv_addr.sin_port = htons(mpc_conf_port); + +- if (connect(sockfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) return(FALSE); ++ if (connect(sockfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) goto err; + + /* Getup the mpd object */ + mpc_mpd = g_io_channel_unix_new(sockfd); +@@ -72,29 +86,40 @@ + retval = FALSE; + } + +- if (retval) { +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, D_MISC_LED1); +- mpc_update_label("MPD"); +- mpc_update_songname(""); +- } + +- return(retval); ++err: ++ pthread_mutex_unlock(&mpc_mutex); ++ return NULL; ++} ++ ++gboolean mpc_mpd_connect() { ++ pthread_attr_t attr; ++ pthread_t thread_id; ++ ++ if(pthread_mutex_trylock(&mpc_mutex)){ ++ return (FALSE); ++ } ++ ++ pthread_attr_init(&attr); ++ pthread_create(&thread_id, &attr, mpc_mpd_connect_worker, NULL); ++ ++ pthread_mutex_unlock(&mpc_mutex); ++ ++ return (FALSE); + } + + /* + * Disconnects from MPD, destroys the mpd object, sets the status decal to off + */ + gboolean mpc_mpd_disconnect() { +- ++ pthread_mutex_lock(&mpc_mutex); + if (mpc_mpd) { + g_io_channel_shutdown(mpc_mpd, FALSE, NULL); + free(mpc_mpd); + mpc_mpd = NULL; + } + +- gkrellm_draw_decal_pixmap(mpc_panel, mpc_status_decal, D_MISC_LED0); +- mpc_update_label("NO MPD"); +- mpc_update_songname(""); ++ pthread_mutex_unlock(&mpc_mutex); + return (TRUE); + } + +diff -uNr gkrellmpc-0.1_beta9/mpd.h gkrellmpc-0.1_beta9.mine/mpd.h +--- gkrellmpc-0.1_beta9/mpd.h 2005-01-05 22:33:16.000000000 +0300 ++++ gkrellmpc-0.1_beta9.mine/mpd.h 2009-04-05 19:51:25.000000000 +0400 +@@ -10,5 +10,6 @@ + gboolean mpc_mpd_do(gchar *); + GHashTable * mpc_mpd_get(gchar *); + GPtrArray * mpc_mpd_get_clumps(gchar *, gboolean); ++gboolean mpc_mpd_connected(); + + #endif diff --git a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta10.ebuild b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta10.ebuild new file mode 100644 index 000000000000..eec07ca39b31 --- /dev/null +++ b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils gkrellm-plugin toolchain-funcs + +DESCRIPTION="A gkrellm plugin to control the MPD (Music Player Daemon)" +HOMEPAGE="http://mpd.wikia.com/wiki/Client:GKrellMPC" +SRC_URI="http://mina.naguib.ca/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="threads" + +RDEPEND=">=app-admin/gkrellm-2[X] + net-misc/curl" +DEPEND="${RDEPEND}" + +# Will open gkrellm in X11 display +RESTRICT="test" + +src_prepare() { + sed -i -e 's:gkrellm2 -p:gkrellm -p:' Makefile || die + use threads && epatch "${FILESDIR}"/${P}-mt.patch +} + +src_compile() { + tc-export CC + emake || die +} + +pkg_postinst() { + if use threads; then + elog "If you can't connect MPD, please unset USE threads." + elog "See, http://bugs.gentoo.org/276970 for information." + fi +} diff --git a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild new file mode 100644 index 000000000000..36f30dd96815 --- /dev/null +++ b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils gkrellm-plugin toolchain-funcs + +DESCRIPTION="A gkrellm plugin to control the MPD (Music Player Daemon)" +HOMEPAGE="http://mpd.wikicities.com/wiki/Client:GKrellMPC" +SRC_URI="http://www.topfx.com/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="threads" + +RDEPEND=">=app-admin/gkrellm-2[X] + net-misc/curl" +DEPEND="${RDEPEND}" + +# Will open gkrellm in X11 display +RESTRICT="test" + +src_prepare() { + sed -i -e 's:gkrellm2 -p:gkrellm -p:' Makefile || die + use threads && epatch "${FILESDIR}"/${P}-mt.patch +} + +src_compile() { + tc-export CC + emake || die +} + +pkg_postinst() { + if use threads; then + elog "If you can't connect MPD, please unset USE threads." + elog "See, http://bugs.gentoo.org/276970 for information." + fi +} diff --git a/media-plugins/gkrellmpc/metadata.xml b/media-plugins/gkrellmpc/metadata.xml new file mode 100644 index 000000000000..15505756c200 --- /dev/null +++ b/media-plugins/gkrellmpc/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <herd>desktop-dock</herd> + <use> + <flag name="threads">Use separate thread to init connection (unsafe)</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/gmpc-alarm/Manifest b/media-plugins/gmpc-alarm/Manifest new file mode 100644 index 000000000000..501e8a9e93aa --- /dev/null +++ b/media-plugins/gmpc-alarm/Manifest @@ -0,0 +1 @@ +DIST gmpc-alarm-11.8.16.tar.gz 312427 SHA256 5790a12fa52d972b8750b974aa25e49d0592889970609f4b8b18872c52797719 SHA512 a1fbb66137d9bbbdcf5e4d59fa57628193fde049e9dde08a73ec16dfebdf84a674a643971b6be8d40f2727bf0e591f5aade898080ec5ccb39ec764ff86d041fb WHIRLPOOL d26f5bd22337c48f80233bea6f0fb1b4311eb3e6b86d37243014ffc9d862774ce7b019ecfd9b4fde67b90556d81076cfa375b8b5deed60163d0f5ce412596877 diff --git a/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild b/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild new file mode 100644 index 000000000000..8e364431511f --- /dev/null +++ b/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin can start/stop/pause your music at a preset time" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_ALARM" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV}" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf \ + $(use_enable nls) +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-alarm/metadata.xml b/media-plugins/gmpc-alarm/metadata.xml new file mode 100644 index 000000000000..1e7b9d7494a9 --- /dev/null +++ b/media-plugins/gmpc-alarm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/gmpc-albumview/Manifest b/media-plugins/gmpc-albumview/Manifest new file mode 100644 index 000000000000..5789ea690946 --- /dev/null +++ b/media-plugins/gmpc-albumview/Manifest @@ -0,0 +1 @@ +DIST gmpc-albumview-11.8.16.tar.gz 438771 RMD160 755bbc568f94ccf041e1ac888d4a22a9c6a26abb SHA1 62240fd85458b34ab408b545a26d5bf95c18bbae SHA256 1da7b162571e0cdb95b9b825a5b3dee6bc3021bda2f3091d7f7990e4c1de46cb diff --git a/media-plugins/gmpc-albumview/gmpc-albumview-11.8.16.ebuild b/media-plugins/gmpc-albumview/gmpc-albumview-11.8.16.ebuild new file mode 100644 index 000000000000..0f0b2c196acf --- /dev/null +++ b/media-plugins/gmpc-albumview/gmpc-albumview-11.8.16.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin shows your music collection in albums" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_ALBUMVIEW" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV}" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-albumview/metadata.xml b/media-plugins/gmpc-albumview/metadata.xml new file mode 100644 index 000000000000..1e7b9d7494a9 --- /dev/null +++ b/media-plugins/gmpc-albumview/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/gmpc-avahi/Manifest b/media-plugins/gmpc-avahi/Manifest new file mode 100644 index 000000000000..40e992772dde --- /dev/null +++ b/media-plugins/gmpc-avahi/Manifest @@ -0,0 +1 @@ +DIST gmpc-avahi-11.8.16.tar.gz 305195 SHA256 5dfe430ab1b5f9e13b289a755f73401aaa4de0b4066abdb9252ea48c33d348a0 SHA512 0d9177e959fc4b929ab9117c338db96397b7130f121f3990937690d6bded0c1e4b10dba2c416bb6327c1523c51a377f2fa0492f9f0c9815736d2b5b3e6c4f358 WHIRLPOOL 7e2dd76e8c4bed9e0a22d8a9a71120bb1a651a993c08c9ad6c0b89f3855fe7c7ab3b50764daf0e3f4ef1c5fa217637f4c6cb0958c7c30eaf948e9e82490627b6 diff --git a/media-plugins/gmpc-avahi/gmpc-avahi-11.8.16.ebuild b/media-plugins/gmpc-avahi/gmpc-avahi-11.8.16.ebuild new file mode 100644 index 000000000000..82716e182179 --- /dev/null +++ b/media-plugins/gmpc-avahi/gmpc-avahi-11.8.16.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin discovers avahi enabled mpd servers" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_AVAHI" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2 + net-dns/avahi[dbus]" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf $(use_enable nls) +} + +src_install () { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-avahi/metadata.xml b/media-plugins/gmpc-avahi/metadata.xml new file mode 100644 index 000000000000..615a5d81edfa --- /dev/null +++ b/media-plugins/gmpc-avahi/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/gmpc-awn/Manifest b/media-plugins/gmpc-awn/Manifest new file mode 100644 index 000000000000..f51930255e7b --- /dev/null +++ b/media-plugins/gmpc-awn/Manifest @@ -0,0 +1 @@ +DIST gmpc-awn-11.8.16.tar.gz 303112 RMD160 872b0684f0709f49d113acd782b2676725cc06fc SHA1 0e36b50ea200d57a1b200fc0408714da78b77c93 SHA256 e5fe79e23094169bf49d57c8de2a3428a6a25f96cea63254f73b88d153093f7c diff --git a/media-plugins/gmpc-awn/files/gmpc-awn-0.20.0-multilib.patch b/media-plugins/gmpc-awn/files/gmpc-awn-0.20.0-multilib.patch new file mode 100644 index 000000000000..519dfe524dac --- /dev/null +++ b/media-plugins/gmpc-awn/files/gmpc-awn-0.20.0-multilib.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index e4a6479..0c205e2 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,6 +1,6 @@ +-libdir=${prefix}/lib/gmpc/plugins/ ++plugindir=${libdir}/gmpc/plugins/ + +-lib_LTLIBRARIES = awnplugin.la ++plugin_LTLIBRARIES = awnplugin.la + + awnplugin_la_SOURCES= plugin.c + diff --git a/media-plugins/gmpc-awn/gmpc-awn-11.8.16.ebuild b/media-plugins/gmpc-awn/gmpc-awn-11.8.16.ebuild new file mode 100644 index 000000000000..3b5c8040f87c --- /dev/null +++ b/media-plugins/gmpc-awn/gmpc-awn-11.8.16.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils + +DESCRIPTION="This plugin integrates GMPC with the Avant Window Navigator" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_AWN" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/dbus-glib" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.20.0-multilib.patch + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-awn/metadata.xml b/media-plugins/gmpc-awn/metadata.xml new file mode 100644 index 000000000000..1e7b9d7494a9 --- /dev/null +++ b/media-plugins/gmpc-awn/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/gmpc-discogs/Manifest b/media-plugins/gmpc-discogs/Manifest new file mode 100644 index 000000000000..ee0bbcc56afa --- /dev/null +++ b/media-plugins/gmpc-discogs/Manifest @@ -0,0 +1 @@ +DIST gmpc-discogs-0.20.0.tar.gz 305381 SHA256 263ef4f77115243046eb151c7a5416c6a376fa2f1c64b3713757d7129499a1f7 diff --git a/media-plugins/gmpc-discogs/gmpc-discogs-0.20.0.ebuild b/media-plugins/gmpc-discogs/gmpc-discogs-0.20.0.ebuild new file mode 100644 index 000000000000..b7a0cc584cba --- /dev/null +++ b/media-plugins/gmpc-discogs/gmpc-discogs-0.20.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="This plugin fetches artist and album images from discogs" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_DISCOGS" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2 + || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-discogs/metadata.xml b/media-plugins/gmpc-discogs/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-discogs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-extraplaylist/Manifest b/media-plugins/gmpc-extraplaylist/Manifest new file mode 100644 index 000000000000..968ccb981318 --- /dev/null +++ b/media-plugins/gmpc-extraplaylist/Manifest @@ -0,0 +1 @@ +DIST gmpc-extraplaylist-0.20.0.tar.gz 282724 SHA256 be1ca8660af7ffc3290df7c54a755f2cdd2d9261e3d6dd88792da7e62796ff4c diff --git a/media-plugins/gmpc-extraplaylist/gmpc-extraplaylist-0.20.0.ebuild b/media-plugins/gmpc-extraplaylist/gmpc-extraplaylist-0.20.0.ebuild new file mode 100644 index 000000000000..2c1801295f25 --- /dev/null +++ b/media-plugins/gmpc-extraplaylist/gmpc-extraplaylist-0.20.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="This plugin adds a second pane showing the playlist" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_EXTRA_PLAYLIST" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install () { + emake DESTDIR="${D}" install || die + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-extraplaylist/metadata.xml b/media-plugins/gmpc-extraplaylist/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-extraplaylist/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-jamendo/Manifest b/media-plugins/gmpc-jamendo/Manifest new file mode 100644 index 000000000000..cffc635c41b3 --- /dev/null +++ b/media-plugins/gmpc-jamendo/Manifest @@ -0,0 +1 @@ +DIST gmpc-jamendo-11.8.16.tar.gz 328998 SHA256 a2ab1e099a933b984517d448fd70e25554caa371e164ff31a53a3cf10a2a2635 diff --git a/media-plugins/gmpc-jamendo/gmpc-jamendo-11.8.16.ebuild b/media-plugins/gmpc-jamendo/gmpc-jamendo-11.8.16.ebuild new file mode 100644 index 000000000000..7c37553dc1a2 --- /dev/null +++ b/media-plugins/gmpc-jamendo/gmpc-jamendo-11.8.16.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Plugin allows you to browse and preview music available on jamendo" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_JAMENDO" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-db/sqlit |