diff options
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/sqlite:3 + dev-libs/libxml2:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/gob + 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-jamendo/metadata.xml b/media-plugins/gmpc-jamendo/metadata.xml new file mode 100644 index 000000000000..1e7b9d7494a9 --- /dev/null +++ b/media-plugins/gmpc-jamendo/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-last-fm/Manifest b/media-plugins/gmpc-last-fm/Manifest new file mode 100644 index 000000000000..07c978b25183 --- /dev/null +++ b/media-plugins/gmpc-last-fm/Manifest @@ -0,0 +1 @@ +DIST gmpc-last-fm-0.20.0.tar.gz 309397 SHA256 626a49a5c0f26955901038019cb81d62915c9b37a8b5f4be17438d7fd0c67960 diff --git a/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild b/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild new file mode 100644 index 000000000000..b02ed72e9538 --- /dev/null +++ b/media-plugins/gmpc-last-fm/gmpc-last-fm-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 art from last.fm" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_LASTFM" +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 + || ( 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-last-fm/metadata.xml b/media-plugins/gmpc-last-fm/metadata.xml new file mode 100644 index 000000000000..23c5bf54f89b --- /dev/null +++ b/media-plugins/gmpc-last-fm/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>sound</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <longdescription>The last.fm plugin can fetch artist images, from last.fm. This plugin doesn't scrobble your music, use a dedicated client like mpdscribble for this.</longdescription> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-libnotify/Manifest b/media-plugins/gmpc-libnotify/Manifest new file mode 100644 index 000000000000..164381df22a7 --- /dev/null +++ b/media-plugins/gmpc-libnotify/Manifest @@ -0,0 +1 @@ +DIST gmpc-libnotify-11.8.16.tar.gz 303691 SHA256 379b25e9826672e6d4b187d3dcae19418c69103f6a187d90da149020f6267c76 SHA512 a9422e9f2c23c642967f81b75ca6915c54c364e11ff55321052e7db7dafb12bb832f4fc165a844f43c6db464b999f0cc28e7f8731a84afa643108b0633642967 WHIRLPOOL 974b951c47c9ad18fb01956a37ec4c7ab67bd6b8e91b1d7e3ddd9bfb12a12e40749d1edae64ceec7c9f6afa311018cfe13f04deb4342381529057de96aa49ca9 diff --git a/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch b/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch new file mode 100644 index 000000000000..601b6f27c646 --- /dev/null +++ b/media-plugins/gmpc-libnotify/files/gmpc-libnotify-0.20.0-libnotify-0.7.patch @@ -0,0 +1,37 @@ +--- src/plugin.c ++++ src/plugin.c +@@ -28,6 +28,10 @@ + #include <gmpc/misc.h> + #include <config.h> + ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + #define LOG_DOMAIN "LibNotifyPlugin" + + extern GtkStatusIcon *tray_icon2_gsi; +@@ -149,15 +153,23 @@ + if(not == NULL) + { + // notify_notification_close(not, NULL); ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ not = notify_notification_new(summary, buffer,NULL); ++#else + not = notify_notification_new(summary, buffer,NULL, NULL); ++#endif + } + else{ + notify_notification_update(not, summary, buffer, NULL); + } + notify_notification_set_urgency(not, NOTIFY_URGENCY_LOW); + ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ /* notify_notification_attach_to_status_icon was removed */ ++#else + if(cfg_get_single_value_as_int_with_default(config, "libnotify-plugin", "attach-to-tray", TRUE)) + notify_notification_attach_to_status_icon(not, tray_icon2_gsi); ++#endif + + g_free(summary); + /* Add the song to the widget */ diff --git a/media-plugins/gmpc-libnotify/gmpc-libnotify-11.8.16.ebuild b/media-plugins/gmpc-libnotify/gmpc-libnotify-11.8.16.ebuild new file mode 100644 index 000000000000..1a39f9993319 --- /dev/null +++ b/media-plugins/gmpc-libnotify/gmpc-libnotify-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 sends an announcement to the notification daemon on song change" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_LIBNOTIFY" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2 + x11-libs/libnotify" +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-libnotify/metadata.xml b/media-plugins/gmpc-libnotify/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-libnotify/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-lyrics/Manifest b/media-plugins/gmpc-lyrics/Manifest new file mode 100644 index 000000000000..85c99fee85af --- /dev/null +++ b/media-plugins/gmpc-lyrics/Manifest @@ -0,0 +1 @@ +DIST gmpc-lyrics-11.8.16.tar.gz 306510 SHA256 5dee816c422364b1a7eaf2c34dbacf56ee416eacad15acbe65920a2ba2ee33be SHA512 88737fddd75e564b9cf403ebc2c49964e8df59007467b688cd40879b35a14d8d8d6625213db91cab7e3d0abb47fb345e6f13501f9fdd5fe26ad8e43d0e88ea3f WHIRLPOOL 5fff5e8f328a4c556a06d329c9ad534b0fa0ac126779dde0bcd790a3747795233ae57ae8391f7a37937b2a1285bc70e238ae808a38662355ef0912ab021f5e2e diff --git a/media-plugins/gmpc-lyrics/gmpc-lyrics-11.8.16.ebuild b/media-plugins/gmpc-lyrics/gmpc-lyrics-11.8.16.ebuild new file mode 100644 index 000000000000..b554866a517f --- /dev/null +++ b/media-plugins/gmpc-lyrics/gmpc-lyrics-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 fetches lyrics" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_LYRICS" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2:2" +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-lyrics/metadata.xml b/media-plugins/gmpc-lyrics/metadata.xml new file mode 100644 index 000000000000..4d4c3986b1fd --- /dev/null +++ b/media-plugins/gmpc-lyrics/metadata.xml @@ -0,0 +1,18 @@ +<?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> + <longdescription> +This plugin fetches lyrics from the internet. It uses the following websites as sources: + * LyricWiki + * LeosLyrics + * Lyrics Tracker +</longdescription> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-lyricwiki/Manifest b/media-plugins/gmpc-lyricwiki/Manifest new file mode 100644 index 000000000000..39f739465552 --- /dev/null +++ b/media-plugins/gmpc-lyricwiki/Manifest @@ -0,0 +1 @@ +DIST gmpc-lyricwiki-11.8.16.tar.gz 306508 SHA256 bb00e806d3cb55b0e3b5e3d18ad5fbd4bfc93e241a4684b70e3bfa5690f11709 diff --git a/media-plugins/gmpc-lyricwiki/gmpc-lyricwiki-11.8.16.ebuild b/media-plugins/gmpc-lyricwiki/gmpc-lyricwiki-11.8.16.ebuild new file mode 100644 index 000000000000..b2c4c4281089 --- /dev/null +++ b/media-plugins/gmpc-lyricwiki/gmpc-lyricwiki-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 uses lyricwiki to fetch lyrics" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_LYRICWIKI" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2" +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-lyricwiki/metadata.xml b/media-plugins/gmpc-lyricwiki/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-lyricwiki/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-magnatune/Manifest b/media-plugins/gmpc-magnatune/Manifest new file mode 100644 index 000000000000..742a0b5106d2 --- /dev/null +++ b/media-plugins/gmpc-magnatune/Manifest @@ -0,0 +1 @@ +DIST gmpc-magnatune-11.8.16.tar.gz 316305 SHA256 9b8eed7c43f615e69b15cdfc3c7dca3e2068b0c08d3b7f11514fbeec913bbde9 SHA512 eb258190357f7fc3d95dc8400330d37dcbb35be7d576a6c6d543c2ba693f31058f7b4e1aae1050caf7b7b64727f26d70c55352c859e2044f3b7e8fe327608d9a WHIRLPOOL 7061a40b9555210f8c4a5fb6c0bdcd36d1109b40478d4b85a24a7d5e54e04ce7d7c6bb6e21e5679d4195dd50259b059c3a5332afc6c2b62f07f24f48f3094eba diff --git a/media-plugins/gmpc-magnatune/gmpc-magnatune-11.8.16.ebuild b/media-plugins/gmpc-magnatune/gmpc-magnatune-11.8.16.ebuild new file mode 100644 index 000000000000..1aefdad8f21b --- /dev/null +++ b/media-plugins/gmpc-magnatune/gmpc-magnatune-11.8.16.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin allows you to browse and preview available albums on magnatune.com" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_MAGNATUNE" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2 + dev-db/sqlite:3 + >=gnome-base/libglade-2 + || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )" +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-magnatune/metadata.xml b/media-plugins/gmpc-magnatune/metadata.xml new file mode 100644 index 000000000000..e8bfc2428ef3 --- /dev/null +++ b/media-plugins/gmpc-magnatune/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <longdescription> +The magnatune plugin provides an interface to the www.magnatune.com website. The plugin allows you to browse, and preview available albums. (It uses the 128kbit mp3 version). +The magnatune plugin provides a double function, it also uses the data from the +magnatune website to fetch cover art. +</longdescription> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-mdcover/Manifest b/media-plugins/gmpc-mdcover/Manifest new file mode 100644 index 000000000000..a8bee0edb6eb --- /dev/null +++ b/media-plugins/gmpc-mdcover/Manifest @@ -0,0 +1 @@ +DIST gmpc-mdcover-0.20.0.tar.gz 305148 SHA256 e0f50943e46ff83614d9d18e08aa2b4e592b71df090763e0827dee8106170d82 diff --git a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild new file mode 100644 index 000000000000..5f8ae7f4529e --- /dev/null +++ b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="This plugin fetches cover art, artist art, album and artist information from the file system" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_MDCOVER" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2 + || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf \ + $(use_enable nls) \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-mdcover/metadata.xml b/media-plugins/gmpc-mdcover/metadata.xml new file mode 100644 index 000000000000..60077b677b4e --- /dev/null +++ b/media-plugins/gmpc-mdcover/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>sound</herd> + <maintainer> + <email>angelos@gentoo.org</email> + <name>Christoph Mende</name> + </maintainer> + <longdescription>This plugin fetches cover art, artist art,album and artist information from the file system.</longdescription> + <upstream> + <remote-id type="sourceforge">musicpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gmpc-mmkeys/Manifest b/media-plugins/gmpc-mmkeys/Manifest new file mode 100644 index 000000000000..b85bb8797036 --- /dev/null +++ b/media-plugins/gmpc-mmkeys/Manifest @@ -0,0 +1 @@ +DIST gmpc-mmkeys-11.8.16.tar.gz 306983 SHA256 708a0ca30a424b8dacfe574bdcf18c147f9a3be7366faa2466525cf7b5936f2f SHA512 d7cc1f9ae8b4556e7573495cc4a08476aa6a8222a020f59549d3fb4b89f92c910f172c26aed72be9e8a463783e54348781537bf9dfe8b637bdf6b5a3787b033e WHIRLPOOL 7ebae8e4c6fa26fae1391e845e0ebd3f7c512b7573ad2bebab13be415eec2e4d5b875fefcfb08f2fcbb482403003e3be0fbf4d28f096d85f4d11c13027e200c8 diff --git a/media-plugins/gmpc-mmkeys/gmpc-mmkeys-11.8.16.ebuild b/media-plugins/gmpc-mmkeys/gmpc-mmkeys-11.8.16.ebuild new file mode 100644 index 000000000000..6732edf5136a --- /dev/null +++ b/media-plugins/gmpc-mmkeys/gmpc-mmkeys-11.8.16.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit vala + +DESCRIPTION="Bind multimedia keys via gnome settings daemon" +HOMEPAGE="http://gmpc.wikia.com/wiki/Plugins" +SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-libs/dbus-glib + >=media-sound/gmpc-${PV}" +DEPEND="${RDEPEND} + $(vala_depend) + virtual/pkgconfig" + +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-mmkeys/metadata.xml b/media-plugins/gmpc-mmkeys/metadata.xml new file mode 100644 index 000000000000..1e7b9d7494a9 --- /dev/null +++ b/media-plugins/gmpc-mmkeys/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-mserver/Manifest b/media-plugins/gmpc-mserver/Manifest new file mode 100644 index 000000000000..405e47ebab62 --- /dev/null +++ b/media-plugins/gmpc-mserver/Manifest @@ -0,0 +1 @@ +DIST gmpc-mserver-0.20.0.tar.gz 314343 SHA256 dfc4872f1258a10819eec3f99562637b77fd745fb2a5cbdaf88c2c3e4e107052 diff --git a/media-plugins/gmpc-mserver/gmpc-mserver-0.20.0.ebuild b/media-plugins/gmpc-mserver/gmpc-mserver-0.20.0.ebuild new file mode 100644 index 000000000000..a848c1536c1d --- /dev/null +++ b/media-plugins/gmpc-mserver/gmpc-mserver-0.20.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin allows you to play local files on a remote or local mpd +server" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_MSERVER" +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 + media-libs/taglib + net-libs/libmicrohttpd" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + default + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-mserver/metadata.xml b/media-plugins/gmpc-mserver/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-mserver/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-playlistsort/Manifest b/media-plugins/gmpc-playlistsort/Manifest new file mode 100644 index 000000000000..2afa60a564b6 --- /dev/null +++ b/media-plugins/gmpc-playlistsort/Manifest @@ -0,0 +1 @@ +DIST gmpc-playlistsort-0.20.0.tar.gz 283031 SHA256 ac98764843b05276b22f6ee88c8d735240606517007f81606fbfe901a2e05579 diff --git a/media-plugins/gmpc-playlistsort/gmpc-playlistsort-0.20.0.ebuild b/media-plugins/gmpc-playlistsort/gmpc-playlistsort-0.20.0.ebuild new file mode 100644 index 000000000000..3f550f71a4d0 --- /dev/null +++ b/media-plugins/gmpc-playlistsort/gmpc-playlistsort-0.20.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="This plugin adds a dialog to sort the current playlist" +HOMEPAGE="http://gmpc.wikia.com/" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND=">=media-sound/gmpc-${PV} + >=gnome-base/libglade-2 + dev-libs/libxml2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-playlistsort/metadata.xml b/media-plugins/gmpc-playlistsort/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-playlistsort/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-shout/Manifest b/media-plugins/gmpc-shout/Manifest new file mode 100644 index 000000000000..835c50097a37 --- /dev/null +++ b/media-plugins/gmpc-shout/Manifest @@ -0,0 +1 @@ +DIST gmpc-shout-0.20.0.tar.gz 300903 SHA256 0727e71f422a7b41da9705ab38ccfd13fd8203e1975dff6c34e55e7f957da3df diff --git a/media-plugins/gmpc-shout/gmpc-shout-0.20.0.ebuild b/media-plugins/gmpc-shout/gmpc-shout-0.20.0.ebuild new file mode 100644 index 000000000000..a6aec8b3ee9c --- /dev/null +++ b/media-plugins/gmpc-shout/gmpc-shout-0.20.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +DESCRIPTION="This plugin calls ogg123 and points it at mpd's shoutstream" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_SHOUT" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + media-sound/vorbis-tools[ogg123] + dev-libs/libxml2 + x11-libs/cairo" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-plugins/gmpc-shout/metadata.xml b/media-plugins/gmpc-shout/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-shout/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-tagedit/Manifest b/media-plugins/gmpc-tagedit/Manifest new file mode 100644 index 000000000000..bac8b09b5b9a --- /dev/null +++ b/media-plugins/gmpc-tagedit/Manifest @@ -0,0 +1 @@ +DIST gmpc-tagedit-11.8.16.tar.gz 311089 SHA256 127be98ffabb56c9d629218e4158bcb1632e9333ac48c218bbec9543803799d6 diff --git a/media-plugins/gmpc-tagedit/gmpc-tagedit-11.8.16.ebuild b/media-plugins/gmpc-tagedit/gmpc-tagedit-11.8.16.ebuild new file mode 100644 index 000000000000..0a0bd5d60914 --- /dev/null +++ b/media-plugins/gmpc-tagedit/gmpc-tagedit-11.8.16.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="This plugin allows you to edit tags in your library" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_TAGEDIT" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + media-libs/taglib + dev-libs/libxml2:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/gob + nls? ( dev-util/intltool + sys-devel/gettext )" + +src_configure() { + econf --disable-dependency-tracking +} + +src_install() { + default + find "${ED}" -name "*.la" -exec rm {} + || die +} diff --git a/media-plugins/gmpc-tagedit/metadata.xml b/media-plugins/gmpc-tagedit/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-tagedit/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-wikipedia/Manifest b/media-plugins/gmpc-wikipedia/Manifest new file mode 100644 index 000000000000..c1081965b776 --- /dev/null +++ b/media-plugins/gmpc-wikipedia/Manifest @@ -0,0 +1 @@ +DIST gmpc-wikipedia-11.8.16.tar.gz 310015 SHA256 1a2456469d1f487d9c5c88a439c3d67ae1ec6cf3879dd790ae66b234744fee44 diff --git a/media-plugins/gmpc-wikipedia/gmpc-wikipedia-11.8.16.ebuild b/media-plugins/gmpc-wikipedia/gmpc-wikipedia-11.8.16.ebuild new file mode 100644 index 000000000000..a38fe3915aa7 --- /dev/null +++ b/media-plugins/gmpc-wikipedia/gmpc-wikipedia-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 shows the Wikipedia article about the currently playing artist" +HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_WIKIPEDIA" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=">=media-sound/gmpc-${PV} + dev-libs/libxml2:2 + net-libs/webkit-gtk:2" +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-wikipedia/metadata.xml b/media-plugins/gmpc-wikipedia/metadata.xml new file mode 100644 index 000000000000..974a58e83522 --- /dev/null +++ b/media-plugins/gmpc-wikipedia/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/grilo-plugins/Manifest b/media-plugins/grilo-plugins/Manifest new file mode 100644 index 000000000000..dca77c97061e --- /dev/null +++ b/media-plugins/grilo-plugins/Manifest @@ -0,0 +1,3 @@ +DIST grilo-plugins-0.2.12.tar.xz 721592 SHA256 15bed8a633c81b251920ab677d455433e641388f605277ca88e549cc89012b48 SHA512 37865fea88b2927482490481f07d830e6cbd89c886e20b2986931215099bc9b6b46600ac45e0c72c6ff2d8f9e273ca5cd4ad42195436b540118c483d1cb5bd8e WHIRLPOOL 27006aa66002770c55be9c8f9d4302f1b60524096a11ad27731a3fcb57e4e4a55a0be6809808d14c441e4bdc005753fd55657fb9df83c149a420eacc29276c91 +DIST grilo-plugins-0.2.13.tar.xz 999896 SHA256 a5544831ba81a4e7caea30da89874fd20142a362d389366e1113d0e64be51201 SHA512 5ec97ea16fc13c13090d58067bc982176967f49b7f996b2ee75fe2c915bfdaf96fb780730b9aeca3ba1e7d566526b7c7423a238b0285b0f60b97ad66b1cb0e03 WHIRLPOOL ef0cadaf229d02083efe6375db2ef335b88b9f46a29d671713957625868a30294952e538cb280de387d5078823ebd2f6d80ddb76d2ebed81008d53b44d3e62f5 +DIST grilo-plugins-0.2.14.tar.xz 1036824 SHA256 d0f18116675058c7e8c178b1fe26d6d73998a0452f85a73b1696df740c83d3ab SHA512 d4caddb5a710f19365d1d9e890b1d525b96e78cf2228a886f1b2c66e60601c2bef61791007d0d9cc8d3b306aac3065c0ff618ef522c7971885c95ca2e365c69b WHIRLPOOL 40899069c626a4183a9cf2afe94f8290dd39bd0bed8475b5d0732d3aa2521eb6fb6f275fba38d47b0614a9e16501f63ee0c5180dd88082ceb14bff0867f7cfe5 diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.2.12.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.2.12.ebuild new file mode 100644 index 000000000000..073b50faa3a4 --- /dev/null +++ b/media-plugins/grilo-plugins/grilo-plugins-0.2.12.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS +GNOME2_LA_PUNT="yes" + +inherit gnome2 + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.2" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="daap +dvd flickr freebox gnome-online-accounts lua pocket tracker upnp-av +vimeo +youtube" + +RDEPEND=" + >=dev-libs/glib-2.34:2 + >=media-libs/grilo-0.2.10:${SLOT}[network,playlist] + >=media-libs/libmediaart-0.1:1.0 + + dev-libs/gmime:2.6 + dev-libs/json-glib + dev-libs/libxml2:2 + dev-db/sqlite:3 + + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 ) + dvd? ( >=dev-libs/totem-pl-parser-3.4.1 ) + flickr? ( net-libs/liboauth ) + freebox? ( net-dns/avahi ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 ) + lua? ( >=dev-lang/lua-5.2 ) + pocket? ( + dev-libs/json-glib + >=net-libs/gnome-online-accounts-3.11.4 + >=net-libs/rest-0.7 + >=dev-libs/totem-pl-parser-3.4.1 ) + tracker? ( >=app-misc/tracker-0.10.5:= ) + youtube? ( + >=dev-libs/libgdata-0.9.1 + dev-libs/totem-pl-parser ) + upnp-av? ( + net-libs/gssdp + >=net-libs/gupnp-0.13 + >=net-libs/gupnp-av-0.5 ) + vimeo? ( + dev-libs/libgcrypt:0 + dev-libs/totem-pl-parser ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + >=dev-util/intltool-0.40.0 + virtual/pkgconfig +" + +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + # Plugins + # shoutcast seems to be broken + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + --disable-uninstalled \ + --enable-bliptv \ + --enable-apple-trailers \ + --enable-bookmarks \ + --enable-filesystem \ + --enable-gravatar \ + --enable-jamendo \ + --enable-lastfm-albumart \ + --enable-localmetadata \ + --enable-magnatune \ + --enable-metadata-store \ + --enable-podcasts \ + --enable-raitv \ + --disable-shoutcast \ + --enable-tmdb \ + $(use_enable daap dmap) \ + $(use_enable dvd optical-media) \ + $(use_enable flickr) \ + $(use_enable freebox) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable lua lua-factory) \ + $(use_enable pocket) \ + $(use_enable tracker) \ + $(use_enable upnp-av upnp) \ + $(use_enable vimeo) \ + $(use_enable youtube) +} diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.2.13.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.2.13.ebuild new file mode 100644 index 000000000000..35c071e03ef9 --- /dev/null +++ b/media-plugins/grilo-plugins/grilo-plugins-0.2.13.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS +GNOME2_LA_PUNT="yes" + +inherit gnome2 + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.2" +KEYWORDS="~alpha amd64 ~ppc ~ppc64 x86" +IUSE="daap +dvd flickr freebox gnome-online-accounts lua pocket thetvdb tracker upnp-av +vimeo +youtube" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=media-libs/grilo-0.2.11:${SLOT}[network,playlist] + >=media-libs/libmediaart-0.1:1.0 + >=dev-libs/gom-0.2.1 + + dev-libs/gmime:2.6 + dev-libs/json-glib + dev-libs/libxml2:2 + dev-db/sqlite:3 + + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 ) + dvd? ( >=dev-libs/totem-pl-parser-3.4.1 ) + flickr? ( net-libs/liboauth ) + freebox? ( net-dns/avahi ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 ) + lua? ( + >=dev-lang/lua-5.2 + app-arch/libarchive ) + pocket? ( + >=net-libs/gnome-online-accounts-3.11.4 + >=net-libs/rest-0.7.90 + >=dev-libs/totem-pl-parser-3.4.1 ) + thetvdb? ( + app-arch/libarchive + dev-libs/libxml2 ) + tracker? ( >=app-misc/tracker-0.10.5:= ) + youtube? ( + >=dev-libs/libgdata-0.9.1:= + dev-libs/totem-pl-parser ) + upnp-av? ( net-libs/libsoup ) + vimeo? ( + dev-libs/totem-pl-parser ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + >=dev-util/intltool-0.40.0 + virtual/pkgconfig +" + +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + # Plugins + # shoutcast seems to be broken + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + --disable-uninstalled \ + --enable-bliptv \ + --enable-apple-trailers \ + --enable-bookmarks \ + --enable-filesystem \ + --enable-gravatar \ + --enable-jamendo \ + --enable-lastfm-albumart \ + --enable-localmetadata \ + --enable-magnatune \ + --enable-metadata-store \ + --enable-podcasts \ + --enable-raitv \ + --disable-shoutcast \ + --enable-tmdb \ + $(use_enable daap dmap) \ + $(use_enable dvd optical-media) \ + $(use_enable flickr) \ + $(use_enable freebox) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable lua lua-factory) \ + $(use_enable pocket) \ + $(use_enable thetvdb) \ + $(use_enable tracker) \ + $(use_enable upnp-av dleyna) \ + $(use_enable vimeo) \ + $(use_enable youtube) +} diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.2.14.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.2.14.ebuild new file mode 100644 index 000000000000..6089a6b35a48 --- /dev/null +++ b/media-plugins/grilo-plugins/grilo-plugins-0.2.14.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS +GNOME2_LA_PUNT="yes" + +inherit gnome2 + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="daap +dvd flickr freebox gnome-online-accounts lua pocket subtitles thetvdb tracker upnp-av +vimeo +youtube" + +# Bump gom requirement to avoid segfaults +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=media-libs/grilo-0.2.12:${SLOT}[network,playlist] + media-libs/libmediaart:2.0 + >=dev-libs/gom-0.3.1 + + dev-libs/gmime:2.6 + dev-libs/json-glib + dev-libs/libxml2:2 + dev-db/sqlite:3 + + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 ) + dvd? ( >=dev-libs/totem-pl-parser-3.4.1 ) + flickr? ( net-libs/liboauth ) + freebox? ( net-dns/avahi ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 ) + lua? ( + >=dev-lang/lua-5.2 + app-arch/libarchive ) + pocket? ( + >=net-libs/gnome-online-accounts-3.11.4 + >=net-libs/rest-0.7.90 + >=dev-libs/totem-pl-parser-3.4.1 ) + subtitles? ( net-libs/libsoup:2.4 ) + thetvdb? ( + app-arch/libarchive + dev-libs/libxml2 ) + tracker? ( >=app-misc/tracker-0.10.5:= ) + youtube? ( + >=dev-libs/libgdata-0.9.1:= + dev-libs/totem-pl-parser ) + upnp-av? ( + net-libs/libsoup:2.4 + net-libs/dleyna-connector-dbus ) + vimeo? ( + dev-libs/totem-pl-parser ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + >=dev-util/intltool-0.40.0 + virtual/pkgconfig +" + +# FIXME: some unittests required python-dbusmock +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + # Plugins + # shoutcast seems to be broken + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + --disable-uninstalled \ + --enable-bliptv \ + --enable-apple-trailers \ + --enable-bookmarks \ + --enable-filesystem \ + --enable-gravatar \ + --enable-jamendo \ + --enable-lastfm-albumart \ + --enable-localmetadata \ + --enable-magnatune \ + --enable-metadata-store \ + --enable-podcasts \ + --enable-raitv \ + --disable-shoutcast \ + --enable-tmdb \ + $(use_enable daap dmap) \ + $(use_enable dvd optical-media) \ + $(use_enable flickr) \ + $(use_enable freebox) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable lua lua-factory) \ + $(use_enable pocket) \ + $(use_enable subtitles opensubtitles) \ + $(use_enable thetvdb) \ + $(use_enable tracker) \ + $(use_enable upnp-av dleyna) \ + $(use_enable vimeo) \ + $(use_enable youtube) +} diff --git a/media-plugins/grilo-plugins/metadata.xml b/media-plugins/grilo-plugins/metadata.xml new file mode 100644 index 000000000000..ce10d8e0c78e --- /dev/null +++ b/media-plugins/grilo-plugins/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<use> + <flag name="daap">Enable dmap support through <pkg>net-libs/libdmapsharing</pkg></flag> + <flag name="flickr">Enable Flickr support</flag> + <flag name="freebox">Build support for viewing TV channels using Freebox</flag> + <flag name="gnome-online-accounts">Enable <pkg>net-libs/gnome-online-accounts</pkg> support</flag> + <flag name="pocket">Support for showing content from Pocket</flag> + <flag name="subtitles">Enables support for subtitle from OpenSubtitles</flag> + <flag name="thetvdb">Build support for thetvdb.com</flag> + <flag name="tracker">Build support for content discovery using the <pkg>app-misc/tracker</pkg> indexer</flag> + <flag name="vimeo">Build support for Vimeo content discovery using <pkg>net-libs/libsoup</pkg> and <pkg>dev-libs/libgcrypt</pkg></flag> + <flag name="youtube">Build support for YouTube content discovery using <pkg>dev-libs/libgdata</pkg></flag> +</use> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-a52dec/Manifest b/media-plugins/gst-plugins-a52dec/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-a52dec/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.19-r1.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.19-r1.ebuild new file mode 100644 index 000000000000..9397fa8779a6 --- /dev/null +++ b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.19-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/a52dec-0.7.4-r6[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.2.4-r1.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.2.4-r1.ebuild new file mode 100644 index 000000000000..9397fa8779a6 --- /dev/null +++ b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.2.4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/a52dec-0.7.4-r6[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.4.5.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.4.5.ebuild new file mode 100644 index 000000000000..3c57df16ca70 --- /dev/null +++ b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/a52dec-0.7.4-r6[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-a52dec/metadata.xml b/media-plugins/gst-plugins-a52dec/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-a52dec/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-alsa/Manifest b/media-plugins/gst-plugins-alsa/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-alsa/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.10.36-r1.ebuild b/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.10.36-r1.ebuild new file mode 100644 index 000000000000..ae4270263590 --- /dev/null +++ b/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.10.36-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/interfaces:gstreamer-interfaces \ + gst-libs/gst/audio:gstreamer-audio +} diff --git a/media-plugins/gst-plugins-alsa/metadata.xml b/media-plugins/gst-plugins-alsa/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-alsa/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-amr/Manifest b/media-plugins/gst-plugins-amr/Manifest new file mode 100644 index 000000000000..4172f1d8942a --- /dev/null +++ b/media-plugins/gst-plugins-amr/Manifest @@ -0,0 +1,4 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.3.tar.xz 843156 SHA256 537b0a7607eee499026388bb705b5b68985a3fd59fe22ee09accaf8cdf57eb3b SHA512 fdfd22360cf1cb6ba203fb8a5a2a98658c898a41c630e4b466a4a34749b537ea387eee1069adb73bbbacd2da89632c56cd2cf8c371c315b75b11a49f5b9c4beb WHIRLPOOL 0a24e29f2e06d714059c2a83662fbd011808ba2a1996453c4aa44624efeef2a00fd6a4c578332548fc22494c9c1be93497a133f7ce87ab6325198e3465cc9f42 +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-amr/files/gst-plugins-amr-0.10.19-headers-location.patch b/media-plugins/gst-plugins-amr/files/gst-plugins-amr-0.10.19-headers-location.patch new file mode 100644 index 000000000000..48ccd5dbf4d8 --- /dev/null +++ b/media-plugins/gst-plugins-amr/files/gst-plugins-amr-0.10.19-headers-location.patch @@ -0,0 +1,41 @@ +Fix #includes, it appears those files move over time with opencore-amr releases. + +diff -Nur a/ext/amrnb/amrnbdec.h b/ext/amrnb/amrnbdec.h +--- a/ext/amrnb/amrnbdec.h 2011-12-30 18:40:45.000000000 +0100 ++++ b/ext/amrnb/amrnbdec.h 2013-02-03 17:24:52.099845338 +0100 +@@ -22,7 +22,7 @@ + + #include <gst/gst.h> + #include <gst/audio/gstaudiodecoder.h> +-#include <interf_dec.h> ++#include <opencore-amrnb/interf_dec.h> + + G_BEGIN_DECLS + +diff -Nur a/ext/amrnb/amrnbenc.h b/ext/amrnb/amrnbenc.h +--- a/ext/amrnb/amrnbenc.h 2011-12-30 18:40:45.000000000 +0100 ++++ b/ext/amrnb/amrnbenc.h 2013-02-03 17:25:02.554738906 +0100 +@@ -21,8 +21,8 @@ + #define __GST_AMRNBENC_H__ + + #include <gst/gst.h> +-#include <interf_enc.h> + #include <gst/audio/gstaudioencoder.h> ++#include <opencore-amrnb/interf_enc.h> + + G_BEGIN_DECLS + +diff -Nur a/ext/amrwbdec/amrwbdec.h b/ext/amrwbdec/amrwbdec.h +--- a/ext/amrwbdec/amrwbdec.h 2011-12-30 18:40:45.000000000 +0100 ++++ b/ext/amrwbdec/amrwbdec.h 2013-02-03 17:26:07.553077295 +0100 +@@ -22,8 +22,8 @@ + + #include <gst/gst.h> + #include <gst/audio/gstaudiodecoder.h> +-#include <dec_if.h> +-#include <if_rom.h> ++#include <opencore-amrwb/dec_if.h> ++#include <opencore-amrwb/if_rom.h> + + G_BEGIN_DECLS + diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19-r1.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19-r1.ebuild new file mode 100644 index 000000000000..72f67aaffdc7 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit eutils gstreamer + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" + +src_prepare() { + # Fix build with current opencore-amr + epatch "${FILESDIR}"/${P}-headers-location.patch +} diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19.ebuild new file mode 100644 index 000000000000..a3e0bf6d28f7 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils gst-plugins-ugly + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/opencore-amr" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" + +src_prepare() { + # Fix build with current opencore-amr + epatch "${FILESDIR}"/${P}-headers-location.patch +} diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.3.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.3.ebuild new file mode 100644 index 000000000000..a38a72e52501 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-ugly + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/opencore-amr" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4-r1.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4-r1.ebuild new file mode 100644 index 000000000000..f1ca5422a1f3 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4.ebuild new file mode 100644 index 000000000000..f18cdc0ee205 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.2.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-ugly + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/opencore-amr" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" diff --git a/media-plugins/gst-plugins-amr/gst-plugins-amr-1.4.5.ebuild b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.4.5.ebuild new file mode 100644 index 000000000000..d650729ac387 --- /dev/null +++ b/media-plugins/gst-plugins-amr/gst-plugins-amr-1.4.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="amrnb amrwb" +GST_PLUGINS_BUILD_DIR="amrnb amrwbdec" diff --git a/media-plugins/gst-plugins-amr/metadata.xml b/media-plugins/gst-plugins-amr/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-amr/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-annodex/Manifest b/media-plugins/gst-plugins-annodex/Manifest new file mode 100644 index 000000000000..4a7a8f4cad54 --- /dev/null +++ b/media-plugins/gst-plugins-annodex/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 diff --git a/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31-r1.ebuild b/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31-r1.ebuild new file mode 100644 index 000000000000..bf30896e0346 --- /dev/null +++ b/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for annodex stream manipulation" +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31.ebuild b/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31.ebuild new file mode 100644 index 000000000000..87636947fcff --- /dev/null +++ b/media-plugins/gst-plugins-annodex/gst-plugins-annodex-0.10.31.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-good + +DESCRIPTION="GStreamer plugin for annodex stream manipulation" +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.4.9" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-annodex/metadata.xml b/media-plugins/gst-plugins-annodex/metadata.xml new file mode 100644 index 000000000000..c5041a1fea02 --- /dev/null +++ b/media-plugins/gst-plugins-annodex/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for annodex stream manipulation + + (info about annodex: http://www.annodex.net) +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-assrender/Manifest b/media-plugins/gst-plugins-assrender/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-assrender/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-assrender/gst-plugins-assrender-0.10.23-r1.ebuild b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-0.10.23-r1.ebuild new file mode 100644 index 000000000000..ed7e7c0f074a --- /dev/null +++ b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for ASS/SSA rendering with effects support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libass-0.10.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.2.4-r1.ebuild b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ed7e7c0f074a --- /dev/null +++ b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for ASS/SSA rendering with effects support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libass-0.10.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.4.5.ebuild b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.4.5.ebuild new file mode 100644 index 000000000000..0568e5436fef --- /dev/null +++ b/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for ASS/SSA rendering with effects support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libass-0.10.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-assrender/metadata.xml b/media-plugins/gst-plugins-assrender/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-assrender/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-cdio/Manifest b/media-plugins/gst-plugins-cdio/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-cdio/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-cdio/files/gst-plugins-cdio-0.10.19-cdio-cd-text-api.patch b/media-plugins/gst-plugins-cdio/files/gst-plugins-cdio-0.10.19-cdio-cd-text-api.patch new file mode 100644 index 000000000000..2b3a81953a6e --- /dev/null +++ b/media-plugins/gst-plugins-cdio/files/gst-plugins-cdio-0.10.19-cdio-cd-text-api.patch @@ -0,0 +1,183 @@ +From 649bd92cd2600719862ad5189899212409dd0a67 Mon Sep 17 00:00:00 2001 +From: Leon Merten Lohse <leon@green-side.de> +Date: Thu, 03 May 2012 22:50:30 +0000 +Subject: cdio: compensate for libcdio's recent cd-text api changes + +https://bugzilla.gnome.org/show_bug.cgi?id=675112 + +Conflicts: + + ext/cdio/gstcdiocddasrc.c +--- +diff --git a/ext/cdio/gstcdio.c b/ext/cdio/gstcdio.c +index 2f58d18..483ebf5 100644 +--- a/ext/cdio/gstcdio.c ++++ b/ext/cdio/gstcdio.c +@@ -30,12 +30,16 @@ + GST_DEBUG_CATEGORY (gst_cdio_debug); + + void +-gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext, ++gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext, track_t track, + cdtext_field_t field, const gchar * gst_tag, GstTagList ** p_tags) + { + const gchar *txt; + ++#if LIBCDIO_VERSION_NUM > 83 ++ txt = cdtext_get_const (cdtext, field, track); ++#else + txt = cdtext_get_const (field, cdtext); ++#endif + if (txt == NULL || *txt == '\0') { + GST_DEBUG_OBJECT (src, "empty CD-TEXT field %u (%s)", field, gst_tag); + return; +@@ -57,6 +61,12 @@ gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext, + } + + GstTagList * ++#if LIBCDIO_VERSION_NUM > 83 ++gst_cdio_get_cdtext (GstObject * src, cdtext_t * t, track_t track) ++{ ++ GstTagList *tags = NULL; ++ ++#else + gst_cdio_get_cdtext (GstObject * src, CdIo * cdio, track_t track) + { + GstTagList *tags = NULL; +@@ -67,14 +77,22 @@ gst_cdio_get_cdtext (GstObject * src, CdIo * cdio, track_t track) + GST_DEBUG_OBJECT (src, "no CD-TEXT for track %u", track); + return NULL; + } ++#endif + +- gst_cdio_add_cdtext_field (src, t, CDTEXT_PERFORMER, GST_TAG_ARTIST, &tags); +- gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_TITLE, &tags); ++ gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_PERFORMER, ++ GST_TAG_ARTIST, &tags); ++ gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_TITLE, GST_TAG_TITLE, ++ &tags); + + return tags; + } + + void ++#if LIBCDIO_VERSION_NUM > 83 ++gst_cdio_add_cdtext_album_tags (GstObject * src, cdtext_t * t, ++ GstTagList * tags) ++{ ++#else + gst_cdio_add_cdtext_album_tags (GstObject * src, CdIo * cdio, GstTagList * tags) + { + cdtext_t *t; +@@ -84,11 +102,14 @@ gst_cdio_add_cdtext_album_tags (GstObject * src, CdIo * cdio, GstTagList * tags) + GST_DEBUG_OBJECT (src, "no CD-TEXT for album"); + return; + } ++#endif + +- /* FIXME: map CDTEXT_PERFORMER to GST_TAG_ALBUM_ARTIST once we have that */ +- gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_ALBUM, &tags); +- gst_cdio_add_cdtext_field (src, t, CDTEXT_GENRE, GST_TAG_GENRE, &tags); +- ++ gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_PERFORMER, ++ GST_TAG_ALBUM_ARTIST, &tags); ++ gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_TITLE, GST_TAG_ALBUM, ++ &tags); ++ gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_GENRE, GST_TAG_GENRE, ++ &tags); + GST_DEBUG ("CD-TEXT album tags: %" GST_PTR_FORMAT, tags); + } + +diff --git a/ext/cdio/gstcdio.h b/ext/cdio/gstcdio.h +index ef31ed0..c6da580 100644 +--- a/ext/cdio/gstcdio.h ++++ b/ext/cdio/gstcdio.h +@@ -24,22 +24,38 @@ + #include <gst/gst.h> + #include <cdio/cdio.h> + #include <cdio/cdtext.h> ++#include <cdio/version.h> ++ ++#if LIBCDIO_VERSION_NUM <= 83 ++ #define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER ++ #define CDTEXT_FIELD_GENRE CDTEXT_GENRE ++ #define CDTEXT_FIELD_TITLE CDTEXT_TITLE ++#endif + + GST_DEBUG_CATEGORY_EXTERN (gst_cdio_debug); + #define GST_CAT_DEFAULT gst_cdio_debug + + void gst_cdio_add_cdtext_field (GstObject * src, + cdtext_t * cdtext, ++ track_t track, + cdtext_field_t field, + const gchar * gst_tag, + GstTagList ** p_tags); + + GstTagList * gst_cdio_get_cdtext (GstObject * src, ++#if LIBCDIO_VERSION_NUM > 83 ++ cdtext_t * t, ++#else + CdIo * cdio, ++#endif + track_t track); + + void gst_cdio_add_cdtext_album_tags (GstObject * src, ++#if LIBCDIO_VERSION_NUM > 83 ++ cdtext_t * t, ++#else + CdIo * cdio, ++#endif + GstTagList * tags); + + #endif /* __GST_CDIO_H__ */ +diff --git a/ext/cdio/gstcdiocddasrc.c b/ext/cdio/gstcdiocddasrc.c +index 615a0c8..830839e 100644 +--- a/ext/cdio/gstcdiocddasrc.c ++++ b/ext/cdio/gstcdiocddasrc.c +@@ -206,6 +206,9 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device) + GstCdioCddaSrc *src; + discmode_t discmode; + gint first_track, num_tracks, i; ++#if LIBCDIO_VERSION_NUM > 83 ++ cdtext_t *cdtext; ++#endif + + src = GST_CDIO_CDDA_SRC (audiocdsrc); + +@@ -232,8 +235,18 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device) + if (src->read_speed != -1) + cdio_set_speed (src->cdio, src->read_speed); + ++#if LIBCDIO_VERSION_NUM > 83 ++ cdtext = cdio_get_cdtext (src->cdio); ++ ++ if (NULL == cdtext) ++ GST_DEBUG_OBJECT (src, "no CD-TEXT on disc"); ++ else ++ gst_cdio_add_cdtext_album_tags (GST_OBJECT_CAST (src), cdtext, ++ cddabasesrc->tags); ++#else + gst_cdio_add_cdtext_album_tags (GST_OBJECT_CAST (src), src->cdio, + cddabasesrc->tags); ++#endif + + GST_LOG_OBJECT (src, "%u tracks, first track: %d", num_tracks, first_track); + +@@ -250,8 +263,14 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device) + * the right thing here (for cddb id calculations etc. as well) */ + track.start = cdio_get_track_lsn (src->cdio, i + first_track); + track.end = track.start + len_sectors - 1; /* -1? */ ++#if LIBCDIO_VERSION_NUM > 83 ++ if (NULL != cdtext) ++ track.tags = gst_cdio_get_cdtext (GST_OBJECT (src), cdtext, ++ i + first_track); ++#else + track.tags = gst_cdio_get_cdtext (GST_OBJECT (src), src->cdio, + i + first_track); ++#endif + + gst_audio_cd_src_add_track (GST_AUDIO_CD_SRC (src), &track); + } +-- +cgit v0.9.0.2-2-gbebe diff --git a/media-plugins/gst-plugins-cdio/gst-plugins-cdio-0.10.19-r1.ebuild b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-0.10.19-r1.ebuild new file mode 100644 index 000000000000..be78497a4b11 --- /dev/null +++ b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-0.10.19-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit eutils gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/libcdio-0.90-r1:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-cdio-cd-text-api.patch #452434 +} diff --git a/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.2.4-r1.ebuild b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.2.4-r1.ebuild new file mode 100644 index 000000000000..b8d669f78018 --- /dev/null +++ b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/libcdio-0.90-r1:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.4.5.ebuild b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.4.5.ebuild new file mode 100644 index 000000000000..93afdf3263aa --- /dev/null +++ b/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/libcdio-0.90-r1:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-cdio/metadata.xml b/media-plugins/gst-plugins-cdio/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-cdio/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-cdparanoia/Manifest b/media-plugins/gst-plugins-cdparanoia/Manifest new file mode 100644 index 000000000000..d183ce5f3329 --- /dev/null +++ b/media-plugins/gst-plugins-cdparanoia/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d +DIST gst-plugins-base-1.2.4.tar.xz 2538012 SHA256 4d6273dc3f5a94bcc53ccfe0711cfddd49e31371d1136bf62fa1ecc604fc6550 SHA512 8e7e7fd494ee2335e917dae3fef93a2103db37c8cc645ccf1f63b7e6676a6cc6fee78bb90e43f8ccacab367788a416600577cb3d9630e9d64258ecb3dbe63338 WHIRLPOOL 173b2c71b2be05db75ef0d7c344b64ec5d74ba291cc8058546a2963257a1af8e7699737214e11c2d811e6349a008386f822a82f5fe5f5491f5faca64e9d8f20d +DIST gst-plugins-base-1.4.5.tar.xz 2637680 SHA256 77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d SHA512 63d3c531de736ad8a64d6962c0af75857d3b016d7f8e85d1884e8de50e64576902bb1161161b74130ab5dfb1d453eb995e374d8a958eac6e44ae5272eeaaf8b6 WHIRLPOOL cf6ef1c9589ed7a39be74e7663b0821c81b1b4cffdd612ccd7fd5b7929508af21d68817530a4b0fb2517f3a7044ee068afba7602816fdd0ada31444f0bcf8383 diff --git a/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-0.10.36-r1.ebuild b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-0.10.36-r1.ebuild new file mode 100644 index 000000000000..6e029e2f8e05 --- /dev/null +++ b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-0.10.36-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/cdparanoia-3.10.2-r6[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/cdda:gstreamer-cdda +} diff --git a/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.2.4-r1.ebuild b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.2.4-r1.ebuild new file mode 100644 index 000000000000..475c05e93ee2 --- /dev/null +++ b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.2.4-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/cdparanoia-3.10.2-r6[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link gst-libs/gst/audio:gstreamer-audio +} diff --git a/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.4.5.ebuild b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.4.5.ebuild new file mode 100644 index 000000000000..9c8cb058ed11 --- /dev/null +++ b/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.4.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/cdparanoia-3.10.2-r6[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link gst-libs/gst/audio:gstreamer-audio +} diff --git a/media-plugins/gst-plugins-cdparanoia/metadata.xml b/media-plugins/gst-plugins-cdparanoia/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-cdparanoia/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-dash/Manifest b/media-plugins/gst-plugins-dash/Manifest new file mode 100644 index 000000000000..a9a03522c82f --- /dev/null +++ b/media-plugins/gst-plugins-dash/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-dash/gst-plugins-dash-1.2.4-r1.ebuild b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.2.4-r1.ebuild new file mode 100644 index 000000000000..fed62c0a7895 --- /dev/null +++ b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.2.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="MPEG-DASH plugin" + +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +#src_prepare() { +# gstreamer_system_link \ +# gst-libs/gst/uridownloader:gsturidownloader +#} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-dash/gst-plugins-dash-1.4.5.ebuild b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.4.5.ebuild new file mode 100644 index 000000000000..0b943dd23008 --- /dev/null +++ b/media-plugins/gst-plugins-dash/gst-plugins-dash-1.4.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="MPEG-DASH plugin" + +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +#src_prepare() { +# gstreamer_system_link \ +# gst-libs/gst/uridownloader:gsturidownloader +#} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-dash/metadata.xml b/media-plugins/gst-plugins-dash/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-dash/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-dts/Manifest b/media-plugins/gst-plugins-dts/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-dts/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-dts/gst-plugins-dts-0.10.23-r1.ebuild b/media-plugins/gst-plugins-dts/gst-plugins-dts-0.10.23-r1.ebuild new file mode 100644 index 000000000000..e43c26b1e152 --- /dev/null +++ b/media-plugins/gst-plugins-dts/gst-plugins-dts-0.10.23-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86 ~amd64-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/libdca-0.0.5-r3[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dts/gst-plugins-dts-1.2.4-r1.ebuild b/media-plugins/gst-plugins-dts/gst-plugins-dts-1.2.4-r1.ebuild new file mode 100644 index 000000000000..7ed8548f45b5 --- /dev/null +++ b/media-plugins/gst-plugins-dts/gst-plugins-dts-1.2.4-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 hppa ~ppc ~ppc64 x86 ~amd64-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/libdca-0.0.5-r3[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dts/gst-plugins-dts-1.4.5.ebuild b/media-plugins/gst-plugins-dts/gst-plugins-dts-1.4.5.ebuild new file mode 100644 index 000000000000..dc5a910091a0 --- /dev/null +++ b/media-plugins/gst-plugins-dts/gst-plugins-dts-1.4.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 hppa ~ppc ~ppc64 x86 ~amd64-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/libdca-0.0.5-r3[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dts/metadata.xml b/media-plugins/gst-plugins-dts/metadata.xml new file mode 100644 index 000000000000..d1096fb54bd8 --- /dev/null +++ b/media-plugins/gst-plugins-dts/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-dv/Manifest b/media-plugins/gst-plugins-dv/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-dv/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-dv/gst-plugins-dv-0.10.31-r1.ebuild b/media-plugins/gst-plugins-dv/gst-plugins-dv-0.10.31-r1.ebuild new file mode 100644 index 000000000000..6a5054015acc --- /dev/null +++ b/media-plugins/gst-plugins-dv/gst-plugins-dv-0.10.31-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to demux and decode DV" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="libdv" diff --git a/media-plugins/gst-plugins-dv/gst-plugins-dv-1.2.4-r1.ebuild b/media-plugins/gst-plugins-dv/gst-plugins-dv-1.2.4-r1.ebuild new file mode 100644 index 000000000000..a2482f3b26d2 --- /dev/null +++ b/media-plugins/gst-plugins-dv/gst-plugins-dv-1.2.4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to demux and decode DV" +KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="libdv" diff --git a/media-plugins/gst-plugins-dv/gst-plugins-dv-1.4.5.ebuild b/media-plugins/gst-plugins-dv/gst-plugins-dv-1.4.5.ebuild new file mode 100644 index 000000000000..0ecef6e8bfec --- /dev/null +++ b/media-plugins/gst-plugins-dv/gst-plugins-dv-1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to demux and decode DV" +KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="libdv" diff --git a/media-plugins/gst-plugins-dv/metadata.xml b/media-plugins/gst-plugins-dv/metadata.xml new file mode 100644 index 000000000000..27e89d01dbbb --- /dev/null +++ b/media-plugins/gst-plugins-dv/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer DV demuxer and decoder plugin based on libdv (libdv.sf.net) +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-dvb/Manifest b/media-plugins/gst-plugins-dvb/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-dvb/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-dvb/gst-plugins-dvb-0.10.23-r1.ebuild b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-0.10.23-r1.ebuild new file mode 100644 index 000000000000..d85eb21e80f7 --- /dev/null +++ b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPION="GStreamer plugin to allow capture from dvb devices" +KEYWORDS="alpha amd64 arm ppc ppc64 x86" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" diff --git a/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.2.4-r1.ebuild b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.2.4-r1.ebuild new file mode 100644 index 000000000000..c7c5f441105a --- /dev/null +++ b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.2.4-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPION="GStreamer plugin to allow capture from dvb devices" +KEYWORDS="alpha amd64 arm ppc ppc64 x86" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" + +multilib_src_compile() { + # Prepare generated headers + emake -C gst-libs/gst/mpegts + + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.4.5.ebuild b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.4.5.ebuild new file mode 100644 index 000000000000..429e5b70eb7b --- /dev/null +++ b/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.4.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPION="GStreamer plugin to allow capture from dvb devices" +KEYWORDS="alpha amd64 arm ppc ppc64 x86" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" + +multilib_src_compile() { + # Prepare generated headers + emake -C gst-libs/gst/mpegts + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-dvb/metadata.xml b/media-plugins/gst-plugins-dvb/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-dvb/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-dvdread/Manifest b/media-plugins/gst-plugins-dvdread/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-dvdread/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-0.10.19-r1.ebuild b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-0.10.19-r1.ebuild new file mode 100644 index 000000000000..39a30dd58b25 --- /dev/null +++ b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-0.10.19-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.2.4-r1.ebuild b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.2.4-r1.ebuild new file mode 100644 index 000000000000..39a30dd58b25 --- /dev/null +++ b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.4.5.ebuild b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.4.5.ebuild new file mode 100644 index 000000000000..3e092b8018dc --- /dev/null +++ b/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-dvdread/metadata.xml b/media-plugins/gst-plugins-dvdread/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-dvdread/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-faac/Manifest b/media-plugins/gst-plugins-faac/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-faac/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-faac/gst-plugins-faac-0.10.23-r1.ebuild b/media-plugins/gst-plugins-faac/gst-plugins-faac-0.10.23-r1.ebuild new file mode 100644 index 000000000000..e9fbde2d4d3e --- /dev/null +++ b/media-plugins/gst-plugins-faac/gst-plugins-faac-0.10.23-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faac/gst-plugins-faac-1.2.4-r1.ebuild b/media-plugins/gst-plugins-faac/gst-plugins-faac-1.2.4-r1.ebuild new file mode 100644 index 000000000000..e9fbde2d4d3e --- /dev/null +++ b/media-plugins/gst-plugins-faac/gst-plugins-faac-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faac/gst-plugins-faac-1.4.5.ebuild b/media-plugins/gst-plugins-faac/gst-plugins-faac-1.4.5.ebuild new file mode 100644 index 000000000000..4463e9fa6636 --- /dev/null +++ b/media-plugins/gst-plugins-faac/gst-plugins-faac-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faac/metadata.xml b/media-plugins/gst-plugins-faac/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-faac/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-faad/Manifest b/media-plugins/gst-plugins-faad/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-faad/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-faad/files/gst-plugins-faad-1.4.5-version-check.patch b/media-plugins/gst-plugins-faad/files/gst-plugins-faad-1.4.5-version-check.patch new file mode 100644 index 000000000000..fdcdc7554482 --- /dev/null +++ b/media-plugins/gst-plugins-faad/files/gst-plugins-faad-1.4.5-version-check.patch @@ -0,0 +1,38 @@ +From bde0f119097117cf0256e450af4267a47782260b Mon Sep 17 00:00:00 2001 +From: Wim Taymans <wtaymans@redhat.com> +Date: Wed, 13 May 2015 16:23:26 +0200 +Subject: [PATCH] fix faad2 version check + +On fedora 22, the output of cpp inserts extra debug comments, which +makes our regexp for the faad2 version check fail. This in turn causes +it to compile with the wrong arguments passed which then causes stack +corruption and crashes. + +Fix this by only checking for the version (which should be by itself on +a single line). This is potentially less safe, it might be possible that +a similar string would appear in a later version in the header file. + +Fixes https://bugzilla.gnome.org/show_bug.cgi?id=748571 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4e2823e..c56295e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2050,9 +2050,9 @@ AG_GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [ + AC_MSG_CHECKING([Checking FAAD2 version in $faad_hdr]) + for minor in 10 9 8 7 6 5 0; do + if test x$faad2_minor_version = "x"; then +- AC_EGREP_CPP([GST_CHECK_FAAD_VERSION \"2\.$minor\"], [ ++ AC_EGREP_CPP([\"2\.$minor\"$], [ + #include <$faad_hdr> +- GST_CHECK_FAAD_VERSION FAAD2_VERSION ++ FAAD2_VERSION + ], [ + faad2_minor_version=$minor + ]) +-- +2.4.1 + diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r1.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r1.ebuild new file mode 100644 index 000000000000..c31cc8b244c1 --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r2.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r2.ebuild new file mode 100644 index 000000000000..a3e105c6fd92 --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-0.10.23-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit autotools eutils gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # From upstream git, fixes corrupt build with gcc-5.1 + epatch "${FILESDIR}"/${PN}-1.4.5-version-check.patch + eautoreconf +} diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-1.2.4-r1.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.2.4-r1.ebuild new file mode 100644 index 000000000000..c31cc8b244c1 --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5-r1.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5-r1.ebuild new file mode 100644 index 000000000000..255e42e86087 --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit autotools eutils gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # From upstream git, fixes corrupt build with gcc-5.1 + epatch "${FILESDIR}"/${P}-version-check.patch + eautoreconf +} diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5.ebuild new file mode 100644 index 000000000000..09c6040374f3 --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faad/metadata.xml b/media-plugins/gst-plugins-faad/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-faad/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ffmpeg/Manifest b/media-plugins/gst-plugins-ffmpeg/Manifest new file mode 100644 index 000000000000..62028ead5984 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/Manifest @@ -0,0 +1,2 @@ +DIST gst-ffmpeg-0.10.13_p201211-libav-9-patches.tar.xz 14076 SHA256 5afa627ccbbedc1c80bfd419cb497c746aea0f27e0165a49c41947eba31774ee SHA512 cd12490600c0e56a85ec7436ec6152be8962c0e949ee9925ad64c114c60d7a72958f7c5ac98a3bdc6988bce707a2c40060e3a20b899ef2a95a30b4166bfb8145 WHIRLPOOL a7f17fd32112ba9df89ef80717946a50cc81e02e608c7cc15066987cd0e3556a1971ef5360ac50089d7c883aae5eb9d36ed3d7834fb7a075a816ceb16fa2b960 +DIST gst-ffmpeg-0.10.13_p201211.tar.xz 4285300 SHA256 cc15841b9972d1b60c9aaa3ffae14f3dbf44c0b08c14bb9319fb8956c89864c6 SHA512 9067aa92ef7613b08a51957d35d1de80897c28cb959522d9b523de6f482635dac3fe421015febb88ece624b7baee0216dd4b72e770bf92c05d8994f186d2f396 WHIRLPOOL 88ba2ce647ca821ef8f7aa22d64cf39397e30d8f34eadec475e6b627472c4baf6c7de6c60d4ca86527a67c710193dc00eb6534fe8bc92f73cc26db1f8e404a49 diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-audioresample.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-audioresample.patch new file mode 100644 index 000000000000..3c115d7b45c5 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-audioresample.patch @@ -0,0 +1,71 @@ +--- ext/ffmpeg/gstffmpegaudioresample.c~ 2015-05-29 11:38:03.639001637 +0200 ++++ ext/ffmpeg/gstffmpegaudioresample.c 2015-05-29 20:08:24.744107000 +0200 +@@ -24,6 +24,7 @@ + #include "config.h" + #endif + ++#include <libavresample/avresample.h> + #ifdef HAVE_FFMPEG_UNINSTALLED + #include <avcodec.h> + #else +@@ -37,6 +38,60 @@ + #include "gstffmpeg.h" + #include "gstffmpegcodecmap.h" + ++struct AudioData { ++ const AVClass *class; /**< AVClass for logging */ ++ uint8_t *data[AVRESAMPLE_MAX_CHANNELS]; /**< data plane pointers */ ++ uint8_t *buffer; /**< data buffer */ ++ unsigned int buffer_size; /**< allocated buffer size */ ++ int allocated_samples; /**< number of samples the buffer can hold */ ++ int nb_samples; /**< current number of samples */ ++ enum AVSampleFormat sample_fmt; /**< sample format */ ++ int channels; /**< channel count */ ++ int allocated_channels; /**< allocated channel count */ ++ int is_planar; /**< sample format is planar */ ++ int planes; /**< number of data planes */ ++ int sample_size; /**< bytes per sample */ ++ int stride; /**< sample byte offset within a plane */ ++ int read_only; /**< data is read-only */ ++ int allow_realloc; /**< realloc is allowed */ ++ int ptr_align; /**< minimum data pointer alignment */ ++ int samples_align; /**< allocated samples alignment */ ++ const char *name; /**< name for debug logging */ ++}; ++ ++typedef struct AudioData AudioData; ++ ++struct ReSampleContext { ++ AVAudioResampleContext *avr; ++ AudioData *buffer; ++ uint8_t *filter_bank; ++ int filter_length; ++ int ideal_dst_incr; ++ int dst_incr; ++ unsigned int index; ++ int frac; ++ int src_incr; ++ int compensation_distance; ++ int phase_shift; ++ int phase_mask; ++ int linear; ++ enum AVResampleFilterType filter_type; ++ int kaiser_beta; ++ void (*set_filter)(void *filter, double *tab, int phase, int tap_count); ++ void (*resample_one)(struct ResampleContext *c, void *dst0, ++ int dst_index, const void *src0, ++ unsigned int index, int frac); ++ void (*resample_nearest)(void *dst0, int dst_index, ++ const void *src0, unsigned int index); ++ int padding_size; ++ int initial_padding_filled; ++ int initial_padding_samples; ++ int final_padding_filled; ++ int final_padding_samples; ++}; ++ ++typedef struct ReSampleContext ReSampleContext; ++ + typedef struct _GstFFMpegAudioResample + { + GstBaseTransform element; diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-channel_layout.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-channel_layout.patch new file mode 100644 index 000000000000..9358f76153ca --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-channel_layout.patch @@ -0,0 +1,29 @@ +Include correct header with correct version. Fixes build with ffmpeg-0.10. + + +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegcodecmap.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +@@ -25,10 +25,20 @@ + #include <gst/gst.h> + #ifdef HAVE_FFMPEG_UNINSTALLED + #include <avcodec.h> +-#include <channel_layout.h>> ++#include <avutil.h> ++#if (LIBAVUTIL_VERSION_INT > AV_VERSION_INT(52,6,0) || (LIBAVUTIL_VERSION_MICRO < 100 && LIBAVUTIL_VERSION_INT > AV_VERSION_INT(52,2,0))) ++#include <channel_layout.h> ++#else ++#include <audioconvert.h> ++#endif + #else + #include <libavcodec/avcodec.h> ++#include <libavutil/avutil.h> ++#if (LIBAVUTIL_VERSION_INT > AV_VERSION_INT(52,6,0) || (LIBAVUTIL_VERSION_MICRO < 100 && LIBAVUTIL_VERSION_INT > AV_VERSION_INT(52,2,0))) + #include <libavutil/channel_layout.h> ++#else ++#include <libavutil/audioconvert.h> ++#endif + #endif + #include <string.h> + diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-coma.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-coma.patch new file mode 100644 index 000000000000..0426d00301c5 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-coma.patch @@ -0,0 +1,16 @@ +Some muxers come with a ',' in their name, replace it by '_' as in the other +places. + +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegmux.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegmux.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegmux.c +@@ -936,7 +936,7 @@ gst_ffmpegmux_register (GstPlugin * plug + p = type_name; + + while (*p) { +- if (*p == '.') ++ if (*p == '.' || *p == ',') + *p = '_'; + p++; + } diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-ffmpeg2.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-ffmpeg2.patch new file mode 100644 index 000000000000..0ee39dac7f53 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-ffmpeg2.patch @@ -0,0 +1,139 @@ +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcfg.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegcfg.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcfg.c +@@ -171,13 +171,10 @@ gst_ffmpeg_idct_algo_get_type (void) + {FF_IDCT_INT, "JPEG reference Integer", "int"}, + {FF_IDCT_SIMPLE, "Simple", "simple"}, + {FF_IDCT_SIMPLEMMX, "Simple MMX", "simplemmx"}, +- {FF_IDCT_LIBMPEG2MMX, "LIBMPEG2MMX", "libmpeg2mmx"}, + {FF_IDCT_ARM, "ARM", "arm"}, + {FF_IDCT_ALTIVEC, "ALTIVEC", "altivec"}, + {FF_IDCT_SH4, "SH4", "sh4"}, + {FF_IDCT_SIMPLEARM, "SIMPLEARM", "simplearm"}, +- {FF_IDCT_H264, "H264", "h264"}, +- {FF_IDCT_VP3, "VP3", "vp3"}, + {FF_IDCT_IPP, "IPP", "ipp"}, + {FF_IDCT_XVIDMMX, "XVIDMMX", "xvidmmx"}, + {0, NULL, NULL}, +@@ -274,9 +271,6 @@ gst_ffmpeg_flags_get_type (void) + "global-headers"}, + {CODEC_FLAG_AC_PRED, "H263 Advanced Intra Coding / MPEG4 AC prediction", + "aic"}, +- {CODEC_FLAG_CBP_RD, "Rate Distoration Optimization for CBP", "cbp-rd"}, +- {CODEC_FLAG_QP_RD, "Rate Distoration Optimization for QP selection", +- "qp-rd"}, + {CODEC_FLAG_CLOSED_GOP, "Closed GOP", "closedgop"}, + {0, NULL, NULL}, + }; +@@ -580,18 +574,6 @@ gst_ffmpeg_cfg_init (void) + -100, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + gst_ffmpeg_add_pspec (pspec, max_key_interval, FALSE, mpeg, NULL); + +- pspec = g_param_spec_int ("luma-elim-threshold", +- "Luma Elimination Threshold", +- "Luma Single Coefficient Elimination Threshold", +- -99, 99, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +- gst_ffmpeg_add_pspec (pspec, config.luma_elim_threshold, FALSE, mpeg, NULL); +- +- pspec = g_param_spec_int ("chroma-elim-threshold", +- "Chroma Elimination Threshold", +- "Chroma Single Coefficient Elimination Threshold", +- -99, 99, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +- gst_ffmpeg_add_pspec (pspec, config.chroma_elim_threshold, FALSE, mpeg, NULL); +- + pspec = g_param_spec_float ("lumi-masking", "Luminance Masking", + "Luminance Masking", -1.0f, 1.0f, 0.0f, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegcodecmap.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +@@ -572,13 +572,11 @@ gst_ffmpeg_codecid_to_caps (enum AVCodec + break; + } + +- /* FIXME: context->sub_id must be filled in during decoding */ + caps = + gst_ff_vid_caps_new (context, codec_id, encode, + "video/x-pn-realvideo", "systemstream", G_TYPE_BOOLEAN, FALSE, + "rmversion", G_TYPE_INT, version, NULL); + if (context) { +- gst_caps_set_simple (caps, "format", G_TYPE_INT, context->sub_id, NULL); + if (context->extradata_size >= 8) { + gst_caps_set_simple (caps, + "subformat", G_TYPE_INT, GST_READ_UINT32_BE (context->extradata), +@@ -2559,18 +2557,6 @@ gst_ffmpeg_caps_with_codecid (enum AVCod + } + break; + +- case AV_CODEC_ID_RV10: +- case AV_CODEC_ID_RV20: +- case AV_CODEC_ID_RV30: +- case AV_CODEC_ID_RV40: +- { +- gint format; +- +- if (gst_structure_get_int (str, "format", &format)) +- context->sub_id = format; +- +- break; +- } + case AV_CODEC_ID_COOK: + case AV_CODEC_ID_RA_288: + case AV_CODEC_ID_RA_144: +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegenc.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegenc.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegenc.c +@@ -572,7 +572,6 @@ gst_ffmpegenc_setcaps (GstPad * pad, Gst + ffmpegenc->context->coder_type = 0; + ffmpegenc->context->context_model = 0; + ffmpegenc->context->scenechange_threshold = 0; +- ffmpegenc->context->inter_threshold = 0; + + /* and last but not least the pass; CBR, 2-pass, etc */ + ffmpegenc->context->flags |= ffmpegenc->pass; +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegdec.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c +@@ -2082,7 +2082,7 @@ gst_ffmpegdec_audio_frame (GstFFMpegDec + const GstTSInfo * dec_info, GstBuffer ** outbuf, GstFlowReturn * ret) + { + gint len = -1, got_frame; +- gint have_data = AVCODEC_MAX_AUDIO_FRAME_SIZE; ++ gint have_data = 0; + GstClockTime out_timestamp, out_duration; + gint64 out_offset; + AVPacket packet; +@@ -2101,21 +2101,22 @@ gst_ffmpegdec_audio_frame (GstFFMpegDec + goto beach; + } + +- *outbuf = +- new_aligned_buffer (AVCODEC_MAX_AUDIO_FRAME_SIZE, +- GST_PAD_CAPS (ffmpegdec->srcpad)); +- + gst_avpacket_init (&packet, data, size); + len = avcodec_decode_audio4 (ffmpegdec->context, frame, &got_frame, &packet); + GST_DEBUG_OBJECT (ffmpegdec, + "Decode audio: ret=%d, got_frame=%d", len, got_frame); + if (!got_frame) { +- gst_buffer_unref (*outbuf); +- *outbuf = NULL; + len = -1; + goto beach; + } +- if (len >= 0) have_data = copy_samples(ffmpegdec->context, frame, GST_BUFFER_DATA (*outbuf), AVCODEC_MAX_AUDIO_FRAME_SIZE); ++ ++ int obuf_size = av_samples_get_buffer_size(NULL, ffmpegdec->context->channels, frame->nb_samples, frame->format, 0); ++ ++ *outbuf= ++ new_aligned_buffer (obuf_size, ++ GST_PAD_CAPS (ffmpegdec->srcpad)); ++ ++ if (len >= 0) have_data = copy_samples(ffmpegdec->context, frame, GST_BUFFER_DATA (*outbuf), obuf_size); + + if (len >= 0 && have_data > 0) { + GST_DEBUG_OBJECT (ffmpegdec, "Creating output buffer"); diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-gstffmpegpipe_redef.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-gstffmpegpipe_redef.patch new file mode 100644 index 000000000000..f76d72affde8 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-gstffmpegpipe_redef.patch @@ -0,0 +1,16 @@ +This is already typedef'ed like that in gstffmpeg.h, included from this file. +https://bugs.gentoo.org/show_bug.cgi?id=460208 + +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegpipe.h +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegpipe.h ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegpipe.h +@@ -48,8 +48,6 @@ G_BEGIN_DECLS + g_cond_signal (m->cond); \ + } G_STMT_END + +-typedef struct _GstFFMpegPipe GstFFMpegPipe; +- + struct _GstFFMpegPipe + { + /* lock for syncing */ diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-iscodec.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-iscodec.patch new file mode 100644 index 000000000000..ef198cc33b55 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-iscodec.patch @@ -0,0 +1,24 @@ +Provide replacement for these functions when not available. +(e.g ffmpeg-0.10) + +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.h +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegutils.h ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.h +@@ -99,4 +99,16 @@ av_smp_format_depth(enum AVSampleFormat + GstBuffer * + new_aligned_buffer (gint size, GstCaps * caps); + ++#if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54,7,0) || (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54,8,0))) ++static inline int av_codec_is_encoder(AVCodec *codec) ++{ ++ return codec && (codec->encode || codec->encode2); ++} ++ ++static inline int av_codec_is_decoder(AVCodec *codec) ++{ ++ return codec && codec->decode; ++} ++#endif ++ + #endif /* __GST_FFMPEG_UTILS_H__ */ diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-planaraudio.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-planaraudio.patch new file mode 100644 index 000000000000..424bd0cc5c71 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-planaraudio.patch @@ -0,0 +1,187 @@ +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegcodecmap.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegcodecmap.c +@@ -1925,6 +1925,10 @@ gst_ffmpeg_smpfmt_to_caps (enum AVSample + gboolean integer = TRUE; + gboolean signedness = FALSE; + ++#if LIBAVUTIL_VERSION_INT > AV_VERSION_INT(51,46,0) ++ sample_fmt = av_get_packed_sample_fmt (sample_fmt); ++#endif ++ + switch (sample_fmt) { + case AV_SAMPLE_FMT_S16: + signedness = TRUE; +@@ -2009,7 +2013,7 @@ gst_ffmpeg_codectype_to_audio_caps (AVCo + + ctx.channels = -1; + caps = gst_caps_new_empty (); +- for (i = 0; i <= AV_SAMPLE_FMT_DBL; i++) { ++ for (i = 0; i < AV_SAMPLE_FMT_NB; i++) { + temp = + gst_ffmpeg_smpfmt_to_caps (i, encode ? &ctx : NULL, codec_id, encode); + if (temp != NULL) { +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegutils.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c +@@ -47,6 +47,9 @@ gint + av_smp_format_depth (enum AVSampleFormat smp_fmt) + { + gint depth = -1; ++#if LIBAVUTIL_VERSION_INT > AV_VERSION_INT(51,46,0) ++ smp_fmt = av_get_packed_sample_fmt (smp_fmt); ++#endif + switch (smp_fmt) { + case AV_SAMPLE_FMT_U8: + depth = 1; +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegdec.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegdec.c +@@ -2044,16 +2044,49 @@ out_of_segment: + } + } + ++static void copy_samples_planar(unsigned bps, ++ unsigned nb_samples, ++ unsigned nb_channels, ++ unsigned char *dst, ++ unsigned char **src) ++{ ++ unsigned s, c, o = 0; ++ ++ for (s = 0; s < nb_samples; s++) { ++ for (c = 0; c < nb_channels; c++) { ++ memcpy(dst, src[c] + o, bps); ++ dst += bps; ++ } ++ o += bps; ++ } ++} ++ ++static int copy_samples(AVCodecContext *avc, AVFrame *frame, ++ unsigned char *buf, int max_size) ++{ ++ int channels = avc->channels; ++ int sample_size = av_get_bytes_per_sample(avc->sample_fmt); ++ int size = channels * sample_size * frame->nb_samples; ++ if (size > max_size) { ++ return -1; ++ } ++ if (av_sample_fmt_is_planar(avc->sample_fmt)) ++ copy_samples_planar(sample_size, frame->nb_samples, channels, buf, frame->extended_data); ++ else memcpy(buf, frame->data[0], size); ++ return size; ++} ++ + static gint + gst_ffmpegdec_audio_frame (GstFFMpegDec * ffmpegdec, + AVCodec * in_plugin, guint8 * data, guint size, + const GstTSInfo * dec_info, GstBuffer ** outbuf, GstFlowReturn * ret) + { +- gint len = -1; ++ gint len = -1, got_frame; + gint have_data = AVCODEC_MAX_AUDIO_FRAME_SIZE; + GstClockTime out_timestamp, out_duration; + gint64 out_offset; + AVPacket packet; ++ AVFrame *frame; + + GST_DEBUG_OBJECT (ffmpegdec, + "size:%d, offset:%" G_GINT64_FORMAT ", ts:%" GST_TIME_FORMAT ", dur:%" +@@ -2061,15 +2094,28 @@ gst_ffmpegdec_audio_frame (GstFFMpegDec + dec_info->offset, GST_TIME_ARGS (dec_info->timestamp), + GST_TIME_ARGS (dec_info->duration), GST_TIME_ARGS (ffmpegdec->next_out)); + ++ frame = avcodec_alloc_frame(); ++ if (!frame) { ++ *outbuf = NULL; ++ len = -1; ++ goto beach; ++ } ++ + *outbuf = + new_aligned_buffer (AVCODEC_MAX_AUDIO_FRAME_SIZE, + GST_PAD_CAPS (ffmpegdec->srcpad)); + + gst_avpacket_init (&packet, data, size); +- len = avcodec_decode_audio3 (ffmpegdec->context, +- (int16_t *) GST_BUFFER_DATA (*outbuf), &have_data, &packet); ++ len = avcodec_decode_audio4 (ffmpegdec->context, frame, &got_frame, &packet); + GST_DEBUG_OBJECT (ffmpegdec, +- "Decode audio: len=%d, have_data=%d", len, have_data); ++ "Decode audio: ret=%d, got_frame=%d", len, got_frame); ++ if (!got_frame) { ++ gst_buffer_unref (*outbuf); ++ *outbuf = NULL; ++ len = -1; ++ goto beach; ++ } ++ if (len >= 0) have_data = copy_samples(ffmpegdec->context, frame, GST_BUFFER_DATA (*outbuf), AVCODEC_MAX_AUDIO_FRAME_SIZE); + + if (len >= 0 && have_data > 0) { + GST_DEBUG_OBJECT (ffmpegdec, "Creating output buffer"); +@@ -2145,6 +2191,7 @@ gst_ffmpegdec_audio_frame (GstFFMpegDec + } + + beach: ++ av_free(frame); + GST_DEBUG_OBJECT (ffmpegdec, "return flow %d, out %p, len %d", + *ret, *outbuf, len); + return len; +Index: gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegenc.c +=================================================================== +--- gst-ffmpeg-0.10.13_p201211.orig/ext/ffmpeg/gstffmpegenc.c ++++ gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegenc.c +@@ -843,12 +843,30 @@ gst_ffmpegenc_chain_video (GstPad * pad, + return gst_pad_push (ffmpegenc->srcpad, outbuf); + } + ++static void copy_samples_to_planar(unsigned bps, ++ unsigned nb_samples, ++ unsigned nb_channels, ++ unsigned char *dst, ++ unsigned char *src) ++{ ++ unsigned s, c, o = 0; ++ ++ for (s = 0; s < nb_samples; s++) { ++ for (c = 0; c < nb_channels; c++) { ++ memcpy(dst + nb_samples * c, src + o, bps); ++ o += bps; ++ } ++ dst += bps; ++ } ++} ++ + static GstFlowReturn + gst_ffmpegenc_encode_audio (GstFFMpegEnc * ffmpegenc, guint8 * audio_in, + guint in_size, guint max_size, GstClockTime timestamp, + GstClockTime duration, gboolean discont) + { + GstBuffer *outbuf; ++ GstBuffer *inbuf2; + AVCodecContext *ctx; + guint8 *audio_out; + gint res; +@@ -864,7 +882,18 @@ gst_ffmpegenc_encode_audio (GstFFMpegEnc + if (ffmpegenc->buffer_size != max_size) + ffmpegenc->buffer_size = max_size; + ++ if (av_sample_fmt_is_planar(ctx->sample_fmt)) { ++ guint8 * audio_in2; ++ inbuf2 = gst_buffer_new_and_alloc (in_size + FF_MIN_BUFFER_SIZE); ++ audio_in2 = GST_BUFFER_DATA (inbuf2); ++ copy_samples_to_planar(av_get_bytes_per_sample(ctx->sample_fmt), in_size / (av_get_bytes_per_sample(ctx->sample_fmt) * ctx->channels), ++ ctx->channels, audio_in2, audio_in); ++ audio_in = audio_in2; ++ } + res = avcodec_encode_audio (ctx, audio_out, max_size, (short *) audio_in); ++ if (av_sample_fmt_is_planar(ctx->sample_fmt)) { ++ gst_buffer_unref (inbuf2); ++ } + + if (res < 0) { + GST_ERROR_OBJECT (ffmpegenc, "Failed to encode buffer: %d", res); diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-r_frame_rate.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-r_frame_rate.patch new file mode 100644 index 000000000000..5c34257b867f --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-r_frame_rate.patch @@ -0,0 +1,25 @@ +From: Ettore Di Giacinto <mudler@sabayonlinux.org> +--- ext/ffmpeg/gstffmpegdemux.c~ 2015-05-29 00:52:07.601606544 +0200 ++++ ext/ffmpeg/gstffmpegdemux.c 2015-05-29 01:18:18.533113323 +0200 +@@ -781,8 +781,8 @@ + break; + case GST_FORMAT_DEFAULT: + gst_query_set_position (query, GST_FORMAT_DEFAULT, +- gst_util_uint64_scale (timeposition, avstream->r_frame_rate.num, +- GST_SECOND * avstream->r_frame_rate.den)); ++ gst_util_uint64_scale (timeposition, avstream->avg_frame_rate.num, ++ GST_SECOND * avstream->avg_frame_rate.den)); + res = TRUE; + break; + case GST_FORMAT_BYTES: +@@ -818,8 +818,8 @@ + break; + case GST_FORMAT_DEFAULT: + gst_query_set_duration (query, GST_FORMAT_DEFAULT, +- gst_util_uint64_scale (timeduration, avstream->r_frame_rate.num, +- GST_SECOND * avstream->r_frame_rate.den)); ++ gst_util_uint64_scale (timeduration, avstream->avg_frame_rate.num, ++ GST_SECOND * avstream->avg_frame_rate.den)); + res = TRUE; + break; + case GST_FORMAT_BYTES: diff --git a/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-snow-codec.patch b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-snow-codec.patch new file mode 100644 index 000000000000..7e54f929f674 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/files/0.10.13_p201211-snow-codec.patch @@ -0,0 +1,11 @@ +From: Ettore Di Giacinto <mudler@sabayonlinux.org> +--- ext/ffmpeg/gstffmpegcodecmap.c~ 2015-05-29 10:50:06.207840323 +0200 ++++ ext/ffmpeg/gstffmpegcodecmap.c 2015-05-29 10:50:25.638042896 +0200 +@@ -1307,7 +1307,6 @@ + case AV_CODEC_ID_FLIC: + case AV_CODEC_ID_VMDVIDEO: + case AV_CODEC_ID_VMDAUDIO: +- case AV_CODEC_ID_SNOW: + case AV_CODEC_ID_VIXL: + case AV_CODEC_ID_QPEG: + case AV_CODEC_ID_PGMYUV: diff --git a/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r2.ebuild b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r2.ebuild new file mode 100644 index 000000000000..24ddc643cc4d --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-ffmpeg" +MY_P=${MY_PN}-${PV} + +# Create a major/minor combo for SLOT +PVP=(${PV//[-\._]/ }) +SLOT=${PVP[0]}.${PVP[1]} + +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html" +#SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2" +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz + http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +S=${WORKDIR}/${MY_P} + +RDEPEND=">=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + >=virtual/ffmpeg-9-r1[${MULTILIB_USEDEP}] + || ( + >=media-video/ffmpeg-1.2.6-r1:0[${MULTILIB_USEDEP}] + >=media-libs/libpostproc-10.20140517-r1[${MULTILIB_USEDEP}] + ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" +RDEPEND="${RDEPEND} + abi_x86_32? ( + !app-emulation/emul-linux-x86-gstplugins[-abi_x86_32(-)] + )" + +src_prepare() { + sed -e 's/sleep 15//' -i configure.ac configure || die + + # libav-9 support backported from gst-plugins-libav-1.1.0 + epatch ../${MY_P}-libav-9-patches/*.patch + + # compat bits for older ffmpeg/libav releases + epatch "${FILESDIR}/${PV}-channel_layout.patch" \ + "${FILESDIR}/${PV}-iscodec.patch" \ + "${FILESDIR}/${PV}-coma.patch" \ + "${FILESDIR}/${PV}-gstffmpegpipe_redef.patch" + + # compatibility with recent releases + if has_version '>=media-video/ffmpeg-1.1' || has_version '>=media-video/libav-9' ; then + epatch "${FILESDIR}/${PV}-planaraudio.patch" + sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ + -e 's/ CodecID/ AVCodecID/g' \ + ext/ffmpeg/*.{c,h} + epatch "${FILESDIR}/${PV}-ffmpeg2.patch" + fi +} + +multilib_src_configure() { + # always use system ffmpeg if possible + ECONF_SOURCE=${S} \ + econf \ + --with-system-ffmpeg \ + $(use_enable orc) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} + +pkg_postinst() { + if has_version "media-video/ffmpeg"; then + elog "Please note that upstream uses media-video/libav" + elog "rather than media-video/ffmpeg. If you encounter any" + elog "issues try to move from ffmpeg to libav." + fi +} diff --git a/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild new file mode 100644 index 000000000000..8c283d099682 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-ffmpeg" +MY_P=${MY_PN}-${PV} + +# Create a major/minor combo for SLOT +PVP=(${PV//[-\._]/ }) +SLOT=${PVP[0]}.${PVP[1]} + +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html" +#SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2" +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz + http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="libav +orc" + +S=${WORKDIR}/${MY_P} + +RDEPEND=" + >=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + + !libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] ) + libav? ( + >=media-video/libav-9.12:0=[${MULTILIB_USEDEP}] + <media-video/libav-10:0=[${MULTILIB_USEDEP}] + >=media-libs/libpostproc-10.20140517-r1:0=[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !app-emulation/emul-linux-x86-gstplugins[-abi_x86_32(-)] ) +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +src_prepare() { + sed -e 's/sleep 15//' -i configure.ac configure || die + + # libav-9 support backported from gst-plugins-libav-1.1.0 + epatch ../${MY_P}-libav-9-patches/*.patch + + # compat bits for older ffmpeg/libav releases + epatch "${FILESDIR}/${PV}-channel_layout.patch" \ + "${FILESDIR}/${PV}-iscodec.patch" \ + "${FILESDIR}/${PV}-coma.patch" \ + "${FILESDIR}/${PV}-gstffmpegpipe_redef.patch" + + # compatibility with recent releases + if has_version '>=media-video/ffmpeg-1.1' || has_version '>=media-video/libav-9' ; then + epatch "${FILESDIR}/${PV}-planaraudio.patch" + sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ + -e 's/ CodecID/ AVCodecID/g' \ + ext/ffmpeg/*.{c,h} + epatch "${FILESDIR}/${PV}-ffmpeg2.patch" + fi +} + +multilib_src_configure() { + # always use system ffmpeg if possible + ECONF_SOURCE=${S} \ + econf \ + --with-system-ffmpeg \ + $(use_enable orc) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild new file mode 100644 index 000000000000..63ced4f67d33 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-ffmpeg" +MY_P=${MY_PN}-${PV} + +# Create a major/minor combo for SLOT +PVP=(${PV//[-\._]/ }) +SLOT=${PVP[0]}.${PVP[1]} + +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html" +#SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.bz2" +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz + http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="libav +orc" + +S=${WORKDIR}/${MY_P} + +RDEPEND=" + >=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + + !libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] ) + libav? ( + >=media-video/libav-11.3:0=[${MULTILIB_USEDEP}] + >=media-libs/libpostproc-10.20140517-r1:0=[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !app-emulation/emul-linux-x86-gstplugins[-abi_x86_32(-)] ) +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +src_prepare() { + sed -e 's/sleep 15//' -i configure.ac configure || die + + # libav-9 support backported from gst-plugins-libav-1.1.0 + epatch ../${MY_P}-libav-9-patches/*.patch + + # compat bits for older ffmpeg/libav releases + epatch "${FILESDIR}/${PV}-channel_layout.patch" \ + "${FILESDIR}/${PV}-iscodec.patch" \ + "${FILESDIR}/${PV}-coma.patch" \ + "${FILESDIR}/${PV}-gstffmpegpipe_redef.patch" + + # compatibility with recent releases + if has_version '>=media-video/ffmpeg-1.1' || has_version '>=media-video/libav-9' ; then + epatch "${FILESDIR}/${PV}-planaraudio.patch" + sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ + -e 's/ CodecID/ AVCodecID/g' \ + ext/ffmpeg/*.{c,h} + epatch "${FILESDIR}/${PV}-ffmpeg2.patch" + fi + + # libav 11 migration + epatch "${FILESDIR}/${PV}-r_frame_rate.patch" + epatch "${FILESDIR}/${PV}-audioresample.patch" + epatch "${FILESDIR}/${PV}-snow-codec.patch" +} + +multilib_src_configure() { + # always use system ffmpeg if possible + ECONF_SOURCE=${S} \ + econf \ + --with-system-ffmpeg \ + $(use_enable orc) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-ffmpeg/metadata.xml b/media-plugins/gst-plugins-ffmpeg/metadata.xml new file mode 100644 index 000000000000..d1096fb54bd8 --- /dev/null +++ b/media-plugins/gst-plugins-ffmpeg/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-flac/Manifest b/media-plugins/gst-plugins-flac/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-flac/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31-r1.ebuild b/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31-r1.ebuild new file mode 100644 index 000000000000..c82ad3f2a5b6 --- /dev/null +++ b/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-good" +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder/tagger for FLAC" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31.ebuild b/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31.ebuild new file mode 100644 index 000000000000..745b8df5c1bf --- /dev/null +++ b/media-plugins/gst-plugins-flac/gst-plugins-flac-0.10.31.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-good + +DESCRIPTION="GStreamer encoder/decoder/tagger for FLAC" +KEYWORDS="sh" +IUSE="" + +RDEPEND=">=media-libs/flac-1.1.4" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-flac/gst-plugins-flac-1.2.4-r1.ebuild b/media-plugins/gst-plugins-flac/gst-plugins-flac-1.2.4-r1.ebuild new file mode 100644 index 000000000000..c82ad3f2a5b6 --- /dev/null +++ b/media-plugins/gst-plugins-flac/gst-plugins-flac-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-good" +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder/tagger for FLAC" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-flac/gst-plugins-flac-1.4.5.ebuild b/media-plugins/gst-plugins-flac/gst-plugins-flac-1.4.5.ebuild new file mode 100644 index 000000000000..e9c016051c09 --- /dev/null +++ b/media-plugins/gst-plugins-flac/gst-plugins-flac-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-good" +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder/tagger for FLAC" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-flac/metadata.xml b/media-plugins/gst-plugins-flac/metadata.xml new file mode 100644 index 000000000000..55eedbe9d48c --- /dev/null +++ b/media-plugins/gst-plugins-flac/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for The FLAC Lossless compressor Codec + + Includes the following elements: + * flacdec - Decodes FLAC lossless audio streams + * flacenc - Encodes audio with the FLAC lossless audio encoder + * flactag - Rewrite tags in a FLAC file +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gconf/Manifest b/media-plugins/gst-plugins-gconf/Manifest new file mode 100644 index 000000000000..4a7a8f4cad54 --- /dev/null +++ b/media-plugins/gst-plugins-gconf/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 diff --git a/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31-r1.ebuild b/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31-r1.ebuild new file mode 100644 index 000000000000..511220c5e5c4 --- /dev/null +++ b/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gnome2-utils gstreamer + +DESCRIPTION="GStreamer plugin for wrapping GConf audio/video settings" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=gnome-base/gconf-2.32.4-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gconf gconftool" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --disable-schemas-install +} + +multilib_src_compile() { + gstreamer_multilib_src_compile + + if multilib_is_native_abi; then + emake -C gconf + fi +} + +multilib_src_install() { + gstreamer_multilib_src_install + + if multilib_is_native_abi; then + emake -C gconf DESTDIR="${D}" install + fi +} + +pkg_preinst() { + gnome2_gconf_savelist +} + +pkg_postinst() { + gnome2_gconf_install +} diff --git a/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31.ebuild b/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31.ebuild new file mode 100644 index 000000000000..5f81ad568c05 --- /dev/null +++ b/media-plugins/gst-plugins-gconf/gst-plugins-gconf-0.10.31.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gnome2-utils gst-plugins-good gst-plugins10 + +DESCRIPTION="GStreamer plugin for wrapping GConf audio/video settings" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=gnome-base/gconf-2" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gconf gconftool" + +src_configure() { + gst-plugins10_src_configure --disable-schemas-install +} + +src_compile() { + gst-plugins10_src_compile + cd "${S}"/gconf + default +} + +src_install() { + gst-plugins10_src_install + cd "${S}"/gconf + default +} + +pkg_preinst() { + gnome2_gconf_savelist +} + +pkg_postinst() { + gnome2_gconf_install +} diff --git a/media-plugins/gst-plugins-gconf/metadata.xml b/media-plugins/gst-plugins-gconf/metadata.xml new file mode 100644 index 000000000000..4cb144fa4e13 --- /dev/null +++ b/media-plugins/gst-plugins-gconf/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin wrapping the GStreamer/GConf audio/video output settings + + Includes the following elements: + * gconfaudiosrc - Audio source embedding the GConf-settings for audio input + * gconfaudiosink - Audio sink embedding the GConf-settings for audio output + * gconfvideosrc - Video source embedding the GConf-settings for video input + * gconfvideosink - Video sink embedding the GConf-settings for video output +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gdkpixbuf/Manifest b/media-plugins/gst-plugins-gdkpixbuf/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-gdkpixbuf/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-0.10.31-r1.ebuild b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-0.10.31-r1.ebuild new file mode 100644 index 000000000000..fe65194a2eb3 --- /dev/null +++ b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-0.10.31-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GdkPixbuf-based image decoder, overlay and sink" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/gdk-pixbuf-2.30.7:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gdk_pixbuf" +GST_PLUGINS_BUILD_DIR="gdk_pixbuf" diff --git a/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.2.4-r1.ebuild b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.2.4-r1.ebuild new file mode 100644 index 000000000000..fe65194a2eb3 --- /dev/null +++ b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.2.4-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GdkPixbuf-based image decoder, overlay and sink" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/gdk-pixbuf-2.30.7:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gdk_pixbuf" +GST_PLUGINS_BUILD_DIR="gdk_pixbuf" diff --git a/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.4.5.ebuild b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.4.5.ebuild new file mode 100644 index 000000000000..a5d0fc99eda6 --- /dev/null +++ b/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.4.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GdkPixbuf-based image decoder, overlay and sink" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/gdk-pixbuf-2.30.7:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gdk_pixbuf" +GST_PLUGINS_BUILD_DIR="gdk_pixbuf" diff --git a/media-plugins/gst-plugins-gdkpixbuf/metadata.xml b/media-plugins/gst-plugins-gdkpixbuf/metadata.xml new file mode 100644 index 000000000000..711608e2a27d --- /dev/null +++ b/media-plugins/gst-plugins-gdkpixbuf/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for GdkPixbuf-based image decoder, overlay and sink + + Includes the following elements: + * gdkpixbufsink - Output images as GdkPixbuf objects in bus messages + * gdkpixbufoverlay - Overlay an image onto a video stream + * gdkpixbufdec - Decodes images in a video stream using GdkPixbuf +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gio/Manifest b/media-plugins/gst-plugins-gio/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-gio/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36-r1.ebuild b/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36-r1.ebuild new file mode 100644 index 000000000000..fd674d5ffae2 --- /dev/null +++ b/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36.ebuild b/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36.ebuild new file mode 100644 index 000000000000..c4ce3aa9a63a --- /dev/null +++ b/media-plugins/gst-plugins-gio/gst-plugins-gio-0.10.36.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.24:2" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-gio/metadata.xml b/media-plugins/gst-plugins-gio/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-gio/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gl/Manifest b/media-plugins/gst-plugins-gl/Manifest new file mode 100644 index 000000000000..52824b9f8937 --- /dev/null +++ b/media-plugins/gst-plugins-gl/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-gl-0.10.3.tar.gz 1005557 SHA256 689be7a6ddbe2db4648ad7a7aaa8fa667ff98c66710a806e6a80fa98a69b1ce9 SHA512 d42bc537ee94aab2c794a1886c17cc7eb41b89995a086da9a1f53f909f2bb93e95e940d397627589c2e2edd8d4b074736fab70fafda6e26105bb078a3ed7725a WHIRLPOOL 7a62c642cb4b8e14e02f9361a5dea7f842f0eb573c4e6e29cecd7bf96931d12df95a4de2aa90985f975f73ee12feef886ce946ad044b5190fe947b523a4a8f88 diff --git a/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch b/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch new file mode 100644 index 000000000000..6092d3a1e980 --- /dev/null +++ b/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch @@ -0,0 +1,37 @@ +From d970fc512ecef1b78418156dba34cf6e77e41f94 Mon Sep 17 00:00:00 2001 +From: Alessandro Decina <alessandro.d@gmail.com> +Date: Sat, 28 Dec 2013 15:10:09 +0100 +Subject: configure: fix libjpeg check + +We were setting HAVE_JPEG=no JPEG_LIBS=-ljpeg if libjpeg wasn't found. Unset +JPEG_LIBS too so that linking doesn't fail. + +diff --git a/configure.ac b/configure.ac +index 6ccb1aa..c4e8e9d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -862,12 +862,18 @@ AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") + JPEG_LIBS="$LIBS -ljpeg-mmx" + LIBS="$OLD_LIBS" + if test x$HAVE_JPEG != xyes; then +- AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") + JPEG_LIBS="-ljpeg" +- AC_DEFINE(HAVE_JPEG, [1] , [Use libjpeg]) ++ AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no") ++fi ++ ++if test x$HAVE_JPEG = xyes; then ++ AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg]) ++else ++ AC_DEFINE(HAVE_JPEG, [0], [Use libjpeg]) ++ JPEG_LIBS= + fi +-AC_SUBST(HAVE_JPEG) + AC_SUBST(JPEG_LIBS) ++AC_SUBST(HAVE_JPEG) + AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes") + + +-- +cgit v0.10.2 + diff --git a/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild b/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild new file mode 100644 index 000000000000..f768495cecdb --- /dev/null +++ b/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_TARBALL_SUFFIX="gz" + +inherit autotools eutils gstreamer + +DESCRIPTION="GStreamer OpenGL plugins" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="libvisual" + +RDEPEND=" + >=media-libs/glew-1.10.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + virtual/jpeg:0[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}] + libvisual? ( >=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.3 +" + +# FIXME: some deal with gst-plugin-scanner +RESTRICT=test + +src_prepare() { + # Fix linking, bug 515014 (from 'master') + epatch "${FILESDIR}/${PN}-0.10.3-jpeg-check.patch" + eautoreconf +} + +# FIXME: add support for libvisual +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --disable-examples \ + --disable-static \ + --disable-valgrind \ + $(use_enable libvisual) + + if multilib_is_native_abi; then + local d + for d in libs plugins; do + ln -s "${S}"/docs/${d}/html docs/${d}/html || die + done + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-gl/metadata.xml b/media-plugins/gst-plugins-gl/metadata.xml new file mode 100644 index 000000000000..0c83022c9abc --- /dev/null +++ b/media-plugins/gst-plugins-gl/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>gstreamer</herd> + <use> + <flag name="libvisual">Enable visualization effects via + <pkg>media-libs/libvisual</pkg></flag> + </use> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gnomevfs/Manifest b/media-plugins/gst-plugins-gnomevfs/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-gnomevfs/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36-r1.ebuild b/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36-r1.ebuild new file mode 100644 index 000000000000..1f07df6c2ae7 --- /dev/null +++ b/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=gnome-base/gnome-vfs-2.24.4-r2:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gnome_vfs" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36.ebuild b/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36.ebuild new file mode 100644 index 000000000000..f42f9b90ee2a --- /dev/null +++ b/media-plugins/gst-plugins-gnomevfs/gst-plugins-gnomevfs-0.10.36.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=gnome-base/gnome-vfs-2:2" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="gnome_vfs" + +src_prepare() { + gst-plugins10_system_link \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-gnomevfs/metadata.xml b/media-plugins/gst-plugins-gnomevfs/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-gnomevfs/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-gsm/Manifest b/media-plugins/gst-plugins-gsm/Manifest new file mode 100644 index 000000000000..68a5b6554301 --- /dev/null +++ b/media-plugins/gst-plugins-gsm/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c diff --git a/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23-r1.ebuild b/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23-r1.ebuild new file mode 100644 index 000000000000..54f11ad4bbea --- /dev/null +++ b/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for GSM audio decoding/encoding" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23.ebuild b/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23.ebuild new file mode 100644 index 000000000000..4fcb5c4abed3 --- /dev/null +++ b/media-plugins/gst-plugins-gsm/gst-plugins-gsm-0.10.23.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +DESCRIPTION="GStreamer plugin for GSM audio decoding/encoding" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-sound/gsm" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-gsm/metadata.xml b/media-plugins/gst-plugins-gsm/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-gsm/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-hls/Manifest b/media-plugins/gst-plugins-hls/Manifest new file mode 100644 index 000000000000..a9a03522c82f --- /dev/null +++ b/media-plugins/gst-plugins-hls/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.2.4-r1.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.2.4-r1.ebuild new file mode 100644 index 000000000000..9bbabf70596e --- /dev/null +++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.2.4-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="HTTP live streaming plugin" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +#src_prepare() { +# gst-plugins10_system_link \ +# gst-libs/gst/uridownloader:gsturidownloader +#} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.4.5.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.4.5.ebuild new file mode 100644 index 000000000000..07f7072fa0e6 --- /dev/null +++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.4.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="HTTP live streaming plugin" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/nettle:0=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +#src_prepare() { +# gst-plugins10_system_link \ +# gst-libs/gst/uridownloader:gsturidownloader +#} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-hls/metadata.xml b/media-plugins/gst-plugins-hls/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-hls/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ivorbis/Manifest b/media-plugins/gst-plugins-ivorbis/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-ivorbis/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-ivorbis/files/0.10.36-header-shuffle.patch b/media-plugins/gst-plugins-ivorbis/files/0.10.36-header-shuffle.patch new file mode 100644 index 000000000000..4a1f08739345 --- /dev/null +++ b/media-plugins/gst-plugins-ivorbis/files/0.10.36-header-shuffle.patch @@ -0,0 +1,122 @@ +Fix build of ivorbis plugin of gstreamer-0.10 series applying header +code moves from gstreamer-1 series. + +The diff can probably be made smaller but the intent was to match +known working gst-1. + +diff -Nu a/ext/vorbis/gstvorbisdeclib.h b/ext/vorbis/gstvorbisdeclib.h +--- a/ext/vorbis/gstvorbisdeclib.h 2011-12-11 19:47:07.000000000 +0100 ++++ b/ext/vorbis/gstvorbisdeclib.h 2013-01-20 18:31:37.291211764 +0100 +@@ -29,11 +29,6 @@ + + #ifndef TREMOR + +-#include <vorbis/codec.h> +- +-typedef float vorbis_sample_t; +-typedef ogg_packet ogg_packet_wrapper; +- + #define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to float audio" + + #define GST_VORBIS_DEC_SRC_CAPS \ +@@ -47,6 +42,42 @@ + + #define GST_VORBIS_DEC_GLIB_TYPE_NAME GstVorbisDec + ++#else /* TREMOR */ ++ ++#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio" ++ ++#define GST_VORBIS_DEC_SRC_CAPS \ ++ GST_STATIC_CAPS ("audio/x-raw-int, " \ ++ "rate = (int) [ 1, MAX ], " \ ++ "channels = (int) [ 1, 6 ], " \ ++ "endianness = (int) BYTE_ORDER, " \ ++ "width = (int) { 16, 32 }, " \ ++ "depth = (int) 16, " \ ++ "signed = (boolean) true") ++ ++#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16) ++ ++/* we need a different type name here */ ++#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec ++ ++/* and still have it compile */ ++typedef struct _GstVorbisDec GstIVorbisDec; ++typedef struct _GstVorbisDecClass GstIVorbisDecClass; ++ ++#endif /* TREMOR */ ++ ++#ifndef USE_TREMOLO ++ ++#ifdef TREMOR ++ #include <tremor/ivorbiscodec.h> ++ typedef ogg_int32_t vorbis_sample_t; ++#else ++ #include <vorbis/codec.h> ++ typedef float vorbis_sample_t; ++#endif ++ ++typedef ogg_packet ogg_packet_wrapper; ++ + static inline guint8 * + gst_ogg_packet_data (ogg_packet * p) + { +@@ -72,17 +103,11 @@ + return packet; + } + +-#else +- +-#ifdef USE_TREMOLO +- #include <Tremolo/ivorbiscodec.h> +- #include <Tremolo/codec_internal.h> +- typedef ogg_int16_t vorbis_sample_t; +-#else +- #include <tremor/ivorbiscodec.h> +- typedef ogg_int32_t vorbis_sample_t; +-#endif ++#else /* USE_TREMOLO */ + ++#include <Tremolo/ivorbiscodec.h> ++#include <Tremolo/codec_internal.h> ++typedef ogg_int16_t vorbis_sample_t; + typedef struct _ogg_packet_wrapper ogg_packet_wrapper; + + struct _ogg_packet_wrapper { +@@ -91,26 +116,6 @@ + ogg_buffer buf; + }; + +-#define GST_VORBIS_DEC_DESCRIPTION "decode raw vorbis streams to integer audio" +- +-#define GST_VORBIS_DEC_SRC_CAPS \ +- GST_STATIC_CAPS ("audio/x-raw-int, " \ +- "rate = (int) [ 1, MAX ], " \ +- "channels = (int) [ 1, 6 ], " \ +- "endianness = (int) BYTE_ORDER, " \ +- "width = (int) { 16, 32 }, " \ +- "depth = (int) 16, " \ +- "signed = (boolean) true") +- +-#define GST_VORBIS_DEC_DEFAULT_SAMPLE_WIDTH (16) +- +-/* we need a different type name here */ +-#define GST_VORBIS_DEC_GLIB_TYPE_NAME GstIVorbisDec +- +-/* and still have it compile */ +-typedef struct _GstVorbisDec GstIVorbisDec; +-typedef struct _GstVorbisDecClass GstIVorbisDecClass; +- + /* compensate minor variation */ + #define vorbis_synthesis(a, b) vorbis_synthesis (a, b, 1) + +@@ -154,7 +159,7 @@ + return &(packet->packet); + } + +-#endif ++#endif /* USE_TREMOLO */ + + typedef void (*CopySampleFunc)(vorbis_sample_t *out, vorbis_sample_t **in, + guint samples, gint channels, gint width); diff --git a/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36-r1.ebuild b/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36-r1.ebuild new file mode 100644 index 000000000000..9caa118ae0d6 --- /dev/null +++ b/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD_DIR="vorbis" + +src_prepare() { + epatch "${FILESDIR}"/0.10.36-header-shuffle.patch + + gstreamer_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36.ebuild b/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36.ebuild new file mode 100644 index 000000000000..102dc0c6caf9 --- /dev/null +++ b/media-plugins/gst-plugins-ivorbis/gst-plugins-ivorbis-0.10.36.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-fbsd ~x64-macos" +IUSE="" + +RDEPEND="media-libs/tremor" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD_DIR="vorbis" + +src_prepare() { + epatch "${FILESDIR}"/0.10.36-header-shuffle.patch + + gst-plugins10_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-ivorbis/metadata.xml b/media-plugins/gst-plugins-ivorbis/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-ivorbis/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-jack/Manifest b/media-plugins/gst-plugins-jack/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-jack/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-jack/gst-plugins-jack-0.10.31-r1.ebuild b/media-plugins/gst-plugins-jack/gst-plugins-jack-0.10.31-r1.ebuild new file mode 100644 index 000000000000..0f9db7f90032 --- /dev/null +++ b/media-plugins/gst-plugins-jack/gst-plugins-jack-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GStreamer source/sink to transfer audio data with JACK ports" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jack/gst-plugins-jack-1.2.4-r1.ebuild b/media-plugins/gst-plugins-jack/gst-plugins-jack-1.2.4-r1.ebuild new file mode 100644 index 000000000000..0f9db7f90032 --- /dev/null +++ b/media-plugins/gst-plugins-jack/gst-plugins-jack-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GStreamer source/sink to transfer audio data with JACK ports" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jack/gst-plugins-jack-1.4.5.ebuild b/media-plugins/gst-plugins-jack/gst-plugins-jack-1.4.5.ebuild new file mode 100644 index 000000000000..d8a3c485cdce --- /dev/null +++ b/media-plugins/gst-plugins-jack/gst-plugins-jack-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="GStreamer source/sink to transfer audio data with JACK ports" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jack/metadata.xml b/media-plugins/gst-plugins-jack/metadata.xml new file mode 100644 index 000000000000..7883696bd076 --- /dev/null +++ b/media-plugins/gst-plugins-jack/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gstreamer</herd> +<maintainer> + <email>miknix@gentoo.org</email> + <name>Angelo Arrifano</name> + <description>Regular ebuild maintenance, bugs and stuff..</description> +</maintainer> +<longdescription lang="en"> + GStreamer plugin for JACK audio elements + + Includes the following elements: + * jackaudiosink - Output audio to a JACK server + * jackaudiosrc - Captures audio from a JACK server +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-jpeg/Manifest b/media-plugins/gst-plugins-jpeg/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-jpeg/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-0.10.31-r1.ebuild b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-0.10.31-r1.ebuild new file mode 100644 index 000000000000..f198d3c8b314 --- /dev/null +++ b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-0.10.31-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for JPEG format" +KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:${SLOT}[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.2.4-r1.ebuild b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ebfb0d33cb25 --- /dev/null +++ b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for JPEG format" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=virtual/jpeg-0-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.4.5.ebuild b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.4.5.ebuild new file mode 100644 index 000000000000..c03a9fa28fcd --- /dev/null +++ b/media-plugins/gst-plugins-jpeg/gst-plugins-jpeg-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for JPEG format" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=virtual/jpeg-0-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-jpeg/metadata.xml b/media-plugins/gst-plugins-jpeg/metadata.xml new file mode 100644 index 000000000000..cffe81367809 --- /dev/null +++ b/media-plugins/gst-plugins-jpeg/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for the JPEG format. + + Includes the following elements: + * jpegdec - Decode images from JPEG format + * jpegenc - Encode images in JPEG format + + In 0.10 only (deprecated): + * smokedec - Decode video from Smoke format + * smokeenc - Encode images into the Smoke format + + See the installed README if interested what the Smoke codec is. +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ladspa/Manifest b/media-plugins/gst-plugins-ladspa/Manifest new file mode 100644 index 000000000000..68a5b6554301 --- /dev/null +++ b/media-plugins/gst-plugins-ladspa/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c diff --git a/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23-r1.ebuild b/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23-r1.ebuild new file mode 100644 index 000000000000..69fbbdd76456 --- /dev/null +++ b/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~ppc ~ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + local pdir=$(gstreamer_get_plugin_dir) + + # signalprocessor has no .pc + sed -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/.*\.la:-lgstsignalprocessor-${SLOT}:" \ + -i "${pdir}"/Makefile.{am,in} || die +} diff --git a/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23.ebuild b/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23.ebuild new file mode 100644 index 000000000000..e73f2447f565 --- /dev/null +++ b/media-plugins/gst-plugins-ladspa/gst-plugins-ladspa-0.10.23.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +KEYWORDS="alpha amd64 ~ppc ~ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/ladspa-sdk-1.12-r2" +DEPEND="${RDEPEND}" + +src_prepare() { + gst-plugins10_find_plugin_dir + # signalprocessor has no .pc + sed -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/.*\.la:-lgstsignalprocessor-${SLOT}:" \ + -i Makefile.am Makefile.in || die +} diff --git a/media-plugins/gst-plugins-ladspa/metadata.xml b/media-plugins/gst-plugins-ladspa/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-ladspa/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-lame/Manifest b/media-plugins/gst-plugins-lame/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-lame/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-lame/gst-plugins-lame-0.10.19-r1.ebuild b/media-plugins/gst-plugins-lame/gst-plugins-lame-0.10.19-r1.ebuild new file mode 100644 index 000000000000..dae1da661782 --- /dev/null +++ b/media-plugins/gst-plugins-lame/gst-plugins-lame-0.10.19-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-lame/gst-plugins-lame-1.2.4-r1.ebuild b/media-plugins/gst-plugins-lame/gst-plugins-lame-1.2.4-r1.ebuild new file mode 100644 index 000000000000..dae1da661782 --- /dev/null +++ b/media-plugins/gst-plugins-lame/gst-plugins-lame-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-lame/gst-plugins-lame-1.4.5.ebuild b/media-plugins/gst-plugins-lame/gst-plugins-lame-1.4.5.ebuild new file mode 100644 index 000000000000..17527f29ec88 --- /dev/null +++ b/media-plugins/gst-plugins-lame/gst-plugins-lame-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-lame/metadata.xml b/media-plugins/gst-plugins-lame/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-lame/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest new file mode 100644 index 000000000000..1e995970e045 --- /dev/null +++ b/media-plugins/gst-plugins-libav/Manifest @@ -0,0 +1,2 @@ +DIST gst-libav-1.2.4.tar.xz 4580144 SHA256 2a69480d63fc2db93249d9e2e229ab3541bbc2db881b0f64de13d0bfc7d1f037 SHA512 64b24f0995865bc736946ad0709b37d6557ce1b91359371c7aaf48d02a0cb486f3bf90b72f483c8ccb661cd5fb637564809bc92d070ad901576bae5b17db0273 WHIRLPOOL 94948887c9ff642ab7e87695acb19b2a210946dd1938776d7d653017fc5231c9144e48c3d467f8c893513a29976d4e8b88457ed44bb0849cdb6f721e1ea576b0 +DIST gst-libav-1.4.5.tar.xz 5220508 SHA256 605c62624604f3bb5c870844cc1f2711779cc533b004c2aa1d8c0d58557afbbc SHA512 a2f9250a51440358d205ef160119498d52cf4944fe810e736e4561f2cdbb8dabad6220d6e4da507f013c42bea69ce72acc373982642278de0a03605bbcd4f75f WHIRLPOOL 075ad91101def8ee8958eaf3051390a76efa3860a4d6796b7f5f86f9b175ca493aa3094e59b24b19c59025337683178f43346e887d7b5efe46b0f9aeadcd28d2 diff --git a/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-ffmpeg2.patch b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-ffmpeg2.patch new file mode 100644 index 000000000000..3deeea061512 --- /dev/null +++ b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-ffmpeg2.patch @@ -0,0 +1,120 @@ +Index: gst-libav-1.2.0/ext/libav/gstavauddec.c +=================================================================== +--- gst-libav-1.2.0.orig/ext/libav/gstavauddec.c ++++ gst-libav-1.2.0/ext/libav/gstavauddec.c +@@ -460,7 +460,7 @@ gst_ffmpegauddec_audio_frame (GstFFMpegA + GstBuffer ** outbuf, GstFlowReturn * ret) + { + gint len = -1; +- gint have_data = AVCODEC_MAX_AUDIO_FRAME_SIZE; ++ gint have_data = 0; + AVPacket packet; + AVFrame frame; + +Index: gst-libav-1.2.0/ext/libav/gstavaudenc.c +=================================================================== +--- gst-libav-1.2.0.orig/ext/libav/gstavaudenc.c ++++ gst-libav-1.2.0/ext/libav/gstavaudenc.c +@@ -289,7 +289,6 @@ gst_ffmpegaudenc_set_format (GstAudioEnc + ffmpegaudenc->context->coder_type = 0; + ffmpegaudenc->context->context_model = 0; + ffmpegaudenc->context->scenechange_threshold = 0; +- ffmpegaudenc->context->inter_threshold = 0; + + /* fetch pix_fmt and so on */ + gst_ffmpeg_audioinfo_to_context (info, ffmpegaudenc->context); +Index: gst-libav-1.2.0/ext/libav/gstavcfg.c +=================================================================== +--- gst-libav-1.2.0.orig/ext/libav/gstavcfg.c ++++ gst-libav-1.2.0/ext/libav/gstavcfg.c +@@ -171,13 +171,10 @@ gst_ffmpeg_idct_algo_get_type (void) + {FF_IDCT_INT, "JPEG reference Integer", "int"}, + {FF_IDCT_SIMPLE, "Simple", "simple"}, + {FF_IDCT_SIMPLEMMX, "Simple MMX", "simplemmx"}, +- {FF_IDCT_LIBMPEG2MMX, "LIBMPEG2MMX", "libmpeg2mmx"}, + {FF_IDCT_ARM, "ARM", "arm"}, + {FF_IDCT_ALTIVEC, "ALTIVEC", "altivec"}, + {FF_IDCT_SH4, "SH4", "sh4"}, + {FF_IDCT_SIMPLEARM, "SIMPLEARM", "simplearm"}, +- {FF_IDCT_H264, "H264", "h264"}, +- {FF_IDCT_VP3, "VP3", "vp3"}, + {FF_IDCT_IPP, "IPP", "ipp"}, + {FF_IDCT_XVIDMMX, "XVIDMMX", "xvidmmx"}, + {0, NULL, NULL}, +@@ -274,9 +271,6 @@ gst_ffmpeg_flags_get_type (void) + "global-headers"}, + {CODEC_FLAG_AC_PRED, "H263 Advanced Intra Coding / MPEG4 AC prediction", + "aic"}, +- {CODEC_FLAG_CBP_RD, "Rate Distoration Optimization for CBP", "cbp-rd"}, +- {CODEC_FLAG_QP_RD, "Rate Distoration Optimization for QP selection", +- "qp-rd"}, + {CODEC_FLAG_CLOSED_GOP, "Closed GOP", "closedgop"}, + {0, NULL, NULL}, + }; +@@ -564,18 +558,6 @@ gst_ffmpeg_cfg_init (void) + -100, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + gst_ffmpeg_add_pspec (pspec, max_key_interval, FALSE, mpeg, NULL); + +- pspec = g_param_spec_int ("luma-elim-threshold", +- "Luma Elimination Threshold", +- "Luma Single Coefficient Elimination Threshold", +- -99, 99, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +- gst_ffmpeg_add_pspec (pspec, config.luma_elim_threshold, FALSE, mpeg, NULL); +- +- pspec = g_param_spec_int ("chroma-elim-threshold", +- "Chroma Elimination Threshold", +- "Chroma Single Coefficient Elimination Threshold", +- -99, 99, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +- gst_ffmpeg_add_pspec (pspec, config.chroma_elim_threshold, FALSE, mpeg, NULL); +- + pspec = g_param_spec_float ("lumi-masking", "Luminance Masking", + "Luminance Masking", -1.0f, 1.0f, 0.0f, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); +Index: gst-libav-1.2.0/ext/libav/gstavcodecmap.c +=================================================================== +--- gst-libav-1.2.0.orig/ext/libav/gstavcodecmap.c ++++ gst-libav-1.2.0/ext/libav/gstavcodecmap.c +@@ -788,12 +788,10 @@ gst_ffmpeg_codecid_to_caps (enum AVCodec + break; + } + +- /* FIXME: context->sub_id must be filled in during decoding */ + caps = + gst_ff_vid_caps_new (context, NULL, codec_id, encode, + "video/x-pn-realvideo", "rmversion", G_TYPE_INT, version, NULL); + if (context) { +- gst_caps_set_simple (caps, "format", G_TYPE_INT, context->sub_id, NULL); + if (context->extradata_size >= 8) { + gst_caps_set_simple (caps, + "subformat", G_TYPE_INT, GST_READ_UINT32_BE (context->extradata), +@@ -2892,18 +2890,6 @@ gst_ffmpeg_caps_with_codecid (enum AVCod + } + break; + +- case AV_CODEC_ID_RV10: +- case AV_CODEC_ID_RV20: +- case AV_CODEC_ID_RV30: +- case AV_CODEC_ID_RV40: +- { +- gint format; +- +- if (gst_structure_get_int (str, "format", &format)) +- context->sub_id = format; +- +- break; +- } + case AV_CODEC_ID_COOK: + case AV_CODEC_ID_RA_288: + case AV_CODEC_ID_RA_144: +Index: gst-libav-1.2.0/ext/libav/gstavvidenc.c +=================================================================== +--- gst-libav-1.2.0.orig/ext/libav/gstavvidenc.c ++++ gst-libav-1.2.0/ext/libav/gstavvidenc.c +@@ -338,7 +338,6 @@ gst_ffmpegvidenc_set_format (GstVideoEnc + ffmpegenc->context->coder_type = 0; + ffmpegenc->context->context_model = 0; + ffmpegenc->context->scenechange_threshold = 0; +- ffmpegenc->context->inter_threshold = 0; + + /* and last but not least the pass; CBR, 2-pass, etc */ + ffmpegenc->context->flags |= ffmpegenc->pass; diff --git a/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-fix-memory-leak.patch b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-fix-memory-leak.patch new file mode 100644 index 000000000000..6745e800b6f7 --- /dev/null +++ b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.2.4-fix-memory-leak.patch @@ -0,0 +1,96 @@ +--- ext/libav/gstavviddec.c ++++ ext/libav/gstavviddec.c +@@ -523,6 +523,7 @@ open_failed: + + typedef struct + { ++ GstFFMpegVidDec *ffmpegdec; + GstVideoCodecFrame *frame; + gboolean mapped; + GstVideoFrame vframe; +@@ -530,13 +531,17 @@ typedef struct + } GstFFMpegVidDecVideoFrame; + + static GstFFMpegVidDecVideoFrame * +-gst_ffmpegviddec_video_frame_new (GstVideoCodecFrame * frame) ++gst_ffmpegviddec_video_frame_new (GstFFMpegVidDec * ffmpegdec, ++ GstVideoCodecFrame * frame) + { + GstFFMpegVidDecVideoFrame *dframe; + + dframe = g_slice_new0 (GstFFMpegVidDecVideoFrame); ++ dframe->ffmpegdec = ffmpegdec; + dframe->frame = frame; + ++ GST_DEBUG_OBJECT (ffmpegdec, "new video frame %p", dframe); ++ + return dframe; + } + +@@ -544,6 +549,8 @@ static void + gst_ffmpegviddec_video_frame_free (GstFFMpegVidDec * ffmpegdec, + GstFFMpegVidDecVideoFrame * frame) + { ++ GST_DEBUG_OBJECT (ffmpegdec, "free video frame %p", frame); ++ + if (frame->mapped) + gst_video_frame_unmap (&frame->vframe); + gst_video_decoder_release_frame (GST_VIDEO_DECODER (ffmpegdec), frame->frame); +@@ -551,6 +558,14 @@ gst_ffmpegviddec_video_frame_free (GstFFMpegVidDec * ffmpegdec, + g_slice_free (GstFFMpegVidDecVideoFrame, frame); + } + ++static void ++dummy_free_buffer (void *opaque, uint8_t * data) ++{ ++ GstFFMpegVidDecVideoFrame *frame = opaque; ++ ++ gst_ffmpegviddec_video_frame_free (frame->ffmpegdec, frame); ++} ++ + /* called when ffmpeg wants us to allocate a buffer to write the decoded frame + * into. We try to give it memory from our pool */ + static int +@@ -589,7 +604,8 @@ gst_ffmpegviddec_get_buffer (AVCodecContext * context, AVFrame * picture) + goto duplicate_frame; + + /* GstFFMpegVidDecVideoFrame receives the frame ref */ +- picture->opaque = dframe = gst_ffmpegviddec_video_frame_new (frame); ++ picture->opaque = dframe = ++ gst_ffmpegviddec_video_frame_new (ffmpegdec, frame); + + GST_DEBUG_OBJECT (ffmpegdec, "storing opaque %p", dframe); + +@@ -695,12 +711,20 @@ invalid_frame: + fallback: + { + int c; ++ gboolean first = TRUE; + int ret = avcodec_default_get_buffer (context, picture); + + GST_LOG_OBJECT (ffmpegdec, "performing fallback alloc"); +- for (c = 0; c < AV_NUM_DATA_POINTERS; c++) ++ for (c = 0; c < AV_NUM_DATA_POINTERS; c++) { + ffmpegdec->stride[c] = picture->linesize[c]; + ++ if (picture->buf[c] == NULL && first) { ++ picture->buf[c] = ++ av_buffer_create (NULL, 0, dummy_free_buffer, dframe, 0); ++ first = FALSE; ++ } ++ } ++ + return ret; + } + duplicate_frame: +@@ -1684,8 +1718,8 @@ gst_ffmpegviddec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query) + avcodec_align_dimensions2 (ffmpegdec->context, &width, &height, + linesize_align); + edge = +- ffmpegdec->context-> +- flags & CODEC_FLAG_EMU_EDGE ? 0 : avcodec_get_edge_width (); ++ ffmpegdec-> ++ context->flags & CODEC_FLAG_EMU_EDGE ? 0 : avcodec_get_edge_width (); + /* increase the size for the padding */ + width += edge << 1; + height += edge << 1; diff --git a/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.4.5-libav9.patch b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.4.5-libav9.patch new file mode 100644 index 000000000000..a1a4f90db0cd --- /dev/null +++ b/media-plugins/gst-plugins-libav/files/gst-plugins-libav-1.4.5-libav9.patch @@ -0,0 +1,180 @@ +Add compatibility for libav-9 not to require still hardmasked libav-10. +aballier@gentoo.org + + +Index: work/gst-libav-1.4.5/ext/libav/gstavauddec.c +=================================================================== +--- work.orig/gst-libav-1.4.5/ext/libav/gstavauddec.c ++++ work/gst-libav-1.4.5/ext/libav/gstavauddec.c +@@ -582,9 +582,11 @@ gst_ffmpegauddec_audio_frame (GstFFMpegA + ffmpegdec->info.position); + } + ++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,17,0) + /* Mark corrupted frames as corrupted */ + if (frame.flags & AV_FRAME_FLAG_CORRUPT) + GST_BUFFER_FLAG_SET (*outbuf, GST_BUFFER_FLAG_CORRUPTED); ++#endif + } else { + *outbuf = NULL; + } +Index: work/gst-libav-1.4.5/ext/libav/gstavcodecmap.c +=================================================================== +--- work.orig/gst-libav-1.4.5/ext/libav/gstavcodecmap.c ++++ work/gst-libav-1.4.5/ext/libav/gstavcodecmap.c +@@ -1206,6 +1206,7 @@ gst_ffmpeg_codecid_to_caps (enum AVCodec + } + break; + ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,41,0) + case AV_CODEC_ID_HEVC: + caps = + gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/x-h265", +@@ -1226,6 +1227,7 @@ gst_ffmpeg_codecid_to_caps (enum AVCodec + g_value_unset (&arr); + } + break; ++#endif + + case AV_CODEC_ID_INDEO5: + caps = +@@ -1706,11 +1708,13 @@ gst_ffmpeg_codecid_to_caps (enum AVCodec + } + break; + ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,5,0) + case AV_CODEC_ID_AIC: + caps = + gst_ff_vid_caps_new (context, NULL, codec_id, encode, + "video/x-apple-intermediate-codec", NULL); + break; ++#endif + + case AV_CODEC_ID_WS_VQA: + case AV_CODEC_ID_IDCIN: +@@ -3760,9 +3764,11 @@ gst_ffmpeg_caps_to_codecid (const GstCap + id = AV_CODEC_ID_FFV1; + video = TRUE; + } ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,5,0) + } else if (!strcmp (mimetype, "video/x-apple-intermediate-codec")) { + id = AV_CODEC_ID_AIC; + video = TRUE; ++#endif + } else if (!strcmp (mimetype, "audio/x-adpcm")) { + const gchar *layout; + +@@ -3924,9 +3930,11 @@ gst_ffmpeg_caps_to_codecid (const GstCap + } else if (!strcmp (mimetype, "video/x-h264")) { + id = AV_CODEC_ID_H264; + video = TRUE; ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,41,0) + } else if (!strcmp (mimetype, "video/x-h265")) { + id = AV_CODEC_ID_HEVC; + video = TRUE; ++#endif + } else if (!strcmp (mimetype, "video/x-flash-video")) { + gint flvversion = 0; + +Index: work/gst-libav-1.4.5/ext/libav/gstavviddec.c +=================================================================== +--- work.orig/gst-libav-1.4.5/ext/libav/gstavviddec.c ++++ work/gst-libav-1.4.5/ext/libav/gstavviddec.c +@@ -368,8 +368,10 @@ gst_ffmpegviddec_open (GstFFMpegVidDec * + break; + } + ++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,17,0) + gst_ffmpegviddec_context_set_flags (ffmpegdec->context, + CODEC_FLAG_OUTPUT_CORRUPT, ffmpegdec->output_corrupt); ++#endif + + return TRUE; + +@@ -733,17 +735,21 @@ invalid_frame: + fallback: + { + int c; ++#if LIBAVUTIL_VERSION_MAJOR >= 53 + gboolean first = TRUE; ++#endif + int ret = avcodec_default_get_buffer (context, picture); + + for (c = 0; c < AV_NUM_DATA_POINTERS; c++) { + ffmpegdec->stride[c] = picture->linesize[c]; + ++#if LIBAVUTIL_VERSION_MAJOR >= 53 + if (picture->buf[c] == NULL && first) { + picture->buf[c] = + av_buffer_create (NULL, 0, dummy_free_buffer, dframe, 0); + first = FALSE; + } ++#endif + } + + return ret; +@@ -1280,8 +1286,10 @@ gst_ffmpegviddec_video_frame (GstFFMpegV + ffmpegdec->picture->repeat_pict); + GST_DEBUG_OBJECT (ffmpegdec, "interlaced_frame:%d (current:%d)", + ffmpegdec->picture->interlaced_frame, ffmpegdec->ctx_interlaced); ++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,17,0) + GST_DEBUG_OBJECT (ffmpegdec, "corrupted frame: %d", + ! !(ffmpegdec->picture->flags & AV_FRAME_FLAG_CORRUPT)); ++#endif + + if (G_UNLIKELY (ffmpegdec->picture->interlaced_frame != + ffmpegdec->ctx_interlaced)) { +@@ -1298,9 +1306,11 @@ gst_ffmpegviddec_video_frame (GstFFMpegV + if (G_UNLIKELY (*ret != GST_FLOW_OK)) + goto no_output; + ++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,17,0) + /* Mark corrupted frames as corrupted */ + if (ffmpegdec->picture->flags & AV_FRAME_FLAG_CORRUPT) + GST_BUFFER_FLAG_SET (out_frame->output_buffer, GST_BUFFER_FLAG_CORRUPTED); ++#endif + + if (ffmpegdec->ctx_interlaced) { + /* set interlaced flags */ +@@ -1980,7 +1990,9 @@ gst_ffmpegviddec_register (GstPlugin * p + case AV_CODEC_ID_MPEG4: + case AV_CODEC_ID_MSMPEG4V3: + case AV_CODEC_ID_H264: ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,41,0) + case AV_CODEC_ID_HEVC: ++#endif + case AV_CODEC_ID_RV10: + case AV_CODEC_ID_RV20: + case AV_CODEC_ID_RV30: +Index: work/gst-libav-1.4.5/ext/libav/gstavaudenc.c +=================================================================== +--- work.orig/gst-libav-1.4.5/ext/libav/gstavaudenc.c ++++ work/gst-libav-1.4.5/ext/libav/gstavaudenc.c +@@ -409,7 +409,11 @@ gst_ffmpegaudenc_set_format (GstAudioEnc + static void + gst_ffmpegaudenc_free_avpacket (gpointer pkt) + { ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,16,0) + av_packet_unref ((AVPacket *) pkt); ++#else ++ av_destruct_packet ((AVPacket *) pkt); ++#endif + g_slice_free (AVPacket, pkt); + } + +Index: work/gst-libav-1.4.5/ext/libav/gstavvidenc.c +=================================================================== +--- work.orig/gst-libav-1.4.5/ext/libav/gstavvidenc.c ++++ work/gst-libav-1.4.5/ext/libav/gstavvidenc.c +@@ -576,7 +576,11 @@ gst_ffmpegvidenc_propose_allocation (Gst + static void + gst_ffmpegvidenc_free_avpacket (gpointer pkt) + { ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,16,0) + av_packet_unref ((AVPacket *) pkt); ++#else ++ av_destruct_packet ((AVPacket *) pkt); ++#endif + g_slice_free (AVPacket, pkt); + } + diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild new file mode 100644 index 000000000000..6b8fa349b307 --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" +SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="libav +orc" + +RDEPEND=" + >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] + libav? ( + <media-video/libav-10:0=[${MULTILIB_USEDEP}] + >=media-video/libav-9.12:0=[${MULTILIB_USEDEP}] ) + !libav? ( >=media-video/ffmpeg-1.2.6-r1:0=[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # compatibility with recent releases + # TODO: likely apply them with libav-10 when it's out but there will + # probably be an upstream gst-libav release compatible at that time. + if has_version '>=media-video/ffmpeg-2.0' ; then + sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ + -e 's/ CodecID/ AVCodecID/g' \ + ext/libav/*.{c,h} || die + epatch "${FILESDIR}/${PN}-1.2.4-ffmpeg2.patch" + epatch "${FILESDIR}/${PN}-1.2.4-fix-memory-leak.patch" #494282 + fi +} + +multilib_src_configure() { + GST_PLUGINS_BUILD="" + # always use system ffmpeg/libav if possible + ECONF_SOURCE=${S} \ + econf \ + --disable-maintainer-mode \ + --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="http://www.gentoo.org" \ + --disable-fatal-warnings \ + --with-system-libav \ + $(use_enable orc) +} + +multilib_src_compile() { + # Don't build with -Werror + emake ERROR_CFLAGS= +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} + +pkg_postinst() { + if ! use libav; then + elog "Please note that upstream uses media-video/libav" + elog "rather than media-video/ffmpeg. If you encounter any" + elog "issues try to move from ffmpeg to libav." + fi +} diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild new file mode 100644 index 000000000000..d21cfa1da4bb --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" +SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] + >=virtual/ffmpeg-9-r1[${MULTILIB_USEDEP}] + !!>=media-video/libav-10 + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # compatibility with recent releases + # TODO: likely apply them with libav-10 when it's out but there will + # probably be an upstream gst-libav release compatible at that time. + if has_version '>=media-video/ffmpeg-2.0' ; then + sed -i -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ + -e 's/ CodecID/ AVCodecID/g' \ + ext/libav/*.{c,h} || die + epatch "${FILESDIR}/${PN}-1.2.4-ffmpeg2.patch" + epatch "${FILESDIR}/${PN}-1.2.4-fix-memory-leak.patch" #494282 + fi +} + +multilib_src_configure() { + GST_PLUGINS_BUILD="" + # always use system ffmpeg/libav if possible + ECONF_SOURCE=${S} \ + econf \ + --disable-maintainer-mode \ + --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="http://www.gentoo.org" \ + --disable-fatal-warnings \ + --with-system-libav \ + $(use_enable orc) +} + +multilib_src_compile() { + # Don't build with -Werror + emake ERROR_CFLAGS= +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} + +pkg_postinst() { + if has_version "media-video/ffmpeg"; then + elog "Please note that upstream uses media-video/libav" + elog "rather than media-video/ffmpeg. If you encounter any" + elog "issues try to move from ffmpeg to libav." + fi +} diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild new file mode 100644 index 000000000000..168beaa07aa1 --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils flag-o-matic multilib-minimal + +MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" +SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="libav +orc" + +RDEPEND=" + >=media-libs/gstreamer-1.4.0:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.4.0:1.0[${MULTILIB_USEDEP}] + !libav? ( >=media-video/ffmpeg-2.2:0=[${MULTILIB_USEDEP}] ) + libav? ( >=media-video/libav-9:0=[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + app-arch/xz-utils + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # https://bugzilla.gnome.org/show_bug.cgi?id=743984 + epatch "${FILESDIR}/${PN}-1.4.5-libav9.patch" +} + +multilib_src_configure() { + GST_PLUGINS_BUILD="" + # always use system ffmpeg/libav if possible + ECONF_SOURCE=${S} \ + econf \ + --disable-maintainer-mode \ + --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="http://www.gentoo.org" \ + --disable-fatal-warnings \ + --with-system-libav \ + $(use_enable orc) +} + +multilib_src_compile() { + # Don't build with -Werror + emake ERROR_CFLAGS= +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5.ebuild new file mode 100644 index 000000000000..f211f52b632f --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.4.5.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 flag-o-matic multilib-minimal + +MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html" +SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=media-libs/gstreamer-1.4.0:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.4.0:1.0[${MULTILIB_USEDEP}] + || ( >=media-video/ffmpeg-2.2:0[${MULTILIB_USEDEP}] >=media-video/libav-9[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + app-arch/xz-utils + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # https://bugzilla.gnome.org/show_bug.cgi?id=743984 + epatch "${FILESDIR}/${PN}-1.4.5-libav9.patch" +} + +multilib_src_configure() { + GST_PLUGINS_BUILD="" + # always use system ffmpeg/libav if possible + ECONF_SOURCE=${S} \ + econf \ + --disable-maintainer-mode \ + --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="http://www.gentoo.org" \ + --disable-fatal-warnings \ + --with-system-libav \ + $(use_enable orc) +} + +multilib_src_compile() { + # Don't build with -Werror + emake ERROR_CFLAGS= +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libav/metadata.xml b/media-plugins/gst-plugins-libav/metadata.xml new file mode 100644 index 000000000000..d1096fb54bd8 --- /dev/null +++ b/media-plugins/gst-plugins-libav/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-libmms/Manifest b/media-plugins/gst-plugins-libmms/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-libmms/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-libmms/gst-plugins-libmms-0.10.23-r1.ebuild b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-0.10.23-r1.ebuild new file mode 100644 index 000000000000..cf42bf6d2a5c --- /dev/null +++ b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-0.10.23-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmms-0.6.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.2.4-r1.ebuild b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.2.4-r1.ebuild new file mode 100644 index 000000000000..cf42bf6d2a5c --- /dev/null +++ b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmms-0.6.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.4.5.ebuild b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.4.5.ebuild new file mode 100644 index 000000000000..222f94f9adbc --- /dev/null +++ b/media-plugins/gst-plugins-libmms/gst-plugins-libmms-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmms-0.6.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libmms/metadata.xml b/media-plugins/gst-plugins-libmms/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-libmms/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-libnice/Manifest b/media-plugins/gst-plugins-libnice/Manifest new file mode 100644 index 000000000000..69a37fcf0629 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/Manifest @@ -0,0 +1,3 @@ +DIST libnice-0.1.10.tar.gz 903083 SHA256 1dbfb663b730889ae8cab13a2913fe557d581f70b513c918bbbd0b7d3eefebc9 SHA512 2eb6cdd89380c29a23a844d17022b338522ae6a438e9ac018385acb51c2904eccdb0cbfe97a37775182962c003bf6077bee1dde48c7a29963a57564d8c206532 WHIRLPOOL 8450973c2b175a5c3edd99064ee1418f4de2148a02c1501c0fd33cfc6344fa0e187287912f2b447f9fd4be6f1e852ec77e425d7b8d25cee94acb1989933dfb35 +DIST libnice-0.1.13.tar.gz 912374 SHA256 61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1 SHA512 c9bb81e8cd0b4e3673dba07ce08a16dd8821831339b44f1006510cdc09f9ae4c6eb7d43230711a2509867acb8d7df71821c411830dbf71c5a5d7e802f14a32c1 WHIRLPOOL 93bd35742cc3ef3cf768613d7757552d7fae98e906cad334b499e3a69577480a840e4e9bdb16c047099a62d47a60e8eee006107b1717937312ada087098f9dad +DIST libnice-0.1.8.tar.gz 881186 SHA256 9da7f09909902d535389d929c3e4d69129528fb18438a6c8565ec812d9904ddf SHA512 d573810d34a7ca9a5deddc11efa16e66615375fff50f91b406d8e6aa05486253335c35dfd0061ee68ee1c3ccbf9ea6c27225ad452540777c2e0ca0f7fe79d496 WHIRLPOOL c07d1d9d303e95af8d4d7f4fccd53a5fb07cbfbcb72f4364b6d3fb9be451e97f9ad5cb38f71a8c1a16e69302a6427261c3a1b5628423314ddfe126313b49d799 diff --git a/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch b/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch new file mode 100644 index 000000000000..136d85456c40 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch @@ -0,0 +1,40 @@ +From 76ff4aee9fe963842dd17748d14c68552c5dcda3 Mon Sep 17 00:00:00 2001 +From: Timo Gurr <timo.gurr@gmail.com> +Date: Mon, 1 Jun 2015 16:10:16 +0200 +Subject: [PATCH] configure: Fix configure failure when building without + gstreamer support + +Error introduced in 20ea22e0a11a9bdfe4d8125b68083249b694338a, resulting in a +configure/build error when building without gstreamer: + +configure: error: conditional "HAVE_GST_CHECK" was never defined. +Usually this means the macro was only invoked conditionally. +--- + configure.ac | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 6031cec..64a571f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -231,9 +231,6 @@ AS_IF([test "$with_gstreamer" != no], [ + [ + have_gst_check=no + ]) +- +- AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes) +- + ]) + + AS_IF([test "$with_gstreamer010" != no], [ +@@ -260,6 +257,7 @@ AC_SUBST(gstplugindir) + AC_SUBST(gstplugin010dir) + + AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes) ++AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes) + AM_CONDITIONAL(WITH_GSTREAMER010, test "$with_gstreamer010" = yes) + + GUPNP_IGD_REQUIRED=0.2.4 +-- +2.4.1 + diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10-r100.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10-r100.ebuild new file mode 100644 index 000000000000..27eef50a79aa --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10-r100.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="1.0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-static-plugins \ + --without-gstreamer-0.10 \ + --with-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10.ebuild new file mode 100644 index 000000000000..a7bad8cf5f54 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0.10" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-static-plugins \ + --with-gstreamer-0.10 \ + --without-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild new file mode 100644 index 000000000000..d42d85c40e46 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-static-plugins \ + --without-gstreamer-0.10 \ + --with-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild new file mode 100644 index 000000000000..8b30273357db --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0.10" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" + + # https://bugs.freedesktop.org/show_bug.cgi?id=90801 + epatch "${FILESDIR}"/${P}-gstreamer.patch + eautoreconf +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-static-plugins \ + --with-gstreamer-0.10 \ + --without-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8-r100.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8-r100.ebuild new file mode 100644 index 000000000000..d2ddfe9c9071 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8-r100.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 multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="1.0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --without-gstreamer-0.10 \ + --with-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8.ebuild new file mode 100644 index 000000000000..eef1572d8d66 --- /dev/null +++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.8.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 multilib-minimal toolchain-funcs + +DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support" +HOMEPAGE="http://nice.freedesktop.org/wiki/" +MY_P=libnice-${PV} +SRC_URI="http://nice.freedesktop.org/releases/${MY_P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0.10" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=" + ~net-libs/libnice-${PV}[${MULTILIB_USEDEP}] + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \ + -i gst/Makefile.{am,in} || die "sed failed" +} + +multilib_src_configure() { + # gupnp is not used in the gst plugin + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --with-gstreamer-0.10 \ + --without-gstreamer \ + --disable-introspection \ + --disable-gupnp +} + +multilib_src_compile() { + emake -C gst \ + NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)" +} + +multilib_src_test() { + : +} + +multilib_src_install() { + emake -C gst DESTDIR="${D}" install +} + +multilib_src_install_all() { + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-libnice/metadata.xml b/media-plugins/gst-plugins-libnice/metadata.xml new file mode 100644 index 000000000000..7b258863f92b --- /dev/null +++ b/media-plugins/gst-plugins-libnice/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<herd>gstreamer</herd> +</pkgmetadata> + diff --git a/media-plugins/gst-plugins-libpng/Manifest b/media-plugins/gst-plugins-libpng/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-libpng/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.31-r1.ebuild b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.31-r1.ebuild new file mode 100644 index 000000000000..e92ba2a520d3 --- /dev/null +++ b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for PNG images" +KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.2.4-r1.ebuild b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.2.4-r1.ebuild new file mode 100644 index 000000000000..e92ba2a520d3 --- /dev/null +++ b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for PNG images" +KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.4.5.ebuild b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.4.5.ebuild new file mode 100644 index 000000000000..fd1e1bc3a109 --- /dev/null +++ b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for PNG images" +KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-libpng/metadata.xml b/media-plugins/gst-plugins-libpng/metadata.xml new file mode 100644 index 000000000000..f42b90d2adf4 --- /dev/null +++ b/media-plugins/gst-plugins-libpng/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for the PNG format. + + Includes the following elements: + * pngdec - Decode a png video frame to a raw image + * pngenc - Encode a video frame to a .png image +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-libvisual/Manifest b/media-plugins/gst-plugins-libvisual/Manifest new file mode 100644 index 000000000000..d183ce5f3329 --- /dev/null +++ b/media-plugins/gst-plugins-libvisual/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d +DIST gst-plugins-base-1.2.4.tar.xz 2538012 SHA256 4d6273dc3f5a94bcc53ccfe0711cfddd49e31371d1136bf62fa1ecc604fc6550 SHA512 8e7e7fd494ee2335e917dae3fef93a2103db37c8cc645ccf1f63b7e6676a6cc6fee78bb90e43f8ccacab367788a416600577cb3d9630e9d64258ecb3dbe63338 WHIRLPOOL 173b2c71b2be05db75ef0d7c344b64ec5d74ba291cc8058546a2963257a1af8e7699737214e11c2d811e6349a008386f822a82f5fe5f5491f5faca64e9d8f20d +DIST gst-plugins-base-1.4.5.tar.xz 2637680 SHA256 77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d SHA512 63d3c531de736ad8a64d6962c0af75857d3b016d7f8e85d1884e8de50e64576902bb1161161b74130ab5dfb1d453eb995e374d8a958eac6e44ae5272eeaaf8b6 WHIRLPOOL cf6ef1c9589ed7a39be74e7663b0821c81b1b4cffdd612ccd7fd5b7929508af21d68817530a4b0fb2517f3a7044ee068afba7602816fdd0ada31444f0bcf8383 diff --git a/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-0.10.36-r1.ebuild b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-0.10.36-r1.ebuild new file mode 100644 index 000000000000..22494229785e --- /dev/null +++ b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-0.10.36-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}] + >=media-plugins/libvisual-plugins-0.4.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.2.4-r1.ebuild b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.2.4-r1.ebuild new file mode 100644 index 000000000000..26af9f85871c --- /dev/null +++ b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.2.4-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}] + >=media-plugins/libvisual-plugins-0.4.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.4.5.ebuild b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.4.5.ebuild new file mode 100644 index 000000000000..1e43ea656851 --- /dev/null +++ b/media-plugins/gst-plugins-libvisual/gst-plugins-libvisual-1.4.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}] + >=media-plugins/libvisual-plugins-0.4.0-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/audio:gstreamer-audio \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-libvisual/metadata.xml b/media-plugins/gst-plugins-libvisual/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-libvisual/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-mad/Manifest b/media-plugins/gst-plugins-mad/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-mad/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-mad/gst-plugins-mad-0.10.19-r1.ebuild b/media-plugins/gst-plugins-mad/gst-plugins-mad-0.10.19-r1.ebuild new file mode 100644 index 000000000000..00083033dbc2 --- /dev/null +++ b/media-plugins/gst-plugins-mad/gst-plugins-mad-0.10.19-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmad-0.15.1b-r8[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mad/gst-plugins-mad-1.2.4-r1.ebuild b/media-plugins/gst-plugins-mad/gst-plugins-mad-1.2.4-r1.ebuild new file mode 100644 index 000000000000..00083033dbc2 --- /dev/null +++ b/media-plugins/gst-plugins-mad/gst-plugins-mad-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmad-0.15.1b-r8[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mad/gst-plugins-mad-1.4.5.ebuild b/media-plugins/gst-plugins-mad/gst-plugins-mad-1.4.5.ebuild new file mode 100644 index 000000000000..555e259226c3 --- /dev/null +++ b/media-plugins/gst-plugins-mad/gst-plugins-mad-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmad-0.15.1b-r8[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mad/metadata.xml b/media-plugins/gst-plugins-mad/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-mad/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r10.ebuild b/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r10.ebuild new file mode 100644 index 000000000000..2f6d21073f9c --- /dev/null +++ b/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r10.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib-build + +DESCRIPTION="Meta ebuild to pull in gst plugins for apps" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="metapackage" +SLOT="0.10" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="aac a52 alsa cdda dts dv dvb dvd ffmpeg flac http jack lame libass libvisual mms mp3 modplug mpeg musepack ogg opus oss pulseaudio taglib theora v4l vcd vorbis vpx wavpack X x264 xv xvid" +REQUIRED_USE="opus? ( ogg ) theora? ( ogg ) vorbis? ( ogg )" + +RDEPEND=">=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-0.10.31:0.10[${MULTILIB_USEDEP}] + a52? ( >=media-plugins/gst-plugins-a52dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + aac? ( >=media-plugins/gst-plugins-faad-0.10.23:0.10[${MULTILIB_USEDEP}] ) + alsa? ( >=media-plugins/gst-plugins-alsa-0.10.36:0.10[${MULTILIB_USEDEP}] ) + cdda? ( || ( + >=media-plugins/gst-plugins-cdparanoia-0.10.36:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-cdio-0.10.19:0.10[${MULTILIB_USEDEP}] ) ) + dts? ( >=media-plugins/gst-plugins-dts-0.10.23:0.10[${MULTILIB_USEDEP}] ) + dv? ( >=media-plugins/gst-plugins-dv-0.10.31:0.10[${MULTILIB_USEDEP}] ) + dvb? ( + >=media-plugins/gst-plugins-dvb-0.10.23:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-bad-0.10.23-r1:0.10[${MULTILIB_USEDEP}] ) + dvd? ( + >=media-libs/gst-plugins-ugly-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-a52dec-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-dvdread-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-resindvd-0.10.23:0.10[${MULTILIB_USEDEP}] ) + ffmpeg? ( >=media-plugins/gst-plugins-ffmpeg-0.10.13_p201211:0.10[${MULTILIB_USEDEP}] ) + flac? ( >=media-plugins/gst-plugins-flac-0.10.31:0.10[${MULTILIB_USEDEP}] ) + http? ( >=media-plugins/gst-plugins-soup-0.10.31:0.10[${MULTILIB_USEDEP}] ) + jack? ( >=media-plugins/gst-plugins-jack-0.10.31:0.10[${MULTILIB_USEDEP}] ) + lame? ( >=media-plugins/gst-plugins-lame-0.10.19:0.10[${MULTILIB_USEDEP}] ) + libass? ( >=media-plugins/gst-plugins-assrender-0.10.23:0.10[${MULTILIB_USEDEP}] ) + libvisual? ( >=media-plugins/gst-plugins-libvisual-0.10.36:0.10[${MULTILIB_USEDEP}] ) + mms? ( >=media-plugins/gst-plugins-libmms-0.10.23:0.10[${MULTILIB_USEDEP}] ) + modplug? ( >=media-plugins/gst-plugins-modplug-0.10.23-r1:0.10[${MULTILIB_USEDEP}] ) + mp3? ( + >=media-libs/gst-plugins-ugly-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mad-0.10.19:0.10[${MULTILIB_USEDEP}] ) + mpeg? ( >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + musepack? ( >=media-plugins/gst-plugins-musepack-0.10.23:0.10[${MULTILIB_USEDEP}] ) + ogg? ( >=media-plugins/gst-plugins-ogg-0.10.36:0.10[${MULTILIB_USEDEP}] ) + opus? ( >=media-plugins/gst-plugins-opus-0.10.23:0.10[${MULTILIB_USEDEP}] ) + oss? ( >=media-plugins/gst-plugins-oss-0.10.31:0.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-plugins/gst-plugins-pulse-0.10.31:0.10[${MULTILIB_USEDEP}] ) + theora? ( >=media-plugins/gst-plugins-theora-0.10.36-r1:0.10[${MULTILIB_USEDEP}] ) + taglib? ( >=media-plugins/gst-plugins-taglib-0.10.31:0.10[${MULTILIB_USEDEP}] ) + v4l? ( >=media-plugins/gst-plugins-v4l2-0.10.31:0.10[${MULTILIB_USEDEP}] ) + vcd? ( + >=media-plugins/gst-plugins-mplex-0.10.23:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.36:0.10[${MULTILIB_USEDEP}] ) + vpx? ( >=media-plugins/gst-plugins-vp8-0.10.23-r1:0.10[${MULTILIB_USEDEP}] ) + wavpack? ( >=media-plugins/gst-plugins-wavpack-0.10.31:0.10[${MULTILIB_USEDEP}] ) + X? ( >=media-plugins/gst-plugins-x-0.10.36:0.10[${MULTILIB_USEDEP}] ) + x264? ( >=media-plugins/gst-plugins-x264-0.10.19:0.10[${MULTILIB_USEDEP}] ) + xv? ( >=media-plugins/gst-plugins-xvideo-0.10.36:0.10[${MULTILIB_USEDEP}] ) + xvid? ( >=media-plugins/gst-plugins-xvid-0.10.23:0.10[${MULTILIB_USEDEP}] )" + +# Usage note: +# The idea is that apps depend on this for optional gstreamer plugins. Then, +# when USE flags change, no app gets rebuilt, and all apps that can make use of +# the new plugin automatically do. + +# When adding deps here, make sure the keywords on the gst-plugin are valid. diff --git a/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r9.ebuild b/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r9.ebuild new file mode 100644 index 000000000000..11c4feba42e6 --- /dev/null +++ b/media-plugins/gst-plugins-meta/gst-plugins-meta-0.10-r9.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib-build + +DESCRIPTION="Meta ebuild to pull in gst plugins for apps" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="metapackage" +SLOT="0.10" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="aac a52 alsa cdda dts dv dvb dvd ffmpeg flac http jack lame libass libvisual mms mp3 mpeg musepack ogg opus oss pulseaudio taglib theora v4l vcd vorbis vpx wavpack X x264 xv xvid" +REQUIRED_USE="opus? ( ogg ) theora? ( ogg ) vorbis? ( ogg )" + +RDEPEND=">=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-0.10.31:0.10[${MULTILIB_USEDEP}] + a52? ( >=media-plugins/gst-plugins-a52dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + aac? ( >=media-plugins/gst-plugins-faad-0.10.23:0.10[${MULTILIB_USEDEP}] ) + alsa? ( >=media-plugins/gst-plugins-alsa-0.10.36:0.10[${MULTILIB_USEDEP}] ) + cdda? ( || ( + >=media-plugins/gst-plugins-cdparanoia-0.10.36:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-cdio-0.10.19:0.10[${MULTILIB_USEDEP}] ) ) + dts? ( >=media-plugins/gst-plugins-dts-0.10.23:0.10[${MULTILIB_USEDEP}] ) + dv? ( >=media-plugins/gst-plugins-dv-0.10.31:0.10[${MULTILIB_USEDEP}] ) + dvb? ( + >=media-plugins/gst-plugins-dvb-0.10.23:0.10[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-bad-0.10.23-r1:0.10[${MULTILIB_USEDEP}] ) + dvd? ( + >=media-libs/gst-plugins-ugly-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-a52dec-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-dvdread-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-resindvd-0.10.23:0.10[${MULTILIB_USEDEP}] ) + ffmpeg? ( >=media-plugins/gst-plugins-ffmpeg-0.10.13_p201211:0.10[${MULTILIB_USEDEP}] ) + flac? ( >=media-plugins/gst-plugins-flac-0.10.31:0.10[${MULTILIB_USEDEP}] ) + http? ( >=media-plugins/gst-plugins-soup-0.10.31:0.10[${MULTILIB_USEDEP}] ) + jack? ( >=media-plugins/gst-plugins-jack-0.10.31:0.10[${MULTILIB_USEDEP}] ) + lame? ( >=media-plugins/gst-plugins-lame-0.10.19:0.10[${MULTILIB_USEDEP}] ) + libass? ( >=media-plugins/gst-plugins-assrender-0.10.23:0.10[${MULTILIB_USEDEP}] ) + libvisual? ( >=media-plugins/gst-plugins-libvisual-0.10.36:0.10[${MULTILIB_USEDEP}] ) + mms? ( >=media-plugins/gst-plugins-libmms-0.10.23:0.10[${MULTILIB_USEDEP}] ) + mp3? ( + >=media-libs/gst-plugins-ugly-0.10.19:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mad-0.10.19:0.10[${MULTILIB_USEDEP}] ) + mpeg? ( >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + musepack? ( >=media-plugins/gst-plugins-musepack-0.10.23:0.10[${MULTILIB_USEDEP}] ) + ogg? ( >=media-plugins/gst-plugins-ogg-0.10.36:0.10[${MULTILIB_USEDEP}] ) + opus? ( >=media-plugins/gst-plugins-opus-0.10.23:0.10[${MULTILIB_USEDEP}] ) + oss? ( >=media-plugins/gst-plugins-oss-0.10.31:0.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-plugins/gst-plugins-pulse-0.10.31:0.10[${MULTILIB_USEDEP}] ) + theora? ( >=media-plugins/gst-plugins-theora-0.10.36-r1:0.10[${MULTILIB_USEDEP}] ) + taglib? ( >=media-plugins/gst-plugins-taglib-0.10.31:0.10[${MULTILIB_USEDEP}] ) + v4l? ( >=media-plugins/gst-plugins-v4l2-0.10.31:0.10[${MULTILIB_USEDEP}] ) + vcd? ( + >=media-plugins/gst-plugins-mplex-0.10.23:0.10[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-0.10.19:0.10[${MULTILIB_USEDEP}] ) + vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.36:0.10[${MULTILIB_USEDEP}] ) + vpx? ( >=media-plugins/gst-plugins-vp8-0.10.23-r1:0.10[${MULTILIB_USEDEP}] ) + wavpack? ( >=media-plugins/gst-plugins-wavpack-0.10.31:0.10[${MULTILIB_USEDEP}] ) + X? ( >=media-plugins/gst-plugins-x-0.10.36:0.10[${MULTILIB_USEDEP}] ) + x264? ( >=media-plugins/gst-plugins-x264-0.10.19:0.10[${MULTILIB_USEDEP}] ) + xv? ( >=media-plugins/gst-plugins-xvideo-0.10.36:0.10[${MULTILIB_USEDEP}] ) + xvid? ( >=media-plugins/gst-plugins-xvid-0.10.23:0.10[${MULTILIB_USEDEP}] )" + +# Usage note: +# The idea is that apps depend on this for optional gstreamer plugins. Then, +# when USE flags change, no app gets rebuilt, and all apps that can make use of +# the new plugin automatically do. + +# When adding deps here, make sure the keywords on the gst-plugin are valid. diff --git a/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r2.ebuild b/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r2.ebuild new file mode 100644 index 000000000000..2f4e2dadaad1 --- /dev/null +++ b/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib-build + +DESCRIPTION="Meta ebuild to pull in gst plugins for apps" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="metapackage" +SLOT="1.0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="aac a52 alsa cdda dts dv dvb dvd ffmpeg flac http jack lame libass libvisual mms mp3 mpeg ogg opus oss pulseaudio taglib theora v4l vcd vorbis vpx wavpack X x264" +REQUIRED_USE="opus? ( ogg ) theora? ( ogg ) vorbis? ( ogg )" + +RDEPEND=">=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[alsa?,ogg?,theora?,vorbis?,X?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-1.2.3:1.0[${MULTILIB_USEDEP}] + a52? ( >=media-plugins/gst-plugins-a52dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + aac? ( >=media-plugins/gst-plugins-faad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + cdda? ( || ( + >=media-plugins/gst-plugins-cdparanoia-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-cdio-1.2.3:1.0[${MULTILIB_USEDEP}] ) ) + dts? ( >=media-plugins/gst-plugins-dts-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dv? ( >=media-plugins/gst-plugins-dv-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dvb? ( + >=media-plugins/gst-plugins-dvb-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-bad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dvd? ( + >=media-libs/gst-plugins-ugly-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-a52dec-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-dvdread-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-resindvd-1.2.3:1.0[${MULTILIB_USEDEP}] ) + ffmpeg? ( >=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0[${MULTILIB_USEDEP}] ) + flac? ( >=media-plugins/gst-plugins-flac-1.2.3:1.0[${MULTILIB_USEDEP}] ) + http? ( >=media-plugins/gst-plugins-soup-1.2.3:1.0[${MULTILIB_USEDEP}] ) + jack? ( >=media-plugins/gst-plugins-jack-1.2.3:1.0[${MULTILIB_USEDEP}] ) + lame? ( >=media-plugins/gst-plugins-lame-1.2.3:1.0[${MULTILIB_USEDEP}] ) + libass? ( >=media-plugins/gst-plugins-assrender-1.2.3:1.0[${MULTILIB_USEDEP}] ) + libvisual? ( >=media-plugins/gst-plugins-libvisual-1.2.3:1.0[${MULTILIB_USEDEP}] ) + mms? ( >=media-plugins/gst-plugins-libmms-1.2.3:1.0[${MULTILIB_USEDEP}] ) + mp3? ( + >=media-libs/gst-plugins-ugly-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + mpeg? ( >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + opus? ( >=media-plugins/gst-plugins-opus-1.2.3:1.0[${MULTILIB_USEDEP}] ) + oss? ( >=media-plugins/gst-plugins-oss-1.2.3:1.0[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-plugins/gst-plugins-pulse-1.2.3:1.0[${MULTILIB_USEDEP}] ) + taglib? ( >=media-plugins/gst-plugins-taglib-1.2.3:1.0[${MULTILIB_USEDEP}] ) + v4l? ( >=media-plugins/gst-plugins-v4l2-1.2.3:1.0[${MULTILIB_USEDEP}] ) + vcd? ( + >=media-plugins/gst-plugins-mplex-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + vpx? ( >=media-plugins/gst-plugins-vpx-1.2.3:1.0[${MULTILIB_USEDEP}] ) + wavpack? ( >=media-plugins/gst-plugins-wavpack-1.2.3:1.0[${MULTILIB_USEDEP}] ) + x264? ( >=media-plugins/gst-plugins-x264-1.2.3:1.0[${MULTILIB_USEDEP}] )" + +# Usage note: +# The idea is that apps depend on this for optional gstreamer plugins. Then, +# when USE flags change, no app gets rebuilt, and all apps that can make use of +# the new plugin automatically do. + +# When adding deps here, make sure the keywords on the gst-plugin are valid. diff --git a/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r3.ebuild b/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r3.ebuild new file mode 100644 index 000000000000..3dfe78ffbd03 --- /dev/null +++ b/media-plugins/gst-plugins-meta/gst-plugins-meta-1.0-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib-build + +DESCRIPTION="Meta ebuild to pull in gst plugins for apps" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="metapackage" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="aac a52 alsa cdda dts dv dvb dvd ffmpeg flac http jack lame libass libvisual mms mp3 modplug mpeg ogg opus oss pulseaudio taglib theora v4l vaapi vcd vorbis vpx wavpack X x264" +REQUIRED_USE="opus? ( ogg ) theora? ( ogg ) vorbis? ( ogg )" + +RDEPEND=" + >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[alsa?,ogg?,theora?,vorbis?,X?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-1.2.3:1.0[${MULTILIB_USEDEP}] + a52? ( >=media-plugins/gst-plugins-a52dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + aac? ( >=media-plugins/gst-plugins-faad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + cdda? ( || ( + >=media-plugins/gst-plugins-cdparanoia-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-cdio-1.2.3:1.0[${MULTILIB_USEDEP}] ) ) + dts? ( >=media-plugins/gst-plugins-dts-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dv? ( >=media-plugins/gst-plugins-dv-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dvb? ( + >=media-plugins/gst-plugins-dvb-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-bad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + dvd? ( + >=media-libs/gst-plugins-ugly-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-a52dec-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-dvdread-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-resindvd-1.2.3:1.0[${MULTILIB_USEDEP}] ) + ffmpeg? ( >=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0[${MULTILIB_USEDEP}] ) + flac? ( >=media-plugins/gst-plugins-flac-1.2.3:1.0[${MULTILIB_USEDEP}] ) + http? ( >=media-plugins/gst-plugins-soup-1.2.3:1.0[${MULTILIB_USEDEP}] ) + jack? ( >=media-plugins/gst-plugins-jack-1.2.3:1.0[${MULTILIB_USEDEP}] ) + lame? ( >=media-plugins/gst-plugins-lame-1.2.3:1.0[${MULTILIB_USEDEP}] ) + libass? ( >=media-plugins/gst-plugins-assrender-1.2.3:1.0[${MULTILIB_USEDEP}] ) + libvisual? ( >=media-plugins/gst-plugins-libvisual-1.2.3:1.0[${MULTILIB_USEDEP}] ) + mms? ( >=media-plugins/gst-plugins-libmms-1.2.3:1.0[${MULTILIB_USEDEP}] ) + modplug? ( >=media-plugins/gst-plugins-modplug-1.2.4-r1:1.0[${MULTILIB_USEDEP}] ) + mp3? ( + >=media-libs/gst-plugins-ugly-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mad-1.2.3:1.0[${MULTILIB_USEDEP}] ) + mpeg? ( >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + opus? ( >=media-plugins/gst-plugins-opus-1.2.3:1.0[${MULTILIB_USEDEP}] ) + oss? ( >=media-plugins/gst-plugins-oss-1.2.3:1.0[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-plugins/gst-plugins-pulse-1.2.3:1.0[${MULTILIB_USEDEP}] ) + taglib? ( >=media-plugins/gst-plugins-taglib-1.2.3:1.0[${MULTILIB_USEDEP}] ) + v4l? ( >=media-plugins/gst-plugins-v4l2-1.2.3:1.0[${MULTILIB_USEDEP}] ) + vaapi? ( >=media-plugins/gst-plugins-vaapi-0.5.8-r1:1.0[${MULTILIB_USEDEP}] ) + vcd? ( + >=media-plugins/gst-plugins-mplex-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-mpeg2dec-1.2.3:1.0[${MULTILIB_USEDEP}] ) + vpx? ( >=media-plugins/gst-plugins-vpx-1.2.3:1.0[${MULTILIB_USEDEP}] ) + wavpack? ( >=media-plugins/gst-plugins-wavpack-1.2.3:1.0[${MULTILIB_USEDEP}] ) + x264? ( >=media-plugins/gst-plugins-x264-1.2.3:1.0[${MULTILIB_USEDEP}] ) +" + +# Usage note: +# The idea is that apps depend on this for optional gstreamer plugins. Then, +# when USE flags change, no app gets rebuilt, and all apps that can make use of +# the new plugin automatically do. + +# When adding deps here, make sure the keywords on the gst-plugin are valid. diff --git a/media-plugins/gst-plugins-meta/metadata.xml b/media-plugins/gst-plugins-meta/metadata.xml new file mode 100644 index 000000000000..60872e412ed6 --- /dev/null +++ b/media-plugins/gst-plugins-meta/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<herd>gstreamer</herd> +<longdescription lang="en"> +This package pulls in various gstreamer plugins based on USE flags. It's +intended to be used as a runtime-depend for apps that need various gstreamer +plugins. This will allow USE flags to be changed without re-compiling apps, +since gstreamer plugins are all run-time dependencies. +</longdescription> +<use> + <flag name='http'>Enable http streaming via <pkg>net-libs/libsoup</pkg></flag> + <flag name='opus'>Enable Opus audio codec support</flag> + <flag name='libvisual'>Enable visualization effects via + <pkg>media-libs/libvisual</pkg></flag> + <flag name='vpx'>Enables vp8 codec support using libvpx, required to + play some HTML5 videos</flag> +</use> +</pkgmetadata> + diff --git a/media-plugins/gst-plugins-mimic/Manifest b/media-plugins/gst-plugins-mimic/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-mimic/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-mimic/gst-plugins-mimic-0.10.23-r1.ebuild b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-0.10.23-r1.ebuild new file mode 100644 index 000000000000..c98b365085e5 --- /dev/null +++ b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the MIMIC codec" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmimic-1.0.4-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.2.4-r1.ebuild b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.2.4-r1.ebuild new file mode 100644 index 000000000000..93b9808f1ebd --- /dev/null +++ b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the MIMIC codec" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmimic-1.0.4-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.4.5.ebuild b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.4.5.ebuild new file mode 100644 index 000000000000..2559b65fe5fb --- /dev/null +++ b/media-plugins/gst-plugins-mimic/gst-plugins-mimic-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the MIMIC codec" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libmimic-1.0.4-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mimic/metadata.xml b/media-plugins/gst-plugins-mimic/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-mimic/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-modplug/Manifest b/media-plugins/gst-plugins-modplug/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-modplug/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-modplug/files/gst-plugins-modplug-0.10.23-include-header.patch b/media-plugins/gst-plugins-modplug/files/gst-plugins-modplug-0.10.23-include-header.patch new file mode 100644 index 000000000000..86d69ea42f5f --- /dev/null +++ b/media-plugins/gst-plugins-modplug/files/gst-plugins-modplug-0.10.23-include-header.patch @@ -0,0 +1,29 @@ +From fd4cb22ae42b146e327b12aa0507b59520ba1db2 Mon Sep 17 00:00:00 2001 +From: Iain Lane <iain.lane@canonical.com> +Date: Tue, 10 Sep 2013 08:48:32 +0000 +Subject: [PATCH] modplug: Specify directory when including stdafx.h + +modplug stopped exposing their directory in their pcfile, meaining +consumers accessing the headers directly fail to build. + +http://sourceforge.net/p/modplug-xmms/git/ci/75e9b166982ed637b59ef7cbc1835a09f768923e/ +--- + ext/modplug/gstmodplug.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc +index 47154cf..a968c4a 100644 +--- a/ext/modplug/gstmodplug.cc ++++ b/ext/modplug/gstmodplug.cc +@@ -54,7 +54,7 @@ + #define WORDS_BIGENDIAN 0 + #endif + +-#include <stdafx.h> ++#include <libmodplug/stdafx.h> + #include <libmodplug/sndfile.h> + + #include "gstmodplug.h" +-- +1.8.5.3 + diff --git a/media-plugins/gst-plugins-modplug/gst-plugins-modplug-0.10.23-r1.ebuild b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-0.10.23-r1.ebuild new file mode 100644 index 000000000000..e37070581cfa --- /dev/null +++ b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-0.10.23-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="~alpha amd64 hppa ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # modplug: Specify directory when including stdafx.h, bug #532558 + epatch "${FILESDIR}"/${PN}-0.10.23-include-header.patch +} diff --git a/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.2.4-r1.ebuild b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.2.4-r1.ebuild new file mode 100644 index 000000000000..805f0ad3a71d --- /dev/null +++ b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="~alpha amd64 ~hppa ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.4.5.ebuild b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.4.5.ebuild new file mode 100644 index 000000000000..1f8d40cfbb44 --- /dev/null +++ b/media-plugins/gst-plugins-modplug/gst-plugins-modplug-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="~alpha amd64 hppa ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-modplug/metadata.xml b/media-plugins/gst-plugins-modplug/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-modplug/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-mpeg2dec/Manifest b/media-plugins/gst-plugins-mpeg2dec/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2dec/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-0.10.19-r1.ebuild b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-0.10.19-r1.ebuild new file mode 100644 index 000000000000..db00ed8bb466 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-0.10.19-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +DESCRIPTION="Libmpeg2 based decoder plug-in for gstreamer" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmpeg2-0.5.1-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.2.4-r1.ebuild b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.2.4-r1.ebuild new file mode 100644 index 000000000000..db00ed8bb466 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +DESCRIPTION="Libmpeg2 based decoder plug-in for gstreamer" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmpeg2-0.5.1-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.4.5.ebuild b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.4.5.ebuild new file mode 100644 index 000000000000..e521e1383e4e --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2dec/gst-plugins-mpeg2dec-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +DESCRIPTION="Libmpeg2 based decoder plug-in for gstreamer" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libmpeg2-0.5.1-r2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2dec/metadata.xml b/media-plugins/gst-plugins-mpeg2dec/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2dec/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-mpeg2enc/Manifest b/media-plugins/gst-plugins-mpeg2enc/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2enc/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-0.10.23-r1.ebuild b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-0.10.23-r1.ebuild new file mode 100644 index 000000000000..a2f99d8b2379 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.2.4-r1.ebuild b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.2.4-r1.ebuild new file mode 100644 index 000000000000..a2f99d8b2379 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.4.5.ebuild b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.4.5.ebuild new file mode 100644 index 000000000000..db4044f5b87f --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2enc/gst-plugins-mpeg2enc-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mpeg2enc/metadata.xml b/media-plugins/gst-plugins-mpeg2enc/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-mpeg2enc/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-mplex/Manifest b/media-plugins/gst-plugins-mplex/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-mplex/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-mplex/gst-plugins-mplex-0.10.23-r1.ebuild b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-0.10.23-r1.ebuild new file mode 100644 index 000000000000..ab6e0a4b1d04 --- /dev/null +++ b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG/DVD/SVCD/VCD video/audio multiplexing" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.2.4-r1.ebuild b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.2.4-r1.ebuild new file mode 100644 index 000000000000..da528d892afb --- /dev/null +++ b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG/DVD/SVCD/VCD video/audio multiplexing" +KEYWORDS="alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.4.5.ebuild b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.4.5.ebuild new file mode 100644 index 000000000000..f9542ed179c3 --- /dev/null +++ b/media-plugins/gst-plugins-mplex/gst-plugins-mplex-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for MPEG/DVD/SVCD/VCD video/audio multiplexing" +KEYWORDS="alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-video/mjpegtools-2.1.0-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-mplex/metadata.xml b/media-plugins/gst-plugins-mplex/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-mplex/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-musepack/Manifest b/media-plugins/gst-plugins-musepack/Manifest new file mode 100644 index 000000000000..68a5b6554301 --- /dev/null +++ b/media-plugins/gst-plugins-musepack/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c diff --git a/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23-r1.ebuild b/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23-r1.ebuild new file mode 100644 index 000000000000..7dec009d7402 --- /dev/null +++ b/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-sound/musepack-tools-465-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23.ebuild b/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23.ebuild new file mode 100644 index 000000000000..8beb43657ba2 --- /dev/null +++ b/media-plugins/gst-plugins-musepack/gst-plugins-musepack-0.10.23.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-interix ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-sound/musepack-tools-444" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-musepack/metadata.xml b/media-plugins/gst-plugins-musepack/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-musepack/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-neon/Manifest b/media-plugins/gst-plugins-neon/Manifest new file mode 100644 index 000000000000..bbdabccf01cf --- /dev/null +++ b/media-plugins/gst-plugins-neon/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.3.tar.xz 3281880 SHA256 595d7911a9e6207dea37200587724bdbf841b81a5eb0730118be36976684278c SHA512 6b2715ab455acbc215b88fdbdfd1ebdd5ebd89b1dbcd15b289df416f4b09e53e2bef51bc69c26c830d5743161738675ae89db4ff11b72d29797a2d084ebc142f WHIRLPOOL 93245288a7f5e4686cff87188ccf3bd2bfa5fccc2155ceefb1114a52eef607460449b7e8ac1cdc6351b488b0272f8ca506c558766930f3165c9cc42d4609b7ab +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c diff --git a/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23-r1.ebuild b/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23-r1.ebuild new file mode 100644 index 000000000000..e05b8adc1406 --- /dev/null +++ b/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=net-libs/neon-0.30.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # Allow building with neon-0.30 and avoid eautoreconf + # https://bugzilla.gnome.org/show_bug.cgi?id=705812 + sed -e 's#neon <= 0.29.99#neon <= 0.30.99#' -i configure{.ac,} || die +} diff --git a/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23.ebuild b/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23.ebuild new file mode 100644 index 000000000000..9227fafef1af --- /dev/null +++ b/media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.23.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=net-libs/neon-0.27" +DEPEND="${RDEPEND}" + +src_prepare() { + # Allow building with neon-0.30 and avoid eautoreconf + # https://bugzilla.gnome.org/show_bug.cgi?id=705812 + sed -e 's#neon <= 0.29.99#neon <= 0.30.99#' -i configure{.ac,} || die +} diff --git a/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.3.ebuild b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.3.ebuild new file mode 100644 index 000000000000..2675e89f9f0d --- /dev/null +++ b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.3.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=net-libs/neon-0.27" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4-r1.ebuild b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ad8986b7637c --- /dev/null +++ b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=net-libs/neon-0.30.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4.ebuild b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4.ebuild new file mode 100644 index 000000000000..7a45f325662e --- /dev/null +++ b/media-plugins/gst-plugins-neon/gst-plugins-neon-1.2.4.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=net-libs/neon-0.27" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-neon/metadata.xml b/media-plugins/gst-plugins-neon/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-neon/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ofa/Manifest b/media-plugins/gst-plugins-ofa/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-ofa/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-ofa/gst-plugins-ofa-0.10.23-r1.ebuild b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-0.10.23-r1.ebuild new file mode 100644 index 000000000000..69d681841e38 --- /dev/null +++ b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-0.10.23-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libofa-0.9.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.2.4-r1.ebuild b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.2.4-r1.ebuild new file mode 100644 index 000000000000..69d681841e38 --- /dev/null +++ b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libofa-0.9.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.4.5.ebuild b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.4.5.ebuild new file mode 100644 index 000000000000..b1c83180bcfa --- /dev/null +++ b/media-plugins/gst-plugins-ofa/gst-plugins-ofa-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=media-libs/libofa-0.9.3-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-ofa/metadata.xml b/media-plugins/gst-plugins-ofa/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-ofa/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ogg/Manifest b/media-plugins/gst-plugins-ogg/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-ogg/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36-r1.ebuild b/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36-r1.ebuild new file mode 100644 index 000000000000..4619b2f0a75f --- /dev/null +++ b/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/riff:gstreamer-riff \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36.ebuild b/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36.ebuild new file mode 100644 index 000000000000..1cdfc5053e86 --- /dev/null +++ b/media-plugins/gst-plugins-ogg/gst-plugins-ogg-0.10.36.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=media-libs/libogg-1" +DEPEND="${RDEPEND}" + +src_prepare() { + gst-plugins10_system_link \ + gst-libs/gst/riff:gstreamer-riff \ + gst-libs/gst/tag:gstreamer-tag +} diff --git a/media-plugins/gst-plugins-ogg/metadata.xml b/media-plugins/gst-plugins-ogg/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-ogg/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-opus/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-0.10.23-r1.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-0.10.23-r1.ebuild new file mode 100644 index 000000000000..4fb9a29706bb --- /dev/null +++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-0.10.23-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for Opus audio codec support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +COMMON_DEPEND=">=media-libs/opus-1.0.2-r2:=[${MULTILIB_USEDEP}]" +RDEPEND="${COMMON_DEPEND} + media-plugins/gst-plugins-ogg:${SLOT}[${MULTILIB_USEDEP}]" +DEPEND="${COMMON_DEPEND}" diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.2.4-r1.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.2.4-r1.ebuild new file mode 100644 index 000000000000..b2dbf687c3bb --- /dev/null +++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.2.4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for Opus audio codec support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +COMMON_DEPEND=">=media-libs/opus-1.0.2-r2:=[${MULTILIB_USEDEP}]" +RDEPEND="${COMMON_DEPEND} + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP},ogg]" +DEPEND="${COMMON_DEPEND}" diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.4.5.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.4.5.ebuild new file mode 100644 index 000000000000..a536c17a5663 --- /dev/null +++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.4.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for Opus audio codec support" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +COMMON_DEPEND=">=media-libs/opus-1.0.2-r2:=[${MULTILIB_USEDEP}]" + +RDEPEND="${COMMON_DEPEND} + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP},ogg] +" +DEPEND="${COMMON_DEPEND}" diff --git a/media-plugins/gst-plugins-opus/metadata.xml b/media-plugins/gst-plugins-opus/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-opus/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-oss/Manifest b/media-plugins/gst-plugins-oss/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-oss/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31-r1.ebuild b/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31-r1.ebuild new file mode 100644 index 000000000000..cd898bfc677d --- /dev/null +++ b/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for OSS (Open Sound System) support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" diff --git a/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31.ebuild b/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31.ebuild new file mode 100644 index 000000000000..413356ec8444 --- /dev/null +++ b/media-plugins/gst-plugins-oss/gst-plugins-oss-0.10.31.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-good + +DESCRIPTION="GStreamer plugin for OSS (Open Sound System) support" +KEYWORDS="sh" +IUSE="" + +DEPEND="virtual/os-headers" diff --git a/media-plugins/gst-plugins-oss/gst-plugins-oss-1.2.4-r1.ebuild b/media-plugins/gst-plugins-oss/gst-plugins-oss-1.2.4-r1.ebuild new file mode 100644 index 000000000000..cd898bfc677d --- /dev/null +++ b/media-plugins/gst-plugins-oss/gst-plugins-oss-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for OSS (Open Sound System) support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" diff --git a/media-plugins/gst-plugins-oss/gst-plugins-oss-1.4.5.ebuild b/media-plugins/gst-plugins-oss/gst-plugins-oss-1.4.5.ebuild new file mode 100644 index 000000000000..bda86f12ccba --- /dev/null +++ b/media-plugins/gst-plugins-oss/gst-plugins-oss-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for OSS (Open Sound System) support" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd" +IUSE="" + +RDEPEND="" +DEPEND="virtual/os-headers" diff --git a/media-plugins/gst-plugins-oss/metadata.xml b/media-plugins/gst-plugins-oss/metadata.xml new file mode 100644 index 000000000000..9963cbaa1c79 --- /dev/null +++ b/media-plugins/gst-plugins-oss/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for OSS (Open Sound System) support + + Includes the following elements: + * osssink - Output to a sound card via OSS + * osssrc - Capture from a sound card via OSS +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-pango/Manifest b/media-plugins/gst-plugins-pango/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-pango/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36-r1.ebuild b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36-r1.ebuild new file mode 100644 index 000000000000..c932d460e7f7 --- /dev/null +++ b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36.ebuild b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36.ebuild new file mode 100644 index 000000000000..f77e83061913 --- /dev/null +++ b/media-plugins/gst-plugins-pango/gst-plugins-pango-0.10.36.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/pango-1.16" +DEPEND="${RDEPEND}" + +src_prepare() { + gst-plugins10_system_link gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-pango/metadata.xml b/media-plugins/gst-plugins-pango/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-pango/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-pulse/Manifest b/media-plugins/gst-plugins-pulse/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-pulse/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-pulse/gst-plugins-pulse-0.10.31-r1.ebuild b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-0.10.31-r1.ebuild new file mode 100644 index 000000000000..156ed83123a8 --- /dev/null +++ b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the PulseAudio sound server" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86" +IUSE="" + +RDEPEND=">=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.2.4-r1.ebuild b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.2.4-r1.ebuild new file mode 100644 index 000000000000..156ed83123a8 --- /dev/null +++ b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the PulseAudio sound server" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86" +IUSE="" + +RDEPEND=">=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.4.5.ebuild b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.4.5.ebuild new file mode 100644 index 000000000000..ebfcadf85ba1 --- /dev/null +++ b/media-plugins/gst-plugins-pulse/gst-plugins-pulse-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for the PulseAudio sound server" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86" +IUSE="" + +RDEPEND=">=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-pulse/metadata.xml b/media-plugins/gst-plugins-pulse/metadata.xml new file mode 100644 index 000000000000..ff5f11a5837d --- /dev/null +++ b/media-plugins/gst-plugins-pulse/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for the PulseAudio sound server. + + Includes the following elements: + * pulsesink - Plays audio to a PulseAudio server + * pulsesrc - Captures audio from a PulseAudio server + + Includes the following device providers (since 1.4): + * pulsedeviceprovider - PulseAudio Device Provider +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-raw1394/Manifest b/media-plugins/gst-plugins-raw1394/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-raw1394/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-0.10.31-r1.ebuild b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-0.10.31-r1.ebuild new file mode 100644 index 000000000000..21bf9282e88a --- /dev/null +++ b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-0.10.31-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to capture firewire video" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="dv1394" +GST_PLUGINS_BUILD_DIR="raw1394" diff --git a/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.2.4-r1.ebuild b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.2.4-r1.ebuild new file mode 100644 index 000000000000..21bf9282e88a --- /dev/null +++ b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.2.4-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to capture firewire video" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="dv1394" +GST_PLUGINS_BUILD_DIR="raw1394" diff --git a/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.4.5.ebuild b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.4.5.ebuild new file mode 100644 index 000000000000..32e90908083e --- /dev/null +++ b/media-plugins/gst-plugins-raw1394/gst-plugins-raw1394-1.4.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to capture firewire video" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] + >=sys-libs/libavc1394-0.5.4-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="dv1394" +GST_PLUGINS_BUILD_DIR="raw1394" diff --git a/media-plugins/gst-plugins-raw1394/metadata.xml b/media-plugins/gst-plugins-raw1394/metadata.xml new file mode 100644 index 000000000000..74db661655fa --- /dev/null +++ b/media-plugins/gst-plugins-raw1394/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for capturing video source via firewire (IEEE1394 interface). + + Includes the following elements: + * hdv1394src - Source for MPEG-TS video data from firewire port + * dv1394src - Source for DV video data from firewire port +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-resindvd/Manifest b/media-plugins/gst-plugins-resindvd/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-resindvd/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-0.10.23-r1.ebuild b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-0.10.23-r1.ebuild new file mode 100644 index 000000000000..bd2a933bacd1 --- /dev/null +++ b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-0.10.23-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=" + >=media-libs/libdvdnav-4.2.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.2.4-r1.ebuild b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.2.4-r1.ebuild new file mode 100644 index 000000000000..96cc171845e8 --- /dev/null +++ b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.2.4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=" + >=media-libs/libdvdnav-4.2.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.4.5.ebuild b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.4.5.ebuild new file mode 100644 index 000000000000..1b22d75b4369 --- /dev/null +++ b/media-plugins/gst-plugins-resindvd/gst-plugins-resindvd-1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=" + >=media-libs/libdvdnav-4.2.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libdvdread-4.2.0-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-resindvd/metadata.xml b/media-plugins/gst-plugins-resindvd/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-resindvd/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-rtmp/Manifest b/media-plugins/gst-plugins-rtmp/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-rtmp/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-0.10.23-r1.ebuild b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-0.10.23-r1.ebuild new file mode 100644 index 000000000000..dd748c488214 --- /dev/null +++ b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for supporting RTMP sources" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.2.4-r1.ebuild b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.2.4-r1.ebuild new file mode 100644 index 000000000000..dd748c488214 --- /dev/null +++ b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for supporting RTMP sources" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.4.5.ebuild b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.4.5.ebuild new file mode 100644 index 000000000000..33812a20b262 --- /dev/null +++ b/media-plugins/gst-plugins-rtmp/gst-plugins-rtmp-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for supporting RTMP sources" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-rtmp/metadata.xml b/media-plugins/gst-plugins-rtmp/metadata.xml new file mode 100644 index 000000000000..e0cf080599cb --- /dev/null +++ b/media-plugins/gst-plugins-rtmp/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for reading RTMP streams. + + Includes the following elements: + * rtmpsrc - Read RTMP streams +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-schroedinger/Manifest b/media-plugins/gst-plugins-schroedinger/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-schroedinger/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-0.10.23-r1.ebuild b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-0.10.23-r1.ebuild new file mode 100644 index 000000000000..b80d6eb4c4a6 --- /dev/null +++ b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-0.10.23-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="schro" +GST_PLUGINS_BUILD_DIR="schroedinger" + +src_prepare() { + local pdir=$(gstreamer_get_plugin_dir) + # gstbasevideo has no .pc + sed -e "s:\$(top_builddir)/gst-libs/gst/video/.*\.la:-lgstbasevideo-${SLOT}:" \ + -i "${pdir}"/Makefile.{am,in} || die +} diff --git a/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.2.4-r1.ebuild b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.2.4-r1.ebuild new file mode 100644 index 000000000000..3a0ca6a4964d --- /dev/null +++ b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.2.4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="schro" +GST_PLUGINS_BUILD_DIR="schroedinger" diff --git a/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.4.5.ebuild b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.4.5.ebuild new file mode 100644 index 000000000000..6987d3e46655 --- /dev/null +++ b/media-plugins/gst-plugins-schroedinger/gst-plugins-schroedinger-1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +GST_PLUGINS_BUILD="schro" +GST_PLUGINS_BUILD_DIR="schroedinger" diff --git a/media-plugins/gst-plugins-schroedinger/metadata.xml b/media-plugins/gst-plugins-schroedinger/metadata.xml new file mode 100644 index 000000000000..dec0396a21e7 --- /dev/null +++ b/media-plugins/gst-plugins-schroedinger/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-shout2/Manifest b/media-plugins/gst-plugins-shout2/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-shout2/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31-r1.ebuild b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31-r1.ebuild new file mode 100644 index 000000000000..95d4e6d381e2 --- /dev/null +++ b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to send data to an icecast server" +KEYWORDS="alpha amd64 ppc ppc64 ~sh x86" +IUSE="" + +RDEPEND=">=media-libs/libshout-2.3.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31.ebuild b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31.ebuild new file mode 100644 index 000000000000..e297b4dd5615 --- /dev/null +++ b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-0.10.31.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-good + +DESCRIPTION="GStreamer plugin to send data to an icecast server" +KEYWORDS="sh" +IUSE="" + +RDEPEND=">=media-libs/libshout-2" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.2.4-r1.ebuild b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ece19bc08ea1 --- /dev/null +++ b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to send data to an icecast server" +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/libshout-2.3.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.4.5.ebuild b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.4.5.ebuild new file mode 100644 index 000000000000..d83637b7be52 --- /dev/null +++ b/media-plugins/gst-plugins-shout2/gst-plugins-shout2-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to send data to an icecast server" +KEYWORDS="alpha amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/libshout-2.3.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-shout2/metadata.xml b/media-plugins/gst-plugins-shout2/metadata.xml new file mode 100644 index 000000000000..fd4056976fa0 --- /dev/null +++ b/media-plugins/gst-plugins-shout2/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for sending data to an icecast server using libshout2 + + Includes the following element: + * shout2send: Sends data to an icecast server using libshout2 +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-sidplay/Manifest b/media-plugins/gst-plugins-sidplay/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-sidplay/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-0.10.19-r1.ebuild b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-0.10.19-r1.ebuild new file mode 100644 index 000000000000..89f46a3f2f6d --- /dev/null +++ b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-0.10.19-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libsidplay-1.36.59-r1:1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.2.4-r1.ebuild b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.2.4-r1.ebuild new file mode 100644 index 000000000000..89f46a3f2f6d --- /dev/null +++ b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libsidplay-1.36.59-r1:1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.4.5.ebuild b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.4.5.ebuild new file mode 100644 index 000000000000..bc89364c261d --- /dev/null +++ b/media-plugins/gst-plugins-sidplay/gst-plugins-sidplay-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-libs/libsidplay-1.36.59-r1:1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-sidplay/metadata.xml b/media-plugins/gst-plugins-sidplay/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-sidplay/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-smoothstreaming/Manifest b/media-plugins/gst-plugins-smoothstreaming/Manifest new file mode 100644 index 000000000000..a9a03522c82f --- /dev/null +++ b/media-plugins/gst-plugins-smoothstreaming/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.2.4-r1.ebuild b/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.2.4-r1.ebuild new file mode 100644 index 000000000000..2320bdbdeb63 --- /dev/null +++ b/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.2.4-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="Smooth Streaming plugin" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/codecparsers:gstreamer-codecparsers + #gst-libs/gst/uridownloader:gsturidownloader +} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.4.5.ebuild b/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.4.5.ebuild new file mode 100644 index 000000000000..3655a763df0b --- /dev/null +++ b/media-plugins/gst-plugins-smoothstreaming/gst-plugins-smoothstreaming-1.4.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="Smooth Streaming plugin" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +# FIXME: gsturidownloader does not have a .pc +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/codecparsers:gstreamer-codecparsers + #gst-libs/gst/uridownloader:gsturidownloader +} + +multilib_src_compile() { + emake -C gst-libs/gst/uridownloader + gstreamer_multilib_src_compile +} diff --git a/media-plugins/gst-plugins-smoothstreaming/metadata.xml b/media-plugins/gst-plugins-smoothstreaming/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-smoothstreaming/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-soundtouch/Manifest b/media-plugins/gst-plugins-soundtouch/Manifest new file mode 100644 index 000000000000..e3144f612be1 --- /dev/null +++ b/media-plugins/gst-plugins-soundtouch/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-0.10.23-r1.ebuild b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-0.10.23-r1.ebuild new file mode 100644 index 000000000000..9cdff9b963d3 --- /dev/null +++ b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer elements for beats-per-minute detection and pitch controlling" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/libsoundtouch-1.7.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.2.4-r1.ebuild b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.2.4-r1.ebuild new file mode 100644 index 000000000000..9cdff9b963d3 --- /dev/null +++ b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer elements for beats-per-minute detection and pitch controlling" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/libsoundtouch-1.7.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.4.5.ebuild b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.4.5.ebuild new file mode 100644 index 000000000000..5ee7c74e57b5 --- /dev/null +++ b/media-plugins/gst-plugins-soundtouch/gst-plugins-soundtouch-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer elements for beats-per-minute detection and pitch controlling" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/libsoundtouch-1.7.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soundtouch/metadata.xml b/media-plugins/gst-plugins-soundtouch/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-soundtouch/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-soup/Manifest b/media-plugins/gst-plugins-soup/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-soup/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r1.ebuild b/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r1.ebuild new file mode 100644 index 000000000000..96422fd52acc --- /dev/null +++ b/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for HTTP client sources" + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +# FIXME: automagic dependency on libsoup-gnome +RDEPEND=">=net-libs/libsoup-2.44.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soup/gst-plugins-soup-1.2.4-r1.ebuild b/media-plugins/gst-plugins-soup/gst-plugins-soup-1.2.4-r1.ebuild new file mode 100644 index 000000000000..911aebe04004 --- /dev/null +++ b/media-plugins/gst-plugins-soup/gst-plugins-soup-1.2.4-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for HTTP client source/sink" + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=net-libs/libsoup-2.44.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soup/gst-plugins-soup-1.4.5.ebuild b/media-plugins/gst-plugins-soup/gst-plugins-soup-1.4.5.ebuild new file mode 100644 index 000000000000..a1774208ede1 --- /dev/null +++ b/media-plugins/gst-plugins-soup/gst-plugins-soup-1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for HTTP client source/sink" + +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +# Depend on >=net-libs/libsoup-2.47.0 once it is stable (see LIBSOUP_DOES_NOT_STEAL_OUR_CONTEXT in ext/soup) +RDEPEND=">=net-libs/libsoup-2.44.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-soup/metadata.xml b/media-plugins/gst-plugins-soup/metadata.xml new file mode 100644 index 000000000000..61a5125250b1 --- /dev/null +++ b/media-plugins/gst-plugins-soup/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for HTTP client source/sink via net-libs/libsoup. + + Includes the following elements: + * souphttpsrc - Receive data as a client over the network via HTTP using SOUP + * souphttpclientsink - Sends streams to HTTP server via PUT +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-speex/Manifest b/media-plugins/gst-plugins-speex/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-speex/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-speex/gst-plugins-speex-0.10.31-r1.ebuild b/media-plugins/gst-plugins-speex/gst-plugins-speex-0.10.31-r1.ebuild new file mode 100644 index 000000000000..5f6ce9f39523 --- /dev/null +++ b/media-plugins/gst-plugins-speex/gst-plugins-speex-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to allow encoding and decoding of speex" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-speex/gst-plugins-speex-1.2.4-r1.ebuild b/media-plugins/gst-plugins-speex/gst-plugins-speex-1.2.4-r1.ebuild new file mode 100644 index 000000000000..5f6ce9f39523 --- /dev/null +++ b/media-plugins/gst-plugins-speex/gst-plugins-speex-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to allow encoding and decoding of speex" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-speex/gst-plugins-speex-1.4.5.ebuild b/media-plugins/gst-plugins-speex/gst-plugins-speex-1.4.5.ebuild new file mode 100644 index 000000000000..5cffc11410d6 --- /dev/null +++ b/media-plugins/gst-plugins-speex/gst-plugins-speex-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin to allow encoding and decoding of speex" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-speex/metadata.xml b/media-plugins/gst-plugins-speex/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-speex/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-taglib/Manifest b/media-plugins/gst-plugins-taglib/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-taglib/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-taglib/gst-plugins-taglib-0.10.31-r1.ebuild b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-0.10.31-r1.ebuild new file mode 100644 index 000000000000..ba874e6fa4f0 --- /dev/null +++ b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer taglib based tag handler" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/taglib-1.9.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.2.4-r1.ebuild b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.2.4-r1.ebuild new file mode 100644 index 000000000000..ba874e6fa4f0 --- /dev/null +++ b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer taglib based tag handler" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/taglib-1.9.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.4.5.ebuild b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.4.5.ebuild new file mode 100644 index 000000000000..7964ebea3ef6 --- /dev/null +++ b/media-plugins/gst-plugins-taglib/gst-plugins-taglib-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer taglib based tag handler" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/taglib-1.9.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-taglib/metadata.xml b/media-plugins/gst-plugins-taglib/metadata.xml new file mode 100644 index 000000000000..66221ace6e33 --- /dev/null +++ b/media-plugins/gst-plugins-taglib/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for tag writing based on taglib + + Includes the following elements: + * id3v2mux - TagLib-based ID3v2 Muxer + * apev2mux - TagLib-based APEv2 Muxer +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-theora/Manifest b/media-plugins/gst-plugins-theora/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-theora/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36-r1.ebuild b/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36-r1.ebuild new file mode 100644 index 000000000000..d0212bdc5627 --- /dev/null +++ b/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/tag:gstreamer-tag \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36.ebuild b/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36.ebuild new file mode 100644 index 000000000000..db456bc3884c --- /dev/null +++ b/media-plugins/gst-plugins-theora/gst-plugins-theora-0.10.36.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libtheora-1.1[encode] + media-libs/libogg" +DEPEND="${RDEPEND}" + +src_prepare() { + gst-plugins10_system_link \ + gst-libs/gst/tag:gstreamer-tag \ + gst-libs/gst/video:gstreamer-video +} diff --git a/media-plugins/gst-plugins-theora/metadata.xml b/media-plugins/gst-plugins-theora/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-theora/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-twolame/Manifest b/media-plugins/gst-plugins-twolame/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-twolame/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-twolame/gst-plugins-twolame-0.10.19-r1.ebuild b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-0.10.19-r1.ebuild new file mode 100644 index 000000000000..3e412e437c92 --- /dev/null +++ b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-0.10.19-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.2.4-r1.ebuild b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.2.4-r1.ebuild new file mode 100644 index 000000000000..3e412e437c92 --- /dev/null +++ b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.2.4-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.4.5.ebuild b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.4.5.ebuild new file mode 100644 index 000000000000..829aa8eae959 --- /dev/null +++ b/media-plugins/gst-plugins-twolame/gst-plugins-twolame-1.4.5.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-twolame/metadata.xml b/media-plugins/gst-plugins-twolame/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-twolame/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-v4l2/Manifest b/media-plugins/gst-plugins-v4l2/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch new file mode 100644 index 000000000000..919b19b7dc4b --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch @@ -0,0 +1,38 @@ +From 968a3dac9959c2a6ae4ff619535db15b37446ce4 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen <mclasen@redhat.com> +Date: Thu, 9 Aug 2012 08:35:23 +0100 +Subject: [PATCH] v4l2: fix build with recent kernels, the v4l2_buffer input + field was removed + +This was unused apparently and removed in the kernel in commit: + + From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001 + From: Sakari Ailus <sakari.ailus@iki.fi> + Date: Wed, 2 May 2012 09:40:03 -0300 + Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT + + Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which + tells the former is valid. The flag is used by no driver currently. + +https://bugzilla.gnome.org/show_bug.cgi?id=681491 + +[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.10.31] +--- + sys/v4l2/gstv4l2bufferpool.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index b81c6a4..51cc0ce 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/sys/v4l2/gstv4l2bufferpool.c +@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) + GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u", + ret->vbuffer.m.offset); + GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length); +- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); + + data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, + PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd, +-- +1.7.12.3 + diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch new file mode 100644 index 000000000000..25c25505449d --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch @@ -0,0 +1,25 @@ +From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Mon, 18 Mar 2013 14:59:35 +0000 +Subject: v4l2: fix compilation against newer kernel headers as on FC19 + +--- +diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c +index 07d390a..4c10f4f 100644 +--- a/sys/v4l2/v4l2_calls.c ++++ b/sys/v4l2/v4l2_calls.c +@@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) + break; + case V4L2_CID_HFLIP: + case V4L2_CID_VFLIP: ++#ifndef V4L2_CID_PAN_RESET + case V4L2_CID_HCENTER: ++#endif ++#ifndef V4L2_CID_TILT_RESET + case V4L2_CID_VCENTER: ++#endif + #ifdef V4L2_CID_PAN_RESET + case V4L2_CID_PAN_RESET: + #endif +-- +cgit v0.9.0.2-2-gbebe diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild new file mode 100644 index 000000000000..6f50d9f1c6bc --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit eutils gstreamer + +DESCRIPION="plugin to allow capture from video4linux2 devices" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-xvideo-${PV}:${SLOT}[${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers" + +GST_PLUGINS_BUILD="gst_v4l2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.6.patch #437012 + epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.9.patch #468618 +} + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild new file mode 100644 index 000000000000..9f18d045fafb --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPION="plugin to allow capture from video4linux2 devices" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild new file mode 100644 index 000000000000..1614098a199e --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer + +DESCRIPION="plugin to allow capture from video4linux2 devices" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="udev" + +RDEPEND=" + >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.4:1.0[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers +" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/metadata.xml b/media-plugins/gst-plugins-v4l2/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest new file mode 100644 index 000000000000..60140b1f479f --- /dev/null +++ b/media-plugins/gst-plugins-vaapi/Manifest @@ -0,0 +1 @@ +DIST gstreamer-vaapi-0.5.10.tar.bz2 1333822 SHA256 0dd236c7bf225322b8934fdba99a7a9e4542566a2acbe7564cdc3ec2c8b73c9d SHA512 bb0c2c29100f2edfdbf76d2de2a554b988779a9fc462788b537f08f6e62f0fdfaa7f12e4e4d49f1abf887533dcbd79bf0c734895bc73f5bc4b0bc3ba0ac07120 WHIRLPOOL 27350341e2899bd50aa8795bde505f4da78f23b9d1615e1a8706516ed482f7f2bae0db8f121b16a6163327cd2323f755b39b6605f16ea725dfabc766ee5ec74e diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.10.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.10.ebuild new file mode 100644 index 000000000000..35cc2207cae3 --- /dev/null +++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-0.5.10.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils multilib-minimal + +MY_PN="gstreamer-vaapi" +DESCRIPTION="Hardware accelerated video decoding through VA-API plugin" +HOMEPAGE="http://gitorious.org/vaapi/gstreamer-vaapi" +SRC_URI="http://www.freedesktop.org/software/vaapi/releases/${MY_PN}/${MY_PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="1.0" +KEYWORDS="~amd64" +IUSE="+X opengl wayland" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + media-libs/libvpx[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-bad-1.2.3:1.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + >=x11-libs/libva-1.4.0[X?,opengl?,wayland?,${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=virtual/libudev-208:=[${MULTILIB_USEDEP}] + wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +S="${WORKDIR}/${MY_PN}-${PV}" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --enable-builtin-libvpx=no \ + --disable-static \ + --enable-drm \ + $(use_enable opengl glx) \ + $(use_enable wayland) \ + $(use_enable X x11) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} diff --git a/media-plugins/gst-plugins-vaapi/metadata.xml b/media-plugins/gst-plugins-vaapi/metadata.xml new file mode 100644 index 000000000000..ca8b22bc6ce1 --- /dev/null +++ b/media-plugins/gst-plugins-vaapi/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>gstreamer</herd> + <upstream> + <remote-id type="gitorious">vaapi/gstreamer-vaapi</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-voaacenc/Manifest b/media-plugins/gst-plugins-voaacenc/Manifest new file mode 100644 index 000000000000..a9a03522c82f --- /dev/null +++ b/media-plugins/gst-plugins-voaacenc/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.2.4-r1.ebuild b/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.2.4-r1.ebuild new file mode 100644 index 000000000000..671724336682 --- /dev/null +++ b/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for encoding AAC" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.4.5.ebuild b/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.4.5.ebuild new file mode 100644 index 000000000000..4d293d1afe1a --- /dev/null +++ b/media-plugins/gst-plugins-voaacenc/gst-plugins-voaacenc-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for encoding AAC" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-voaacenc/metadata.xml b/media-plugins/gst-plugins-voaacenc/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-voaacenc/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-voamrwbenc/Manifest b/media-plugins/gst-plugins-voamrwbenc/Manifest new file mode 100644 index 000000000000..a9a03522c82f --- /dev/null +++ b/media-plugins/gst-plugins-voamrwbenc/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-bad-1.2.4.tar.xz 3272824 SHA256 984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca SHA512 4344dedb899cdc0e3bf36a3b5dd36c6091e2e2f2a7440e3831cebbd9b4463f89cc4bc2d589b0c2c806bcaeb1864a49b3c9e0e3bedc051f1f46e09a8f131f0aa9 WHIRLPOOL 98bce50e7018d7c8d442bf8c7f26f14bd719a8af5af0fde39841c4282a9e4edfeefe06ab10797826cf9b876e173dafcf2e2df86408c373e6c4d8902072cf393c +DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7 diff --git a/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.2.4-r1.ebuild b/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.2.4-r1.ebuild new file mode 100644 index 000000000000..c1e1e86b1e24 --- /dev/null +++ b/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for encoding AMR-WB" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.4.5.ebuild b/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.4.5.ebuild new file mode 100644 index 000000000000..ac6c15da2944 --- /dev/null +++ b/media-plugins/gst-plugins-voamrwbenc/gst-plugins-voamrwbenc-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-bad + +inherit gstreamer + +DESCRIPTION="GStreamer plugin for encoding AMR-WB" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-voamrwbenc/metadata.xml b/media-plugins/gst-plugins-voamrwbenc/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-voamrwbenc/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-vorbis/Manifest b/media-plugins/gst-plugins-vorbis/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-vorbis/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36-r1.ebuild b/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36-r1.ebuild new file mode 100644 index 000000000000..594037595edb --- /dev/null +++ b/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer libtool + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + gstreamer_system_link \ + gst-libs/gst/tag:gstreamer-tag \ + gst-libs/gst/audio:gstreamer-audio + + elibtoolize # for Darwin bundles +} diff --git a/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36.ebuild b/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36.ebuild new file mode 100644 index 000000000000..79d23d144e53 --- /dev/null +++ b/media-plugins/gst-plugins-vorbis/gst-plugins-vorbis-0.10.36.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 libtool + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=">=media-libs/libvorbis-1 + >=media-libs/libogg-1" +DEPEND="${RDEPEND}" + +src_prepare() { + gst-plugins10_system_link \ + gst-libs/gst/tag:gstreamer-tag \ + gst-libs/gst/audio:gstreamer-audio + + elibtoolize # for Darwin bundles +} diff --git a/media-plugins/gst-plugins-vorbis/metadata.xml b/media-plugins/gst-plugins-vorbis/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-vorbis/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-vp8/Manifest b/media-plugins/gst-plugins-vp8/Manifest new file mode 100644 index 000000000000..68a5b6554301 --- /dev/null +++ b/media-plugins/gst-plugins-vp8/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c diff --git a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch new file mode 100644 index 000000000000..599ec08a188d --- /dev/null +++ b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-drop-vpx-compat-defines.patch @@ -0,0 +1,27 @@ +diff -up gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h.drop-compat-defines gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h +--- gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h.drop-compat-defines 2015-04-07 09:28:01.637679239 -0400 ++++ gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h 2015-04-07 09:28:10.397622550 -0400 +@@ -25,23 +25,6 @@ + + G_BEGIN_DECLS + +-/* Some compatibility defines for older libvpx versions */ +-#ifndef VPX_IMG_FMT_I420 +-#define VPX_IMG_FMT_I420 IMG_FMT_I420 +-#endif +- +-#ifndef VPX_PLANE_Y +-#define VPX_PLANE_Y PLANE_Y +-#endif +- +-#ifndef VPX_PLANE_U +-#define VPX_PLANE_U PLANE_U +-#endif +- +-#ifndef VPX_PLANE_V +-#define VPX_PLANE_V PLANE_V +-#endif +- + const char * gst_vpx_error_name (vpx_codec_err_t status); + + G_END_DECLS diff --git a/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch new file mode 100644 index 000000000000..fd26db8c2ab7 --- /dev/null +++ b/media-plugins/gst-plugins-vp8/files/gst-plugins-vp8-0.10.23-libvpx-1.1.patch @@ -0,0 +1,46 @@ +From 7e51c854b28f68e434523b83cd4bd76ea18aab54 Mon Sep 17 00:00:00 2001 +From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> +Date: Fri, 18 May 2012 12:46:55 +0100 +Subject: [PATCH] vp8enc: fix target bitrate config with libvpx 1.1.0 + +libvpx 1.1.0 disallows a bitrate of 0, which was used by +vp8enc as a default value. + +Instead, we use the default libvpx bitrate, scaled to our +video size, if no bitrate was specified. + +This fixes encoding VP8 video with libvpx 1.1.0. + +https://bugzilla.gnome.org/show_bug.cgi?id=676245 + +[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.10.23] +--- + ext/vp8/gstvp8enc.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c +index b1f06e0..123d4dd 100644 +--- a/ext/vp8/gstvp8enc.c ++++ b/ext/vp8/gstvp8enc.c +@@ -732,6 +732,10 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, + return FALSE; + } + ++ /* Scale default bitrate to our size */ ++ cfg.rc_target_bitrate = gst_util_uint64_scale (cfg.rc_target_bitrate, ++ state->width * state->height, cfg.g_w * cfg.g_h); ++ + cfg.g_w = state->width; + cfg.g_h = state->height; + cfg.g_timebase.num = state->fps_d; +@@ -755,7 +759,6 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder, + } else { + cfg.rc_min_quantizer = (gint) (63 - encoder->quality * 6.2); + cfg.rc_max_quantizer = (gint) (63 - encoder->quality * 6.2); +- cfg.rc_target_bitrate = encoder->bitrate; + } + cfg.rc_dropframe_thresh = encoder->drop_frame; + cfg.rc_resize_allowed = encoder->resize_allowed; +-- +1.8.0 + diff --git a/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r2.ebuild b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r2.ebuild new file mode 100644 index 000000000000..dc95c6fdc47e --- /dev/null +++ b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit eutils gstreamer + +DESCRIPTION="GStreamer decoder for vpx video format" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # Fix zero-bitrate vp8 encoding with libvpx-1.1, bug #435282 + epatch "${FILESDIR}/${PN}-0.10.23-libvpx-1.1.patch" + + local pdir=$(gstreamer_get_plugin_dir) + # gstbasevideo has no .pc + sed -e "s:\$(top_builddir)/gst-libs/gst/video/.*\.la:-lgstbasevideo-${SLOT}:" \ + -i "${pdir}"/Makefile.{am,in} || die +} diff --git a/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild new file mode 100644 index 000000000000..a4d7003fc9f4 --- /dev/null +++ b/media-plugins/gst-plugins-vp8/gst-plugins-vp8-0.10.23-r3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit eutils gstreamer + +DESCRIPTION="GStreamer decoder for vpx video format" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + # Fix zero-bitrate vp8 encoding with libvpx-1.1, bug #435282 + epatch "${FILESDIR}/${PN}-0.10.23-libvpx-1.1.patch" + + # Drop old compat code that makes this break with libvpx-1.4, bug #545958 (from Fedora) + epatch "${FILESDIR}/${PN}-0.10.23-drop-vpx-compat-defines.patch" + + local pdir=$(gstreamer_get_plugin_dir) + # gstbasevideo has no .pc + sed -e "s:\$(top_builddir)/gst-libs/gst/video/.*\.la:-lgstbasevideo-${SLOT}:" \ + -i "${pdir}"/Makefile.{am,in} || die +} diff --git a/media-plugins/gst-plugins-vp8/metadata.xml b/media-plugins/gst-plugins-vp8/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-vp8/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-vpx/Manifest b/media-plugins/gst-plugins-vpx/Manifest new file mode 100644 index 000000000000..79c91ecb6837 --- /dev/null +++ b/media-plugins/gst-plugins-vpx/Manifest @@ -0,0 +1,2 @@ +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.2.4-r1.ebuild b/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.2.4-r1.ebuild new file mode 100644 index 000000000000..96de192dd46a --- /dev/null +++ b/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.2.4-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer decoder for vpx video format" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +# VP9 is under experimental, do not enable it now +RDEPEND=">=media-libs/libvpx-1.3.0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.4.5.ebuild b/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.4.5.ebuild new file mode 100644 index 000000000000..820e37c9cfd2 --- /dev/null +++ b/media-plugins/gst-plugins-vpx/gst-plugins-vpx-1.4.5.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-good + +inherit gstreamer + +DESCRIPTION="GStreamer decoder for vpx video format" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +# VP9 is under experimental, do not enable it now +RDEPEND=">=media-libs/libvpx-1.3.0:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-vpx/metadata.xml b/media-plugins/gst-plugins-vpx/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-vpx/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-wavpack/Manifest b/media-plugins/gst-plugins-wavpack/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-wavpack/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-0.10.31-r1.ebuild b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-0.10.31-r1.ebuild new file mode 100644 index 000000000000..627c0a4a6faf --- /dev/null +++ b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-0.10.31-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for wavpack audio format" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.2.4-r1.ebuild b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.2.4-r1.ebuild new file mode 100644 index 000000000000..c3ffdf155ecb --- /dev/null +++ b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for wavpack audio format" +KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.4.5.ebuild b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.4.5.ebuild new file mode 100644 index 000000000000..007b39439fcd --- /dev/null +++ b/media-plugins/gst-plugins-wavpack/gst-plugins-wavpack-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer encoder/decoder for wavpack audio format" +KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-wavpack/metadata.xml b/media-plugins/gst-plugins-wavpack/metadata.xml new file mode 100644 index 000000000000..641f9a3068e7 --- /dev/null +++ b/media-plugins/gst-plugins-wavpack/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for Wavpack lossless/lossy audio format handling. + + Includes the following elements: + * wavpackenc - Encodes audio with the Wavpack lossless/lossy audio codec + * wavpackdec - Decodes Wavpack audio data +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-x/Manifest b/media-plugins/gst-plugins-x/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-x/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36-r1.ebuild b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36-r1.ebuild new file mode 100644 index 000000000000..d429da391536 --- /dev/null +++ b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]" + +# xshm is a compile time option of ximage, which is in libXext +GST_PLUGINS_BUILD="x xshm" +GST_PLUGINS_BUILD_DIR="ximage" + +src_prepare() { + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even + # though they are not actually used. This needs to be fixed upstream by + # replacing AC_PATH_XTRA with PKG_CONFIG calls. + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure + + gstreamer_system_link \ + gst-libs/gst/video:gstreamer-video \ + gst-libs/gst/interfaces:gstreamer-interfaces +} diff --git a/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild new file mode 100644 index 000000000000..07e31232b40a --- /dev/null +++ b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +# xshm is a compile time option of ximage, which is in libXext +GST_PLUGINS_BUILD="x xshm" +GST_PLUGINS_BUILD_DIR="ximage" + +src_prepare() { + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even + # though they are not actually used. This needs to be fixed upstream by + # replacing AC_PATH_XTRA with PKG_CONFIG calls. + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure + + gst-plugins10_system_link \ + gst-libs/gst/video:gstreamer-video \ + gst-libs/gst/interfaces:gstreamer-interfaces +} diff --git a/media-plugins/gst-plugins-x/metadata.xml b/media-plugins/gst-plugins-x/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-x/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-x264/Manifest b/media-plugins/gst-plugins-x264/Manifest new file mode 100644 index 000000000000..b14ec571d6ff --- /dev/null +++ b/media-plugins/gst-plugins-x264/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.2.4.tar.xz 844968 SHA256 4ef6f76a47d57b8385d457c7b620b4c28fc041ab1d7c2e3e2f5f05b12b988ea8 SHA512 91a9d950e73a8d6c8bb4c559ba8f4a4dffc163be714d93c0d0d6421f2c9932a4b1af665f76417e79b50b31c83d8a766df9cf6c337b8371371708efc8683e24e1 WHIRLPOOL c1c3885cf2e041c4427f30ca13cda2948b8a35273d3e6417bfe83566f03230208ce1e019e655ae2c98725e94cce6c7fb37b450307312f682bdbd7c948190e7c0 +DIST gst-plugins-ugly-1.4.5.tar.xz 846828 SHA256 5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067 SHA512 9353a5b9492758d8255fcab23c0eb170ec31e884774c22915b57cc4a2ed56bad61643d7bd44fcdb919e7ad9b2023d1d0fab23f9c9fda1cb2b9883c92ec6b6fc0 WHIRLPOOL b212a4dcba654dac7866ad75551b26818349780b0d7905e63c45b75e21ffbb86ae0f4e9e79ef8bfb317149c2d4f01cbda2c6e2cf2cbcf58991bc09ba9aa85f4e diff --git a/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch b/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch new file mode 100644 index 000000000000..c2746b189d1c --- /dev/null +++ b/media-plugins/gst-plugins-x264/files/gst-plugins-x264-0.10.13-x264-api-change-1.patch @@ -0,0 +1,30 @@ +From 0a36965808ab9095dd68541f589fd71b66c99ca7 Mon Sep 17 00:00:00 2001 +From: Robert Swain <robert.swain@gmail.com> +Date: Tue, 20 Oct 2009 20:00:44 +0100 +Subject: [PATCH 01/16] x264enc: Adapt to slightly modified x264 API + +Fixes #599095. +--- + ext/x264/gstx264enc.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c +index ed20154..ff0f0fa 100644 +--- a/ext/x264/gstx264enc.c ++++ b/ext/x264/gstx264enc.c +@@ -582,7 +582,12 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder) + encoder->x264param.analyse.i_noise_reduction = encoder->noise_reduction; + encoder->x264param.i_frame_reference = encoder->ref; + encoder->x264param.i_bframe = encoder->bframes; ++#if X264_BUILD < 78 + encoder->x264param.b_bframe_pyramid = encoder->b_pyramid; ++#else ++ encoder->x264param.i_bframe_pyramid = ++ encoder->b_pyramid ? X264_B_PYRAMID_NORMAL : X264_B_PYRAMID_NONE; ++#endif + #if X264_BUILD < 63 + encoder->x264param.b_bframe_adaptive = encoder->b_adapt; + #else +-- +1.6.4.4 + diff --git a/media-plugins/gst-plugins-x264/gst-plugins-x264-0.10.19-r1.ebuild b/media-plugins/gst-plugins-x264/gst-plugins-x264-0.10.19-r1.ebuild new file mode 100644 index 000000000000..1401e177aec0 --- /dev/null +++ b/media-plugins/gst-plugins-x264/gst-plugins-x264-0.10.19-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +# 20111220 ensures us X264_BUILD >= 120 +RDEPEND=">=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-x264/gst-plugins-x264-1.2.4-r1.ebuild b/media-plugins/gst-plugins-x264/gst-plugins-x264-1.2.4-r1.ebuild new file mode 100644 index 000000000000..1401e177aec0 --- /dev/null +++ b/media-plugins/gst-plugins-x264/gst-plugins-x264-1.2.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-ugly +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +# 20111220 ensures us X264_BUILD >= 120 +RDEPEND=">=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-x264/gst-plugins-x264-1.4.5.ebuild b/media-plugins/gst-plugins-x264/gst-plugins-x264-1.4.5.ebuild new file mode 100644 index 000000000000..4a0de152f4fd --- /dev/null +++ b/media-plugins/gst-plugins-x264/gst-plugins-x264-1.4.5.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-ugly + +inherit gstreamer + +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +# 20111220 ensures us X264_BUILD >= 120 +RDEPEND=">=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-x264/metadata.xml b/media-plugins/gst-plugins-x264/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-x264/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-ximagesrc/Manifest b/media-plugins/gst-plugins-ximagesrc/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-ximagesrc/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c diff --git a/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-0.10.31-r1.ebuild b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-0.10.31-r1.ebuild new file mode 100644 index 000000000000..7766699b935b --- /dev/null +++ b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-0.10.31-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXdamage-1.1.4-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=x11-proto/damageproto-1.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/fixesproto-5.0-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] +" + +# xshm is a compile time option of ximage +GST_PLUGINS_BUILD="x xshm" +GST_PLUGINS_BUILD_DIR="ximage" diff --git a/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.2.4-r1.ebuild b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.2.4-r1.ebuild new file mode 100644 index 000000000000..7766699b935b --- /dev/null +++ b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.2.4-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXdamage-1.1.4-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=x11-proto/damageproto-1.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/fixesproto-5.0-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] +" + +# xshm is a compile time option of ximage +GST_PLUGINS_BUILD="x xshm" +GST_PLUGINS_BUILD_DIR="ximage" diff --git a/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.4.5.ebuild b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.4.5.ebuild new file mode 100644 index 000000000000..447aacb6768c --- /dev/null +++ b/media-plugins/gst-plugins-ximagesrc/gst-plugins-ximagesrc-1.4.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer + +DESCRIPTION="GStreamer plugin for X11 video capture stream" + +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=" + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXdamage-1.1.4-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=x11-proto/damageproto-1.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/fixesproto-5.0-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] +" + +# xshm is a compile time option of ximage +GST_PLUGINS_BUILD="x xshm" +GST_PLUGINS_BUILD_DIR="ximage" diff --git a/media-plugins/gst-plugins-ximagesrc/metadata.xml b/media-plugins/gst-plugins-ximagesrc/metadata.xml new file mode 100644 index 000000000000..48f1b8d00ae4 --- /dev/null +++ b/media-plugins/gst-plugins-ximagesrc/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>gstreamer</herd> +<longdescription lang="en"> + GStreamer plugin for X11 video input using standard Xlib calls. + + Includes the following element: + * ximagesrc - Creates a screenshot video stream +</longdescription> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-xvid/Manifest b/media-plugins/gst-plugins-xvid/Manifest new file mode 100644 index 000000000000..68a5b6554301 --- /dev/null +++ b/media-plugins/gst-plugins-xvid/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c diff --git a/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23-r1.ebuild b/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23-r1.ebuild new file mode 100644 index 000000000000..6495325b623b --- /dev/null +++ b/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +DESCRIPTION="GStreamer plugin for XviD (MPEG-4) video encoding/decoding support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=">=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23.ebuild b/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23.ebuild new file mode 100644 index 000000000000..0b57150395ca --- /dev/null +++ b/media-plugins/gst-plugins-xvid/gst-plugins-xvid-0.10.23.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-bad + +DESCRIPTION="GStreamer plugin for XviD (MPEG-4) video encoding/decoding support" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd" +IUSE="" + +RDEPEND="media-libs/xvid" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-xvid/metadata.xml b/media-plugins/gst-plugins-xvid/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-xvid/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-xvideo/Manifest b/media-plugins/gst-plugins-xvideo/Manifest new file mode 100644 index 000000000000..d213e8b3ff2a --- /dev/null +++ b/media-plugins/gst-plugins-xvideo/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-0.10.36.tar.xz 2364108 SHA256 1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 WHIRLPOOL e455f2a1aafd60078080735108e4ac336bc4764ed92b9579d83a453f75491331d16b48e5983f3c9712b6edb28ec379e696f06f6910c93168b019d6077c28fb6d diff --git a/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36-r1.ebuild b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36-r1.ebuild new file mode 100644 index 000000000000..2b53f43b3b99 --- /dev/null +++ b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-base +inherit gstreamer + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]" + +# xshm is a compile time option of xvideo +# x is needed to build any X plugins, but we build/install only xv anyway +GST_PLUGINS_BUILD="x xvideo xshm" +GST_PLUGINS_BUILD_DIR="xvimage" + +src_prepare() { + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even + # though they are not actually used. This needs to be fixed upstream by + # replacing AC_PATH_XTRA with PKG_CONFIG calls. + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure + + gstreamer_system_link \ + gst-libs/gst/video:gstreamer-video \ + gst-libs/gst/interfaces:gstreamer-interfaces +} diff --git a/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild new file mode 100644 index 000000000000..f2f568c1a7db --- /dev/null +++ b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit gst-plugins-base gst-plugins10 + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libXv + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/videoproto + x11-proto/xproto + x11-proto/xextproto" + +# xshm is a compile time option of xvideo +# x is needed to build any X plugins, but we build/install only xv anyway +GST_PLUGINS_BUILD="x xvideo xshm" +GST_PLUGINS_BUILD_DIR="xvimage" + +src_prepare() { + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even + # though they are not actually used. This needs to be fixed upstream by + # replacing AC_PATH_XTRA with PKG_CONFIG calls. + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure + + gst-plugins10_system_link \ + gst-libs/gst/video:gstreamer-video \ + gst-libs/gst/interfaces:gstreamer-interfaces +} diff --git a/media-plugins/gst-plugins-xvideo/metadata.xml b/media-plugins/gst-plugins-xvideo/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-xvideo/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>gstreamer</herd> +</pkgmetadata> diff --git a/media-plugins/hexter/Manifest b/media-plugins/hexter/Manifest new file mode 100644 index 000000000000..7898db483a10 --- /dev/null +++ b/media-plugins/hexter/Manifest @@ -0,0 +1 @@ +DIST hexter-1.0.2.tar.gz 517532 SHA256 afc576177e3acaf1e1d55c6778792d6b3e401c2d03c56a1c5c0d94f4411b0dc9 SHA512 5ae765004f319dba8b7c881736e6abd2c794e2b2a43d708dbe0ee791e63d004c4612927b4ff23854367ca3ff49e5efc0a936939d4805d48fe1339a802cccae27 WHIRLPOOL f98d4eb057e438d5c74060f9ae5d83454ef0dd06c7803486690f3e55123b0a69b04bb27bfd95d4af18668577092644072e10a9a373409209a92478738b5d7f97 diff --git a/media-plugins/hexter/hexter-1.0.2.ebuild b/media-plugins/hexter/hexter-1.0.2.ebuild new file mode 100644 index 000000000000..3305766bd8a1 --- /dev/null +++ b/media-plugins/hexter/hexter-1.0.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Yamaha DX7 modeling DSSI plugin" +HOMEPAGE="http://dssi.sourceforge.net/hexter.html" +SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="gtk readline" + +RDEPEND="gtk? ( x11-libs/gtk+:2 ) + readline? ( sys-libs/readline sys-libs/ncurses ) + media-libs/alsa-lib + >=media-libs/dssi-0.4 + >=media-libs/liblo-0.12" +DEPEND="${RDEPEND} + media-libs/ladspa-sdk + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_with gtk gtk2) \ + $(use_with readline textui) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README TODO +} diff --git a/media-plugins/hexter/metadata.xml b/media-plugins/hexter/metadata.xml new file mode 100644 index 000000000000..ecc06c7ce1db --- /dev/null +++ b/media-plugins/hexter/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="sourceforge">dssi</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/imlib2_loaders/Manifest b/media-plugins/imlib2_loaders/Manifest new file mode 100644 index 000000000000..e94798beb028 --- /dev/null +++ b/media-plugins/imlib2_loaders/Manifest @@ -0,0 +1 @@ +DIST imlib2_loaders-1.4.7.tar.gz 384739 SHA256 f22745bb8ea610a47651cc7926fea32f641de6c9b5abf15350748bcbc0272fe1 SHA512 c7be31b9a7b50ea5a44cadf0ec7f056f5080498ec53fcd32d82a0a6da163b59397e8470c7bbe536d2cabf88c7694d18b450ad85cc6693e8862aeb7d4ee0f4835 WHIRLPOOL 8ca0c1f2222072328d34ed9d546788ab6c9c4653f78e1230efabad973be4e321c812c85ccfd981d94de106b4624bff30fa979de578f54ca17455ffa8c3fb22ec diff --git a/media-plugins/imlib2_loaders/imlib2_loaders-1.4.7.ebuild b/media-plugins/imlib2_loaders/imlib2_loaders-1.4.7.ebuild new file mode 100644 index 000000000000..2495d5cb2758 --- /dev/null +++ b/media-plugins/imlib2_loaders/imlib2_loaders-1.4.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="legacy" + EGIT_URI_APPEND=${PN} +else + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="image loader plugins for Imlib 2" +HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html" + +IUSE="eet xcf" + +RDEPEND=">=media-libs/imlib2-${PV} + eet? ( dev-libs/eet )" + +src_configure() { + E_ECONF=( + $(use_enable eet) + $(use_enable xcf) + ) + + enlightenment_src_configure +} diff --git a/media-plugins/imlib2_loaders/imlib2_loaders-9999.ebuild b/media-plugins/imlib2_loaders/imlib2_loaders-9999.ebuild new file mode 100644 index 000000000000..2495d5cb2758 --- /dev/null +++ b/media-plugins/imlib2_loaders/imlib2_loaders-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="legacy" + EGIT_URI_APPEND=${PN} +else + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="image loader plugins for Imlib 2" +HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html" + +IUSE="eet xcf" + +RDEPEND=">=media-libs/imlib2-${PV} + eet? ( dev-libs/eet )" + +src_configure() { + E_ECONF=( + $(use_enable eet) + $(use_enable xcf) + ) + + enlightenment_src_configure +} diff --git a/media-plugins/imlib2_loaders/metadata.xml b/media-plugins/imlib2_loaders/metadata.xml new file mode 100644 index 000000000000..ea2cb0c98801 --- /dev/null +++ b/media-plugins/imlib2_loaders/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>enlightenment@gentoo.org</email> +</maintainer> +<use> + <flag name="eet">Enable Eet image loader</flag> + <flag name="xcf">Enable XCF image loader</flag> +</use> +<longdescription> +additional image library loaders for imlib2 +</longdescription> +</pkgmetadata> diff --git a/media-plugins/ir_lv2/Manifest b/media-plugins/ir_lv2/Manifest new file mode 100644 index 000000000000..153bc0819c3e --- /dev/null +++ b/media-plugins/ir_lv2/Manifest @@ -0,0 +1 @@ +DIST ir.lv2-1.3.tar.gz 47503 SHA256 1b728e74bc206f459a0fd9138c3122c6d418bebad68661d2d54ebcf33291ef7e SHA512 457e04b3080d9b497b90c737aa40584099222ff8c04aebb8be3d166758f513688cfd272e6fc91a0cdbee12f61b75effe99e63d03f46fea631ff3b24b43c9b667 WHIRLPOOL 5883cf1a2b61ad30ee5618f6636c6016615590428ebca17f546f32e368c63c6541887ef79c95dfdcb9a5268ce7d65e297187470f69ec0c0577cc84d3532ef63e diff --git a/media-plugins/ir_lv2/ir_lv2-1.3.ebuild b/media-plugins/ir_lv2/ir_lv2-1.3.ebuild new file mode 100644 index 000000000000..0e851fd7a03d --- /dev/null +++ b/media-plugins/ir_lv2/ir_lv2-1.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit toolchain-funcs flag-o-matic multilib + +MY_P="${P/_/.}" +DESCRIPTION="LV2 convolver plugin especially for creating reverb effects" +HOMEPAGE="http://factorial.hu/plugins/lv2/ir" +SRC_URI="http://factorial.hu/system/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="media-libs/zita-convolver + >=x11-libs/gtk+-2.16:2 + media-libs/lv2 + media-libs/libsndfile + media-libs/libsamplerate" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${PN/_/.} + +src_prepare() { + sed -i -e 's/g++/$(CXX)/' -e 's/gcc/$(CC)/' Makefile || die #respect CC/CXX + sed -i -e 's/\(^C4CFLAGS =.*\) -O2.*/\1 $(CFLAGS)/' Makefile || die #respect CFLAGS + sed -i -e 's/\(^CPPFLAGS +=.*\) -O2.*/\1 $(CXXFLAGS)/' Makefile || die #respect CXXFLAGS +} + +src_compile() { + tc-export CC CXX + emake || die +} + +src_install() { + emake INSTDIR="${D}/usr/$(get_libdir)/lv2/ir.lv2" install || die + dodoc README ChangeLog || die +} diff --git a/media-plugins/ir_lv2/metadata.xml b/media-plugins/ir_lv2/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/ir_lv2/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/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest new file mode 100644 index 000000000000..d9b60e0ce7c5 --- /dev/null +++ b/media-plugins/kipi-plugins/Manifest @@ -0,0 +1,4 @@ +DIST digikam-4.10.0.tar.bz2 69413654 SHA256 4207e68b6221307111b66bb69485d3e88150df95dae014a99f6f161a3da0c725 SHA512 a2f1d5f44719409ee45158106cc44541e7226e3c948b722045e104bc398f96233481d60e11dd198e96bfe3028201dac335be403ec74af1ef07e3137c3e9221a4 WHIRLPOOL 5d7997787c549318e5d7d677edc68ee2ebaa95c789b7d5f05e3ea5dea48d56afc23aa7bf3afa33f44353f4189644df7573683580486c0d248352ffb534215f37 +DIST digikam-4.12.0.tar.bz2 69527960 SHA256 15043afb04733e059460165bc3cdf58dc42a67d7a349fbe12c2ebbe1946e3420 SHA512 a5ebe481ef9803475cd2d4d198b0d093753ecb71367662f0e83a151ab34a2ff071139b28c1d9600279463fed96745b025db86d24b059b0794bc4a2b50338df85 WHIRLPOOL cf29c3555ce41a298c9760287996d8edee76ff8a6ec42b503f55059e40b35f91cf56afb054f641e800f6e630d851491c2f77e0bd67020feefe8d6adf36a643f5 +DIST digikam-4.4.0.tar.bz2 68871203 SHA256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9 SHA512 4992fad1e574fc44eac53f3ac8d4ab78ccbf8e04beb54a211a9afc20af1efb6f8bacedea07e403f490e7f70a74ed5ac02d4f9b939dfaf25f64a4a9bda0a7d94a WHIRLPOOL 7a05ab9926227232a1cf52bf68da45b849b982e840b171f702610acce85a1ce8e59967a02e845a0ef19c316daee835861573aca40dc7b28422cf7d6d56119e2c +DIST digikam-4.7.0-1.tar.bz2 70151058 SHA256 230a5841754107d273c953ad4aeef2b57265c4623decc74a454c437175468002 SHA512 a9e162c83d83b2183a4e8f254b971993b884677e24676b3dd58dcf8e90ca87f1046c099ea33083ee0f58eedd13aee69a242fbc3d1eab70e285956393637f3dd4 WHIRLPOOL e454bd9c95b3aa9a4c9007065c8ee3e1da595b389fc868a6a21cacba761d8101d4be507c299fd7651d8ab0c0ddff5fb4038bf49f73213a8ec2b69bcdce02808b diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch b/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch new file mode 100644 index 000000000000..50e0db071b8e --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch @@ -0,0 +1,28 @@ +diff -ruN digikam-3.0.0.orig/extra/kipi-plugins/CMakeLists.txt digikam-3.0.0/extra/kipi-plugins/CMakeLists.txt +--- digikam-3.0.0.orig/extra/kipi-plugins/CMakeLists.txt 2013-02-07 00:52:03.000000000 +0100 ++++ digikam-3.0.0/extra/kipi-plugins/CMakeLists.txt 2013-02-09 22:33:55.284100771 +0100 +@@ -424,7 +424,11 @@ + ADD_SUBDIRECTORY(picasawebexport) + ADD_SUBDIRECTORY(smug) + ADD_SUBDIRECTORY(printimages) +- ADD_SUBDIRECTORY(expoblending) ++ ++ IF(ENABLE_expoblending) ++ ADD_SUBDIRECTORY(expoblending) ++ ENDIF(ENABLE_expoblending) ++ + ADD_SUBDIRECTORY(kopete) + ADD_SUBDIRECTORY(batchprocessimages) + ADD_SUBDIRECTORY(rajceexport) +@@ -492,9 +496,9 @@ + ADD_SUBDIRECTORY(mediawiki) + ENDIF(MEDIAWIKI_FOUND) + +- IF(FLEX_FOUND AND BISON_FOUND) ++ IF(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + ADD_SUBDIRECTORY(panorama) +- ENDIF(FLEX_FOUND AND BISON_FOUND) ++ ENDIF(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + + IF(ImageMagick_FOUND AND QTGSTREAMER_FOUND) + ADD_SUBDIRECTORY(videoslideshow) diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch b/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch new file mode 100644 index 000000000000..7287de7a58b4 --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch @@ -0,0 +1,18 @@ +commit b9c0e87c74956196cf0d5042c8c13e9a381ba4e8 +Author: Gilles Caulier <caulier.gilles@gmail.com> +Date: Thu Oct 10 16:11:18 2013 +0200 + + apply patch #82764 to not install libPropertiesBrowser + BUGS: 319664 + +diff --git a/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt b/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt +index 03cf1bd..46e158c 100644 +--- a/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt ++++ b/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt +@@ -119,4 +119,5 @@ ADD_DEFINITIONS(${QT_DEFINITIONS}) + ADD_DEFINITIONS(-DQT_DLL) + ADD_DEFINITIONS(-DQT_PLUGIN) + +-INSTALL( TARGETS PropertyBrowser ARCHIVE DESTINATION lib ${INSTALL_TARGETS_DEFAULT_ARGS} ) ++# Do not install (yet), see https://bugs.kde.org/show_bug.cgi?id=319664 ++# INSTALL( TARGETS PropertyBrowser ARCHIVE DESTINATION lib ${INSTALL_TARGETS_DEFAULT_ARGS} ) diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch new file mode 100644 index 000000000000..361059e0e0aa --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch @@ -0,0 +1,76 @@ +diff -u -r a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp +--- a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-24 20:46:51.471208340 +0200 +@@ -181,8 +181,8 @@ + cinfo.comp_info[2].v_samp_factor = 1; + + // bug #154273: use 99 compression level instead 100 to reduce output JPEG file size. +- jpeg_set_quality(&cinfo, 99, true); +- jpeg_start_compress(&cinfo, true); ++ jpeg_set_quality(&cinfo, 99, boolean (true)); ++ jpeg_start_compress(&cinfo, boolean(true)); + + // Write ICC color profile. + if (!d->iccProfile.isEmpty()) +diff -u -r a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp +--- a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-24 20:53:06.757881558 +0200 +@@ -197,10 +197,10 @@ + JCOPY_OPTION copyoption = JCOPYOPT_ALL; + jpeg_transform_info transformoption; + +- transformoption.perfect = false; +- transformoption.force_grayscale = false; +- transformoption.trim = false; +- transformoption.crop = false; ++ transformoption.perfect = boolean(false); ++ transformoption.force_grayscale = boolean(false); ++ transformoption.trim = boolean(false); ++ transformoption.crop = boolean(false); + + struct jpeg_decompress_struct srcinfo; + struct jpeg_compress_struct dstinfo; +@@ -277,7 +277,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + // First rotate - execute even if rotate is JXFORM_NONE to apply new EXIF settings + transformoption.transform = rotate; +@@ -296,10 +296,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve +@@ -349,7 +349,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + transformoption.transform=flip; + jtransform_request_workspace(&srcinfo, &transformoption); +@@ -366,10 +366,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch b/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch new file mode 100644 index 000000000000..100e935e9a64 --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch @@ -0,0 +1,24 @@ +diff -ruN digikam-4.6.0.orig/extra/kipi-plugins/CMakeLists.txt digikam-4.6.0/extra/kipi-plugins/CMakeLists.txt +--- digikam-4.6.0.orig/extra/kipi-plugins/CMakeLists.txt 2014-12-16 08:54:40.000000000 +0100 ++++ digikam-4.6.0/extra/kipi-plugins/CMakeLists.txt 2014-12-21 21:50:39.901188497 +0100 +@@ -370,7 +370,11 @@ + add_subdirectory(picasawebexport) + add_subdirectory(smug) + add_subdirectory(printimages) ++ ++ if(ENABLE_expoblending) + add_subdirectory(expoblending) ++ endif() ++ + add_subdirectory(kopete) + add_subdirectory(batchprocessimages) + add_subdirectory(rajceexport) +@@ -451,7 +455,7 @@ + add_subdirectory(mediawiki) + endif() + +- if(FLEX_FOUND AND BISON_FOUND) ++ if(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + add_subdirectory(panorama) + endif() + diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild new file mode 100644 index 000000000000..f8617478f9d5 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( >=media-libs/libkgeomap-4.6.0 ) + media-libs/libpng:0= + media-libs/tiff:0 + virtual/jpeg:0 + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" + "${FILESDIR}/${PN}-4.10.0-jpeg.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild new file mode 100644 index 000000000000..3cec08e41993 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" +KDE_HANDBOOK="optional" +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr +sr@Latn ss sv ta te tg th tr tt uk uz uz@cyrillic ven vi wa xh zh_CN zh_HK zh_TW +zu" +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( || ( >=kde-apps/libkgeomap-14.12.0:4 >=media-libs/libkgeomap-4.12.0 ) ) + media-libs/libpng:0= + media-libs/tiff:0 + virtual/jpeg:0 + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0:4 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( >=net-libs/libkvkontakte-4.12.0:4 ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" + "${FILESDIR}/${PN}-4.10.0-jpeg.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild new file mode 100644 index 000000000000..31b15328ded0 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="amd64 x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + gpssync? ( >=media-libs/libkgeomap-4.2.0 ) + media-libs/libpng:0= + media-libs/tiff + virtual/jpeg + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + media-libs/qt-gstreamer[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-options.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_with redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild new file mode 100644 index 000000000000..2e73a284ef30 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}-1.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( >=media-libs/libkgeomap-4.6.0 ) + media-libs/libpng:0= + media-libs/tiff + virtual/jpeg + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/metadata.xml b/media-plugins/kipi-plugins/metadata.xml new file mode 100644 index 000000000000..74966c6ad0d9 --- /dev/null +++ b/media-plugins/kipi-plugins/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <maintainer> + <email>dilfridge@gentoo.org</email> + </maintainer> + <use> + <flag name="expoblending">Build the expoblending plugin, which requires media-gfx/hugin</flag> + <flag name="gpssync">Build the gpssync plugin, which requires media-lib/libkgeomap and thereby marble</flag> + <flag name="mediawiki">Build the mediawiki export plugin</flag> + <flag name="panorama">Pull in dependencies needed by panorama plugin</flag> + <flag name="redeyes">Add redeyes removal support</flag> + <flag name="videoslideshow">Build videoslideshow plugin</flag> + <flag name="vkontakte">Build plugin for vkontakte.ru</flag> + <flag name="linguas_ha">Hausa translation</flag> + <flag name="linguas_mi">Maori translation</flag> + <flag name="linguas_tt">?? translation</flag> + <flag name="linguas_ven">Venda translation</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/ladspa-bs2b/Manifest b/media-plugins/ladspa-bs2b/Manifest new file mode 100644 index 000000000000..eb8ce7018c29 --- /dev/null +++ b/media-plugins/ladspa-bs2b/Manifest @@ -0,0 +1 @@ +DIST ladspa-bs2b-0.9.1.tar.bz2 237542 SHA256 a4ecbd6cc61d62700b4f5cd5554a9321567e4b34cd6a23869db92d1fe234a9c2 diff --git a/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1.ebuild b/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1.ebuild new file mode 100644 index 000000000000..20bba387410f --- /dev/null +++ b/media-plugins/ladspa-bs2b/ladspa-bs2b-0.9.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="LADSPA plugin for bs2b headphone filter" +HOMEPAGE="http://bs2b.sourceforge.net/" +SRC_URI="mirror://sourceforge/bs2b/LADSPA%20splugin/${PV}/${P}.tar.bz2" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/ladspa-sdk + >=media-libs/libbs2b-3.1.0" + +RDEPEND="${DEPEND}" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS THANKS +} diff --git a/media-plugins/ladspa-bs2b/metadata.xml b/media-plugins/ladspa-bs2b/metadata.xml new file mode 100644 index 000000000000..aa14e8dc395d --- /dev/null +++ b/media-plugins/ladspa-bs2b/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">bs2b</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/libvisual-plugins/Manifest b/media-plugins/libvisual-plugins/Manifest new file mode 100644 index 000000000000..495d7fde6d52 --- /dev/null +++ b/media-plugins/libvisual-plugins/Manifest @@ -0,0 +1,3 @@ +DIST libvisual-plugins-0.4.0-m4-1.tar.bz2 1872 SHA256 0746a6088fa292b27a869fd70ea0f19b0dccd73879694148bd65a372dea333af SHA512 6522491f0797d0d442e1839fcfad985fcdba4a6d43ec94eb6edf13cea09a0b187b1e7c09b0c3b2f7b8f22d9b41f9cfb1f5b3559fed00b9dc3935fdf37bf7c08a WHIRLPOOL 70c0bf2b6eb807c65b248e8be4d614d0280bb89633ac38bc57461ef3029f9077d04837a80900ecec2429e2b6aab7b9955f36d434e4f75ca4729a7cb936c62733 +DIST libvisual-plugins-0.4.0-patches-4.tar.bz2 10814 SHA256 8f87b7f0c6d9560804e19778af41a7bcae0a2923d59095823b105c2899636913 SHA512 e6c20ebad338c300e1c049d33241daab3d6cd25a73be3402aedb13bb3cf6a84112e074fc2d57f9a7a158d12addd0d320a94d1690ed789f3a90e9cb14cfb966d2 WHIRLPOOL 19330c08acbfa65aa640c3e2254c2e959e5c8c4b7475bf01368ac7efeb2aafae1aea0c609ff214f80393a6d9d2d0cf859424aa9ad6c9e80b8845b07d79872522 +DIST libvisual-plugins-0.4.0.tar.gz 828631 SHA256 8b783a111d54b92502085199c351979d0452b950fcddddd1eae28a16d8508e9b SHA512 f8666b548bc04e8b9ab69a37bdd5483080c820115903aabaa629bb0bd0fa8424969ee596e6e66bb90d8e62d6e14513fd57f85c1b5e7e074792cfa94638134901 WHIRLPOOL 8803502bfeca08be439aa53b22211077d54b919bf432bcf65e42ee633968217b9ed0d176c7c114f03d6db903318b087b4f66c0ed4ee70c6e80e738b39c9fd1d4 diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild new file mode 100644 index 000000000000..74947ff8e260 --- /dev/null +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils multilib-minimal + +PATCHLEVEL=4 + +DESCRIPTION="collection of visualization plugins for use with the libvisual framework" +HOMEPAGE="http://libvisual.sourceforge.net/" +SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2 + mirror://gentoo/${P}-m4-1.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.4" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="alsa debug gtk jack mplayer opengl" + +RDEPEND=">=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] + ~media-libs/libvisual-${PV}[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] ) + jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) + opengl? ( + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_prepare() { + EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patches + AT_M4DIR=${WORKDIR}/m4 eautoreconf + + sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --disable-esd \ + $(use_enable jack) \ + $(use_enable gtk gdkpixbuf-plugin) \ + --disable-gstreamer-plugin \ + $(use_enable alsa) \ + $(use_enable mplayer) \ + $(use_enable debug inputdebug) \ + $(use_enable opengl gltest) \ + $(use_enable opengl nastyfft) \ + $(use_enable opengl madspin) \ + $(use_enable opengl flower) \ + $(use_enable debug) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} diff --git a/media-plugins/libvisual-plugins/metadata.xml b/media-plugins/libvisual-plugins/metadata.xml new file mode 100644 index 000000000000..1c16bbf70ae0 --- /dev/null +++ b/media-plugins/libvisual-plugins/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>sound</herd> + <upstream> + <remote-id type="sourceforge">libvisual</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/libvisual-projectm/Manifest b/media-plugins/libvisual-projectm/Manifest new file mode 100644 index 000000000000..e20d7a0f3347 --- /dev/null +++ b/media-plugins/libvisual-projectm/Manifest @@ -0,0 +1,2 @@ +DIST projectM-complete-2.1.0-Source.tar.gz 31130351 SHA256 513204f033006bd3dcdf8aada196d816d6b7187266ddcbb1594d0285cc9406ee SHA512 53f4531208d2594f1c28a7f7842fb5ee3349ca9e48f9f0d999a90b6a62d315c9c0ae9cba1cdfacb8a149eba3e5ddc4517ac406ee2c53718191be8e26ee2cca5f WHIRLPOOL f60ee006dac8465a17e1397a9331bdabd7a3967455f9e16644e1ff5e544ab1662b3aa8a2b428c0258f0b38c91513bfbda3cd29b4419e05e64aa410e61ad03972 +DIST projectM_libvisual-2.0.1-Source.tar.gz 23128 SHA256 8526b8687caebcef5f3374dd61665732f10030e970a7db4804eb65a06da18ea0 diff --git a/media-plugins/libvisual-projectm/files/2.0.1-gcc4.6.patch b/media-plugins/libvisual-projectm/files/2.0.1-gcc4.6.patch new file mode 100644 index 000000000000..9ae5f609815e --- /dev/null +++ b/media-plugins/libvisual-projectm/files/2.0.1-gcc4.6.patch @@ -0,0 +1,15 @@ +Fix build failure with GCC4.6 + +http://projectm.svn.sourceforge.net/viewvc/projectm?view=revision&revision=1355 + +--- trunk/src/projectM-libvisual/actor_projectM.cpp 2009/02/20 19:07:44 1210 ++++ trunk/src/projectM-libvisual/actor_projectM.cpp 2011/05/06 12:04:58 1355 +@@ -209,7 +209,7 @@ + * we aren't with projectm, so just ignore :) */ + extern "C" VisPalette *lv_projectm_palette (VisPluginData *plugin) + { +- return NULL; ++ return (VisPalette *) NULL; + } + + /* This is where the real rendering happens! This function is what we call, many times diff --git a/media-plugins/libvisual-projectm/libvisual-projectm-2.0.1.ebuild b/media-plugins/libvisual-projectm/libvisual-projectm-2.0.1.ebuild new file mode 100644 index 000000000000..e885666f3425 --- /dev/null +++ b/media-plugins/libvisual-projectm/libvisual-projectm-2.0.1.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 cmake-utils + +MY_P=projectM_libvisual-${PV}-Source + +DESCRIPTION="A libvisual graphical music visualization plugin similar to milkdrop" +HOMEPAGE="http://projectm.sourceforge.net" +SRC_URI="mirror://sourceforge/projectm/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug" + +RDEPEND="media-libs/libsdl + =media-libs/libvisual-0.4* + >=media-libs/libprojectm-2.0.1" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +DOCS="AUTHORS ChangeLog" + +PATCHES=( + "${FILESDIR}/${PV}-gcc4.6.patch" +) diff --git a/media-plugins/libvisual-projectm/libvisual-projectm-2.1.0.ebuild b/media-plugins/libvisual-projectm/libvisual-projectm-2.1.0.ebuild new file mode 100644 index 000000000000..19e20dca2403 --- /dev/null +++ b/media-plugins/libvisual-projectm/libvisual-projectm-2.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit cmake-utils + +MY_P=projectM-complete-${PV}-Source + +DESCRIPTION="A libvisual graphical music visualization plugin similar to milkdrop" +HOMEPAGE="http://projectm.sourceforge.net" +SRC_URI="mirror://sourceforge/projectm/${MY_P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug" + +RDEPEND=" + media-libs/libsdl + =media-libs/libvisual-0.4* + >=media-libs/libprojectm-2.1.0 + virtual/opengl +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P}/src/projectM-libvisual/ + +DOCS="AUTHORS ChangeLog" diff --git a/media-plugins/libvisual-projectm/metadata.xml b/media-plugins/libvisual-projectm/metadata.xml new file mode 100644 index 000000000000..2ace5da19108 --- /dev/null +++ b/media-plugins/libvisual-projectm/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>sound</herd> + <upstream> + <remote-id type="sourceforge">projectm</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest new file mode 100644 index 000000000000..fca8aadd9879 --- /dev/null +++ b/media-plugins/live/Manifest @@ -0,0 +1,3 @@ +DIST live.2012.01.07.tar.gz 534076 SHA256 8f3d167959b355c571caab2ee12cf70c89f09e93484f150080a59367b35c8131 SHA512 f38e8978a630078b9933d7540fee290d08a53b17137265392be9ce04f4e0e18b52953dc9cee208d8403e484d9e67c43a6e0700495aef708279ed090dcec72744 WHIRLPOOL 0ca17abb5ced98d0327f48163f975f2f65dbb3d37984f063e4946ccbc2dcad5f57dc7cccf16e2dce1ee496cef5012ecefc2a24aca75303c602a943f6f87cd419 +DIST live.2012.09.13.tar.gz 560899 SHA256 d5667373aed8766c0a983a71b37c208976e93f181974d3a1a4ab6d9845df9be7 SHA512 344c29038e9882b3ad8678ceec7755aca5013e3b0821ca6b9d846cc1c926c1dc125b71dce91986b760793123ebff9f291aaf0dbfb3570721968f641a2b530c5d WHIRLPOOL 1b76f557e2a8441b36ceba7d274eccf4b9337224c63c1b4d4d8b3e3ba4277d9bbf4e7ebc0665e914bc476cae5178ae09ad8bc0dc1024a676ded94b293c2a0b13 +DIST live.2013.02.11.tar.gz 570837 SHA256 2cd619e61b9293a094a2cbb8dd7a7505f8e74e6197b80989093425ac78a86d83 SHA512 c0f2efbf2af06d5e5f2bc58955ca37942022a439e3c48bec06a49b636e08d4d31855e884586448c698b0c90d35ef24f282570d0026c4454c9e58855ff36713be WHIRLPOOL 121fb4815c44db793a3c225faa5c16e68a8f975e45e8c4d492886aa82a57dd1571ad14076375767524cb848336b702cccc9ab17af79787ac489b6eb789fd9bd9 diff --git a/media-plugins/live/files/config.gentoo b/media-plugins/live/files/config.gentoo new file mode 100644 index 000000000000..b19d17552aac --- /dev/null +++ b/media-plugins/live/files/config.gentoo @@ -0,0 +1,17 @@ +COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 +C = c +C_COMPILER = $(CC) +C_FLAGS = $(COMPILE_OPTS) $(CFLAGS) +CPP = cpp +CPLUSPLUS_COMPILER = $(CXX) +CPLUSPLUS_FLAGS = $(COMPILE_OPTS) $(CXXFLAGS) +OBJ = o +LINK = $(CXX) -o +LINK_OPTS = -L. +CONSOLE_LINK_OPTS = $(LINK_OPTS) +LIBRARY_LINK = $(LD) -o +LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic +LIB_SUFFIX = a +LIBS_FOR_CONSOLE_APPLICATION = +LIBS_FOR_GUI_APPLICATION = +EXE = diff --git a/media-plugins/live/files/config.gentoo-so-r1 b/media-plugins/live/files/config.gentoo-so-r1 new file mode 100644 index 000000000000..76a603557344 --- /dev/null +++ b/media-plugins/live/files/config.gentoo-so-r1 @@ -0,0 +1,17 @@ +COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 +C = c +C_COMPILER = $(CC) +C_FLAGS = $(COMPILE_OPTS) -fPIC $(CFLAGS) +CPP = cpp +CPLUSPLUS_COMPILER = $(CXX) +CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -fPIC $(CXXFLAGS) +OBJ = o +LINK = $(CXX) -o +LINK_OPTS = -L. +CONSOLE_LINK_OPTS = $(LINK_OPTS) +LIBRARY_LINK = $(CXX) -o +LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared -Wl,-soname,$@ +LIB_SUFFIX = so +LIBS_FOR_CONSOLE_APPLICATION = +LIBS_FOR_GUI_APPLICATION = +EXE = diff --git a/media-plugins/live/files/live-recursive.patch b/media-plugins/live/files/live-recursive.patch new file mode 100644 index 000000000000..63b210706634 --- /dev/null +++ b/media-plugins/live/files/live-recursive.patch @@ -0,0 +1,13 @@ +Index: live/Makefile.tail +=================================================================== +--- live.orig/Makefile.tail ++++ live/Makefile.tail +@@ -14,8 +14,6 @@ all: + cd $(GROUPSOCK_DIR) ; $(MAKE) + cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE) + cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE) +- cd $(TESTPROGS_DIR) ; $(MAKE) +- cd $(MEDIA_SERVER_DIR) ; $(MAKE) + + clean: + cd $(LIVEMEDIA_DIR) ; $(MAKE) clean diff --git a/media-plugins/live/files/live-recursive2.patch b/media-plugins/live/files/live-recursive2.patch new file mode 100644 index 000000000000..107e53c6e137 --- /dev/null +++ b/media-plugins/live/files/live-recursive2.patch @@ -0,0 +1,14 @@ +Index: live/Makefile.tail +=================================================================== +--- live.orig/Makefile.tail ++++ live/Makefile.tail +@@ -16,9 +16,6 @@ all: + cd $(GROUPSOCK_DIR) ; $(MAKE) + cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE) + cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE) +- cd $(TESTPROGS_DIR) ; $(MAKE) +- cd $(MEDIA_SERVER_DIR) ; $(MAKE) +- cd $(PROXY_SERVER_DIR) ; $(MAKE) + + clean: + cd $(LIVEMEDIA_DIR) ; $(MAKE) clean diff --git a/media-plugins/live/live-2012.01.07.ebuild b/media-plugins/live/live-2012.01.07.ebuild new file mode 100644 index 000000000000..b51691bff703 --- /dev/null +++ b/media-plugins/live/live-2012.01.07.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit flag-o-matic eutils toolchain-funcs multilib + +DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" +HOMEPAGE="http://www.live555.com/" +SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +S="${WORKDIR}" + +# Alexis Ballier <aballier@gentoo.org> +# Be careful, bump this everytime you bump the package and the ABI has changed. +# If you don't know, ask someone. +LIVE_ABI_VERSION=4 + +src_prepare() { + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-recursive.patch" + + cp -pPR live live-shared + mv live live-static + + cp "${FILESDIR}/config.gentoo" live-static + cp "${FILESDIR}/config.gentoo-so-r1" live-shared + + case ${CHOST} in + *-solaris*) + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DSOLARIS/' \ + -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ + live-static/config.gentoo \ + live-shared/config.gentoo-so-r1 \ + || die + ;; + *-darwin*) + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/$/ /' \ + -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ + live-static/config.gentoo \ + || die static + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ + -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ + live-shared/config.gentoo-so-r1 \ + || die shared + ;; + esac +} + +src_configure() { :; } + +src_compile() { + tc-export CC CXX LD + + cd "${WORKDIR}/live-static" + + einfo "Beginning static library build" + ./genMakefiles gentoo + emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" + + einfo "Beginning programs build" + cd "${WORKDIR}/live-static/testProgs" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" + cd "${WORKDIR}/live-static/mediaServer" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver" + + cd "${WORKDIR}/live-shared" + einfo "Beginning shared library build" + ./genMakefiles gentoo-so-r1 + local suffix=$(get_libname ${LIVE_ABI_VERSION}) + emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" +} + +src_install() { + for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do + dolib.a live-static/${library}/lib${library}.a + dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) + dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) + + insinto /usr/include/${library} + doins live-shared/${library}/include/*h + done + + # Should we really install these? + find live-static/testProgs -type f -perm +111 -print0 | \ + xargs -0 dobin + + #install included live555MediaServer aplication + dobin live-static/mediaServer/live555MediaServer + + # install docs + dodoc live-static/README +} + +pkg_postinst() { + ewarn "If you are upgrading from a version prior to live-2008.02.08" + ewarn "Please make sure to rebuild applications built against ${PN}" + ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}" + ewarn "support might be broken." +} diff --git a/media-plugins/live/live-2012.09.13.ebuild b/media-plugins/live/live-2012.09.13.ebuild new file mode 100644 index 000000000000..ca4e0e4f7507 --- /dev/null +++ b/media-plugins/live/live-2012.09.13.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit flag-o-matic eutils toolchain-funcs multilib + +DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" +HOMEPAGE="http://www.live555.com/" +SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz + mirror://gentoo/${P/-/.}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="examples static-libs" + +S="${WORKDIR}" + +# Alexis Ballier <aballier@gentoo.org> +# Be careful, bump this everytime you bump the package and the ABI has changed. +# If you don't know, ask someone. +LIVE_ABI_VERSION=6 + +src_prepare() { + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-recursive2.patch" + + if use static-libs ; then + cp -pPR live live-shared + mv live live-static + else + mv live live-shared + fi + + use static-libs && cp "${FILESDIR}/config.gentoo" live-static + cp "${FILESDIR}/config.gentoo-so-r1" live-shared + + case ${CHOST} in + *-solaris*) + use static-libs && { sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ + -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ + live-static/config.gentoo \ + || die ; } + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ + -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ + live-shared/config.gentoo-so-r1 \ + || die + ;; + *-darwin*) + use static-libs && { sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/$/ /' \ + -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ + live-static/config.gentoo \ + || die static ; } + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ + -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ + -e '/^LIB_SUFFIX /s/so/dylib/' \ + live-shared/config.gentoo-so-r1 \ + || die shared + ;; + esac +} + +src_configure() { :; } + +src_compile() { + tc-export CC CXX LD + + # Still build the old synchronous interface as mplayer still needs it. + # Please drop me at some point! + append-flags '-DRTSPCLIENT_SYNCHRONOUS_INTERFACE' + + if use static-libs ; then + cd "${WORKDIR}/live-static" + + einfo "Beginning static library build" + ./genMakefiles gentoo + emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" + fi + + cd "${WORKDIR}/live-shared" + einfo "Beginning shared library build" + ./genMakefiles gentoo-so-r1 + local suffix=$(get_libname ${LIVE_ABI_VERSION}) + emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" + + for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do + pushd "${WORKDIR}/live-shared/${i}" > /dev/null + ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die + popd > /dev/null + done + + einfo "Beginning programs build" + for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do + cd "${WORKDIR}/live-shared/${i}" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" + done +} + +src_install() { + for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do + use static-libs && dolib.a live-static/${library}/lib${library}.a + dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) + dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) + + insinto /usr/include/${library} + doins live-shared/${library}/include/*h + done + + # Should we really install these? + use examples && find live-shared/testProgs -type f -perm +111 -print0 | \ + xargs -0 dobin + + dobin live-shared/mediaServer/live555MediaServer + dobin live-shared/proxyServer/live555ProxyServer + + # install docs + dodoc live-shared/README +} diff --git a/media-plugins/live/live-2013.02.11.ebuild b/media-plugins/live/live-2013.02.11.ebuild new file mode 100644 index 000000000000..5742134d800c --- /dev/null +++ b/media-plugins/live/live-2013.02.11.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 +inherit flag-o-matic eutils toolchain-funcs multilib + +DESCRIPTION="Libraries for standards-based RTP/RTCP/RTSP multimedia streaming" +HOMEPAGE="http://www.live555.com/" +SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz + mirror://gentoo/${P/-/.}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="examples static-libs" + +S="${WORKDIR}" + +# Alexis Ballier <aballier@gentoo.org> +# Be careful, bump this everytime you bump the package and the ABI has changed. +# If you don't know, ask someone. +LIVE_ABI_VERSION=6 + +src_prepare() { + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-recursive2.patch" + + if use static-libs ; then + cp -pPR live live-shared + mv live live-static + else + mv live live-shared + fi + + use static-libs && cp "${FILESDIR}/config.gentoo" live-static + cp "${FILESDIR}/config.gentoo-so-r1" live-shared + + case ${CHOST} in + *-solaris*) + use static-libs && { sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ + -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ + live-static/config.gentoo \ + || die ; } + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DSOLARIS -DXLOCALE_NOT_USED/' \ + -e '/^LIBS_FOR_CONSOLE_APPLICATION /s/$/ -lsocket -lnsl/' \ + live-shared/config.gentoo-so-r1 \ + || die + ;; + *-darwin*) + use static-libs && { sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/$/ /' \ + -e '/^LIBRARY_LINK_OPTS /s/-Bstatic//' \ + live-static/config.gentoo \ + || die static ; } + sed -i \ + -e '/^COMPILE_OPTS /s/$/ -DBSD=1 -DHAVE_SOCKADDR_LEN=1/' \ + -e '/^LINK /s/$/ /' \ + -e '/^LIBRARY_LINK /s/=.*$/= $(CXX) -o /' \ + -e '/^LIBRARY_LINK_OPTS /s:-shared.*$:-undefined suppress -flat_namespace -dynamiclib -install_name '"${EPREFIX}/usr/$(get_libdir)/"'$@:' \ + -e '/^LIB_SUFFIX /s/so/dylib/' \ + live-shared/config.gentoo-so-r1 \ + || die shared + ;; + esac +} + +src_configure() { :; } + +src_compile() { + tc-export CC CXX LD + + # Still build the old synchronous interface as mplayer still needs it. + # Please drop me at some point! + append-flags '-DRTSPCLIENT_SYNCHRONOUS_INTERFACE' + + if use static-libs ; then + cd "${WORKDIR}/live-static" + + einfo "Beginning static library build" + ./genMakefiles gentoo + emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" + fi + + cd "${WORKDIR}/live-shared" + einfo "Beginning shared library build" + ./genMakefiles gentoo-so-r1 + local suffix=$(get_libname ${LIVE_ABI_VERSION}) + emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="${suffix#.}" || die "failed to build shared libraries" + + for i in liveMedia groupsock UsageEnvironment BasicUsageEnvironment ; do + pushd "${WORKDIR}/live-shared/${i}" > /dev/null + ln -s lib${i}.${suffix#.} lib${i}$(get_libname) || die + popd > /dev/null + done + + einfo "Beginning programs build" + for i in $(use examples && echo "testProgs") proxyServer mediaServer ; do + cd "${WORKDIR}/live-shared/${i}" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" + done +} + +src_install() { + for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do + use static-libs && dolib.a live-static/${library}/lib${library}.a + dolib.so live-shared/${library}/lib${library}$(get_libname ${LIVE_ABI_VERSION}) + dosym lib${library}$(get_libname ${LIVE_ABI_VERSION}) /usr/$(get_libdir)/lib${library}$(get_libname) + + insinto /usr/include/${library} + doins live-shared/${library}/include/*h + done + + # Should we really install these? + use examples && find live-shared/testProgs -type f -perm +111 -print0 | \ + xargs -0 dobin + + dobin live-shared/mediaServer/live555MediaServer + dobin live-shared/proxyServer/live555ProxyServer + + # install docs + dodoc live-shared/README +} diff --git a/media-plugins/live/metadata.xml b/media-plugins/live/metadata.xml new file mode 100644 index 000000000000..1cadc2e4ec21 --- /dev/null +++ b/media-plugins/live/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>video</herd> +<maintainer> + <email>media-video@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/mcp-plugins/Manifest b/media-plugins/mcp-plugins/Manifest new file mode 100644 index 000000000000..494423fb6d47 --- /dev/null +++ b/media-plugins/mcp-plugins/Manifest @@ -0,0 +1 @@ +DIST MCP-plugins-0.4.0.tar.bz2 23637 RMD160 dde30cbead54a69e96af01f4dc87ce7b86f218f7 SHA1 6731401e32045bcf07f1e4f2b710b6b6443bd8ac SHA256 6c5bba81251ea03538ac3978279fea4065342b4267b0cd023dafca8268c84919 diff --git a/media-plugins/mcp-plugins/mcp-plugins-0.4.0.ebuild b/media-plugins/mcp-plugins/mcp-plugins-0.4.0.ebuild new file mode 100644 index 000000000000..cc9bf1d40fa3 --- /dev/null +++ b/media-plugins/mcp-plugins/mcp-plugins-0.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit multilib toolchain-funcs + +MY_P=${P/mcp/MCP} + +DESCRIPTION="MCP ladspa plugins package. Includes moogvcf, phaser & chorus" +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_prepare() { + tc-export CXX + sed -i -e "s/-O3//" \ + -e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die "sed failed" +} + +src_install() { + dodoc AUTHORS README + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} diff --git a/media-plugins/mcp-plugins/metadata.xml b/media-plugins/mcp-plugins/metadata.xml new file mode 100644 index 000000000000..3a8ea7e02972 --- /dev/null +++ b/media-plugins/mcp-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/mda-lv2/Manifest b/media-plugins/mda-lv2/Manifest new file mode 100644 index 000000000000..9c26343cebef --- /dev/null +++ b/media-plugins/mda-lv2/Manifest @@ -0,0 +1,2 @@ +DIST mda-lv2-1.0.0.tar.bz2 2154530 SHA256 0eb88587b6f7a960a9a7adc5f733e74388ba0ae90db084a7d39c6e9cfedd6fb5 SHA512 3ee521d916eeaec14c64d3cc84d036e3c2152441cb1c266d8971e823a7e498039a210e49af5f1a9a773ac85cb49c620acf64e46a0625c6969f559b4c99786575 WHIRLPOOL 7c7a3407a6020dc674fd418a2602f24083f0bfec9d8d6e98a0aecd9c53139620136a847bc9d79351e3abfb822e9d0472475eff7424e1a8e669cddb9299f1efbc +DIST mda-lv2-1.2.2.tar.bz2 2160906 SHA256 a476c31ed9f8b009ebacc32a02d06ba9584c0d0d03f03dd62b1354d10a030442 SHA512 da9960462a896f8412cc1918e3a7c0bf9d33d5431a1264035705ca21295d52de1e6b5360369b9da519376a78f72b0c750d133d89b04240f3e35a210e4551854a WHIRLPOOL 51326a8d90c0db38d40b86c203b4a3e8a5be22e8f65b120c7cf6741d907259e282a31457f55dc7b7e450a0b8f18f8231d45aa99e7334bfb0856622b6a53c85d9 diff --git a/media-plugins/mda-lv2/mda-lv2-1.0.0.ebuild b/media-plugins/mda-lv2/mda-lv2-1.0.0.ebuild new file mode 100644 index 000000000000..d5a58b3adfae --- /dev/null +++ b/media-plugins/mda-lv2/mda-lv2-1.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE='threads(+)' + +inherit python-any-r1 waf-utils + +DESCRIPTION="LV2 port of the MDA plugins by Paul Kellett" +HOMEPAGE="http://drobilla.net/software/mda-lv2/" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="media-libs/lv2" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig" + +DOCS=( "README" ) diff --git a/media-plugins/mda-lv2/mda-lv2-1.2.2.ebuild b/media-plugins/mda-lv2/mda-lv2-1.2.2.ebuild new file mode 100644 index 000000000000..d5a58b3adfae --- /dev/null +++ b/media-plugins/mda-lv2/mda-lv2-1.2.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE='threads(+)' + +inherit python-any-r1 waf-utils + +DESCRIPTION="LV2 port of the MDA plugins by Paul Kellett" +HOMEPAGE="http://drobilla.net/software/mda-lv2/" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="media-libs/lv2" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig" + +DOCS=( "README" ) diff --git a/media-plugins/mda-lv2/metadata.xml b/media-plugins/mda-lv2/metadata.xml new file mode 100644 index 000000000000..f973c5aa84c4 --- /dev/null +++ b/media-plugins/mda-lv2/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>proaudio</herd> +<longdescription lang="en"> + MDA-LV2 is an LV2 port of the MDA plugins by Paul Kellett. It contains 36 high-quality plugins for a variety of tasks. + + This is a more or less faithful port of both the effects and instrument plugins. The only functional difference in code is to support LV2-style toggle ports (> 0.0 is on, rather than 0.5). All the plugins have been tested, and thanks to several bug fixes this collection should be more reliable than the original. + + No custom UIs are included, however control ports are grouped and given designations where appropriate, so hosts should be able to generate a good generic UI. The original "programs" are available as standard LV2 presets. The documentation from the old web site has been included in the data files and is readable by hosts, so detailed port and plugin documentation can be made available in the UI. This is intended to establish a precedent; hosts are encouraged to make this information somehow visible (currently at least Ardour 3 and Jalv support this by showing tooltips for controls, and Ardour has a drop down pane for the plugin description). + + The instrument plugins make use of the new atom:AtomPort to receive MIDI. Apologies for any inconvenience, but this means they will only work in modern hosts which have implemented atom-based MIDI. The effects should work fine in any LV2 host. +</longdescription> +</pkgmetadata> diff --git a/media-plugins/mediastreamer-amr/Manifest b/media-plugins/mediastreamer-amr/Manifest new file mode 100644 index 000000000000..4850cf4bce43 --- /dev/null +++ b/media-plugins/mediastreamer-amr/Manifest @@ -0,0 +1 @@ +DIST msamr-0.0.1.tar.gz 293324 SHA256 f23f940b4f58286ca427edfea4afeaa24653176f081a20bf36c85d245fd78fdf SHA512 c25d25503eb23e93970d5be3a1317863cb20b0077b2ebf711dbd130e25d83debc4ea7e54eb236342c7073c54fa5002328fba5aafcbc2d495ac7588d639d6b1ab WHIRLPOOL 24ceb4138fcb73391d8b0304929ea5c477c50508fcedc4a2080e2d74463bbcfee3bcfe161c09dff6fb660a83c1145ba8f524a62ce172a4a069f2d695bd924f64 diff --git a/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch b/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch new file mode 100644 index 000000000000..c0f8483ea2b3 --- /dev/null +++ b/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch @@ -0,0 +1,13 @@ +--- msamr-0.0.1/src/msamr.c.orig 2012-06-01 21:12:47.000000000 +0400 ++++ msamr-0.0.1/src/msamr.c 2012-06-01 21:12:59.884661902 +0400 +@@ -21,8 +21,8 @@ + + #include <mediastreamer2/msfilter.h> + +-#include <interf_dec.h> +-#include <interf_enc.h> ++#include <opencore-amrnb/interf_dec.h> ++#include <opencore-amrnb/interf_enc.h> + + /* + Class A total speech diff --git a/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild b/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild new file mode 100644 index 000000000000..98e072b73a78 --- /dev/null +++ b/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +MY_P="msamr-${PV}" + +DESCRIPTION="mediastreamer plugin: add AMR Narrow Band support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/mediastreamer-2.0.0:= + >=media-libs/opencore-amr-0.1.2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${P}-include.patch" +} + +src_configure() { + # strict: don't want -Werror + econf \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-amr/metadata.xml b/media-plugins/mediastreamer-amr/metadata.xml new file mode 100644 index 000000000000..b10fb8d84d2b --- /dev/null +++ b/media-plugins/mediastreamer-amr/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>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/mediastreamer-bcg729/Manifest b/media-plugins/mediastreamer-bcg729/Manifest new file mode 100644 index 000000000000..d0807589605f --- /dev/null +++ b/media-plugins/mediastreamer-bcg729/Manifest @@ -0,0 +1 @@ +DIST bcg729-1.0.0.tar.gz 416311 SHA256 6f80f9820f081fbd8b3f97b7bdc9c584bd54ba4558fa714130f8a53b154509ac SHA512 68a6ee07ad830d58ff3b6638a6c9218640ca78c4ea78d5038d9bf94a25d9a2f7c7844f11a3196bba72f9f640666fed13c96f8c0e496a79c7ee78b3cf0f8c9c85 WHIRLPOOL 6a32fa3f1e710336dcc5939fb1d7bef9f4f9de6e9f105156c292ef0b3e2280f3017fd2f5b828bd1b7f33b019714ceb2da35b8d092b4cb8a12f755253f240188e diff --git a/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0-r1.ebuild b/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0-r1.ebuild new file mode 100644 index 000000000000..e125ba835dad --- /dev/null +++ b/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="bcg729-${PV}" + +DESCRIPTION="Backported G729 implementation for Linphone" +HOMEPAGE="http://www.linphone.org" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=media-libs/mediastreamer-2.8.2:=[ortp]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure(){ + # strict = -Werror + econf \ + --disable-static \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0.ebuild b/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0.ebuild new file mode 100644 index 000000000000..bb6214c0f93f --- /dev/null +++ b/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.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="bcg729-${PV}" + +DESCRIPTION="Backported G729 implementation for Linphone" +HOMEPAGE="http://www.linphone.org" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/mediastreamer-2.8.2:= + >=net-libs/ortp-0.16.0:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure(){ + # strict = -Werror + econf \ + --disable-static \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-bcg729/metadata.xml b/media-plugins/mediastreamer-bcg729/metadata.xml new file mode 100644 index 000000000000..ee2fca9fb255 --- /dev/null +++ b/media-plugins/mediastreamer-bcg729/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>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/mediastreamer-ilbc/Manifest b/media-plugins/mediastreamer-ilbc/Manifest new file mode 100644 index 000000000000..151f924702c1 --- /dev/null +++ b/media-plugins/mediastreamer-ilbc/Manifest @@ -0,0 +1 @@ +DIST msilbc-2.0.3.tar.gz 287297 SHA256 edd4da50715556141861f503ad5cef0f68a8868d4db53410413870c06e53be88 SHA512 ad2d37f272a413b401b8f2e38df75ac1e43bb70d7a03686f475a8c354a3d039293476e219fc5c629f30fe85bf717c7dd4251f508aa3f5871c6c5f22adeb6d1e9 WHIRLPOOL 278d97cd83e4a75b73ac92df9dc6fd90f79de6c19572435a761700257e42b44b1e29b8b9f15f84780510d752c1d5b19bf2f9b6fc50e68612688ca81c2419f944 diff --git a/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild new file mode 100644 index 000000000000..cd8237b73821 --- /dev/null +++ b/media-plugins/mediastreamer-ilbc/mediastreamer-ilbc-2.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +MY_P="msilbc-${PV}" + +DESCRIPTION="mediastreamer plugin: add iLBC support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="http://download.savannah.nongnu.org/releases/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="20ms-frames" + +RDEPEND="dev-libs/ilbc-rfc3951 + >=media-libs/mediastreamer-2.0.0:=" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # dev-libs/ilbc-rfc3951 does not ship pkgconfig .pc file, + # so these variables should be set here to satisfy configure + ILBC_CFLAGS="/usr/include" ILBC_LIBS="/usr/include -lilbc" \ + econf \ + $(use_enable 20ms-frames) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/media-plugins/mediastreamer-ilbc/metadata.xml b/media-plugins/mediastreamer-ilbc/metadata.xml new file mode 100644 index 000000000000..bef02d10e7ca --- /dev/null +++ b/media-plugins/mediastreamer-ilbc/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> + <use> + <flag name='20ms-frames'>enable 20ms frame size (default is 30ms). Some + VOIP providers such as Gizmo5 (aka Sipphone) require the codec to be + compiled with the 30ms setting.</flag> + </use> +</pkgmetadata> + diff --git a/media-plugins/mediastreamer-silk/Manifest b/media-plugins/mediastreamer-silk/Manifest new file mode 100644 index 000000000000..cc69cf5768c5 --- /dev/null +++ b/media-plugins/mediastreamer-silk/Manifest @@ -0,0 +1,2 @@ +DIST SILK_SDK_SRC_v1.0.8.zip 65910872 SHA256 424536084ac2d5c105e22f8048d19103dd83cb54bc32187377f5341d17e1b838 SHA512 2d56552052ec8180de9bbbce2f89d76df63c1bf6a8ac936dacab104d39526c16b9ccac33e5602f3a757bb12057c2e6da6f955ae370b05b93ff1427632c3a9489 WHIRLPOOL a301ba53e3fd1d56bc45d75709eb1b13edcacb7b68811862f2bbb7eba561242594feff6ac13f460593eb97917ecf63d947997316561a74d0d879e7823caccbea +DIST mssilk-0.0.1.tar.gz 57674 SHA256 58f89360a06e5b8414c2a1389b2e0d801ea1548041d7791ca16c1fc3f136e1b0 SHA512 78325c0cf28bf035212583c76aa92f1291442e3f4fbe4c354056ad2b20ff72ba8d7149250431906942352c4deec7912567f512775d5a1dfe07b6b2bd44b5552e WHIRLPOOL da0d9ef8f0d0d83c8a29e981346c876e19f207dbc5f662d53e81dfd2d92c158294008625a9a261e153e33fd50a4bbf4af0d3d58da5a2e66f2871539d01da14bb diff --git a/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch b/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch new file mode 100644 index 000000000000..851e824b54fa --- /dev/null +++ b/media-plugins/mediastreamer-silk/files/mediastreamer-silk-0.0.1-sdk.patch @@ -0,0 +1,42 @@ +--- mssilk.orig/sdk/Makefile.am 2012-02-16 13:22:51.000000000 +0400 ++++ mssilk/sdk/Makefile.am 2012-05-15 20:35:37.374526548 +0400 +@@ -2,28 +2,14 @@ + silk_extracted_directory = SILK_SDK_SRC_v$(silk_version) + silk_src_dir = $(silk_extracted_directory)/SILK_SDK_SRC_$(SILK_FLAVOUR)_v$(silk_version) + +-silk_zip = $(silk_extracted_directory).zip +-silk_url = http://developer.skype.com/silk/$(silk_zip) +- +-downloaded_files = $(silk_zip) +-checkmarks = $(downloaded_files:%=%.check) +-BUILT_SOURCES = $(downloaded_files) $(checkmarks) $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory) ++BUILT_SOURCES = $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory) + + checksum_dir = $(srcdir)/known_checksums + checksum_files = $(addprefix $(checksum_dir)/, $(downloaded_files:%=%.md5)) + EXTRA_DIST = $(checksum_files) + +-$(srcdir)/$(silk_zip): +- $(WGET) $(silk_url) -O $(srcdir)/${silk_zip} +- +- +-# for check, go to $(srcdir) or ./, depending on where file is +-$(checkmarks): %.check: % +- cd $(<D); $(MD5SUM) -c $(checksum_dir)/$(<F).md5 +- touch $@ +- +-$(silk_extracted_directory): $(checkmarks) +- $(UNZIP) $(srcdir)/$(silk_zip) $(silk_src_dir)/* ++$(silk_extracted_directory): ++ ln -s ../../$(silk_extracted_directory) + + $(silk_src_dir): $(silk_extracted_directory) + cp $(srcdir)/patch_pic.diff $(silk_src_dir) +@@ -41,6 +27,6 @@ + cd $(silk_src_dir) && $(MAKE) $(AM_MAKEFLAGS) clean + + install-data-local: $(silk_src_dir) +- cp $(silk_src_dir)/libSKP_SILK_SDK.a $(prefix)/lib ++ echo "stub: nothing to install" + + DISTCLEANFILES = $(BUILT_SOURCES) diff --git a/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild new file mode 100644 index 000000000000..588ec2fad506 --- /dev/null +++ b/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_PN="mssilk" +SDK_FILE="SILK_SDK_SRC_v1.0.8.zip" # please update silk version on bumps! + +inherit autotools eutils + +DESCRIPTION="SILK (skype codec) implementation for Linphone" +HOMEPAGE="http://www.linphone.org" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_PN}-${PV}.tar.gz + http://developer.skype.com/silk/${SDK_FILE}" + +LICENSE="GPL-2+ Clear-BSD SILK-patent-license" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND=">=media-libs/mediastreamer-2.8.2:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_PN}" + +RESTRICT="bindist mirror" # silk license forbids distribution + +src_prepare() { + epatch "${FILESDIR}/${P}-sdk.patch" + eautoreconf +} diff --git a/media-plugins/mediastreamer-silk/metadata.xml b/media-plugins/mediastreamer-silk/metadata.xml new file mode 100644 index 000000000000..ee2fca9fb255 --- /dev/null +++ b/media-plugins/mediastreamer-silk/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>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/mediastreamer-x264/Manifest b/media-plugins/mediastreamer-x264/Manifest new file mode 100644 index 000000000000..f1ecca0c9dc6 --- /dev/null +++ b/media-plugins/mediastreamer-x264/Manifest @@ -0,0 +1,2 @@ +DIST msx264-1.4.1.tar.gz 291662 SHA256 3427168e0936d1d46b58e2e3da606e51ba463b1e6d6586e9ff6c2d1f2a539b75 SHA512 3d73fcea259af5d8c4cb9637538bdc40e0ea197a36eada5184390bda9277b43dfec8b2412edc44bbac2500664d7c007182b0b06f4a702bb22aecc54484fc115f WHIRLPOOL bab948086fb2febfedb89d2b3431e6ad23e2d114a6e1f387ab0739a25a2de8ba790eede1ba95fbe1dfd11d5abd88dea78795065737d97987ebda61f80ceb90e8 +DIST msx264-1.4.2.tar.gz 298631 SHA256 a84418465e0cc7185f66e14b04ac0e0c2e5ee7ee68fb201d0d697eb866b192b5 SHA512 06416957dcfd5e33418d19c941005a0deb1c18b47cfa8354b0b89f8434d47d649ca3d629bac3e2094ff5b6adc7118f5adc9d32411dd6ec12a8f3a6e96c2e356c WHIRLPOOL c08484438029379d22cdf564a817f8ab135a4e28410633bd2f194f1125eadb3f653068462933e2c47b03a1aece7f88ec42df8e68408a4cf037cfd1e0467a7d9c diff --git a/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.1.ebuild b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.1.ebuild new file mode 100644 index 000000000000..7d6f5e55918f --- /dev/null +++ b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit multilib + +MY_P="msx264-${PV}" + +DESCRIPTION="mediastreamer plugin: add H264 support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-libs/mediastreamer-2.7.0[video] + >=media-libs/x264-0.0.20100118 + virtual/ffmpeg" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS NEWS README" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # strict: don't want -Werror + econf \ + --libdir=/usr/$(get_libdir) \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2-r1.ebuild b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2-r1.ebuild new file mode 100644 index 000000000000..6ab4e667fd71 --- /dev/null +++ b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="msx264-${PV}" + +DESCRIPTION="mediastreamer plugin: add H264 support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="libav" + +RDEPEND=">=media-libs/mediastreamer-2.7.0:=[video] + >=media-libs/x264-0.0.20100118:= + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # strict: don't want -Werror + econf \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2.ebuild b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2.ebuild new file mode 100644 index 000000000000..a06ea1e473b2 --- /dev/null +++ b/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="msx264-${PV}" + +DESCRIPTION="mediastreamer plugin: add H264 support" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=media-libs/mediastreamer-2.7.0:=[video] + >=media-libs/x264-0.0.20100118:= + virtual/ffmpeg" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_configure() { + # strict: don't want -Werror + econf \ + --disable-strict +} diff --git a/media-plugins/mediastreamer-x264/metadata.xml b/media-plugins/mediastreamer-x264/metadata.xml new file mode 100644 index 000000000000..ee2fca9fb255 --- /dev/null +++ b/media-plugins/mediastreamer-x264/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>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/metadata.xml b/media-plugins/metadata.xml new file mode 100644 index 000000000000..06ee545bd257 --- /dev/null +++ b/media-plugins/metadata.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The media-plugins category contains plugin packages for various media + applications. + </longdescription> + <longdescription lang="de"> + Die Kategorie media-plugins enthält Plugins für verschiedene + Multimedia-Anwendungen. + </longdescription> + <longdescription lang="es"> + La categoría media-plugins contiene paquetes de extensión para varias + aplicaciones de media. + </longdescription> + <longdescription lang="ja"> + media-pluginsカテゴリーには様々なメディアプラグイン・パッケージが含まれています。 + </longdescription> + <longdescription lang="nl"> + De media-plugins categorie bevat uitbreidingen voor multimedia-applicaties. + </longdescription> + <longdescription lang="vi"> + Nhóm media-plugins chứa các gói plugin cho các ứng dụng media khác nhau. + </longdescription> + <longdescription lang="it"> + La categoria media-plugins contiene pacchetti di estensione per vari pacchetti + delle categorie media-. + </longdescription> + <longdescription lang="pt"> + A categoria media-plugins contém pacotes de extensão para várias + aplicações de mídia. + </longdescription> + <longdescription lang="pl"> + Kategoria media-plugins zawiera rozszerzenia multimedialne dla różnych + aplikacji. + </longdescription> +</catmetadata> + diff --git a/media-plugins/mythplugins/Manifest b/media-plugins/mythplugins/Manifest new file mode 100644 index 000000000000..aceaeccf1b09 --- /dev/null +++ b/media-plugins/mythplugins/Manifest @@ -0,0 +1,15 @@ +DIST mythplugins-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 45980 SHA256 a3ec6dcde8ee74b0a518c42555947b0a9050f63625df4f6b94a4830768267242 SHA512 490a2bfdfe1011721e17a74f25d6a404d14af855b5790620553467d7efd0a3dc050fa2c716ba88a06924ba1c456b40968f2862557688c0d31999f05549f6d39a WHIRLPOOL db6a1b277e0c0bf122a1c910f446dc6a924c7cdb82bb23996e8f45239185c60d59e0974b62ea281b807eafce2fcb72f2f96d0f8051cc47ea1b8602d49c82e372 +DIST mythplugins-0.26.0.tar.bz2 36673620 SHA256 4e7f0493f37792c084c1b4d0b5863b4201ebce6d62ab7c6cc31ca74087d83c62 SHA512 51c10f46186e14e69c5626f2ae0955692c71aa7459fd018efaab1b99809cad533a84754d53455017102ff6f94cc9905dc303248a29d4095ba8f4f685bb022f49 WHIRLPOOL a2b995f2a94a2eb22fa0740dd840a2fe2d9d4b808af1dc43e9d83c626d93ed95134d64db2049e4b79379838ae16b1de6547b56277531e2752e6779b3cddbf25a +DIST mythplugins-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 58328 SHA256 b8d7b2338236baeb20a26d2c83eb3c92b9a6f0aa96c66542e47018e4c833a213 SHA512 1ed2786f9c1fd0f7d607806b6ca34100ec116191e02573cc5def18c2581bb841e6f7e5b9fe066bfb9f52931b314ead157a64ab84a27bae06610282237d249dfc WHIRLPOOL 56977fab1cb93768164c4e3feb2fe503d22d44e70fd046cdbe3b05de0066a8792afd1097721029713b3f4f30c79e34d8ba617afe4c1241af0f1a741854cc3349 +DIST mythplugins-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 10552 SHA256 5848fd15bd924ba605cd20d122afa41b9e9c2999d4d44c1ca6a6a38e1556a388 SHA512 157acf9a95a5f6352022ec5e79bc5b95bf7a58789b57fde1dbc1f3f2309cfc39efd05234f32808cd472062f22855b4bd2d74e6b79df5828640e59973419a7a93 WHIRLPOOL ad993020fb444942e7b2e7456525f23c514d2b2117e8570cdeb33977c58faaca7a87deba83b161c9f500e00b4ef21a9ef3ebde321c7715be68c7a3159339be0c +DIST mythplugins-0.27.1-aaae611819c6a6f92a55d5c82efb8738ec9a23df.tar.xz 10264 SHA256 fd44b36152d52a2754c0f293159e47b8bc9e688833a08c0475153e346ac53209 SHA512 9df9048f787e39decc0b9efa885c7077ad0a99cea874ba770cf1df121028473f7aa7b90ae5d5e7ac45ee7ab85a663fa1e31be9b28ef6945e51b76a907dc00b26 WHIRLPOOL be56f2afba07b3fba683133dbb9d697c1a3ad3d6c951262bdc67e4ee375a541d9c02fb55a0099cfbefae2c028f5a43c969d6796e24edff08ae5245571c16583d +DIST mythplugins-0.27.3-2d4a7c9235287b0589035974bff282e3f2e9a7e5.tar.xz 1300 SHA256 33cea2169e632e42f2e44c7a7a0e3af5723c1093b2fba5f25188efc86cd96398 SHA512 150f5fee89bc145249ad1730c69b86c69d7a2169bda44989f23f8961c4db8a312eacf0ade7c7af4c9e81178df9028b605503396d3086898f9e97b59af81b0b70 WHIRLPOOL ebd7474d6ee10398342660ba39bb67a26539e95b4defa2006fb6912056827cefa2db85eeac283657e53b1fa361474413635c7d23cb4143b19f74dc2ae56ae364 +DIST mythplugins-0.27.3-e1d575da2fdde7ae7119972c688b0ddd15e676c4.tar.xz 1300 SHA256 474717393208877b7813f6d560255d55b30386fc1756888f190396155c89b20b SHA512 c40a066a65ac06fb0dd9f9270917165817adc2a2d37a2ccd15dce2a3624826fa16cfff5df696256b299cb61c83a0527f8f5b304b53a3280f665783747f34e942 WHIRLPOOL 7f02084b34e24ee845c5a236ab94a1853ad40bae3c26f8ccf65d9c0c44129a63946e3b1b4bc037a7ae37dafd1c0a4777642189a54592a5bb262c66cdf8c20c81 +DIST mythplugins-0.27.4-3b4390396bf09dfe3741508ecf7fc71a004abd01.tar.xz 200 SHA256 1c46beb6bcdcfc43caf8a076110b6ad4ada6ef7edb00d4f9503a24a474a51c9c SHA512 bde3d68b40998038099c6c1042a2d40c310f783860f008ae30cdb2088226244ae8a37d329f38ae68c192e93d9c5a80b7e5eb2107d8938095b7724a9327da8220 WHIRLPOOL 86e60d132be0a79a4a728c49730b747b995aeb9f887d88e462a4d06c0e5128e7635800b33952cf6648c5311d2e2a9f8931914825be9c782fd5ae58657e36f3d3 +DIST mythplugins-0.27.4-b305eb5b7fc662146e74983fa3754d622695cdeb.tar.xz 236 SHA256 d45ab17764af11f66874ed9146cc99120aaf51992752d84c925d3a96a9ab2959 SHA512 790d64ce805e1692598d2741b77da9e8ab32d2ceb54f83b334aa36c2003169d3872ab786571a4495b2ae1a734b4749790f0d3aebde0c5ff6fd7ee74b7822718a WHIRLPOOL 19538254498d39d83230813445f2c81ecc363b672a33bc8306a7091ee311386245cf715367999eae6b046dbcdc3295ea9636ec8baad48e46d990a2f9b9b47cb5 +DIST mythplugins-0.27.5-9498257571e8158926b60a0eefc74568c4436823.tar.xz 1364 SHA256 8b7abe67562767478f583fe36704570612425f82a05b9288cc82e3015bf2fc16 SHA512 2fe3a317ecdffc06d9e9b554cf8bfb54a324b7f1441038d51e9f77d13b53693ed6d2721282b239967c6d539947e1b119f579e49b42ba62f7dafd0144c0d28622 WHIRLPOOL 5fc5222364fbb11312f92f8adaef3adff46e89251afcdeea48d1466625072d068ebdb66f9426140765da6f4fc02a117b086033a319f148700cc164bad6fbc0f1 +DIST mythtv-0.27.1.tar.gz 85612356 SHA256 a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e WHIRLPOOL 938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad +DIST mythtv-0.27.3.tar.gz 85624583 SHA256 8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4 SHA512 c825c6d5a4fab6fe3179dbb78730575732615ab41cf2d21f82c6e6317ab62c9a6570cd9d204c39c04d176138c90dfdc95892cd8336bb8487051f1f3842cc0866 WHIRLPOOL b9382dbe1019bde96135ff404039d4db5ef03d52d5f2d75cfd3005e1e5eea702529df3a45497c081de89d9ecfd5a6a143b6dadc228e581453b9aa75c63bcc042 +DIST mythtv-0.27.4.tar.gz 85644227 SHA256 1f734ffc776e4938aa913e49ce94279f2c2d520c62af278f1d04fe399723365b SHA512 6f858f32467756e96db6f79ccb2c42edc0bf22d217cb7b9dc9188ada994bbb9aafe9f72dd71aca10cd26bad1bd5d344af64487ec5fc925872aba81cf7aa257c8 WHIRLPOOL 65cd1869b7cee00197179b13a138d466dc443ecaf23c665754e0451e7ab51940e7235cb74d23ed7296be2c716f443c9c42df2fdd918a0480a04c63381ebce2c4 +DIST mythtv-0.27.5.tar.gz 85652939 SHA256 7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b SHA512 b912e010e54271f9321ac1b11d4a31e4093f86c0f2ae3139d4b55085bab142ca3fc6d847d163f6b75aa31320404914c71c094528dc8ee7d70086e56a828b9169 WHIRLPOOL e9ebbbabac6ed53b4ec90537371a63e053bb9a2c0a0e920e43d3d2e475f87bdd0ac5a4604045498e88aaf06b11eb054d50dea7881c87dbd45a36c08309e1b880 +DIST mythtv-0.27.tar.gz 85904162 SHA256 494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d11116 WHIRLPOOL 74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47 diff --git a/media-plugins/mythplugins/metadata.xml b/media-plugins/mythplugins/metadata.xml new file mode 100644 index 000000000000..c33b6b928fac --- /dev/null +++ b/media-plugins/mythplugins/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mythtv</herd> + <use> + <flag name="cdr">Allows MythMusic to burn CD-Rs</flag> + <flag name="exif">Allows MythGallery to read EXIF data from photos</flag> + <flag name="fftw">Adds visual effects to MythMusic when playing back music</flag> + <flag name="hls">HTTP Live Streaming support</flag> + <flag name="raw">Allows MythGallery to view photos saved in RAW format</flag> + <flag name="mytharchive">Allows you to archive recorded content to CD or DVD</flag> + <flag name="mythbrowser">Adds a web browser within MythTV</flag> + <flag name="mythgallery">Adds a picture viewing gallery within MythTV</flag> + <flag name="mythgame">Adds a frontend to various ROM emulators within MythTV</flag> + <flag name="mythmusic">Adds the ability for MythTV to act as a music player</flag> + <flag name="mythnetvision">Adds the ability to view netvision devices within MythTV</flag> + <flag name="mythnews">Adds a news viewer within MythTV</flag> + <flag name="mythweather">Adds weather information within MythTV</flag> + <flag name="mythzoneminder">Adds support for zoneminder (requires a server with the appropriate mythtv daemon somewhere on the network).</flag> + </use> + <upstream> + <remote-id type="github">MythTV/mythtv</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/mythplugins/mythplugins-0.26.0_p20130922.ebuild b/media-plugins/mythplugins/mythplugins-0.26.0_p20130922.ebuild new file mode 100644 index 000000000000..e1aea4207834 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.26.0_p20130922.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="9fd7c6102b2cd1a3760337663803b110446c6ea7" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[python] + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/libvorbis-1.0:= + >=media-libs/taglib-1.6:= + media-sound/lame + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + fftw? ( sci-libs/fftw:= ) + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.1_p20140713.ebuild b/media-plugins/mythplugins/mythplugins-0.27.1_p20140713.ebuild new file mode 100644 index 000000000000..98dd2e90769a --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.1_p20140713.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="aaae611819c6a6f92a55d5c82efb8738ec9a23df" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.1.tar.gz -> mythtv-0.27.1.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[python] + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/libvorbis-1.0:= + >=media-libs/taglib-1.6:= + media-sound/lame + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + fftw? ( sci-libs/fftw:= ) + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.1/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.1_p20140817.ebuild b/media-plugins/mythplugins/mythplugins-0.27.1_p20140817.ebuild new file mode 100644 index 000000000000..d052e608d7c2 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.1_p20140817.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="082d5c1fbccd48dd862f14007c0445dee8502f3d" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.1.tar.gz -> mythtv-0.27.1.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[python] + dev-libs/glib:= + dev-libs/libxml2:= + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + media-libs/alsa-lib:= + media-libs/faac:= + media-libs/freetype:= + media-libs/libass:= + media-libs/libiec61883:= + media-libs/libogg:= + media-libs/libpng:= + media-libs/libtheora:= + media-libs/libvpx:= + media-libs/x264:= + media-libs/xvid:= + virtual/libudev:= + sys-libs/libavc1394:= + sys-libs/libraw1394:= + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + media-sound/lame:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql:= ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/libvorbis-1.0:= + >=media-libs/taglib-1.6:= + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.1/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.3_p20140907.ebuild b/media-plugins/mythplugins/mythplugins-0.27.3_p20140907.ebuild new file mode 100644 index 000000000000..49d30c1f6e50 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.3_p20140907.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="2d4a7c9235287b0589035974bff282e3f2e9a7e5" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.3.tar.gz -> mythtv-0.27.3.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=] + dev-libs/glib:= + xml? ( >=dev-libs/libxml2-2.6.0:= ) + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + alsa? ( >=media-libs/alsa-lib-1.0.24:= ) + hls? ( + media-libs/faac:= + media-libs/libvpx:= + >=media-libs/x264-0.0.20111220:= + >=media-sound/lame-3.93.1 + ) + media-libs/freetype:= + libass? ( >=media-libs/libass-0.9.11:= ) + media-libs/libpng:= + theora? ( media-libs/libtheora:= media-libs/libogg:= ) + vorbis? ( media-libs/libogg:= ) + xvid? ( >=media-libs/xvid-1.1.0:= ) + virtual/libudev:= + ieee1394? ( + >=sys-libs/libraw1394-1.2.0:= + >=sys-libs/libavc1394-0.5.3:= + >=media-libs/libiec61883-1.0.0:= + ) + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql:= ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/taglib-1.6:= + vorbis? ( >=media-libs/libvorbis-1.0:= ) + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.3/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.3_p20141009.ebuild b/media-plugins/mythplugins/mythplugins-0.27.3_p20141009.ebuild new file mode 100644 index 000000000000..82f1f7269972 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.3_p20141009.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="e1d575da2fdde7ae7119972c688b0ddd15e676c4" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.3.tar.gz -> mythtv-0.27.3.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=] + dev-libs/glib:= + xml? ( >=dev-libs/libxml2-2.6.0:= ) + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + alsa? ( >=media-libs/alsa-lib-1.0.24:= ) + hls? ( + media-libs/faac:= + media-libs/libvpx:= + >=media-libs/x264-0.0.20111220:= + >=media-sound/lame-3.93.1 + ) + media-libs/freetype:= + libass? ( >=media-libs/libass-0.9.11:= ) + media-libs/libpng:= + theora? ( media-libs/libtheora:= media-libs/libogg:= ) + vorbis? ( media-libs/libogg:= ) + xvid? ( >=media-libs/xvid-1.1.0:= ) + virtual/libudev:= + ieee1394? ( + >=sys-libs/libraw1394-1.2.0:= + >=sys-libs/libavc1394-0.5.3:= + >=media-libs/libiec61883-1.0.0:= + ) + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql:= ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/taglib-1.6:= + vorbis? ( >=media-libs/libvorbis-1.0:= ) + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.3/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.4_p20141018.ebuild b/media-plugins/mythplugins/mythplugins-0.27.4_p20141018.ebuild new file mode 100644 index 000000000000..2f4bcd99191f --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.4_p20141018.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="b305eb5b7fc662146e74983fa3754d622695cdeb" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.4.tar.gz -> mythtv-0.27.4.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=] + dev-libs/glib:= + xml? ( >=dev-libs/libxml2-2.6.0:= ) + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + alsa? ( >=media-libs/alsa-lib-1.0.24:= ) + hls? ( + media-libs/faac:= + media-libs/libvpx:= + >=media-libs/x264-0.0.20111220:= + >=media-sound/lame-3.93.1 + ) + media-libs/freetype:= + libass? ( >=media-libs/libass-0.9.11:= ) + media-libs/libpng:= + theora? ( media-libs/libtheora:= media-libs/libogg:= ) + vorbis? ( media-libs/libogg:= ) + xvid? ( >=media-libs/xvid-1.1.0:= ) + virtual/libudev:= + ieee1394? ( + >=sys-libs/libraw1394-1.2.0:= + >=sys-libs/libavc1394-0.5.3:= + >=media-libs/libiec61883-1.0.0:= + ) + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql:= ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/taglib-1.6:= + vorbis? ( >=media-libs/libvorbis-1.0:= ) + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.4/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.4_p20150124.ebuild b/media-plugins/mythplugins/mythplugins-0.27.4_p20150124.ebuild new file mode 100644 index 000000000000..7a82017014e4 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.4_p20150124.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.7" +BACKPORTS="3b4390396bf09dfe3741508ecf7fc71a004abd01" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.4.tar.gz -> mythtv-0.27.4.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=] + dev-libs/glib:= + xml? ( >=dev-libs/libxml2-2.6.0:= ) + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + alsa? ( >=media-libs/alsa-lib-1.0.24:= ) + hls? ( + media-libs/faac:= + media-libs/libvpx:= + >=media-libs/x264-0.0.20111220:= + >=media-sound/lame-3.93.1 + ) + media-libs/freetype:= + libass? ( >=media-libs/libass-0.9.11:= ) + media-libs/libpng:= + theora? ( media-libs/libtheora:= media-libs/libogg:= ) + vorbis? ( media-libs/libogg:= ) + xvid? ( >=media-libs/xvid-1.1.0:= ) + virtual/libudev:= + ieee1394? ( + >=sys-libs/libraw1394-1.2.0:= + >=sys-libs/libavc1394-0.5.3:= + >=media-libs/libiec61883-1.0.0:= + ) + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql:= ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/taglib-1.6:= + vorbis? ( >=media-libs/libvorbis-1.0:= ) + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.4/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27.5_p20150627.ebuild b/media-plugins/mythplugins/mythplugins-0.27.5_p20150627.ebuild new file mode 100644 index 000000000000..377a69931573 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27.5_p20150627.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.7" +BACKPORTS="9498257571e8158926b60a0eefc74568c4436823" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.5.tar.gz -> mythtv-0.27.5.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=] + dev-libs/glib:= + xml? ( >=dev-libs/libxml2-2.6.0:= ) + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-libs/openssl:= + alsa? ( >=media-libs/alsa-lib-1.0.24:= ) + hls? ( + media-libs/faac:= + media-libs/libvpx:= + >=media-libs/x264-0.0.20111220:= + >=media-sound/lame-3.93.1 + ) + media-libs/freetype:= + libass? ( >=media-libs/libass-0.9.11:= ) + media-libs/libpng:= + theora? ( media-libs/libtheora:= media-libs/libogg:= ) + vorbis? ( media-libs/libogg:= ) + xvid? ( >=media-libs/xvid-1.1.0:= ) + virtual/libudev:= + ieee1394? ( + >=sys-libs/libraw1394-1.2.0:= + >=sys-libs/libavc1394-0.5.3:= + >=media-libs/libiec61883-1.0.0:= + ) + x11-libs/libX11:= + sys-libs/zlib:= + x11-libs/libXext:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXv:= + x11-libs/libXxf86vm:= + fftw? ( sci-libs/fftw:= ) + sys-apps/util-linux:= + mythzoneminder? ( virtual/mysql ) + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/taglib-1.6:= + vorbis? ( >=media-libs/libvorbis-1.0:= ) + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + ) + mythbrowser? ( + dev-qt/qtwebkit:4 + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27.5/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/mythplugins/mythplugins-0.27_p20140321.ebuild b/media-plugins/mythplugins/mythplugins-0.27_p20140321.ebuild new file mode 100644 index 000000000000..3349c65fce2e --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.27_p20140321.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="583395f5a376637efcd408a102fa64d0f188c12f" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.tar.gz -> mythtv-0.27.tar.gz + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[python] + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/libvorbis-1.0:= + >=media-libs/taglib-1.6:= + media-sound/lame + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + fftw? ( sci-libs/fftw:= ) + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + >=dev-perl/DateTime-1 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/mythtv-0.27/mythplugins" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} diff --git a/media-plugins/npapi-vlc/Manifest b/media-plugins/npapi-vlc/Manifest new file mode 100644 index 000000000000..7207271c347d --- /dev/null +++ b/media-plugins/npapi-vlc/Manifest @@ -0,0 +1 @@ +DIST npapi-vlc-2.0.0.tar.xz 359508 RMD160 9653fdde5fe50792f52969e106d6ce7dc279463d SHA1 a7a19f91134fd17c45080743b90251f38026252a SHA256 d41f69b995daf30fb81b2106ca7ad58fde6f4b1c94a2f7b266636c2d949ca6ae diff --git a/media-plugins/npapi-vlc/files/xembed.h b/media-plugins/npapi-vlc/files/xembed.h new file mode 100644 index 000000000000..28a1a36d7df1 --- /dev/null +++ b/media-plugins/npapi-vlc/files/xembed.h @@ -0,0 +1,38 @@ +#ifndef __XEMBED_H__ +#define __XEMBED_H__ + +/* the latest version of XEmbed that we support */ +#define PLUGIN_XEMBED_PROTOCOL_VERSION 1 + +/* XEMBED messages */ +typedef enum { + XEMBED_EMBEDDED_NOTIFY = 0, + XEMBED_WINDOW_ACTIVATE = 1, + XEMBED_WINDOW_DEACTIVATE = 2, + XEMBED_REQUEST_FOCUS = 3, + XEMBED_FOCUS_IN = 4, + XEMBED_FOCUS_OUT = 5, + XEMBED_FOCUS_NEXT = 6, + XEMBED_FOCUS_PREV = 7, + XEMBED_GRAB_KEY = 8, + XEMBED_UNGRAB_KEY = 9, + XEMBED_MODALITY_ON = 10, + XEMBED_MODALITY_OFF = 11, + +/* Non standard messages*/ + XEMBED_GTK_GRAB_KEY = 108, + XEMBED_GTK_UNGRAB_KEY = 109 +} XEmbedMessageType; + +/* Details for XEMBED_FOCUS_IN: */ +#define XEMBED_FOCUS_CURRENT 0 +#define XEMBED_FOCUS_FIRST 1 +#define XEMBED_FOCUS_LAST 2 + +/* Flags for XEMBED_FOCUS_IN, XEMBED_FOCUS_NEXT, XEMBED_FOCUS_PREV */ +#define XEMBED_FOCUS_WRAPAROUND (1 << 0) + +/* Flags for _XEMBED_INFO */ +#define XEMBED_MAPPED (1 << 0) + +#endif /* __XEMBED_H__ */ diff --git a/media-plugins/npapi-vlc/metadata.xml b/media-plugins/npapi-vlc/metadata.xml new file mode 100644 index 000000000000..0d9b0dcb7f33 --- /dev/null +++ b/media-plugins/npapi-vlc/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>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild new file mode 100644 index 000000000000..33825d40f62e --- /dev/null +++ b/media-plugins/npapi-vlc/npapi-vlc-2.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=git-2 + EGIT_BOOTSTRAP="" + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +fi + +inherit autotools multilib ${SCM} + +DESCRIPTION="Mozilla plugin based on VLC" +HOMEPAGE="http://www.videolan.org/" + +LICENSE="LGPL-2.1" +SLOT="0" + +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="amd64 ~ppc64 x86" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" +else + KEYWORDS="" + SRC_URI="" +fi +IUSE="gtk" + +RDEPEND=">=media-video/vlc-1.1 + x11-libs/libX11 + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) + !<media-video/vlc-1.2[nsplugin]" +DEPEND="${RDEPEND} + ${DEPEND} + virtual/pkgconfig + >=net-misc/npapi-sdk-0.27" + +src_prepare() { + if [ "${PV%9999}" != "${PV}" ] ; then + eautoreconf + fi + cp "${FILESDIR}/xembed.h" "${S}/npapi/" || die +} + +src_configure() { + econf \ + $(use_with gtk) +} + +src_install() { + emake DESTDIR="${D}" npvlcdir="/usr/$(get_libdir)/nsbrowser/plugins" install || die + find "${D}" -name '*.la' -delete + dodoc NEWS AUTHORS ChangeLog || die +} diff --git a/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild new file mode 100644 index 000000000000..68c895c33ec7 --- /dev/null +++ b/media-plugins/npapi-vlc/npapi-vlc-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +SCM="" +if [ "${PV%9999}" != "${PV}" ] ; then + SCM=git-2 + EGIT_BOOTSTRAP="" + EGIT_REPO_URI="git://git.videolan.org/${PN}.git" +fi + +inherit autotools multilib ${SCM} + +DESCRIPTION="Mozilla plugin based on VLC" +HOMEPAGE="http://www.videolan.org/" + +LICENSE="LGPL-2.1" +SLOT="0" + +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64" + SRC_URI="http://download.videolan.org/pub/videolan/vlc/${PV}/${P}.tar.xz" + DEPEND="app-arch/xz-utils" +else + KEYWORDS="" + SRC_URI="" +fi +IUSE="gtk" + +RDEPEND=">=media-video/vlc-1.1 + x11-libs/libX11 + !gtk? ( x11-libs/libXpm x11-libs/libSM x11-libs/libICE ) + gtk? ( x11-libs/gtk+:2 ) + !<media-video/vlc-1.2[nsplugin]" +DEPEND="${RDEPEND} + ${DEPEND} + virtual/pkgconfig + >=net-misc/npapi-sdk-0.27" + +src_prepare() { + if [ "${PV%9999}" != "${PV}" ] ; then + eautoreconf + fi +} + +src_configure() { + econf \ + $(use_with gtk) +} + +src_install() { + emake DESTDIR="${D}" npvlcdir="/usr/$(get_libdir)/nsbrowser/plugins" install || die + find "${D}" -name '*.la' -delete + dodoc NEWS AUTHORS ChangeLog || die +} diff --git a/media-plugins/qmmp-plugin-pack/Manifest b/media-plugins/qmmp-plugin-pack/Manifest new file mode 100644 index 000000000000..eb78af3d2b9b --- /dev/null +++ b/media-plugins/qmmp-plugin-pack/Manifest @@ -0,0 +1,2 @@ +DIST qmmp-plugin-pack-0.8.3.tar.bz2 163989 SHA256 7b45464429a44f0de9f611ec4c2d396752c3be19e3b8076f8909cb18930589f0 SHA512 ffa41eae98f6e283f5f4699e533ba85c1cb89d9e39a2d45ac76ccb38ad444ea379e51753ac4d78027b0ba35adecde47c1b64e65bbfdb61a5226b2eab6290613c WHIRLPOOL 62d4d433b028b8003b13e41eb36c8518495b7d27adbf0adc6d60d61543292961d745623166a007f57d468c153a07aa6e13c6dca83892f81ae8db4f301e9c82fc +DIST qmmp-plugin-pack-0.8.4.tar.bz2 164215 SHA256 f6ef6ec2fdcd8809fa826f75b1d723fa0c83bd6d13a4ffa9af7db82a167f265a SHA512 862d46cf2506932a0c35ebb30b46705a99f9d65a0332209467e30fdcb564ea483003de07f153939ded944ff3aa33221d0af1660a65bb9017a5638d46f8f675a5 WHIRLPOOL bbc9358a0cfb5759a56cf4c6c9939556530d8987f6c3613ab21e8c46467fa9ca96f56cc8ad25f64175245dbb716ac45b49c59fde8edbde449f70d958831d27f5 diff --git a/media-plugins/qmmp-plugin-pack/metadata.xml b/media-plugins/qmmp-plugin-pack/metadata.xml new file mode 100644 index 000000000000..1ed066c759ec --- /dev/null +++ b/media-plugins/qmmp-plugin-pack/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>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.3.ebuild b/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.3.ebuild new file mode 100644 index 000000000000..c30a969a8e36 --- /dev/null +++ b/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +CMAKE_MIN_VERSION=2.8 + +inherit cmake-utils + +DESCRIPTION="A set of extra plugins for Qmmp" +HOMEPAGE="http://qmmp.ylsoftware.com/" +SRC_URI="http://qmmp.ylsoftware.com/files/plugins/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/taglib + media-sound/mpg123 + media-sound/qmmp + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + dev-lang/yasm" diff --git a/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.4.ebuild b/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.4.ebuild new file mode 100644 index 000000000000..35c11242d1fb --- /dev/null +++ b/media-plugins/qmmp-plugin-pack/qmmp-plugin-pack-0.8.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +CMAKE_MIN_VERSION=2.8 + +inherit cmake-utils + +DESCRIPTION="A set of extra plugins for Qmmp" +HOMEPAGE="http://qmmp.ylsoftware.com/" +SRC_URI="http://qmmp.ylsoftware.com/files/plugins/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/taglib + media-sound/mpg123 + media-sound/qmmp + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + dev-lang/yasm" diff --git a/media-plugins/quodlibet-plugins/Manifest b/media-plugins/quodlibet-plugins/Manifest new file mode 100644 index 000000000000..965527c5574e --- /dev/null +++ b/media-plugins/quodlibet-plugins/Manifest @@ -0,0 +1,2 @@ +DIST quodlibet-plugins-2.6.3.tar.gz 108398 SHA256 6cf953f69e65e6bcdcaa5843edfb7c5fcd4d1cbb5a637aa1d4a829d9604660e7 SHA512 3d51bd965c22ab2a5a1200ac9c24c27ce0f104dea8bfb5c77688de80f953621cae99043051d679df6741cd1c0450e745fbf594c86ab2cda8a9b4f2d9cd82ccc3 WHIRLPOOL 1c4b943a13a0c38ce1b24549ed335852cc17f6fe3fbf0f7b4dc92a082713963f039684f908e667395134ce2e3cfea0388b35231d2f4c67b89e87b54706b40cb4 +DIST quodlibet-plugins-3.1.2.tar.gz 114026 SHA256 af9952f510048d724543387f9e3e228152c6633aac1c2c348d2d5ee696720240 SHA512 7fe2d96fb825660d9d97525872ffe345df5c0cdfca76fa3fddc2337a406822c4926291ad6ac7de304b711b8dfcdbe3a97831c7a276c06ce75110bf67ed5c09b1 WHIRLPOOL 4872dae4a7346de892fa0fb6e04b6cf7d09dffe49169be834ea577a7aebf9442d63ec1d7280f14b3b78609a42cb3a22234fe383dd1fb93db3c7827403d1194cd diff --git a/media-plugins/quodlibet-plugins/metadata.xml b/media-plugins/quodlibet-plugins/metadata.xml new file mode 100644 index 000000000000..2b2512fb3b3b --- /dev/null +++ b/media-plugins/quodlibet-plugins/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>tamiko@gentoo.org</email> + <name>Matthias Maier</name> + </maintainer> + <herd>sound</herd> +</pkgmetadata> diff --git a/media-plugins/quodlibet-plugins/quodlibet-plugins-2.6.3.ebuild b/media-plugins/quodlibet-plugins/quodlibet-plugins-2.6.3.ebuild new file mode 100644 index 000000000000..09e4c1245f75 --- /dev/null +++ b/media-plugins/quodlibet-plugins/quodlibet-plugins-2.6.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit python-r1 + +DESCRIPTION="Plugins for Quod Libet and Ex Falso" +HOMEPAGE="http://code.google.com/p/quodlibet/" +SRC_URI="http://bitbucket.org/lazka/quodlibet-files/raw/default/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND="~media-sound/quodlibet-${PV}" +DEPEND="" + +src_prepare() { + rm -f README || die +} + +src_install() { + local python_moduleroot=quodlibet/plugins + python_foreach_impl python_domodule . +} diff --git a/media-plugins/quodlibet-plugins/quodlibet-plugins-3.1.2.ebuild b/media-plugins/quodlibet-plugins/quodlibet-plugins-3.1.2.ebuild new file mode 100644 index 000000000000..762dd5abd0f8 --- /dev/null +++ b/media-plugins/quodlibet-plugins/quodlibet-plugins-3.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit python-r1 + +DESCRIPTION="Plugins for Quod Libet and Ex Falso" +HOMEPAGE="http://code.google.com/p/quodlibet/" +SRC_URI="http://bitbucket.org/lazka/quodlibet-files/raw/default/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=media-sound/quodlibet-${PV}" +DEPEND="" + +src_prepare() { + rm -f README || die +} + +src_install() { + local python_moduleroot=quodlibet/plugins + python_foreach_impl python_domodule . +} diff --git a/media-plugins/rev-plugins/Manifest b/media-plugins/rev-plugins/Manifest new file mode 100644 index 000000000000..87cfe2b47a26 --- /dev/null +++ b/media-plugins/rev-plugins/Manifest @@ -0,0 +1 @@ +DIST REV-plugins-0.3.1.tar.bz2 17574 RMD160 1a6e0ee99b940ec40b2bffd7937608e6d78f18f8 SHA1 d59fbbe5135400307a2f74b9bafb078b34bc872f SHA256 9264570561966a6b7cd0b1bf6c50737a2cc75c9862af89192ffab2f0e4804a2d diff --git a/media-plugins/rev-plugins/metadata.xml b/media-plugins/rev-plugins/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/rev-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/rev-plugins/rev-plugins-0.3.1-r1.ebuild b/media-plugins/rev-plugins/rev-plugins-0.3.1-r1.ebuild new file mode 100644 index 000000000000..443ccb99bc88 --- /dev/null +++ b/media-plugins/rev-plugins/rev-plugins-0.3.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit multilib toolchain-funcs + +MY_P=${P/rev/REV} + +DESCRIPTION="REV LADSPA plugins package. A stereo reverb plugin based on the well-known greverb" +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} + +src_configure() { + tc-export CXX + sed -i Makefile -e 's/-O2//' -e 's/g++/$(CXX) $(LDFLAGS)/' || die "sed Makefile" +} + +src_install() { + dodoc AUTHORS README + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} diff --git a/media-plugins/swh-lv2/Manifest b/media-plugins/swh-lv2/Manifest new file mode 100644 index 000000000000..e8db4fe16f2d --- /dev/null +++ b/media-plugins/swh-lv2/Manifest @@ -0,0 +1 @@ +DIST swh-lv2-1.0.15.tar.gz 257023 RMD160 6b75fc3182c445710a7247a980b151d411cbeb04 SHA1 7e90c0771788fc60df80159e50ba4a1181c924f8 SHA256 5809441a94571d2f492a5e015ad035ea747127e0322e531b79a960fd0c3d250d diff --git a/media-plugins/swh-lv2/metadata.xml b/media-plugins/swh-lv2/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/swh-lv2/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/swh-lv2/swh-lv2-1.0.15.ebuild b/media-plugins/swh-lv2/swh-lv2-1.0.15.ebuild new file mode 100644 index 000000000000..6653ba633fd3 --- /dev/null +++ b/media-plugins/swh-lv2/swh-lv2-1.0.15.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit toolchain-funcs multilib + +DESCRIPTION="Large collection of LV2 audio plugins/effects" +HOMEPAGE="http://plugin.org.uk/" +SRC_URI="http://plugin.org.uk/lv2/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="=sci-libs/fftw-3*" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig" + +src_prepare() { + sed -e 's:-O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops::g' \ + -i Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + emake INSTALL_DIR="${D}/usr/$(get_libdir)/lv2" install-system || die + dodoc README +} diff --git a/media-plugins/swh-plugins/Manifest b/media-plugins/swh-plugins/Manifest new file mode 100644 index 000000000000..c0f234b38c7f --- /dev/null +++ b/media-plugins/swh-plugins/Manifest @@ -0,0 +1 @@ +DIST swh-plugins-0.4.15.tar.gz 1051623 SHA256 d05ee8a4f4d92e828412bce3449a034f6ef16bb630eaf60f8fe4e15a89168640 SHA512 b26d11f3887d03d39187b86f8e4061e3808ac03fa49caf24256ae457a0156be5982fe687ed50fa4240ccbb3e6250ed920d1da8c95d57cf4313e127559491eb03 WHIRLPOOL 853af1d3c7f0593be223e722641b797e39c5e55dd09928652834cc5d48f3d1985da645f2e2ae121d9c6669ca709c363936128b5fe062889febf72ee0ed50e4a6 diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-gettext.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-gettext.patch new file mode 100644 index 000000000000..917898356e11 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-gettext.patch @@ -0,0 +1,12 @@ +Index: swh-plugins-0.4.15/configure.in +=================================================================== +--- swh-plugins-0.4.15.orig/configure.in ++++ swh-plugins-0.4.15/configure.in +@@ -52,6 +52,7 @@ AC_PROG_CC + AC_REQUIRE_CPP + ALL_LINGUAS="en_GB" + AM_GNU_GETTEXT([external]) ++AM_GNU_GETTEXT_VERSION([0.13]) + AC_C_BIGENDIAN + + LIBS="$LIBS -lm" diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-glibc-2.10.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-glibc-2.10.patch new file mode 100644 index 000000000000..f2c07a2b146d --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-glibc-2.10.patch @@ -0,0 +1,1045 @@ +diff -ur a/alias_1407.c b/alias_1407.c +--- a/alias_1407.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/alias_1407.c 2009-06-13 14:35:24.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/allpass_1895.c b/allpass_1895.c +--- a/allpass_1895.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/allpass_1895.c 2009-06-13 14:38:16.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/am_pitchshift_1433.c b/am_pitchshift_1433.c +--- a/am_pitchshift_1433.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/am_pitchshift_1433.c 2009-06-13 14:38:25.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/amp_1181.c b/amp_1181.c +--- a/amp_1181.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/amp_1181.c 2009-06-12 17:13:46.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/analogue_osc_1416.c b/analogue_osc_1416.c +--- a/analogue_osc_1416.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/analogue_osc_1416.c 2009-06-13 14:38:36.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/bandpass_a_iir_1893.c b/bandpass_a_iir_1893.c +--- a/bandpass_a_iir_1893.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/bandpass_a_iir_1893.c 2009-06-13 14:38:42.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/bandpass_iir_1892.c b/bandpass_iir_1892.c +--- a/bandpass_iir_1892.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/bandpass_iir_1892.c 2009-06-13 14:38:48.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/bode_shifter_1431.c b/bode_shifter_1431.c +--- a/bode_shifter_1431.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/bode_shifter_1431.c 2009-06-13 14:38:54.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/bode_shifter_cv_1432.c b/bode_shifter_cv_1432.c +--- a/bode_shifter_cv_1432.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/bode_shifter_cv_1432.c 2009-06-13 14:39:00.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/butterworth_1902.c b/butterworth_1902.c +--- a/butterworth_1902.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/butterworth_1902.c 2009-06-13 14:39:07.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/chebstortion_1430.c b/chebstortion_1430.c +--- a/chebstortion_1430.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/chebstortion_1430.c 2009-06-13 14:39:13.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/comb_1190.c b/comb_1190.c +--- a/comb_1190.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/comb_1190.c 2009-06-12 17:26:17.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/comb_1887.c b/comb_1887.c +--- a/comb_1887.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/comb_1887.c 2009-06-13 14:45:46.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/comb_splitter_1411.c b/comb_splitter_1411.c +--- a/comb_splitter_1411.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/comb_splitter_1411.c 2009-06-13 14:36:12.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/const_1909.c b/const_1909.c +--- a/const_1909.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/const_1909.c 2009-06-13 14:49:01.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/crossover_dist_1404.c b/crossover_dist_1404.c +--- a/crossover_dist_1404.c 2005-07-20 15:36:59.000000000 +0400 ++++ b/crossover_dist_1404.c 2009-06-13 14:31:57.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/dc_remove_1207.c b/dc_remove_1207.c +--- a/dc_remove_1207.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/dc_remove_1207.c 2009-06-12 17:31:35.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/decay_1886.c b/decay_1886.c +--- a/decay_1886.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/decay_1886.c 2009-06-13 14:46:06.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/decimator_1202.c b/decimator_1202.c +--- a/decimator_1202.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/decimator_1202.c 2009-06-12 17:29:58.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/declip_1195.c b/declip_1195.c +--- a/declip_1195.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/declip_1195.c 2009-06-12 17:27:08.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/delay_1898.c b/delay_1898.c +--- a/delay_1898.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/delay_1898.c 2009-06-13 14:46:20.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/delayorama_1402.c b/delayorama_1402.c +--- a/delayorama_1402.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/delayorama_1402.c 2009-06-13 14:31:08.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/diode_1185.c b/diode_1185.c +--- a/diode_1185.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/diode_1185.c 2009-06-12 17:16:36.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/divider_1186.c b/divider_1186.c +--- a/divider_1186.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/divider_1186.c 2009-06-12 17:19:08.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/dj_eq_1901.c b/dj_eq_1901.c +--- a/dj_eq_1901.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/dj_eq_1901.c 2009-06-13 14:44:52.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/dj_flanger_1438.c b/dj_flanger_1438.c +--- a/dj_flanger_1438.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/dj_flanger_1438.c 2009-06-13 14:44:55.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/dyson_compress_1403.c b/dyson_compress_1403.c +--- a/dyson_compress_1403.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/dyson_compress_1403.c 2009-06-13 14:31:22.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/fad_delay_1192.c b/fad_delay_1192.c +--- a/fad_delay_1192.c 2005-07-20 15:36:51.000000000 +0400 ++++ b/fad_delay_1192.c 2009-06-12 17:31:17.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/fast_lookahead_limiter_1913.c b/fast_lookahead_limiter_1913.c +--- a/fast_lookahead_limiter_1913.c 2006-08-08 19:49:13.000000000 +0400 ++++ b/fast_lookahead_limiter_1913.c 2009-06-13 14:46:45.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/flanger_1191.c b/flanger_1191.c +--- a/flanger_1191.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/flanger_1191.c 2009-06-12 17:29:41.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/fm_osc_1415.c b/fm_osc_1415.c +--- a/fm_osc_1415.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/fm_osc_1415.c 2009-06-13 14:41:09.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/foldover_1213.c b/foldover_1213.c +--- a/foldover_1213.c 2004-10-26 17:35:35.000000000 +0400 ++++ b/foldover_1213.c 2009-06-13 14:20:25.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/foverdrive_1196.c b/foverdrive_1196.c +--- a/foverdrive_1196.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/foverdrive_1196.c 2009-06-12 17:28:24.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/freq_tracker_1418.c b/freq_tracker_1418.c +--- a/freq_tracker_1418.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/freq_tracker_1418.c 2009-06-13 14:42:12.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/gate_1410.c b/gate_1410.c +--- a/gate_1410.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/gate_1410.c 2009-06-13 14:35:59.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/giant_flange_1437.c b/giant_flange_1437.c +--- a/giant_flange_1437.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/giant_flange_1437.c 2009-06-13 14:41:24.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/gong_1424.c b/gong_1424.c +--- a/gong_1424.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/gong_1424.c 2009-06-13 14:41:17.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/gong_beater_1439.c b/gong_beater_1439.c +--- a/gong_beater_1439.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/gong_beater_1439.c 2009-06-13 14:45:27.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/gsm_1215.c b/gsm_1215.c +--- a/gsm_1215.c 2004-10-26 17:35:35.000000000 +0400 ++++ b/gsm_1215.c 2009-06-13 14:28:45.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/gverb_1216.c b/gverb_1216.c +--- a/gverb_1216.c 2004-10-26 17:35:35.000000000 +0400 ++++ b/gverb_1216.c 2009-06-13 14:29:13.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/hard_limiter_1413.c b/hard_limiter_1413.c +--- a/hard_limiter_1413.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/hard_limiter_1413.c 2009-06-13 14:30:04.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/harmonic_gen_1220.c b/harmonic_gen_1220.c +--- a/harmonic_gen_1220.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/harmonic_gen_1220.c 2009-06-13 14:30:44.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/hermes_filter_1200.c b/hermes_filter_1200.c +--- a/hermes_filter_1200.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/hermes_filter_1200.c 2009-06-12 17:29:01.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/highpass_iir_1890.c b/highpass_iir_1890.c +--- a/highpass_iir_1890.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/highpass_iir_1890.c 2009-06-13 14:43:51.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/hilbert_1440.c b/hilbert_1440.c +--- a/hilbert_1440.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/hilbert_1440.c 2009-06-13 14:43:48.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/imp_1199.c b/imp_1199.c +--- a/imp_1199.c 2006-08-08 19:49:15.000000000 +0400 ++++ b/imp_1199.c 2009-06-13 14:43:43.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/impulse_1885.c b/impulse_1885.c +--- a/impulse_1885.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/impulse_1885.c 2009-06-13 14:43:40.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/inv_1429.c b/inv_1429.c +--- a/inv_1429.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/inv_1429.c 2009-06-13 14:43:34.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/karaoke_1409.c b/karaoke_1409.c +--- a/karaoke_1409.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/karaoke_1409.c 2009-06-13 14:35:45.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/latency_1914.c b/latency_1914.c +--- a/latency_1914.c 2004-10-26 17:35:44.000000000 +0400 ++++ b/latency_1914.c 2009-06-13 14:46:57.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/lcr_delay_1436.c b/lcr_delay_1436.c +--- a/lcr_delay_1436.c 2004-10-26 17:35:40.000000000 +0400 ++++ b/lcr_delay_1436.c 2009-06-13 14:44:08.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/lowpass_iir_1891.c b/lowpass_iir_1891.c +--- a/lowpass_iir_1891.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/lowpass_iir_1891.c 2009-06-13 14:44:23.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/ls_filter_1908.c b/ls_filter_1908.c +--- a/ls_filter_1908.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/ls_filter_1908.c 2009-06-13 14:44:27.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/matrix_ms_st_1421.c b/matrix_ms_st_1421.c +--- a/matrix_ms_st_1421.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/matrix_ms_st_1421.c 2009-06-13 14:42:39.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/matrix_spatialiser_1422.c b/matrix_spatialiser_1422.c +--- a/matrix_spatialiser_1422.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/matrix_spatialiser_1422.c 2009-06-13 14:42:44.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/matrix_st_ms_1420.c b/matrix_st_ms_1420.c +--- a/matrix_st_ms_1420.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/matrix_st_ms_1420.c 2009-06-13 14:42:48.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/mbeq_1197.c b/mbeq_1197.c +--- a/mbeq_1197.c 2006-08-08 19:49:15.000000000 +0400 ++++ b/mbeq_1197.c 2009-06-13 14:42:52.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/mod_delay_1419.c b/mod_delay_1419.c +--- a/mod_delay_1419.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/mod_delay_1419.c 2009-06-13 14:42:21.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/multivoice_chorus_1201.c b/multivoice_chorus_1201.c +--- a/multivoice_chorus_1201.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/multivoice_chorus_1201.c 2009-06-12 17:29:23.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/notch_iir_1894.c b/notch_iir_1894.c +--- a/notch_iir_1894.c 2004-10-26 17:35:42.000000000 +0400 ++++ b/notch_iir_1894.c 2009-06-13 14:42:30.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/phasers_1217.c b/phasers_1217.c +--- a/phasers_1217.c 2004-10-26 17:35:35.000000000 +0400 ++++ b/phasers_1217.c 2009-06-13 14:30:24.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/pitch_scale_1193.c b/pitch_scale_1193.c +--- a/pitch_scale_1193.c 2004-10-26 17:35:44.000000000 +0400 ++++ b/pitch_scale_1193.c 2009-06-13 14:42:03.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/pitch_scale_1194.c b/pitch_scale_1194.c +--- a/pitch_scale_1194.c 2004-10-26 17:35:44.000000000 +0400 ++++ b/pitch_scale_1194.c 2009-06-13 14:41:59.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/plate_1423.c b/plate_1423.c +--- a/plate_1423.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/plate_1423.c 2009-06-13 14:41:55.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/pointer_cast_1910.c b/pointer_cast_1910.c +--- a/pointer_cast_1910.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/pointer_cast_1910.c 2009-06-13 14:41:50.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/rate_shifter_1417.c b/rate_shifter_1417.c +--- a/rate_shifter_1417.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/rate_shifter_1417.c 2009-06-13 14:41:44.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/retro_flange_1208.c b/retro_flange_1208.c +--- a/retro_flange_1208.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/retro_flange_1208.c 2009-06-12 17:42:45.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/revdelay_1605.c b/revdelay_1605.c +--- a/revdelay_1605.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/revdelay_1605.c 2009-06-13 14:46:32.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/ringmod_1188.c b/ringmod_1188.c +--- a/ringmod_1188.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/ringmod_1188.c 2009-06-12 17:24:55.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/satan_maximiser_1408.c b/satan_maximiser_1408.c +--- a/satan_maximiser_1408.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/satan_maximiser_1408.c 2009-06-13 14:35:36.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sc1_1425.c b/sc1_1425.c +--- a/sc1_1425.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/sc1_1425.c 2009-06-13 14:43:09.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sc2_1426.c b/sc2_1426.c +--- a/sc2_1426.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/sc2_1426.c 2009-06-13 14:37:55.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sc3_1427.c b/sc3_1427.c +--- a/sc3_1427.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/sc3_1427.c 2009-06-13 14:37:48.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sc4_1882.c b/sc4_1882.c +--- a/sc4_1882.c 2005-07-20 15:37:15.000000000 +0400 ++++ b/sc4_1882.c 2009-06-13 14:37:41.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sc4m_1916.c b/sc4m_1916.c +--- a/sc4m_1916.c 2006-08-08 19:49:14.000000000 +0400 ++++ b/sc4m_1916.c 2009-06-13 14:37:27.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/se4_1883.c b/se4_1883.c +--- a/se4_1883.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/se4_1883.c 2009-06-13 14:37:22.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/shaper_1187.c b/shaper_1187.c +--- a/shaper_1187.c 2004-10-26 17:35:32.000000000 +0400 ++++ b/shaper_1187.c 2009-06-12 17:20:04.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sifter_1210.c b/sifter_1210.c +--- a/sifter_1210.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/sifter_1210.c 2009-06-12 17:43:33.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sin_cos_1881.c b/sin_cos_1881.c +--- a/sin_cos_1881.c 2004-10-26 17:35:41.000000000 +0400 ++++ b/sin_cos_1881.c 2009-06-13 14:40:51.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/single_para_1203.c b/single_para_1203.c +--- a/single_para_1203.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/single_para_1203.c 2009-06-12 17:30:27.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/sinus_wavewrapper_1198.c b/sinus_wavewrapper_1198.c +--- a/sinus_wavewrapper_1198.c 2004-10-26 17:35:33.000000000 +0400 ++++ b/sinus_wavewrapper_1198.c 2009-06-12 17:28:42.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/smooth_decimate_1414.c b/smooth_decimate_1414.c +--- a/smooth_decimate_1414.c 2004-10-26 17:35:38.000000000 +0400 ++++ b/smooth_decimate_1414.c 2009-06-13 14:40:12.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/split_1406.c b/split_1406.c +--- a/split_1406.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/split_1406.c 2009-06-13 14:35:10.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/step_muxer_1212.c b/step_muxer_1212.c +--- a/step_muxer_1212.c 2004-10-26 17:35:35.000000000 +0400 ++++ b/step_muxer_1212.c 2009-06-13 14:19:49.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/surround_encoder_1401.c b/surround_encoder_1401.c +--- a/surround_encoder_1401.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/surround_encoder_1401.c 2009-06-13 14:30:56.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/svf_1214.c b/svf_1214.c +--- a/svf_1214.c 2006-08-08 19:48:36.000000000 +0400 ++++ b/svf_1214.c 2009-06-13 14:21:03.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/tape_delay_1211.c b/tape_delay_1211.c +--- a/tape_delay_1211.c 2005-07-20 15:36:53.000000000 +0400 ++++ b/tape_delay_1211.c 2009-06-12 17:43:51.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/transient_1206.c b/transient_1206.c +--- a/transient_1206.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/transient_1206.c 2009-06-12 17:31:00.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/triple_para_1204.c b/triple_para_1204.c +--- a/triple_para_1204.c 2004-10-26 17:35:34.000000000 +0400 ++++ b/triple_para_1204.c 2009-06-12 17:30:40.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/valve_1209.c b/valve_1209.c +--- a/valve_1209.c 2006-08-08 19:48:34.000000000 +0400 ++++ b/valve_1209.c 2009-06-12 17:43:08.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/valve_rect_1405.c b/valve_rect_1405.c +--- a/valve_rect_1405.c 2004-10-26 17:35:36.000000000 +0400 ++++ b/valve_rect_1405.c 2009-06-13 14:32:11.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/vynil_1905.c b/vynil_1905.c +--- a/vynil_1905.c 2004-10-26 17:35:43.000000000 +0400 ++++ b/vynil_1905.c 2009-06-13 14:37:13.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/wave_terrain_1412.c b/wave_terrain_1412.c +--- a/wave_terrain_1412.c 2004-10-26 17:35:37.000000000 +0400 ++++ b/wave_terrain_1412.c 2009-06-13 14:36:28.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/xfade_1915.c b/xfade_1915.c +--- a/xfade_1915.c 2005-07-20 15:37:32.000000000 +0400 ++++ b/xfade_1915.c 2009-06-13 14:40:40.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 +diff -ur a/zm1_1428.c b/zm1_1428.c +--- a/zm1_1428.c 2004-10-26 17:35:39.000000000 +0400 ++++ b/zm1_1428.c 2009-06-13 14:40:45.000000000 +0400 +@@ -6,6 +6,7 @@ + + #ifdef ENABLE_NLS + #include <libintl.h> ++#include <locale.h> + #endif + + #define _ISOC9X_SOURCE 1 diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-pic.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-pic.patch new file mode 100644 index 000000000000..58fcd64bce88 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-pic.patch @@ -0,0 +1,135 @@ +Index: swh-plugins-0.4.15/gsm/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/gsm/Makefile.am ++++ swh-plugins-0.4.15/gsm/Makefile.am +@@ -2,12 +2,12 @@ LIBTOOL=libtool + RANLIB=ranlib + + noinst_HEADERS = gsm.h config.h private.h proto.h unproto.h +-noinst_LIBRARIES = libgsm.a ++noinst_LTLIBRARIES = libgsm.la + + CFILES = add.c decode.c gsm_decode.c gsm_encode.c long_term.c preprocess.c \ + short_term.c code.c gsm_create.c gsm_destroy.c gsm_option.c lpc.c rpe.c table.c + +-libgsm_a_SOURCES = $(CFILES) $(noinst_HEADERS) ++libgsm_la_SOURCES = $(CFILES) $(noinst_HEADERS) + + # Disable autoheader. + AUTOHEADER=echo +Index: swh-plugins-0.4.15/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/Makefile.am ++++ swh-plugins-0.4.15/Makefile.am +@@ -48,10 +48,10 @@ DESTDIR = $(INSTALL_ROOT) + DISTFN = $(distdir) + + # Files needed for FFT based plugins +-pitch_scale_1193_la_LIBADD = util/libpitchscale.a $(FFTW_LIBS) ++pitch_scale_1193_la_LIBADD = util/libpitchscale.la $(FFTW_LIBS) + pitch_scale_1193_la_CFLAGS = $(FFTW_CFLAGS) + pitch_scale_1193_la_SOURCES = pitch_scale_1193.c +-pitch_scale_1194_la_LIBADD = util/libpitchscale.a $(FFTW_LIBS) ++pitch_scale_1194_la_LIBADD = util/libpitchscale.la $(FFTW_LIBS) + pitch_scale_1194_la_CFLAGS = $(FFTW_CFLAGS) + pitch_scale_1194_la_SOURCES = pitch_scale_1194.c + mbeq_1197_la_LIBADD = $(FFTW_LIBS) +@@ -60,33 +60,33 @@ mbeq_1197_la_SOURCES = mbeq_1197.c + imp_1199_la_LIBADD = $(FFTW_LIBS) + imp_1199_la_CFLAGS = $(FFTW_CFLAGS) + imp_1199_la_DEPENDENCIES = @top_srcdir@/impulses/* +-hermes_filter_1200_la_DEPENDENCIES = util/libblo.a +-hermes_filter_1200_la_LIBADD = util/libblo.a +-fm_osc_1415_la_DEPENDENCIES = util/libblo.a +-fm_osc_1415_la_LIBADD = util/libblo.a +-analogue_osc_1416_la_DEPENDENCIES = util/libblo.a +-analogue_osc_1416_la_LIBADD = util/libblo.a +-sc1_1425_la_LIBADD = util/libdb.a util/librms.a +-sc2_1426_la_LIBADD = util/libdb.a util/librms.a +-sc3_1427_la_LIBADD = util/libdb.a util/librms.a +-sc4_1882_la_LIBADD = util/libdb.a util/librms.a +-sc4m_1916_la_LIBADD = util/libdb.a util/librms.a +-se4_1883_la_LIBADD = util/libdb.a util/librms.a +-gsm_1215_la_LIBADD = gsm/libgsm.a +-gverb_1216_la_LIBADD = gverb/libgverb.a ++hermes_filter_1200_la_DEPENDENCIES = util/libblo.la ++hermes_filter_1200_la_LIBADD = util/libblo.la ++fm_osc_1415_la_DEPENDENCIES = util/libblo.la ++fm_osc_1415_la_LIBADD = util/libblo.la ++analogue_osc_1416_la_DEPENDENCIES = util/libblo.la ++analogue_osc_1416_la_LIBADD = util/libblo.la ++sc1_1425_la_LIBADD = util/libdb.la util/librms.la ++sc2_1426_la_LIBADD = util/libdb.la util/librms.la ++sc3_1427_la_LIBADD = util/libdb.la util/librms.la ++sc4_1882_la_LIBADD = util/libdb.la util/librms.la ++sc4m_1916_la_LIBADD = util/libdb.la util/librms.la ++se4_1883_la_LIBADD = util/libdb.la util/librms.la ++gsm_1215_la_LIBADD = gsm/libgsm.la ++gverb_1216_la_LIBADD = gverb/libgverb.la + lcr_delay_1436_la_DEPENDENCIES = util/biquad.h + +-highpass_iir_1890_la_LIBADD = util/libiir.a ++highpass_iir_1890_la_LIBADD = util/libiir.la + highpass_iir_1890_la_SOURCES = highpass_iir_1890.c +-lowpass_iir_1891_la_LIBADD = util/libiir.a ++lowpass_iir_1891_la_LIBADD = util/libiir.la + lowpass_iir_1891_la_SOURCES = lowpass_iir_1891.c +-bandpass_iir_1892_la_LIBADD = util/libiir.a ++bandpass_iir_1892_la_LIBADD = util/libiir.la + bandpass_iir_1892_la_SOURCES = bandpass_iir_1892.c +-bandpass_a_iir_1893_la_LIBADD = util/libiir.a ++bandpass_a_iir_1893_la_LIBADD = util/libiir.la + bandpass_a_iir_1893_la_SOURCES = bandpass_a_iir_1893.c +-notch_iir_1894_la_LIBADD = util/libiir.a ++notch_iir_1894_la_LIBADD = util/libiir.la + notch_iir_1894_la_SOURCES = notch_iir_1894.c +-butterworth_1902_la_LIBADD = util/libiir.a ++butterworth_1902_la_LIBADD = util/libiir.la + butterworth_1902_la_SOURCES = butterworth_1902.c + + # Rule to build .c files from XML source +Index: swh-plugins-0.4.15/util/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/util/Makefile.am ++++ swh-plugins-0.4.15/util/Makefile.am +@@ -3,16 +3,16 @@ RANLIB=ranlib + + noinst_HEADERS = rms.h db.h blo.h pitchscale.h waveguide_nl.h biquad.h iir.h buffer.h ls_filter.h + +-noinst_LIBRARIES = librms.a libdb.a libblo.a libpitchscale.a libiir.a ++noinst_LTLIBRARIES = librms.la libdb.la libblo.la libpitchscale.la libiir.la + +-librms_a_SOURCES = rms.c +-libdb_a_SOURCES = db.c +-libblo_a_SOURCES = blo.c +-libblo_a_CFLAGS = -I@top_srcdir@ +-libpitchscale_a_SOURCES = pitchscale.c +-libpitchscale_a_CFLAGS = $(FFTW_CFLAGS) ++librms_la_SOURCES = rms.c ++libdb_la_SOURCES = db.c ++libblo_la_SOURCES = blo.c ++libblo_la_CFLAGS = -I@top_srcdir@ ++libpitchscale_la_SOURCES = pitchscale.c ++libpitchscale_la_CFLAGS = $(FFTW_CFLAGS) + #libpitchscale_a_LIBS = $(FFTW_LIBS) +-libiir_a_SOURCES = iir.c ++libiir_la_SOURCES = iir.c + #libbuffer_a_SOURCES = buffer.c + # Disable autoheader. + AUTOHEADER=echo +Index: swh-plugins-0.4.15/gverb/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/gverb/Makefile.am ++++ swh-plugins-0.4.15/gverb/Makefile.am +@@ -3,9 +3,9 @@ RANLIB=ranlib + + noinst_HEADERS = gverb.h gverbdsp.h + +-noinst_LIBRARIES = libgverb.a ++noinst_LTLIBRARIES = libgverb.la + +-libgverb_a_SOURCES = gverb.c gverbdsp.c ++libgverb_la_SOURCES = gverb.c gverbdsp.c + + # Disable autoheader. + AUTOHEADER=echo diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-plugindir.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-plugindir.patch new file mode 100644 index 000000000000..011ea9882090 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-plugindir.patch @@ -0,0 +1,13 @@ +Index: swh-plugins-0.4.15/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/Makefile.am ++++ swh-plugins-0.4.15/Makefile.am +@@ -39,7 +39,7 @@ SUBDIRS = m4 po util gsm gverb metadata + EXTRA_DIST = @top_srcdir@/*.xml @top_srcdir@/*.c @top_srcdir@/*.h \ + @top_srcdir@/*.dtd @top_srcdir@/*.pl @top_srcdir@/*.css \ + @top_srcdir@/impulses/*.h autogen.sh bozosoity-checker.pl +-plugindir = @prefix@/lib/ladspa ++plugindir = $(libdir)/ladspa + + # Uncomment below for Darwin support. Or add a conditional for this. + #AM_CFLAGS = -fno-common -flat_namespace -bundle -undefined suppress -lbundle1.o diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-riceitdown.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-riceitdown.patch new file mode 100644 index 000000000000..f514425e2a94 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-riceitdown.patch @@ -0,0 +1,23 @@ +Index: swh-plugins-0.4.15/configure.in +=================================================================== +--- swh-plugins-0.4.15.orig/configure.in ++++ swh-plugins-0.4.15/configure.in +@@ -99,12 +99,12 @@ else + AC_MSG_WARN([Can't find architecture specifaction in CFLAGS, picking one from build host CPU type]) + AC_MSG_WARN([May result in non-portable code]) + dnl For gcc use: +- MACHINE="-march=${build_cpu}" +- if test ${build_cpu} = "powerpc"; then MACHINE=""; fi +- if test ${build_cpu} = "powerpc64"; then MACHINE=""; fi +- if test ${build_cpu} = "x86_64"; then MACHINE=""; fi +- +- CFLAGS="$CFLAGS -Wall -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}" ++ # MACHINE="-march=${build_cpu}" ++ # if test ${build_cpu} = "powerpc"; then MACHINE=""; fi ++ # if test ${build_cpu} = "powerpc64"; then MACHINE=""; fi ++ # if test ${build_cpu} = "x86_64"; then MACHINE=""; fi ++ # ++ # CFLAGS="$CFLAGS -Wall -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}" + + dnl For Intel's C compiler use: + dnl CC="icc" diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-system_gsm.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-system_gsm.patch new file mode 100644 index 000000000000..cc80af1f58c5 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-system_gsm.patch @@ -0,0 +1,48 @@ +Index: swh-plugins-0.4.15/Makefile.am +=================================================================== +--- swh-plugins-0.4.15.orig/Makefile.am ++++ swh-plugins-0.4.15/Makefile.am +@@ -33,7 +33,7 @@ plugin_LTLIBRARIES = \ + latency_1914.la xfade_1915.la sc4m_1916.la \ + mbeq_1197.la pitch_scale_1193.la pitch_scale_1194.la imp_1199.la + +-SUBDIRS = m4 po util gsm gverb metadata ++SUBDIRS = m4 po util gverb metadata + + # Wacky stuff to stop automake getting confused + EXTRA_DIST = @top_srcdir@/*.xml @top_srcdir@/*.c @top_srcdir@/*.h \ +@@ -72,7 +72,7 @@ sc3_1427_la_LIBADD = util/libdb.la util/ + sc4_1882_la_LIBADD = util/libdb.la util/librms.la + sc4m_1916_la_LIBADD = util/libdb.la util/librms.la + se4_1883_la_LIBADD = util/libdb.la util/librms.la +-gsm_1215_la_LIBADD = gsm/libgsm.la ++gsm_1215_la_LIBADD = @GSM_LIBS@ + gverb_1216_la_LIBADD = gverb/libgverb.la + lcr_delay_1436_la_DEPENDENCIES = util/biquad.h + +Index: swh-plugins-0.4.15/configure.in +=================================================================== +--- swh-plugins-0.4.15.orig/configure.in ++++ swh-plugins-0.4.15/configure.in +@@ -136,17 +136,19 @@ else + AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}") + fi + +-subdirs="util gsm gverb metadata" ++GSM_LIBS=-lgsm ++ ++subdirs="util gverb metadata" + + AC_SUBST(subdirs) + AC_SUBST(FFTW_LIBS) + AC_SUBST(STATIC_FFTW_LIBS) + AC_SUBST(FFTW_CFLAGS) ++AC_SUBST(GSM_LIBS) + AC_SUBST(LIBTOOL) + AC_OUTPUT([ m4/Makefile + Makefile + util/Makefile +-gsm/Makefile + gverb/Makefile + metadata/Makefile + po/Makefile.in diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.15-x86-asm-optional.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-x86-asm-optional.patch new file mode 100644 index 000000000000..b18ff39948e6 --- /dev/null +++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.15-x86-asm-optional.patch @@ -0,0 +1,16 @@ +diff -ur swh-plugins-0.4.15/configure.in swh-plugins-0.4.15-teknohog/configure.in +--- swh-plugins-0.4.15/configure.in 2006-08-08 18:47:16.000000000 +0300 ++++ swh-plugins-0.4.15-teknohog/configure.in 2012-07-04 16:20:19.000000000 +0300 +@@ -87,9 +87,9 @@ + AC_CHECK_FUNC(shm_open,,[AC_CHECK_LIB(rt,shm_open)]) + AC_C99_FUNC_LRINTF() + +-AC_ARG_ENABLE(3dnow, [ --enable-3dnow Enables 3DNow! acceleration], AC_DEFINE_UNQUOTED(ACCEL_3DNOW, "")) +-AC_ARG_ENABLE(sse, [ --enable-sse Uses SSE instructions where possible, requires gcc3 and a processor with SSE support], USE_SSE="-msse -mfpmath=sse -malign-double") +-AC_ARG_ENABLE(darwin, [ --enable-darwin Builds plugins that will be shared object in the Darwin OS], DARWIN_CFLAGS="-fno-common -flat_namespace -bundle -undefined suppress -lbundle1.o") ++AC_ARG_ENABLE(3dnow, [ --enable-3dnow Enables 3DNow! acceleration], AS_IF([test "x$enableval" = "xyes"], [AC_DEFINE_UNQUOTED(ACCEL_3DNOW, "")])) ++AC_ARG_ENABLE(sse, [ --enable-sse Uses SSE instructions where possible, requires gcc3 and a processor with SSE support], AS_IF([test "x$enableval" = "xyes"], [USE_SSE="-msse -mfpmath=sse -malign-double"])) ++AC_ARG_ENABLE(darwin, [ --enable-darwin Builds plugins that will be shared object in the Darwin OS], AS_IF([test "x$enableval" = "xyes"], [DARWIN_CFLAGS="-fno-common -flat_namespace -bundle -undefined suppress -lbundle1.o"])) + + CFLAGS=$lrintf_save_CFLAGS -I@top_srcdir@/intl -I@top_srcdir@ + diff --git a/media-plugins/swh-plugins/metadata.xml b/media-plugins/swh-plugins/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/swh-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/swh-plugins/swh-plugins-0.4.15-r3.ebuild b/media-plugins/swh-plugins/swh-plugins-0.4.15-r3.ebuild new file mode 100644 index 000000000000..66a628236c26 --- /dev/null +++ b/media-plugins/swh-plugins/swh-plugins-0.4.15-r3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools multilib-minimal + +DESCRIPTION="Large collection of LADSPA audio plugins/effects" +HOMEPAGE="http://plugin.org.uk" +SRC_URI="http://plugin.org.uk/releases/${PV}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" +IUSE="cpu_flags_x86_3dnow nls cpu_flags_x86_sse" + +RDEPEND=" + >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] + >=sci-libs/fftw-3.3.3-r2[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + media-libs/ladspa-sdk + sys-devel/gettext + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog README TODO ) + +src_prepare() { + epatch "${FILESDIR}/${P}-pic.patch" + epatch "${FILESDIR}/${P}-plugindir.patch" + epatch "${FILESDIR}/${P}-riceitdown.patch" + epatch "${FILESDIR}/${P}-gettext.patch" + epatch "${FILESDIR}/${P}-x86-asm-optional.patch" + epatch "${FILESDIR}/${P}-glibc-2.10.patch" + + # Use system libgsm, bug #252890 + rm -rf gsm + epatch "${FILESDIR}/${P}-system_gsm.patch" + + # This is to update gettext macros, otherwise they are incompatible with + # recent libtools, bug #231767 + autopoint -f || die + + # it doesn't get updated otherwise + rm -f missing + + # old shipped version breaks multilib build #475022 + rm -f config.h + + # Fix build with automake 1.13 + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + + eautoreconf + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_3dnow 3dnow) \ + $(use_enable nls) \ + --enable-fast-install \ + --disable-dependency-tracking +} + +pkg_postinst() { + ewarn "WARNING: You have to be careful when using the" + ewarn "swh plugins. Be sure to lower your sound volume" + ewarn "and then play around a bit with the plugins so" + ewarn "you get a feeling for it. Otherwise your speakers" + ewarn "won't like that." +} diff --git a/media-plugins/tap-plugins/Manifest b/media-plugins/tap-plugins/Manifest new file mode 100644 index 000000000000..8e111a9604d1 --- /dev/null +++ b/media-plugins/tap-plugins/Manifest @@ -0,0 +1,2 @@ +DIST tap-plugins-0.7.2.tar.gz 70961 SHA256 1a484bd8084260448ed3ea6a8edeb61b9e70df9e88036f4b35741fc23be79ee0 SHA512 3cd7605b03c2732f22d7ff79c889b50db4514d232c639cf964d65b2428b8ce6193824e26622ded662cae74351daa38a321bc1b1590035e5fa0fb79bb4620edd0 WHIRLPOOL d965972b45326eddf8a4f33790c6168a1df052949e9ddff08e120ff465c31385a70db7ffbdf99d6f54a3c5d6999d365f08341e05fdd240947419c3be8107ca69 +DIST tap-plugins-0.7.3.tar.gz 70495 SHA256 23ff6b7f5e0968c6afa77bbf3dce74841c1de4a3badfcfad6ccc4c27665b7c2e SHA512 c4e9c93b9fd8afb82067cf3a48ae665843da775c3af6124147ff1f8651d96734a4b961c4c5ea48877b32770e6d0b5a793af32a5cbb6e3b9afd5b59c8b3cc2621 WHIRLPOOL 9f6441b24e5f4d46e4ee22e36a91a39c3931538b1ba6d7886223e0101fe1f87209b9e4c464f21a9e956e9fba76d3bbac11ea2fe78dc200ab4b00718ecc99c94b diff --git a/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch b/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch new file mode 100644 index 000000000000..088d624dc3d4 --- /dev/null +++ b/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch @@ -0,0 +1,118 @@ +Index: tap-plugins-0.7.0/Makefile +=================================================================== +--- tap-plugins-0.7.0.orig/Makefile ++++ tap-plugins-0.7.0/Makefile +@@ -34,9 +34,12 @@ INSTALL_LRDF_DIR = /usr/local/share/lads + + # GENERAL + ++OPT_CFLAGS = -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math + CC = gcc +-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt ++CFLAGS = -I. -Wall $(OPT_CFLAGS) -c -fPIC -DPIC ++EXTRA_LDFLAGS = ++LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic $(EXTRA_LDFLAGS) ++LIBADD = -lc -lm -lrt + + PLUGINS = tap_autopan.so \ + tap_chorusflanger.so \ +@@ -65,79 +68,79 @@ all: $(PLUGINS) + + tap_tremolo.so: tap_tremolo.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_tremolo.c -o tap_tremolo.o +- $(CC) $(LDFLAGS) -o tap_tremolo.so tap_tremolo.o ++ $(CC) $(LDFLAGS) -o tap_tremolo.so tap_tremolo.o $(LIBADD) + + tap_eq.so: tap_eq.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_eq.c -o tap_eq.o +- $(CC) $(LDFLAGS) -o tap_eq.so tap_eq.o ++ $(CC) $(LDFLAGS) -o tap_eq.so tap_eq.o $(LIBADD) + + tap_eqbw.so: tap_eqbw.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_eqbw.c -o tap_eqbw.o +- $(CC) $(LDFLAGS) -o tap_eqbw.so tap_eqbw.o ++ $(CC) $(LDFLAGS) -o tap_eqbw.so tap_eqbw.o $(LIBADD) + + tap_echo.so: tap_echo.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_echo.c -o tap_echo.o +- $(CC) $(LDFLAGS) -o tap_echo.so tap_echo.o ++ $(CC) $(LDFLAGS) -o tap_echo.so tap_echo.o $(LIBADD) + + tap_reverb.so: tap_reverb.c tap_reverb.h tap_reverb_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_reverb.c -o tap_reverb.o +- $(CC) $(LDFLAGS) -o tap_reverb.so tap_reverb.o ++ $(CC) $(LDFLAGS) -o tap_reverb.so tap_reverb.o $(LIBADD) + + tap_limiter.so: tap_limiter.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_limiter.c -o tap_limiter.o +- $(CC) $(LDFLAGS) -o tap_limiter.so tap_limiter.o ++ $(CC) $(LDFLAGS) -o tap_limiter.so tap_limiter.o $(LIBADD) + + tap_autopan.so: tap_autopan.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_autopan.c -o tap_autopan.o +- $(CC) $(LDFLAGS) -o tap_autopan.so tap_autopan.o ++ $(CC) $(LDFLAGS) -o tap_autopan.so tap_autopan.o $(LIBADD) + + tap_deesser.so: tap_deesser.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_deesser.c -o tap_deesser.o +- $(CC) $(LDFLAGS) -o tap_deesser.so tap_deesser.o ++ $(CC) $(LDFLAGS) -o tap_deesser.so tap_deesser.o $(LIBADD) + + tap_vibrato.so: tap_vibrato.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_vibrato.c -o tap_vibrato.o +- $(CC) $(LDFLAGS) -o tap_vibrato.so tap_vibrato.o ++ $(CC) $(LDFLAGS) -o tap_vibrato.so tap_vibrato.o $(LIBADD) + + tap_rotspeak.so: tap_rotspeak.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_rotspeak.c -o tap_rotspeak.o +- $(CC) $(LDFLAGS) -o tap_rotspeak.so tap_rotspeak.o ++ $(CC) $(LDFLAGS) -o tap_rotspeak.so tap_rotspeak.o $(LIBADD) + + tap_pitch.so: tap_pitch.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_pitch.c -o tap_pitch.o +- $(CC) $(LDFLAGS) -o tap_pitch.so tap_pitch.o ++ $(CC) $(LDFLAGS) -o tap_pitch.so tap_pitch.o $(LIBADD) + + tap_dynamics_m.so: tap_dynamics_m.c tap_dynamics_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_dynamics_m.c -o tap_dynamics_m.o +- $(CC) $(LDFLAGS) -o tap_dynamics_m.so tap_dynamics_m.o ++ $(CC) $(LDFLAGS) -o tap_dynamics_m.so tap_dynamics_m.o $(LIBADD) + + tap_dynamics_st.so: tap_dynamics_st.c tap_dynamics_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_dynamics_st.c -o tap_dynamics_st.o +- $(CC) $(LDFLAGS) -o tap_dynamics_st.so tap_dynamics_st.o ++ $(CC) $(LDFLAGS) -o tap_dynamics_st.so tap_dynamics_st.o $(LIBADD) + + tap_reflector.so: tap_reflector.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_reflector.c -o tap_reflector.o +- $(CC) $(LDFLAGS) -o tap_reflector.so tap_reflector.o ++ $(CC) $(LDFLAGS) -o tap_reflector.so tap_reflector.o $(LIBADD) + + tap_pinknoise.so: tap_pinknoise.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_pinknoise.c -o tap_pinknoise.o +- $(CC) $(LDFLAGS) -o tap_pinknoise.so tap_pinknoise.o ++ $(CC) $(LDFLAGS) -o tap_pinknoise.so tap_pinknoise.o $(LIBADD) + + tap_doubler.so: tap_doubler.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_doubler.c -o tap_doubler.o +- $(CC) $(LDFLAGS) -o tap_doubler.so tap_doubler.o ++ $(CC) $(LDFLAGS) -o tap_doubler.so tap_doubler.o $(LIBADD) + + tap_sigmoid.so: tap_sigmoid.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_sigmoid.c -o tap_sigmoid.o +- $(CC) $(LDFLAGS) -o tap_sigmoid.so tap_sigmoid.o ++ $(CC) $(LDFLAGS) -o tap_sigmoid.so tap_sigmoid.o $(LIBADD) + + tap_tubewarmth.so: tap_tubewarmth.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_tubewarmth.c -o tap_tubewarmth.o +- $(CC) $(LDFLAGS) -o tap_tubewarmth.so tap_tubewarmth.o ++ $(CC) $(LDFLAGS) -o tap_tubewarmth.so tap_tubewarmth.o $(LIBADD) + + tap_chorusflanger.so: tap_chorusflanger.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_chorusflanger.c -o tap_chorusflanger.o +- $(CC) $(LDFLAGS) -o tap_chorusflanger.so tap_chorusflanger.o ++ $(CC) $(LDFLAGS) -o tap_chorusflanger.so tap_chorusflanger.o $(LIBADD) + + + # OTHER TARGETS diff --git a/media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch b/media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch new file mode 100644 index 000000000000..0bfaa5873d23 --- /dev/null +++ b/media-plugins/tap-plugins/files/tap-plugins-0.7.3-cflags-ldflags.patch @@ -0,0 +1,27 @@ +Index: tap-plugins-0.7.3/Makefile +=================================================================== +--- tap-plugins-0.7.3.orig/Makefile ++++ tap-plugins-0.7.3/Makefile +@@ -35,8 +35,11 @@ INSTALL_LRDF_DIR = /usr/local/share/lads + # GENERAL + + CC = gcc +-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt ++OPT_CFLAGS = -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math ++CFLAGS = -I. -Wall $(OPT_CFLAGS) -c -fPIC -DPIC ++EXTRA_LDFLAGS = ++LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic $(EXTRA_LDFLAGS) ++LIBADD = -lc -lm -lrt + MODULES = $(wildcard *.c) + + all: $(MODULES:%.c=%.so) +@@ -51,7 +54,7 @@ tap_dynamics_st.o: tap_dynamics_presets. + $(CC) $(CFLAGS) $< -o $@ + + %.so: %.o +- $(CC) -o $@ $< $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o $@ $< $(LIBADD) + + # OTHER TARGETS + diff --git a/media-plugins/tap-plugins/metadata.xml b/media-plugins/tap-plugins/metadata.xml new file mode 100644 index 000000000000..a4924a938c0e --- /dev/null +++ b/media-plugins/tap-plugins/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <longdescription> +TAP-plugins is short for Tom's Audio Processing plugins. It is a bunch of +LADSPA plugins for digital audio processing, intended for use in a +professional DAW environment such as Ardour. These plugins should compile +and run on any recent (that is, not seriously outdated) GNU/Linux system. +They don't require any special libraries besides the standard GNU C and math +libraries, which are expected to be provided on the machine used for +compiling. + +The audio processing algorithms done by TAP-plugins are coded to be +independent of the actual sample rate. The sample rate is always a parameter +during computations. The plugins have been tested with sample rates 44.1 kHz +and 96 kHz, as the author uses these values in his studio. Please note that +although all plugins should be essentially functional at virtually any +sample rate, the audio fidelity depends slightly on the actual sample rate +used. Higher sample rate is better, of course. This means that an equalizer +or reverberator plugin will produce higher quality output, and will sound a +bit smoother at 96 kHz compared to, say, 44.1 kHz. This is a natural effect +that results from the fundamental properties of digital signal processing, +but you should be aware of it nevertheless. +</longdescription> + <upstream> + <remote-id type="sourceforge">tap-plugins</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/tap-plugins/tap-plugins-0.7.2.ebuild b/media-plugins/tap-plugins/tap-plugins-0.7.2.ebuild new file mode 100644 index 000000000000..3e2c9d2b31cf --- /dev/null +++ b/media-plugins/tap-plugins/tap-plugins-0.7.2.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 multilib toolchain-funcs eutils + +IUSE="" + +DESCRIPTION="TAP LADSPA plugins package. Contains DeEsser, Dynamics, Equalizer, Reverb, Stereo Echo, Tremolo" +HOMEPAGE="http://tap-plugins.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.7.0-cflags-ldflags.patch" +} + +src_compile() { + emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodoc README CREDITS + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf +} diff --git a/media-plugins/tap-plugins/tap-plugins-0.7.3.ebuild b/media-plugins/tap-plugins/tap-plugins-0.7.3.ebuild new file mode 100644 index 000000000000..e71ce1adc424 --- /dev/null +++ b/media-plugins/tap-plugins/tap-plugins-0.7.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit multilib toolchain-funcs eutils + +IUSE="" + +DESCRIPTION="TAP LADSPA plugins package. Contains DeEsser, Dynamics, Equalizer, Reverb, Stereo Echo, Tremolo" +HOMEPAGE="http://tap-plugins.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.7.3-cflags-ldflags.patch" +} + +src_compile() { + emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodoc README CREDITS + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf +} diff --git a/media-plugins/vamp-aubio-plugins/Manifest b/media-plugins/vamp-aubio-plugins/Manifest new file mode 100644 index 000000000000..221d7ec0d7fd --- /dev/null +++ b/media-plugins/vamp-aubio-plugins/Manifest @@ -0,0 +1,2 @@ +DIST vamp-aubio-plugins-0.3.2c.tar.gz 16399 SHA256 07b6d14f31ae0cd3184aa523eeb8263b705dfb180bb3d355f8c0dd7d2a2c412b SHA512 89fe8ad6460396dc9dc646997d23bc59d2f0f39e791c01163e3c35deb034bb7093524e966ad5eb102af7b682e942b12d4b99145e75333f29fb3b40e871bab2b4 WHIRLPOOL ce7826e5e0909d7953fa181dc49f6d6afcf27888c11307554d77ac65e2bd7b7850b1730cf24c1fb30b695982d24bc0925a2c45478865f00dbcad70d75b070c3a +DIST vamp-aubio-plugins-0.5.0.tar.bz2 26253 SHA256 34c70084f51689bbdd22bf7af1bb3135858ea5ffd634d200d01b54f6b8e6ae87 SHA512 7b1c13a91cb12b9e5f25a78ed31ccb4b5cfdabc8b3ac546dee776de1786008e6bb4471aa242bb4b128d202ea523e15efa4889e4f1c4189583b6d20d8b0dba675 WHIRLPOOL d7cc30df2116a84addbcbd05b935a2c94778aeae807f61d8da9c4e98074ffcf978ab151fb5c09870c9175289e4b94ed8b7cdab8b53cca3db8d5331fd86c3d120 diff --git a/media-plugins/vamp-aubio-plugins/metadata.xml b/media-plugins/vamp-aubio-plugins/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/vamp-aubio-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/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2c.ebuild b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2c.ebuild new file mode 100644 index 000000000000..62a6e74e038a --- /dev/null +++ b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2c.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit flag-o-matic toolchain-funcs multilib + +DESCRIPTION="Onset detection, pitch tracking, note tracking and tempo tracking plugins" +HOMEPAGE="http://www.vamp-plugins.org/" +SRC_URI="mirror://sourceforge/vamp/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ppc64 x86" +IUSE="" + +DEPEND=">=media-libs/aubio-0.3.2 + media-libs/vamp-plugin-sdk + =sci-libs/fftw-3*" +RDEPEND="${DEPEND}" + +src_compile() { + tc-export CXX + # It only builds a shared library for a plugin + # So we force PIC + append-flags -fPIC -DPIC + # Use shared libs + sed -i -e "s/ -Wl,-Bstatic//" Makefile + emake || die "emake failed" +} + +src_install() { + insinto /usr/$(get_libdir)/vamp + doins vamp-aubio.so vamp-aubio.cat + dodoc README +} diff --git a/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.5.0.ebuild b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.5.0.ebuild new file mode 100644 index 000000000000..971894d0e3ed --- /dev/null +++ b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs multilib + +DESCRIPTION="Onset detection, pitch tracking, note tracking and tempo tracking plugins" +HOMEPAGE="http://www.vamp-plugins.org/" +SRC_URI="http://aubio.org/pub/vamp-aubio-plugins/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ppc64 x86" +IUSE="" + +DEPEND=">=media-libs/aubio-0.4.1 + media-libs/vamp-plugin-sdk + =sci-libs/fftw-3*" +RDEPEND="${DEPEND}" + +src_compile() { + tc-export CXX + emake CFLAGS="${CFLAGS} -fPIC" -f Makefile.linux +} + +src_install() { + insinto /usr/$(get_libdir)/vamp + doins vamp-aubio.so vamp-aubio.cat + dodoc README.md +} diff --git a/media-plugins/vamp-libxtract-plugins/Manifest b/media-plugins/vamp-libxtract-plugins/Manifest new file mode 100644 index 000000000000..700dce549cb3 --- /dev/null +++ b/media-plugins/vamp-libxtract-plugins/Manifest @@ -0,0 +1 @@ +DIST vamp-libxtract-plugins-0.6.6.20121204.tar.gz 20891 SHA256 dfe462a6cba64eacf368cd2f56ad29c747850fbfcde775465aacacebb395495a SHA512 227b848409e4b57be042350ad1dedc8c02c0358239eaf530a0955a4b19ec2c4788e61c7b53b43de5ec1f051a33241e7a4c878584da1480b384756268b501c4c4 WHIRLPOOL 6e603c5e6c47206b370a6a790ae9ef33c9c6c8c9c681c14187cbc30459e328ef1b00047b743c9278c75f9ac411409eab7ba94e456d4eb2ffac3e575ac2dc506e diff --git a/media-plugins/vamp-libxtract-plugins/metadata.xml b/media-plugins/vamp-libxtract-plugins/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/vamp-libxtract-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/vamp-libxtract-plugins/vamp-libxtract-plugins-0.6.6.20121204.ebuild b/media-plugins/vamp-libxtract-plugins/vamp-libxtract-plugins-0.6.6.20121204.ebuild new file mode 100644 index 000000000000..063a775f8231 --- /dev/null +++ b/media-plugins/vamp-libxtract-plugins/vamp-libxtract-plugins-0.6.6.20121204.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Low-level feature extraction plugins using Jamie Bullock's libxtract library to provide around 50 spectral and other features" +HOMEPAGE="http://www.vamp-plugins.org/" +SRC_URI="http://code.soundsoftware.ac.uk/attachments/download/618/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ppc64 x86" +IUSE="" + +RDEPEND="=sci-libs/fftw-3* + >=media-libs/libxtract-0.6.6 + media-libs/vamp-plugin-sdk" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -e "s/-O3//" -e "s/ -Wl,-Bstatic//" -i Makefile +} + +src_compile() { + tc-export CXX + emake || die "emake failed" +} + +src_install() { + insinto /usr/$(get_libdir)/vamp + doins vamp-libxtract.{so,cat} || die "doins failed" + dodoc README STATUS +} diff --git a/media-plugins/vco-plugins/Manifest b/media-plugins/vco-plugins/Manifest new file mode 100644 index 000000000000..8821c6397ce3 --- /dev/null +++ b/media-plugins/vco-plugins/Manifest @@ -0,0 +1 @@ +DIST VCO-plugins-0.3.0.tar.bz2 18445 RMD160 c29da70c572d619aa6b1dc54c6f887fc1f70bf6a SHA1 5158ba944cf2b838840998c9519467876be988dd SHA256 f4e93c22535fa9309577a322b1a7dbbd257ac6592bf90238ff271fb0c66bf8f7 diff --git a/media-plugins/vco-plugins/metadata.xml b/media-plugins/vco-plugins/metadata.xml new file mode 100644 index 000000000000..3a8ea7e02972 --- /dev/null +++ b/media-plugins/vco-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/vco-plugins/vco-plugins-0.3.0.ebuild b/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild new file mode 100644 index 000000000000..959b48ab503d --- /dev/null +++ b/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit multilib toolchain-funcs + +MY_P=${P/vco/VCO} + +DESCRIPTION="SAW-VCO ladspa plugin package. Anti-aliased oscillators" +HOMEPAGE="http://www.kokkinizita.net/linuxaudio/" +SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64 ~ppc" +IUSE="" + +DEPEND="media-libs/ladspa-sdk" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + tc-export CXX + sed -i -e "s/-O3//" \ + -e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die "sed failed" +} + +src_install() { + dodoc AUTHORS README + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so +} diff --git a/media-plugins/vdr-actuator/Manifest b/media-plugins/vdr-actuator/Manifest new file mode 100644 index 000000000000..cbf70119d8ee --- /dev/null +++ b/media-plugins/vdr-actuator/Manifest @@ -0,0 +1 @@ +DIST vdr-actuator-1.2.1.tgz 91343 SHA256 22db0563689202c88f6df82ca3a7cc4aed7d542e561b61856d3063834210c7fb SHA512 faed02e0dfd1027e412418023caba7c257d6f7c46ebca89139436bf2769c3b928f103ab2e1d90bd0836db32356e3fa238d5fbef6c5548415cefee0f09c96fd66 WHIRLPOOL 5011dca613afea104f1f760704895773a143dad067d36cb1ea0c2bbc6f7d88672e9d53be95b42b530d62c01c4f8939eab194ae9bbf1f3387a3340ef4461cf137 diff --git a/media-plugins/vdr-actuator/metadata.xml b/media-plugins/vdr-actuator/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-actuator/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-actuator/vdr-actuator-1.2.1.ebuild b/media-plugins/vdr-actuator/vdr-actuator-1.2.1.ebuild new file mode 100644 index 000000000000..ef880347c638 --- /dev/null +++ b/media-plugins/vdr-actuator/vdr-actuator-1.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: control an linear or horizon actuator attached trough the parallel port" +HOMEPAGE="http://ventoso.org/luca/vdr/" +SRC_URI="http://ventoso.org/luca/vdr/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.23" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include "${S}/scanner.h" + + sed -i -e "s:SystemValues:SystemValuesSat:" actuator.c +} diff --git a/media-plugins/vdr-admin/Manifest b/media-plugins/vdr-admin/Manifest new file mode 100644 index 000000000000..6d639a94e418 --- /dev/null +++ b/media-plugins/vdr-admin/Manifest @@ -0,0 +1 @@ +DIST vdr-admin-0.8.0.tgz 38354 SHA256 e330f91c525f560df109c482d7f49525f99a28a5fe8f17194379a25756a4edb3 diff --git a/media-plugins/vdr-admin/files/rc-addon.sh b/media-plugins/vdr-admin/files/rc-addon.sh new file mode 100644 index 000000000000..665e1f767599 --- /dev/null +++ b/media-plugins/vdr-admin/files/rc-addon.sh @@ -0,0 +1,31 @@ +# $Id$ +# +# rc-addon-script for plugin admin +# +# Joerg Bornkessel <hd_brummy@gentoo.org> +# + +# Location for all plugin config files +: ${ADMIN_CONF_DIR:=/etc/vdr/plugins/admin} + +# Location of the script files +: ${ADMIN_SCRIPT_PATH:=/etc/vdr/plugins/admin} + +# Location of the config file +: ${ADMIN_CFG_FILE:=${ADMIN_SCRIPT_PATH}/admin.conf} + +# Location of the config file +: ${ADMIN_EXEC_SCRIPT:=${ADMIN_SCRIPT_PATH}/~admexec} + +# Location of the log file +: ${ADMIN_LOG_FILE:=/var/log/vdradmplg.log} + +# GETVAl and SETVAL scripts +: ${GETVAL:=${ADMIN_SCRIPT_PATH}/getadmval.sh} +: ${SETVAL=${ADMIN_SCRIPT_PATH}/setadmval.sh} + +plugin_pre_vdr_start() { + +add_plugin_param "-d ${ADMIN_CONF_DIR}" + +} diff --git a/media-plugins/vdr-admin/metadata.xml b/media-plugins/vdr-admin/metadata.xml new file mode 100644 index 000000000000..73b27a4b5d01 --- /dev/null +++ b/media-plugins/vdr-admin/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +<longdescription>This is a VDR plugin for adminstrative tasks( e.g. network settings )</longdescription> + +</pkgmetadata> diff --git a/media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild b/media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild new file mode 100644 index 000000000000..0047b8dc3219 --- /dev/null +++ b/media-plugins/vdr-admin/vdr-admin-0.8.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Admin OSD - This is not! the webadmin program called vdradmin" +HOMEPAGE="http://htpc-forum.de" +SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.37" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/admin-${PV} + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "s:/etc/vdr/plugins/admin:/usr/share/vdr/admin/bin:" gentoo/admin.conf + sed -i "s:/etc/conf.d/vdr.admin.cfg:/usr/lib/vdr/rcscript/plugin-admin.sh:" gentoo/{runvdr,*.sh} +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/admin + doins gentoo/admin.conf + + exeinto /usr/share/vdr/admin/bin + doexe gentoo/{runvdr,*.sh} + + dodoc gentoo/vdr +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + ewarn + ewarn "This plugin is not changed to support gentoo-vdr-scripts." + ewarn "So it may not work without large config changes" + ewarn + ewarn "There are more config Parameter than default are in /etc/conf.d/vdr" + ewarn "Find examples in /usr/share/doc/${PF}" +} diff --git a/media-plugins/vdr-alcd/Manifest b/media-plugins/vdr-alcd/Manifest new file mode 100644 index 000000000000..7d94fa9be22e --- /dev/null +++ b/media-plugins/vdr-alcd/Manifest @@ -0,0 +1 @@ +DIST vdr-alcd-1.5.1.tgz 40104 SHA256 9643d9f1214c33c8e5743e715b0e8c9a476e2df6f41f077bcf297ab03a33fe49 diff --git a/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff new file mode 100644 index 000000000000..a4465220534a --- /dev/null +++ b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-gcc-4.4.diff @@ -0,0 +1,22 @@ +Index: alcd-1.5.1/thread.c +=================================================================== +--- alcd-1.5.1.orig/thread.c ++++ alcd-1.5.1/thread.c +@@ -104,7 +104,7 @@ void cLCD::SetText( const char *szText ) + // only proceed, if valid data + if( szText != NULL && strlen( szText ) > 0 ) { + // set channel name +- char *delim = strchr( szText, '|' ); ++ const char *delim = strchr( szText, '|' ); + if( delim ) { + char buffer[ BUFSIZE ]; + int sLen = ( delim - szText ) >= BUFSIZE ? BUFSIZE : ( delim - szText ); +@@ -420,7 +420,7 @@ void cLCD::Replaying( const cControl *co + if( szFileName[i] == ')' ) + strncpy( (char *)szReplayMode, szFileName + 8, i - 8 ); + } +- char *p = strstr( szFileName + i, " : " ); ++ const char *p = strstr( szFileName + i, " : " ); + if( p ) + strncpy( szTemp, p + 3, sizeof(szTemp )); + else diff --git a/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff new file mode 100644 index 000000000000..ea1488e40b0f --- /dev/null +++ b/media-plugins/vdr-alcd/files/vdr-alcd-1.5.1-makefile-cleanup.diff @@ -0,0 +1,44 @@ +Index: alcd-1.5.1/Makefile +=================================================================== +--- alcd-1.5.1.orig/Makefile ++++ alcd-1.5.1/Makefile +@@ -23,8 +23,8 @@ VDRINC = $(VDRDIR)/include + LIBDIR = ../../lib + TMPDIR = /tmp + +-CXX = g++ +-CXXFLAGS = -O2 -Wall -Woverloaded-virtual -D_GNU_SOURCE ++CXX ?= g++ ++CXXFLAGS ?= -fPIC -O2 -Wall -Woverloaded-virtual + + -include $(VDRDIR)/Make.config + +@@ -41,6 +41,8 @@ PACKAGE = vdr-$(ARCHIVE) + + INCLUDES = -I$(VDRDIR)/include + ++DEFINES += -D_GNU_SOURCE ++ + ### Allow user defined options to overwrite defaults: + + DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +@@ -53,6 +55,10 @@ endif + + OBJS = $(PLUGIN).o lcd.o thread.o setup.o + ++### The main target: ++ ++all: libvdr-$(PLUGIN).so i18n ++ + ### Target directory for afp-tool binary + + PREFIX = /usr +@@ -100,8 +106,6 @@ i18n: $(I18Nmsgs) + + ### Targets: + +-all: libvdr-$(PLUGIN).so i18n +- + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ + @cp $@ $(LIBDIR)/$@.$(APIVERSION) diff --git a/media-plugins/vdr-alcd/metadata.xml b/media-plugins/vdr-alcd/metadata.xml new file mode 100644 index 000000000000..b3d0dc1c6eae --- /dev/null +++ b/media-plugins/vdr-alcd/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>media-tv</herd> +<herd>proxy-maintainers</herd> +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> +<maintainer> + <email>vdr@helmutauer.de</email> + <name>Helmut Auer</name> + <description>Upstream maintainer</description> +</maintainer> +<longdescription lang="en"> +VDR plugin: Control the LCD of the Siemens Activy 300 +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild b/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild new file mode 100644 index 000000000000..1c14bc581548 --- /dev/null +++ b/media-plugins/vdr-alcd/vdr-alcd-1.5.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Control Activy 300 LCD" +HOMEPAGE="http://www.htpc-forum.de" +SRC_URI="http://www.htpc-forum.de/download/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-makefile-cleanup.diff" + "${FILESDIR}/${P}-gcc-4.4.diff") diff --git a/media-plugins/vdr-arghdirector/Manifest b/media-plugins/vdr-arghdirector/Manifest new file mode 100644 index 000000000000..733c449086ac --- /dev/null +++ b/media-plugins/vdr-arghdirector/Manifest @@ -0,0 +1 @@ +DIST vdr-arghdirector-0.2.6.tar.gz 22119 RMD160 69f8c726b63786606ea53957a7d3b4dfe3006fb1 SHA1 9030fda40f66b64188374df1a5de7d3d53c4fc46 SHA256 d7206796560b4fdc7693f338ba4f1a8f4d416ae64fd60da195e4319527026b60 diff --git a/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-i18n.patch b/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-i18n.patch new file mode 100644 index 000000000000..621a0469cfa2 --- /dev/null +++ b/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-i18n.patch @@ -0,0 +1,30 @@ +diff --git a/arghdirector.c b/arghdirector.c +index f01f11d..56d3fe0 100755 +--- a/arghdirector.c ++++ b/arghdirector.c +@@ -85,7 +85,9 @@ bool cPluginDirector::ProcessArgs(int argc, char *argv[]) + bool cPluginDirector::Start(void) + { + // Start any background activities the plugin shall perform. ++#if VDRVERSNUM < 10727 + RegisterI18n(Phrases); ++#endif + + #if VDRVERSNUM >= 10332 + if(autoStart == 1) +diff --git a/i18n.h b/i18n.h +index 22cce61..1117745 100755 +--- a/i18n.h ++++ b/i18n.h +@@ -9,8 +9,11 @@ + #ifndef _I18N__H + #define _I18N__H + ++#include <vdr/config.h> + #include <vdr/i18n.h> + ++#if VDRVERSNUM < 10727 + extern const tI18nPhrase Phrases[]; ++#endif + + #endif //_I18N__H diff --git a/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-vdr-1.5.3.diff b/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-vdr-1.5.3.diff new file mode 100644 index 000000000000..ed54760fcb82 --- /dev/null +++ b/media-plugins/vdr-arghdirector/files/vdr-arghdirector-0.2.6-vdr-1.5.3.diff @@ -0,0 +1,15 @@ +diff -ru arghdirector-0.2.6-orig/directorosd.c arghdirector-0.2.6/directorosd.c +--- arghdirector-0.2.6-orig/directorosd.c 2007-06-24 15:28:04.733376979 +0200 ++++ arghdirector-0.2.6/directorosd.c 2007-06-24 15:29:34.741637063 +0200 +@@ -323,7 +323,11 @@ + char *buffer=0; + asprintf(&buffer,"1 %s %d", Channel->Name(), number); + ++#if VDRVERSNUM < 10503 + int theHeigth = font->Height('A'); ++#else ++ int theHeigth = font->Height("A"); ++#endif + int m_height = (number * theHeigth) + 10; + + //get the width diff --git a/media-plugins/vdr-arghdirector/metadata.xml b/media-plugins/vdr-arghdirector/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-arghdirector/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-arghdirector/vdr-arghdirector-0.2.6.ebuild b/media-plugins/vdr-arghdirector/vdr-arghdirector-0.2.6.ebuild new file mode 100644 index 000000000000..320917057bbb --- /dev/null +++ b/media-plugins/vdr-arghdirector/vdr-arghdirector-0.2.6.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: use the multifeed option of some Premiere channels - fork of vdr-director" +HOMEPAGE="http://www.arghgra.de/arghdirector.html" +SRC_URI="http://www.arghgra.de/vdr-arghdirector-0.2.6.tar.gz + mirror://vdrfiles/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.34" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-vdr-1.5.3.diff" + "${FILESDIR}/${P}-i18n.patch" + ) diff --git a/media-plugins/vdr-atscepg/Manifest b/media-plugins/vdr-atscepg/Manifest new file mode 100644 index 000000000000..58372d5dc29f --- /dev/null +++ b/media-plugins/vdr-atscepg/Manifest @@ -0,0 +1,2 @@ +DIST atscepg-0.3.0_vdr-1.7.13.tbz 23415 SHA256 b6ed85c7aca4c987412f0cbd753f3fcb6056f4514f1cfa3b92298811af2b5efb SHA512 ebb3b363f4bb1a6040a1d651b863c399890e583aa7a1e4021113c74414e966d5087a510490dc04a51baf325693a8e931970387bd4b7cfdffcdbea1d8ff366bce WHIRLPOOL f2b952eea74ac5e20cca56fb2ecb3ebabb78118166c37e89e62585cdaa2ef5bb20c11b777eb556b01d87fb0b0c674c4eac622f660d7fe345f8c18aded637f90c +DIST vdr-atscepg-0.3.0.tgz 42456 SHA256 e61678d6cc378422590ff68ec7fe0349d04275f7bdf5e882847a5545a170a6c8 SHA512 63c23ea0d680f1be4d50cc5beea26e218f7a6bc1bc6d8e2ade04c46ce93fc5a497384f2ad40b94a8c6131df0ce8481137274db395286d5196afcac3f7d666c15 WHIRLPOOL b8b50b05356313b7aaf8c16acfd4ee6ccfd09550965907d25927c91f5b0e1ed54f89760590dc86bef1d9229495a788206ce567a1e7622fd4dea55091ed3a0b05 diff --git a/media-plugins/vdr-atscepg/metadata.xml b/media-plugins/vdr-atscepg/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-atscepg/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild new file mode 100644 index 000000000000..e16ab2fa0dff --- /dev/null +++ b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: receive schedule and event information from ATSC broadcasts" +HOMEPAGE="http://www.fepg.org/atscepg.html" +SRC_URI="http://www.fepg.org/files/${P}.tgz + mirror://gentoo/atscepg-${PV}_vdr-1.7.13.tbz + http://dev.gentoo.org/~hd_brummy/distfiles/atscepg-${PV}_vdr-1.7.13.tbz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" + +RDEPEND="${DEPEND}" + +src_configure() { + # disabled gcc -std=c++11, + # plugin is dead on upstream since 2010, there is no fixing available + filter-flags -std=c++11 +} + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch "${WORKDIR}/atscepg-${PV}_vdr-1.7.13.diff" + + fix_vdr_libsi_include tables.cpp filter.cpp scanner.cpp +} diff --git a/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0.ebuild b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0.ebuild new file mode 100644 index 000000000000..0437fe957391 --- /dev/null +++ b/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: receive schedule and event information from ATSC broadcasts" +HOMEPAGE="http://www.fepg.org/atscepg.html" +SRC_URI="http://www.fepg.org/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include tables.cpp filter.cpp +} diff --git a/media-plugins/vdr-audiorecorder/Manifest b/media-plugins/vdr-audiorecorder/Manifest new file mode 100644 index 000000000000..dc73efd0d5cf --- /dev/null +++ b/media-plugins/vdr-audiorecorder/Manifest @@ -0,0 +1,3 @@ +DIST vdr-audiorecorder-0.1.0-pre14.tgz 101437 SHA256 18b0dfd023e5bda4785cab832478aae205ca02548b32de4458d628672d6fb8e9 SHA512 bd5a12426ec45f7242f1c912ef916c794be69504ed7e0971373fdbee9d664646b4e42e79919489d9aae7bc8b140fee50ea2601f3bdb4f4b260180474879e99f6 WHIRLPOOL dded93a4d7792c8ea522d65aa082a2230ff4c87a8f88f59f65b3733c950c70c8157f96492d048dadb106e2095124a86c8e1794a3e7a369a656ddcdd0d2338549 +DIST vdr-plugin-audiorecorder-2.0.0_rc3.tar.gz 43321 SHA256 ab8b4512ad2a1e592231a1fba57ed37f490107ffe87c01f638bdca054c475378 SHA512 d0e2c190a0d35d59dc36f18070e03002c957aa2879f42ee54dda9dab6bcb489b843d0426a4693d90a91df0760f294dd8bfa08f6db05558c4f7db4a3070d70141 WHIRLPOOL 478b14af7645eea9dedb3b1799f2f9f1feedfc7e774c0e9c0653a342c801d54f2233de536440e80037a878665993d3e3b764dfeda27b157e2e000b4632c513f4 +DIST vdr-plugin-audiorecorder-2.0.0_rc5.tar.gz 45421 SHA256 7399c8c8a6639f03e133c9b2643c0b3abec9f309db0eb5361efff9561d6836f3 SHA512 07d9fe7b3e33d30c49b9aa152f56c6969b99eccc53796994399367489c561cbc7ecebb41ca1036173dd09b21d0dc41f323ef56de8bc607c939cc458386623a63 WHIRLPOOL 4db0ac19f992b6214cdf22e4d756026f4f25b0d9d87abc859a80be68eda1de5399ab38418c3116238781da20131f6253f14e4e6787df911376fb70dd44647432 diff --git a/media-plugins/vdr-audiorecorder/files/confd b/media-plugins/vdr-audiorecorder/files/confd new file mode 100644 index 000000000000..87174f46a79c --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/confd @@ -0,0 +1,10 @@ +# /etc/conf.d/vdr.audiorecorder +# $Id$ + +# ################################################ +# +# Directory to save the recorded and splited mp3s in +# allowed values: directory names +# default: /var/vdr/audiorecorder +#AUDIORECORDER_DIR=/var/vdr/audiorecorder + diff --git a/media-plugins/vdr-audiorecorder/files/rc-addon.sh b/media-plugins/vdr-audiorecorder/files/rc-addon.sh new file mode 100644 index 000000000000..eb9efb12765b --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/rc-addon.sh @@ -0,0 +1,13 @@ +# $Id$ +# +# rc-addon-script for plugin audiorecorder +# +# Matthias Schwarzott <zzam@gentoo.org> + +: ${AUDIORECORDER_DIR:=/var/vdr/audiorecorder} + +plugin_pre_vdr_start() { + add_plugin_param "--recdir=${AUDIORECORDER_DIR}" + add_plugin_param "--debug=0" +} + diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch new file mode 100644 index 000000000000..5c11fdfacb49 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/show_bug.cgi?id=443248 + +Index: audiorecorder-0.1.0-pre14/audiorecorder.c +=================================================================== +--- audiorecorder-0.1.0-pre14.orig/audiorecorder.c ++++ audiorecorder-0.1.0-pre14/audiorecorder.c +@@ -176,7 +176,9 @@ bool cPluginAudiorecorder::Initialize(vo + bool cPluginAudiorecorder::Start(void) + { + /* initialize libavcodec */ ++#if LIBAVCODEC_VERSION_MAJOR < 54 + avcodec_init(); ++#endif + avcodec_register_all(); + + probe_audio_codecs(); diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch new file mode 100644 index 000000000000..70512e5c1e48 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch @@ -0,0 +1,58 @@ +diff -urN audiorecorder-0.1.0-pre14.old/convert.c audiorecorder-0.1.0-pre14/convert.c +--- audiorecorder-0.1.0-pre14.old/convert.c 2013-06-17 21:31:31.670412829 +0200 ++++ audiorecorder-0.1.0-pre14/convert.c 2013-06-17 21:35:18.387404763 +0200 +@@ -51,8 +51,8 @@ + return; + } + +- decoder_ctx = avcodec_alloc_context(); +- decoder_open = avcodec_open(decoder_ctx, decoder_codec); ++ decoder_ctx = avcodec_alloc_context3(NULL); ++ decoder_open = avcodec_open2(decoder_ctx, decoder_codec, 0); + + if (decoder_open < 0) { + dsyslog("[audiorecorder]: could not open codec mp2 (%s, " +@@ -77,13 +77,13 @@ + return; + } + +- encoder_ctx = avcodec_alloc_context(); ++ encoder_ctx = avcodec_alloc_context3(NULL); + + encoder_ctx->bit_rate = bit_rate; + encoder_ctx->sample_rate = sample_rate; + encoder_ctx->channels = channels; + +- encoder_open = avcodec_open(encoder_ctx, encoder_codec); ++ encoder_open = avcodec_open2(encoder_ctx, encoder_codec, 0); + + if (encoder_open < 0) { + dsyslog("[audiorecorder]: could not open codec %s (%s, %s())", codec, __FILE__, __func__); +@@ -111,9 +111,13 @@ + avcodec_decode_audio(decoder_ctx, (short *)decoder_buf.data, + &decoder_buf.length, mpa_frame->data, mpa_frame->length); + #else ++ AVPacket avpkt; ++ av_init_packet(&avpkt); ++ avpkt.data = mpa_frame->data; ++ avpkt.size = mpa_frame->length; + decoder_buf.length = AVCODEC_MAX_AUDIO_FRAME_SIZE; +- avcodec_decode_audio2(decoder_ctx, (short *)decoder_buf.data, +- &decoder_buf.length, mpa_frame->data, mpa_frame->length); ++ int len = avcodec_decode_audio3(decoder_ctx, (short *)decoder_buf.data, ++ &decoder_buf.length, &avpkt); + #endif + } + +diff -urN audiorecorder-0.1.0-pre14.old/convert.h audiorecorder-0.1.0-pre14/convert.h +--- audiorecorder-0.1.0-pre14.old/convert.h 2013-06-17 21:31:31.670412829 +0200 ++++ audiorecorder-0.1.0-pre14/convert.h 2013-06-17 21:41:17.056392003 +0200 +@@ -10,7 +10,8 @@ + #include "a-tools.h" + + extern "C" { + #include <libavcodec/avcodec.h> ++#include <libavutil/mem.h> + } + + diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff new file mode 100644 index 000000000000..d664a35d0add --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff @@ -0,0 +1,132 @@ +unbundle source included tinyxml, use now shared libs from dev-libs/tinyxml +bugs.gentoo.org #349507 +Joerg bornkessel <hd_brummy@g.o> 2010 Dec 28 + +diff -Naur audiorecorder-0.1.0-pre14.orig/Makefile audiorecorder-0.1.0-pre14/Makefile +--- audiorecorder-0.1.0-pre14.orig/Makefile 2010-12-28 16:10:30.000000000 +0100 ++++ audiorecorder-0.1.0-pre14/Makefile 2010-12-28 16:25:52.000000000 +0100 +@@ -46,6 +46,8 @@ + + LIBS = $(shell taglib-config --libs) + ++LIBS += -ltinyxml ++ + DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DTIXML_USE_STL + + ifdef AUDIORECORDER_DEVEL +@@ -68,7 +70,7 @@ + + ### The object files (add further files here): + +-OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o tinyxml/tinyxml.o tinyxml/tinyxmlerror.o tinyxml/tinyxmlparser.o audiorecorder_i18n.o ++OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o audiorecorder_i18n.o + + ### Implicit rules: + +diff -Naur audiorecorder-0.1.0-pre14.orig/xml-base.c audiorecorder-0.1.0-pre14/xml-base.c +--- audiorecorder-0.1.0-pre14.orig/xml-base.c 2010-12-28 16:10:30.000000000 +0100 ++++ audiorecorder-0.1.0-pre14/xml-base.c 2010-12-28 16:38:29.000000000 +0100 +@@ -10,7 +10,7 @@ + + + using namespace std; +-using namespace a_land; ++/*using namespace a_land; */ + + /* --- cXmlBase ------------------------------------------------------------- */ + +diff -Naur audiorecorder-0.1.0-pre14.orig/xml-base.h audiorecorder-0.1.0-pre14/xml-base.h +--- audiorecorder-0.1.0-pre14.orig/xml-base.h 2010-12-28 16:10:30.000000000 +0100 ++++ audiorecorder-0.1.0-pre14/xml-base.h 2010-12-28 16:39:35.000000000 +0100 +@@ -5,7 +5,7 @@ + #ifndef __XML_BASE_H + #define __XML_BASE_H + +-#include "tinyxml/tinyxml.h" ++#include <tinyxml.h> + + #include <string> + +@@ -13,8 +14,8 @@ + private: + std::string path, root_element; + +- a_land::TiXmlDocument *document; +- a_land::TiXmlElement *root; ++ TiXmlDocument *document; ++ TiXmlElement *root; + protected: + virtual ~cXmlBase(); + +@@ -25,11 +26,11 @@ + bool load(const std::string &_path); + void clear(void); + +- void add_subelement(a_land::TiXmlElement &main_element, ++ void add_subelement(TiXmlElement &main_element, + const char *name, const std::string &text); + +- a_land::TiXmlDocument *get_document(void) { return document; } +- a_land::TiXmlElement *get_root(void) { return root; } ++ TiXmlDocument *get_document(void) { return document; } ++ TiXmlElement *get_root(void) { return root; } + void set_root(void); + }; + +diff -Naur audiorecorder-0.1.0-pre14.orig/xml-cache.c audiorecorder-0.1.0-pre14/xml-cache.c +--- audiorecorder-0.1.0-pre14.orig/xml-cache.c 2010-12-28 16:10:30.000000000 +0100 ++++ audiorecorder-0.1.0-pre14/xml-cache.c 2010-12-28 16:41:27.000000000 +0100 +@@ -19,7 +19,7 @@ + + + using namespace std; +-using namespace a_land; ++/*using namespace a_land; */ + + /* --- cXmlCache ------------------------------------------------------------ */ + +@@ -111,7 +111,7 @@ + trackinfo.get_title().empty()) + return; + +- a_land::TiXmlElement track("track"); ++ TiXmlElement track("track"); + track.SetAttribute("path", trackinfo.get_partial_path()); + track.SetAttribute("date", trackinfo.get_date()); + track.SetAttribute("time", trackinfo.get_time()); +@@ -146,7 +146,7 @@ + + void cXmlCache::copy_to_objects(void) + { +- a_land::TiXmlElement *xml_track = get_root()->FirstChildElement("track"); ++ TiXmlElement *xml_track = get_root()->FirstChildElement("track"); + + while (xml_track) { + cTrackInfo trackinfo; +@@ -155,7 +155,7 @@ + + if (path.empty()) { + /* remove deleted files from the xml-cache */ +- a_land::TiXmlElement *tmp = xml_track; ++ TiXmlElement *tmp = xml_track; + xml_track = xml_track->NextSiblingElement("track"); + get_root()->RemoveChild(tmp); + +@@ -169,7 +169,7 @@ + if (access(path.c_str(), F_OK) == -1) { + dsyslog("[audiorecorder]: copy %s : (%s, %s())", path.c_str(), __FILE__, __func__); + /* remove deleted files from the xml-cache */ +- a_land::TiXmlElement *tmp = xml_track; ++ TiXmlElement *tmp = xml_track; + xml_track = xml_track->NextSiblingElement("track"); + get_root()->RemoveChild(tmp); + +@@ -181,7 +181,7 @@ + if (xml_track->Attribute("time")) + trackinfo.set_time(xml_track->Attribute("time")); + +- for (a_land::TiXmlElement *element = xml_track->FirstChildElement(); ++ for (TiXmlElement *element = xml_track->FirstChildElement(); + element; element = element->NextSiblingElement()) { + if (element->FirstChild() == NULL) + continue; diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff new file mode 100644 index 000000000000..841007fc18c0 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff @@ -0,0 +1,30 @@ +diff -Naur audiorecorder-0.1.0-pre14.orig/audioreceiver.c audiorecorder-0.1.0-pre14/audioreceiver.c +--- audiorecorder-0.1.0-pre14.orig/audioreceiver.c 2014-04-19 11:16:11.038099054 +0200 ++++ audiorecorder-0.1.0-pre14/audioreceiver.c 2014-04-19 11:20:39.847541064 +0200 +@@ -9,9 +9,12 @@ + + /* --- cAudioReceiver ------------------------------------------------------- */ + +-cAudioReceiver::cAudioReceiver(const cChannel *_channel) +-:cReceiver(_channel->GetChannelID(), -2, _channel->Apid(0)), cThread() ++cAudioReceiver::cAudioReceiver(const cChannel* _channel) ++:cReceiver(_channel, -2), cThread("audiorecorder-receiver") + { ++ SetPids(NULL); ++ AddPid(_channel->Apid(0)); ++ + channel = _channel; + + active = false; +diff -Naur audiorecorder-0.1.0-pre14.orig/audioreceiver.h audiorecorder-0.1.0-pre14/audioreceiver.h +--- audiorecorder-0.1.0-pre14.orig/audioreceiver.h 2014-04-19 11:16:10.982099587 +0200 ++++ audiorecorder-0.1.0-pre14/audioreceiver.h 2014-04-19 11:21:18.453173527 +0200 +@@ -44,7 +44,7 @@ + virtual void Action(void); + virtual void Activate(bool on); + public: +- cAudioReceiver(const cChannel *_channel); ++ cAudioReceiver(const cChannel* _channel); + ~cAudioReceiver(); + + void set_device_number(int _device_number) { device_number = diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff new file mode 100644 index 000000000000..e062703359d5 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff @@ -0,0 +1,28 @@ +fixed for obsolet i18n handling, up from vdr-1.7.27 +vdr-plugin-2.eclass will not help in this case + +signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2012/07/01) + +diff -Naur audiorecorder-0.1.0-pre14.orig/audiorecorder_i18n.h audiorecorder-0.1.0-pre14/audiorecorder_i18n.h +--- audiorecorder-0.1.0-pre14.orig/audiorecorder_i18n.h 2012-07-01 12:49:17.000000000 +0200 ++++ audiorecorder-0.1.0-pre14/audiorecorder_i18n.h 2012-07-01 12:49:59.000000000 +0200 +@@ -11,6 +11,6 @@ + + #include <vdr/i18n.h> + +-extern const tI18nPhrase Phrases[]; ++//extern const tI18nPhrase Phrases[]; + + #endif //__I18N__H +diff -Naur audiorecorder-0.1.0-pre14.orig/Makefile audiorecorder-0.1.0-pre14/Makefile +--- audiorecorder-0.1.0-pre14.orig/Makefile 2012-07-01 12:49:17.000000000 +0200 ++++ audiorecorder-0.1.0-pre14/Makefile 2012-07-01 12:49:44.000000000 +0200 +@@ -70,7 +70,7 @@ + + ### The object files (add further files here): + +-OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o audiorecorder_ ++OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o + + ### Implicit rules: + diff --git a/media-plugins/vdr-audiorecorder/metadata.xml b/media-plugins/vdr-audiorecorder/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild new file mode 100644 index 000000000000..ddaf08ccbf41 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 flag-o-matic + +MY_P=${P/_pre/-pre} + +DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info" +HOMEPAGE="http://www.a-land.de/audiorecorder/" +SRC_URI="http://www.zulu-entertainment.de/files/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +S=${WORKDIR}/${MY_P#vdr-} + +DEPEND=">=media-video/vdr-1.6.0 + media-libs/taglib + virtual/ffmpeg[encode,mp3] + >=dev-libs/tinyxml-2.6.1[stl]" + +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-shared-tinyxml.diff" + + vdr-plugin-2_src_prepare + + sed -i "s:include <avcodec.h>:include <libavcodec/avcodec.h>:" convert.h audiorecorder.c + sed -i "s:RegisterI18n:// RegisterI18n:" audiorecorder.c + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + epatch "${FILESDIR}/${P}_obsolete-i18n.diff" + epatch "${FILESDIR}/${P}-ffmpeg-1.patch" + epatch "${FILESDIR}/${P}-libav9.patch" +} + +src_install() { + vdr-plugin-2_src_install + keepdir /var/vdr/audiorecorder + chown -R vdr:vdr "${D}"/var/vdr + + insinto /etc/vdr/plugins/audiorecorder + doins "${S}"/contrib/audiorecorder.conf +} diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild new file mode 100644 index 000000000000..af70b5af5742 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P=${P/_pre/-pre} + +DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info" +HOMEPAGE="http://www.a-land.de/audiorecorder/" +SRC_URI="http://www.zulu-entertainment.de/files/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +S=${WORKDIR}/${MY_P#vdr-} + +DEPEND=">=media-video/vdr-1.6.0 + media-libs/taglib + virtual/ffmpeg[encode,mp3] + >=dev-libs/tinyxml-2.6.1[stl]" + +RDEPEND="${DEPEND}" + +src_prepare() { + # remove untranslated po files + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,it_IT,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + epatch "${FILESDIR}/${P}-shared-tinyxml.diff" + + vdr-plugin-2_src_prepare + + sed -i "s:include <avcodec.h>:include <libavcodec/avcodec.h>:" convert.h audiorecorder.c + sed -i "s:RegisterI18n:// RegisterI18n:" audiorecorder.c + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + epatch "${FILESDIR}/${P}_obsolete-i18n.diff" + epatch "${FILESDIR}/${P}-ffmpeg-1.patch" + epatch "${FILESDIR}/${P}-libav9.patch" + epatch "${FILESDIR}/${P}_compilefix.diff" +} + +src_install() { + vdr-plugin-2_src_install + keepdir /var/vdr/audiorecorder + chown -R vdr:vdr "${D}"/var/vdr + + insinto /etc/vdr/plugins/audiorecorder + doins "${S}"/contrib/audiorecorder.conf +} diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild new file mode 100644 index 000000000000..c3993fbca14c --- /dev/null +++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1748" # every bump, new version + +DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-audiorecorder/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/vdr-plugin-audiorecorder-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/vdr-plugin-audiorecorder-${PV}" + +DEPEND=">=media-video/vdr-2 + media-libs/taglib + virtual/ffmpeg[encode,mp3] + >=dev-libs/tinyxml-2.6.1[stl]" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + keepdir /var/vdr/audiorecorder + chown -R vdr:vdr "${D}"/var/vdr + + insinto /etc/vdr/plugins/audiorecorder + doins "${S}"/contrib/audiorecorder.conf +} diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild new file mode 100644 index 000000000000..b36b93528a07 --- /dev/null +++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1818" # every bump, new version + +DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-audiorecorder/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/vdr-plugin-audiorecorder-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/vdr-plugin-audiorecorder-${PV}" + +DEPEND=">=media-video/vdr-2 + media-libs/taglib + virtual/ffmpeg[encode,mp3] + >=dev-libs/tinyxml-2.6.1[stl]" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + keepdir /var/vdr/audiorecorder + chown -R vdr:vdr "${D}"/var/vdr + + insinto /etc/vdr/plugins/audiorecorder + doins "${S}"/contrib/audiorecorder.conf +} diff --git a/media-plugins/vdr-autosort/Manifest b/media-plugins/vdr-autosort/Manifest new file mode 100644 index 000000000000..a6edb7da8e4d --- /dev/null +++ b/media-plugins/vdr-autosort/Manifest @@ -0,0 +1 @@ +DIST vdr-autosort-0.1.3.tgz 37190 SHA256 4add89651ea0affc91e4a46a45d8721dccca341765b800894d72dd59930592f8 SHA512 f9d154060ead285e4b775317c403372ecf3d80842d95bca31dd0ba220c3429b51f4be31bf7251222905d5485a0e6f5c1fc80927c386456cb500f1c58a5a9201a WHIRLPOOL e7c0ec6fe18e544555d576e9dbf0875a0bd65de40766ebacffeb0f6452c528076fa39daa5c46dc53a14c1e0f76994790cf4cc691edebab10c151f6b65348b19c diff --git a/media-plugins/vdr-autosort/metadata.xml b/media-plugins/vdr-autosort/metadata.xml new file mode 100644 index 000000000000..a993cc4be301 --- /dev/null +++ b/media-plugins/vdr-autosort/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription lang="en"> + AutoSort Plugin adds the capability to define rules for + automatically sorting your channels.conf with every + housekeeping thread. + </longdescription> + <longdescription lang="de"> + Das AutoSort-Plugin erweitert den VDR um die Fähigkeit, die + Kanalliste automatisch nach benutzerspezifischen Kriterien + zu sortieren. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-autosort/vdr-autosort-0.1.3.ebuild b/media-plugins/vdr-autosort/vdr-autosort-0.1.3.ebuild new file mode 100644 index 000000000000..5eabea0ebaf1 --- /dev/null +++ b/media-plugins/vdr-autosort/vdr-autosort-0.1.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Auto-sort channels.conf" +HOMEPAGE="http://www.copypointburscheid.de/linux/autosort.htm" +SRC_URI="http://www.copypointburscheid.de/linux/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.32" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + insinto /etc/vdr/plugins + doins examples/autosort.conf +} + +pkg_preinst() { + if [[ ! -L ${ROOT}/etc/vdr/channels.conf ]]; then + cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.conf.autosort.bak + fowners vdr:vdr /etc/vdr/channels.conf.autosort.bak + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + echo + elog "You will find a backup of your channels.conf in /etc/vdr/channels.conf.autosort.bak" + elog "Edit /etc/vdr/plugins/autosort.conf to fit your needs" + ewarn "Important:" + ewarn "Backup your channels.conf together with autosort.conf" + ewarn "before making heavy changes to autosort.conf." + echo +} diff --git a/media-plugins/vdr-avards/Manifest b/media-plugins/vdr-avards/Manifest new file mode 100644 index 000000000000..9ad00dd11f38 --- /dev/null +++ b/media-plugins/vdr-avards/Manifest @@ -0,0 +1 @@ +DIST vdr-avards-0.2.4.tar.bz2 24865 RMD160 cfd5f4d7bf0b8410183a26f5dc897e940d8ad43d SHA1 0caf4abc4171c5e017a432401216b41543d2e374 SHA256 a1d053ad04b20e787ba53cb7a896205c0adf8e2cbf952e58cd23e9fb1fdb6566 diff --git a/media-plugins/vdr-avards/metadata.xml b/media-plugins/vdr-avards/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-avards/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-avards/vdr-avards-0.2.4.ebuild b/media-plugins/vdr-avards/vdr-avards-0.2.4.ebuild new file mode 100644 index 000000000000..b55a51f7b0be --- /dev/null +++ b/media-plugins/vdr-avards/vdr-avards-0.2.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Automatic Video Aspect Ratio Detection and Signaling" +HOMEPAGE="http://firefly.vdr-developer.org/avards/" +SRC_URI="http://firefly.vdr-developer.org/avards/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "s:i18n.c:i18n.h:g" Makefile + + if ! has_version ">=media-video/vdr-1.7.13"; then + sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile + fi + + # fix deprecated i18n handling >=vdr-1.7.27 + sed -i "s:i18n.o::" Makefile || die "sed makefile faild" + sed -i "s:extern://extern:" i18n.h || die "sed i18n.h failed" +} diff --git a/media-plugins/vdr-beep/Manifest b/media-plugins/vdr-beep/Manifest new file mode 100644 index 000000000000..486795125545 --- /dev/null +++ b/media-plugins/vdr-beep/Manifest @@ -0,0 +1 @@ +DIST vdr-beep-0.1.2.tgz 16474 SHA256 7202cd35c464b591e4a4e501aa4d60960687bb24813b26c9ed4ac09a0dd1355a diff --git a/media-plugins/vdr-beep/metadata.xml b/media-plugins/vdr-beep/metadata.xml new file mode 100644 index 000000000000..7b718b6f9765 --- /dev/null +++ b/media-plugins/vdr-beep/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-beep/vdr-beep-0.1.2.ebuild b/media-plugins/vdr-beep/vdr-beep-0.1.2.ebuild new file mode 100644 index 000000000000..673ccfc075fd --- /dev/null +++ b/media-plugins/vdr-beep/vdr-beep-0.1.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Use the PC speaker to signalize some events (shutdown, cut done etc.)" +HOMEPAGE="http://www.deltab.de/content/view/25/62/" +SRC_URI="http://www.deltab.de/component/option,com_docman/task,doc_download/gid,104/Itemid,62/ -> ${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND=">=media-video/vdr-1.6.0" +DEPEND="${RDEPEND}" diff --git a/media-plugins/vdr-bgprocess/Manifest b/media-plugins/vdr-bgprocess/Manifest new file mode 100644 index 000000000000..1a2ab5f5185c --- /dev/null +++ b/media-plugins/vdr-bgprocess/Manifest @@ -0,0 +1 @@ +DIST vdr-bgprocess-0.1.0.tgz 16454 RMD160 fa18fa014f2b65ffb78af439c9a03daf03ef3abb SHA1 fcccc7259ab0fe87e19faf7cf2c7892455361ad6 SHA256 79612020bda0cf59265ceea9898a3a73179ee8caed44fbb9b259d0e52f7fa91f diff --git a/media-plugins/vdr-bgprocess/files/vdr-bgprocess-0.1.0-fix-i18n.diff b/media-plugins/vdr-bgprocess/files/vdr-bgprocess-0.1.0-fix-i18n.diff new file mode 100644 index 000000000000..cb7b3bf37b76 --- /dev/null +++ b/media-plugins/vdr-bgprocess/files/vdr-bgprocess-0.1.0-fix-i18n.diff @@ -0,0 +1,14 @@ +Index: bgprocess-0.1.0/bgprocess.c +=================================================================== +--- bgprocess-0.1.0.orig/bgprocess.c ++++ bgprocess-0.1.0/bgprocess.c +@@ -152,7 +152,9 @@ bool cPluginBgprocess::ProcessArgs(int a + bool cPluginBgprocess::Initialize(void) + { + // Initialize any background activities the plugin shall perform. ++#if VDRVERSNUM < 10507 + RegisterI18n(tlPhrases); ++#endif + return true; + } + diff --git a/media-plugins/vdr-bgprocess/metadata.xml b/media-plugins/vdr-bgprocess/metadata.xml new file mode 100644 index 000000000000..1d6580fca7dd --- /dev/null +++ b/media-plugins/vdr-bgprocess/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-bgprocess/vdr-bgprocess-0.1.0.ebuild b/media-plugins/vdr-bgprocess/vdr-bgprocess-0.1.0.ebuild new file mode 100644 index 000000000000..3ad44f86070a --- /dev/null +++ b/media-plugins/vdr-bgprocess/vdr-bgprocess-0.1.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Collect information about background process status" +HOMEPAGE="http://linuxtv.org/pipermail/vdr/2008-July/017245.html" +SRC_URI="http://www.reelbox.org/software/vdr/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.0" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-fix-i18n.diff") diff --git a/media-plugins/vdr-browse/Manifest b/media-plugins/vdr-browse/Manifest new file mode 100644 index 000000000000..b931ffd22f16 --- /dev/null +++ b/media-plugins/vdr-browse/Manifest @@ -0,0 +1 @@ +DIST vdr-browse-0.2.0.tgz 16661 RMD160 cb6c47bb684b7d50f75a047994f413d9f89f7642 SHA1 95447d2ad5abff525e4fc990cf0b70a03fa2011d SHA256 b178ea4675d94a49d7ca331fff788482f0f6de2374fa4d93b3276cf5203e974e diff --git a/media-plugins/vdr-browse/metadata.xml b/media-plugins/vdr-browse/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-browse/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-browse/vdr-browse-0.2.0.ebuild b/media-plugins/vdr-browse/vdr-browse-0.2.0.ebuild new file mode 100644 index 000000000000..5b4a6a50f661 --- /dev/null +++ b/media-plugins/vdr-browse/vdr-browse-0.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: browse now/next epg info while keep watching the current channel" +HOMEPAGE="http://www.fepg.org/" +SRC_URI="http://www.fepg.org/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.36" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-burn-templates/Manifest b/media-plugins/vdr-burn-templates/Manifest new file mode 100644 index 000000000000..426e91fb2eb2 --- /dev/null +++ b/media-plugins/vdr-burn-templates/Manifest @@ -0,0 +1 @@ +DIST vdr-burn-templates-0.0.2.tar.gz 27585592 SHA256 67f946467f0f22717f1af4325c748071370cf76cda4cce7f39e79aab2b022da0 diff --git a/media-plugins/vdr-burn-templates/metadata.xml b/media-plugins/vdr-burn-templates/metadata.xml new file mode 100644 index 000000000000..8c6d2f5bb1d7 --- /dev/null +++ b/media-plugins/vdr-burn-templates/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>Many Templates for the vdr-burn Plugin</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-burn-templates/vdr-burn-templates-0.0.2.ebuild b/media-plugins/vdr-burn-templates/vdr-burn-templates-0.0.2.ebuild new file mode 100644 index 000000000000..b42f78588212 --- /dev/null +++ b/media-plugins/vdr-burn-templates/vdr-burn-templates-0.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="DVD-themes (background and menu) for vdr-burn" +HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Vorlagen_(burn-plugin)" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="FDL-1.2" # only +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-plugins/vdr-burn-0.0.9-r2" + +S="${WORKDIR}/templates" + +src_install() { + + insinto /usr/share/vdr/burn + insopts -m0644 -ovdr -gvdr + doins "${S}"/* +} diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest new file mode 100644 index 000000000000..5c256a7529c5 --- /dev/null +++ b/media-plugins/vdr-burn/Manifest @@ -0,0 +1 @@ +DIST vdr-burn-0.2.2.tgz 253570 SHA256 212a9bbf4b6a0974666a2cc095a076cae033153e5154f7e29fc09d06483d4bd3 SHA512 06e490ff238f35122c2bcb7b2d98500a183409c8e855748609fa43dab661cd4ef5bf492cd17ccf5c7b9b26373cb994b3e35dd20edafccfa8bf186318c8fcc346 WHIRLPOOL 28f11e8a24053f08e5fccd39199d47ff682ce44dd7ebfd01db344abd5d7f4b06a7fe76b36e29a7109629e778e0766cc51770d90263dc1526b5dca9518d615c6f diff --git a/media-plugins/vdr-burn/files/confd b/media-plugins/vdr-burn/files/confd new file mode 100644 index 000000000000..eab0feee0d1a --- /dev/null +++ b/media-plugins/vdr-burn/files/confd @@ -0,0 +1,27 @@ +# Global config file for vdr burn plugin +# $Id$ + +############## Global config for vdr-burn ######################### +# +# Restart of VDR is needed after some changes + +# Set way to your DVD Writer Drive +# allowed values: directory names +# default: /dev/dvd +# +#BURN_DVDWRITER="/dev/dvd" + +# Set your tmp DIR where the files will be converted +# ! >= 10 Gb free Disc Space needed +# allowed values: directory names +# default: /var/vdr/video +# +#BURN_DATADIR="/var/vdr/video" + +# Way to your not burned iso files +# allowed values: directory names +# default: /var/vdr/video/dvd-images +# +#BURN_ISODIR="/var/vdr/video/dvd-images" + + diff --git a/media-plugins/vdr-burn/files/rc-addon.sh b/media-plugins/vdr-burn/files/rc-addon.sh new file mode 100644 index 000000000000..904a69925084 --- /dev/null +++ b/media-plugins/vdr-burn/files/rc-addon.sh @@ -0,0 +1,32 @@ +# $Id$ +# +# rc-addon-script for plugin burn +# +# Joerg Bornkessel hd_brummy@gentoo.org + +. /etc/conf.d/vdr.burn + +: ${BURN_TMPDIR:=/tmp} +: ${BURN_DATADIR:=/var/vdr/video} +: ${BURN_DVDWRITER:=/dev/dvd} +: ${BURN_ISODIR:=/var/vdr/video/dvd-images} + +# be shure BURN_ISODIR is available! +make_isodir() { + if [ ! -e "${BURN_ISODIR}" ]; then + mkdir "${BURN_ISODIR}" + touch "${BURN_ISODIR}"/.keep.rc-burn + chown -R vdr:vdr "${BURN_ISODIR}" + fi +} + +make_isodir + +plugin_pre_vdr_start() { + + add_plugin_param "-t ${BURN_TMPDIR}" + add_plugin_param "-d ${BURN_DATADIR}" + add_plugin_param "-D ${BURN_DVDWRITER}" + add_plugin_param "-i ${BURN_ISODIR}" +} + diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch new file mode 100644 index 000000000000..466c5672311c --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/425596 + +--- proctools/process.cc ++++ proctools/process.cc +@@ -8,6 +8,8 @@ + #include <cerrno> + #include <sys/types.h> + #include <sys/wait.h> ++#include <sys/time.h> ++#include <sys/resource.h> + #include <unistd.h> + + namespace proctools diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff new file mode 100644 index 000000000000..cf1ab4ab628d --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff @@ -0,0 +1,48 @@ +some path adaption to gentoo vdr +use corefonts instead of ttf-bitstream-vera, #335782 + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (1 Mar 2015) +diff -Naur burn-0.2.0.orig/burn.c burn-0.2.0/burn.c +--- burn-0.2.0.orig/burn.c 2012-02-12 19:46:51.000000000 +0100 ++++ burn-0.2.0/burn.c 2012-02-12 19:49:21.000000000 +0100 +@@ -96,11 +96,11 @@ + + bool plugin::Start() + { +- m_configPath = ConfigDirectory(PLUGIN_NAME); ++ m_configPath = "/usr/share/vdr/burn"; + + manager::start(); + logger_vdr::start(); +- gdwrapper::setup::set_font_path( m_configPath + "/fonts" ); ++ gdwrapper::setup::set_font_path( "/usr/share/fonts/corefonts" ); + if ( !skin_list::get().load( get_config_path() ) ) + return false; + +diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh +--- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-12 19:46:51.000000000 +0100 ++++ burn-0.2.0/vdrburn-dvd.sh 2012-02-12 19:52:22.000000000 +0100 +@@ -92,9 +92,8 @@ + CUT="-cut $MPEG_DATA_PATH/px.cut" + fi + +- $IO_NICE $JAVA_EXE -Djava.awt.headless=true \ +- -jar $PROJECTX_JAR \ +- -ini $CONFIG_PATH/ProjectX.ini \ ++ /usr/bin/projectx_cli \ ++ -ini /usr/share/vdr/burn/projectx-vdr.ini \ + $TTXT_OPTS \ + $CUT -id $USED_TRACKS \ + -demux -out "$MPEG_DATA_PATH" -name vdrsync \ +diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh +--- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-15 21:58:34.000000000 +0100 ++++ burn-0.2.0/vdrburn-dvd.sh 2012-02-15 22:00:47.000000000 +0100 +@@ -78,7 +78,7 @@ + ;; + + demux) +- [ -r $CONFIG_PATH/vdrburn-dvd.conf ] && . $CONFIG_PATH/vdrburn-dvd.conf ++ PROJECTX_JAR="/usr/share/projectx/lib/projectx.jar" + [ -z "$JAVA_EXE" ] && JAVA_EXE=$(which java) + + [ ! -x "$JAVA_EXE" ] && echo "ERROR: java executable \"$JAVA_EXE\" not found" && exit 1 diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_gentoo-path.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_gentoo-path.diff new file mode 100644 index 000000000000..e087b8b64caa --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_gentoo-path.diff @@ -0,0 +1,47 @@ +some path adaption to gentoo vdr + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (15 Feb 2011) +diff -Naur burn-0.2.0.orig/burn.c burn-0.2.0/burn.c +--- burn-0.2.0.orig/burn.c 2012-02-12 19:46:51.000000000 +0100 ++++ burn-0.2.0/burn.c 2012-02-12 19:49:21.000000000 +0100 +@@ -96,11 +96,11 @@ + + bool plugin::Start() + { +- m_configPath = ConfigDirectory(PLUGIN_NAME); ++ m_configPath = "/usr/share/vdr/burn"; + + manager::start(); + logger_vdr::start(); +- gdwrapper::setup::set_font_path( m_configPath + "/fonts" ); ++ gdwrapper::setup::set_font_path( "/usr/share/fonts/ttf-bitstream-vera" ); + if ( !skin_list::get().load( get_config_path() ) ) + return false; + +diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh +--- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-12 19:46:51.000000000 +0100 ++++ burn-0.2.0/vdrburn-dvd.sh 2012-02-12 19:52:22.000000000 +0100 +@@ -92,9 +92,8 @@ + CUT="-cut $MPEG_DATA_PATH/px.cut" + fi + +- $IO_NICE $JAVA_EXE -Djava.awt.headless=true \ +- -jar $PROJECTX_JAR \ +- -ini $CONFIG_PATH/ProjectX.ini \ ++ /usr/bin/projectx_cli \ ++ -ini /usr/share/vdr/burn/projectx-vdr.ini \ + $TTXT_OPTS \ + $CUT -id $USED_TRACKS \ + -demux -out "$MPEG_DATA_PATH" -name vdrsync \ +diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh +--- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-15 21:58:34.000000000 +0100 ++++ burn-0.2.0/vdrburn-dvd.sh 2012-02-15 22:00:47.000000000 +0100 +@@ -78,7 +78,7 @@ + ;; + + demux) +- [ -r $CONFIG_PATH/vdrburn-dvd.conf ] && . $CONFIG_PATH/vdrburn-dvd.conf ++ PROJECTX_JAR="/usr/share/projectx/lib/projectx.jar" + [ -z "$JAVA_EXE" ] && JAVA_EXE=$(which java) + + [ ! -x "$JAVA_EXE" ] && echo "ERROR: java executable \"$JAVA_EXE\" not found" && exit 1 diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff new file mode 100644 index 000000000000..837321ef6874 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff @@ -0,0 +1,15 @@ +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (12 Feb 2012) + +diff -Naur burn-0.2.0.orig/Makefile burn-0.2.0/Makefile +--- burn-0.2.0.orig/Makefile 2012-02-12 20:21:08.000000000 +0100 ++++ burn-0.2.0/Makefile 2012-02-12 20:24:33.000000000 +0100 +@@ -9,6 +9,9 @@ + # + PLUGIN = burn + ++# Enable DMH Archive ++#ENABLE_DMH_ARCHIVE = 1 ++ + ### The version number of this plugin (taken from the main source file): + + VERSION = $(shell grep 'const char\* plugin::VERSION *=' $(PLUGIN).c | awk '{ print $$5 }' | sed -e 's/[";]//g') diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff new file mode 100644 index 000000000000..676b11a9ceb4 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff @@ -0,0 +1,32 @@ +set default settings +unset gentoo unsupportede packages (m2vrequantizer) +disable unneeded menuentrys + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (12 Feb 2012) +diff -Naur burn-0.2.0.orig/setup.c burn-0.2.0/setup.c +--- burn-0.2.0.orig/setup.c 2012-02-12 20:14:01.000000000 +0100 ++++ burn-0.2.0/setup.c 2012-02-12 20:18:10.000000000 +0100 +@@ -88,10 +88,10 @@ + //!--- plugin_setup ----------------------------------------------------------- + + plugin_setup::plugin_setup(): +- PROCTOOLS_INIT_PROPERTY( RemovePath, false ), ++ PROCTOOLS_INIT_PROPERTY( RemovePath, true ), + PROCTOOLS_INIT_PROPERTY( CustomDiskSize, 200 ), + PROCTOOLS_INIT_PROPERTY( BurnSpeed, 0 ), +- PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_metakine ), ++ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ), + PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ), + PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ), + PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ), +@@ -226,8 +226,8 @@ + m_defaults = job_defaults(); + + Add( new menu::text_item( tr("--- Common settings --------------------------------------------------") ) ); +- Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); +- Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); ++// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); ++// Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); + Add( new menu::number_edit_item( tr("Burn speed"), m_setup.BurnSpeed, 0, 32, tr("unlimited") ) ); + Add( new menu::bool_edit_item( tr("Preserve logfiles"), m_setup.PreserveLogFiles ) ); + Add( new menu::list_edit_item( tr("Spare language code"), m_setup.DefaultLanguage, track_info::get_language_codes(), false ) ); diff --git a/media-plugins/vdr-burn/metadata.xml b/media-plugins/vdr-burn/metadata.xml new file mode 100644 index 000000000000..073e3273a77c --- /dev/null +++ b/media-plugins/vdr-burn/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>VDR plugin to burn DVD's and DVD file structures</longdescription> + <use> + <flag name='dvdarchive'>DMH DVD - Archive</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-burn/vdr-burn-0.2.2-r1.ebuild b/media-plugins/vdr-burn/vdr-burn-0.2.2-r1.ebuild new file mode 100644 index 000000000000..119668612864 --- /dev/null +++ b/media-plugins/vdr-burn/vdr-burn-0.2.2-r1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="1252" # every bump, new version! + +DESCRIPTION="VDR Plugin: burn records on DVD" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-burn" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="dvdarchive" + +DEPEND=">=media-video/vdr-1.7.36-r1 + media-libs/gd[png,truetype,jpeg]" +RDEPEND="${DEPEND} + >=dev-libs/libcdio-0.71 + >=media-video/dvdauthor-0.6.14 + >=media-video/mjpegtools-1.6.2[png] + media-video/transcode + media-fonts/corefonts + virtual/eject + >=app-cdr/dvd+rw-tools-5.21 + >=media-video/projectx-0.90.4.00_p32 + dvdarchive? ( media-video/vdrtools-genindex )" + +# depends that are not rdepend +DEPEND="${DEPEND} + >=dev-libs/boost-1.32.0" + +S="${WORKDIR}/${P#vdr-}" + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch \ + "${FILESDIR}"/${P}-r1_gentoo-path.diff \ + "${FILESDIR}"/${P}_setdefaults.diff \ + "${FILESDIR}"/${P}_makefile.diff \ + "${FILESDIR}"/${P}-missing-include-for-function-setpriority.patch + + use dvdarchive && sed -i Makefile \ + -e "s:#ENABLE_DMH_ARCHIVE:ENABLE_DMH_ARCHIVE:" + + sed -i Makefile \ + -e 's:^ISODIR=.*$:ISODIR=/var/vdr/video/dvd-images:' + + sed -i Makefile -e 's:DEFINES += -DTTXT_SUBTITLES:#DEFINES += -DTTXT_SUBTITLES:' + + if has_version ">=media-video/vdr-2.1.2"; then + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ + -i jobs.c + fi + + # ttf-bitstream-vera deprecated, bug #335782 + sed -e "s:Vera:arial:" -i skins.c + + fix_vdr_libsi_include scanner.c +} + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}"/*.sh + + insinto /usr/share/vdr/burn + doins "${S}"/burn/menu-silence.mp2 + newins "${S}"/burn/menu-button.png menu-button-default.png + newins "${S}"/burn/menu-bg.png menu-bg-default.png + dosym menu-bg-default.png /usr/share/vdr/burn/menu-bg.png + dosym menu-button-default.png /usr/share/vdr/burn/menu-button.png + + newins "${S}"/burn/ProjectX.ini projectx-vdr.ini + + fowners -R vdr:vdr /usr/share/vdr/burn + + ( + diropts -ovdr -gvdr + keepdir /usr/share/vdr/burn/counters + ) +} + +pkg_preinst() { + if [[ -d ${ROOT}/etc/vdr/plugins/burn && ( ! -L ${ROOT}/etc/vdr/plugins/burn ) ]]; then + einfo "Moving /etc/vdr/plugins/burn away" + mv "${ROOT}"/etc/vdr/plugins/burn "${ROOT}"/etc/vdr/plugins/burn_old + fi +} + +pkg_postinst() { + + local DMH_FILE="${ROOT}/usr/share/vdr/burn/counters/standard" + if [[ ! -e "${DMH_FILE}" ]]; then + echo 0001 > "${DMH_FILE}" + chown vdr:vdr "${DMH_FILE}" + fi + + vdr-plugin-2_pkg_postinst + + einfo + einfo "This ebuild comes only with the standard template" + einfo "'emerge vdr-burn-templates' for more templates" + einfo "To change the templates, use the vdr-image plugin" + + if [[ -e ${ROOT}/etc/vdr/reccmds/reccmds.burn.conf ]]; then + eerror + eerror "Please remove the following unneeded file:" + eerror "\t/etc/vdr/reccmds/reccmds.burn.conf" + eerror + fi +} diff --git a/media-plugins/vdr-calc/Manifest b/media-plugins/vdr-calc/Manifest new file mode 100644 index 000000000000..1d7e350f07eb --- /dev/null +++ b/media-plugins/vdr-calc/Manifest @@ -0,0 +1 @@ +DIST vdr-calc-0[1].0.1-rc5.tgz 12460 SHA256 10aca3e25261e26e01ff0cd559410022edf536368db241ebc10d9bda2c2311cc diff --git a/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff new file mode 100644 index 000000000000..0c5aaafd34ee --- /dev/null +++ b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff @@ -0,0 +1,12 @@ +diff -ru calc-0.0.1-rc5-orig/calc.c calc-0.0.1-rc5/calc.c +--- calc-0.0.1-rc5-orig/calc.c 2006-07-08 20:57:47.571929926 +0200 ++++ calc-0.0.1-rc5/calc.c 2006-07-08 20:58:03.045402607 +0200 +@@ -72,7 +72,7 @@ + void AddDigit(eKeys key); + void CalculateResult(char* inOperand1, char* inOperand2, char *outOperand, char cOperator); + operType operatorSymbol; +- void cCalcMain::CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType); ++ void CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType); + public: + cCalcMain(void); + ~cCalcMain(); diff --git a/media-plugins/vdr-calc/metadata.xml b/media-plugins/vdr-calc/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-calc/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild new file mode 100644 index 000000000000..098ebcf44f4b --- /dev/null +++ b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: OSD Calculator" +HOMEPAGE="http://www.vdrcalc.bmschneider.de/index2.html" +SRC_URI="http://www.vdrcalc.bmschneider.de/dateien/${PN}-0[1].0.1-rc5.tgz" + +KEYWORDS="x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.7" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${VDRPLUGIN}-0.0.1-rc5 + +PATCHES=( "${FILESDIR}/${P}-gcc4.diff" ) diff --git a/media-plugins/vdr-cdplayer/Manifest b/media-plugins/vdr-cdplayer/Manifest new file mode 100644 index 000000000000..635e21affd8c --- /dev/null +++ b/media-plugins/vdr-cdplayer/Manifest @@ -0,0 +1,3 @@ +DIST vdr-cdplayer-1.2.0.tgz 175851 SHA256 20303ceb1cc8c64ea2c3cd9e8ab7e39e3edbb64fad9c238ed92baa45615de351 SHA512 03dda4389347a43bf20fa15ef4b754aa15c7af965dbc56b7cf054ff0c7d8eb987d77dbec3e8cc513ab7b4a773e0848a58fa72664016d8f6cce9c3aa3fe25674c WHIRLPOOL 06462ac2445aa2344f3181994ecdc7c3cbd21763d8b39e75b8ce59441690d43b998fc18a93270672aa551cb18d72b1129098be9a583e70d063be81ea62ce948f +DIST vdr-cdplayer-1.2.1.tgz 180240 SHA256 f6b6c2828404bf1519d1adb3434a370393d7b0ab4bea145dc0d296f4656f6a8e SHA512 64b502a7f07d977c95e10a86353bc45351a43b178e8edcbfa783fcc6a5ae985e405b4f86ac783bc15d8795c8b77d59955570f4ab2e89a426f28c343216dc7768 WHIRLPOOL 8227df6fb47bd5a9da5004c3e12364c9d6ed484705e8868a7e034f65c916e304b56dc7b0bd88391745bf6bc6d98f141982fbd67dab514e788e76869b5fc730b6 +DIST vdr-cdplayer-1.2.2.tgz 180369 SHA256 94b330645bc51dab057ee594650f5bdde3c34d6c13add934e2d992446dae049b SHA512 783f675f874798f4578b550abb6f0bcf3439d3b4cbcdc8e6abebe2c6f0bd83b7e7a73ef81e48b7b3d34bde80fcef79c5c13a8687caa5a6aa711c38473224a290 WHIRLPOOL fdb7324d2f1186c0bea8048b0a3ea1dcde92372a8c37b7337670d938c4881126d2832055636aae4da4849c8ac190c8efff4393c5ff94537ff88ba5ee12213e90 diff --git a/media-plugins/vdr-cdplayer/files/confd b/media-plugins/vdr-cdplayer/files/confd new file mode 100644 index 000000000000..5599aea565e0 --- /dev/null +++ b/media-plugins/vdr-cdplayer/files/confd @@ -0,0 +1,32 @@ +# /etc/conf.d/vdr.cdplayer + + +# Set way to your CD Drive +# allowed values: path to device +# default: /dev/cdrom +# +#CDPLAYER_DEVICE=/dev/cdrom + +# Set URL to the CDDB databank +# allowed values: URL to the databank +# default: freedb.freedb.org +# +#CDPLAYER_CDDB_SERVER="freedb.freedb.org" + +# Enable cddb request to the given db on top +# allowed values: yes no +# default: yes +# +#CDPLAYER_CDDB_QUERY="no" + +# Enable cache of cddb data +# allowed values: yes no +# default: yes +# +#CDPLAYER_CDDB_CACHE="no" + +# Set path to the cddb data cache dir +# allowed values: path to cache dir +# default: /var/cache/vdr/cdplayer +# +#CDPLAYER_CACHE_DIR= diff --git a/media-plugins/vdr-cdplayer/files/rc-addon.sh b/media-plugins/vdr-cdplayer/files/rc-addon.sh new file mode 100644 index 000000000000..0eb97e419056 --- /dev/null +++ b/media-plugins/vdr-cdplayer/files/rc-addon.sh @@ -0,0 +1,44 @@ +# +# rc-addon-script for plugin cdplayer +# +# $Id$ + +. /etc/conf.d/vdr.cdplayer + +CDPLAYER_CACHE_DIR="${CDPLAYER_CACHE_DIR:=/var/cache/vdr/cdplayer}" + +make_cachedir() { + # check, is CDPLAYER_CACHE_DIR available + if [ ! -d "${CDPLAYER_CACHE_DIR}" ]; then + mkdir "${CDPLAYER_CACHE_DIR}" + chown -R vdr:vdr "${CDPLAYER_CACHE_DIR}" + fi +} + +plugin_pre_vdr_start() { + + # default values + add_plugin_param "-c cdplayer" + add_plugin_param "-s cd.mpg" + + add_plugin_param "-d ${CDPLAYER_DEVICE:-/dev/cdrom}" + + if yesno ${CDPLAYER_CDDB_QUERY:-yes}; then + + add_plugin_param "-S ${CDPLAYER_CDDB_SERVER:=freedb.freedb.org}" + + if yesno ${CDPLAYER_CDDB_CACHE:-yes}; then + # CDDB cache directory + make_cachedir + add_plugin_param "-C ${CDPLAYER_CACHE_DIR}" + else + # disable CDDB cache + add_plugin_param "-N" + fi + + else + # disable CDDB request + add_plugin_param "-n" + + fi +} diff --git a/media-plugins/vdr-cdplayer/metadata.xml b/media-plugins/vdr-cdplayer/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-cdplayer/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.0.ebuild b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.0.ebuild new file mode 100644 index 000000000000..ccfb5c2dcad5 --- /dev/null +++ b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: CD-PLAYER" +HOMEPAGE="http://www.uli-eckhardt.de/vdr/cdplayer.en.shtml" +SRC_URI="http://www.uli-eckhardt.de/vdr/download/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="cdparanoia" + +DEPEND=">=media-video/vdr-1.6" +RDEPEND="${DEPEND} + >=dev-libs/libcdio-0.8.0 + >=dev-libs/libcdio-paranoia-0.90 + >=media-libs/libcddb-1.3.0" + +src_prepare() { + if has_version "<media-video/vdr-1.7.27"; then + cp Makefile.old Makefile + fi + + vdr-plugin-2_src_prepare + + use cdparanoia || BUILD_PARAMS="NOPARANOIA=1" +} + +src_install() { + vdr-plugin-2_src_install + + if has_version "<media-video/vdr-1.7.27"; then + insinto /etc/vdr/plugins/"${VDRPLUGIN}" + doins "${S}"/contrib/cd.mpg + fi +} diff --git a/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.1.ebuild b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.1.ebuild new file mode 100644 index 000000000000..d1cdee7cdd17 --- /dev/null +++ b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: CD-PLAYER" +HOMEPAGE="http://www.uli-eckhardt.de/vdr/cdplayer.en.shtml" +SRC_URI="http://www.uli-eckhardt.de/vdr/download/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="cdparanoia" + +DEPEND=">=media-video/vdr-1.6 + >=dev-libs/libcdio-0.8.0 + >=media-libs/libcddb-1.3.0 + cdparanoia? ( >=dev-libs/libcdio-paranoia-0.90 )" +RDEPEND="${DEPEND}" + +src_prepare() { + if has_version "<media-video/vdr-1.7.27"; then + cp Makefile.old Makefile + fi + + vdr-plugin-2_src_prepare + + use cdparanoia || BUILD_PARAMS="NOPARANOIA=1" +} + +src_install() { + vdr-plugin-2_src_install + + if has_version "<media-video/vdr-1.7.27"; then + insinto /etc/vdr/plugins/"${VDRPLUGIN}" + doins "${S}"/contrib/cd.mpg + fi +} diff --git a/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.2.ebuild b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.2.ebuild new file mode 100644 index 000000000000..a7c0e73b06f4 --- /dev/null +++ b/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: CD-PLAYER" +HOMEPAGE="http://www.uli-eckhardt.de/vdr/cdplayer.en.shtml" +SRC_URI="http://www.uli-eckhardt.de/vdr/download/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="cdparanoia" + +DEPEND=">=media-video/vdr-2 + >=dev-libs/libcdio-0.8.0 + >=media-libs/libcddb-1.3.0 + cdparanoia? ( >=dev-libs/libcdio-paranoia-0.90 )" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + use cdparanoia || BUILD_PARAMS="NOPARANOIA=1" +} diff --git a/media-plugins/vdr-chanman/Manifest b/media-plugins/vdr-chanman/Manifest new file mode 100644 index 000000000000..b8e1dcd54fb5 --- /dev/null +++ b/media-plugins/vdr-chanman/Manifest @@ -0,0 +1 @@ +DIST vdr-chanman-0.0.9.tar.gz 31748 SHA256 c009abadca42f9cbcb488f886bdb81d221a7177794938b1f9d84e555c6bbb4ac diff --git a/media-plugins/vdr-chanman/metadata.xml b/media-plugins/vdr-chanman/metadata.xml new file mode 100644 index 000000000000..6782567a2a71 --- /dev/null +++ b/media-plugins/vdr-chanman/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<herd>proxy-maintainers</herd> + +<maintainer> +<email>christian.gmeiner@gmail.com</email> +<name>Christian Gmeiner</name> +<description>Proxied maintainer</description> +</maintainer> + +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +<description>Proxying maintainer</description> +</maintainer> + +</pkgmetadata> + diff --git a/media-plugins/vdr-chanman/vdr-chanman-0.0.9.ebuild b/media-plugins/vdr-chanman/vdr-chanman-0.0.9.ebuild new file mode 100644 index 000000000000..ce95d02b9bdb --- /dev/null +++ b/media-plugins/vdr-chanman/vdr-chanman-0.0.9.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="993" # every bump, new version + +DESCRIPTION="VDR plugin: change channel with a multi level choice" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-chanman" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-channelblocker/Manifest b/media-plugins/vdr-channelblocker/Manifest new file mode 100644 index 000000000000..497f489830d0 --- /dev/null +++ b/media-plugins/vdr-channelblocker/Manifest @@ -0,0 +1 @@ +DIST vdr-channelblocker-0.0.6.tgz 17750 SHA256 fa93afc8260fd55b6841ec3747f3f73a8682af8526017a05def6fdcbbb24c273 diff --git a/media-plugins/vdr-channelblocker/metadata.xml b/media-plugins/vdr-channelblocker/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-channelblocker/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-channelblocker/vdr-channelblocker-0.0.6.ebuild b/media-plugins/vdr-channelblocker/vdr-channelblocker-0.0.6.ebuild new file mode 100644 index 000000000000..1cb405a63c80 --- /dev/null +++ b/media-plugins/vdr-channelblocker/vdr-channelblocker-0.0.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin to manage channel list for channelblocker" +HOMEPAGE="http://www.zulu-entertainment.de/download.php?group=Plugins" +SRC_URI="http://www.zulu-entertainment.de/files/vdr-channelblocker/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-cinebars/Manifest b/media-plugins/vdr-cinebars/Manifest new file mode 100644 index 000000000000..d743b9fe4ec4 --- /dev/null +++ b/media-plugins/vdr-cinebars/Manifest @@ -0,0 +1 @@ +DIST vdr-cinebars-0.0.5.tgz 13253 RMD160 d49720c9ccfa8b42e243838257805f7f5cde8659 SHA1 49c9b17f3297d89125f7290b43f392f3dfb5af95 SHA256 d83f626cf7df916f5ea7193e022af2d7d82745a1a766fd132f21525cba912815 diff --git a/media-plugins/vdr-cinebars/files/vdr-cinebars-0.0.5_makefile.diff b/media-plugins/vdr-cinebars/files/vdr-cinebars-0.0.5_makefile.diff new file mode 100644 index 000000000000..75e2870f8149 --- /dev/null +++ b/media-plugins/vdr-cinebars/files/vdr-cinebars-0.0.5_makefile.diff @@ -0,0 +1,21 @@ +diff -Naur cinebars-0.0.5.orig/Makefile cinebars-0.0.5/Makefile +--- cinebars-0.0.5.orig/Makefile 2012-06-30 18:27:52.000000000 +0200 ++++ cinebars-0.0.5/Makefile 2012-06-30 18:29:25.000000000 +0200 +@@ -49,13 +49,13 @@ + + ### The object files (add further files here): + OBJS = $(PLUGIN).o +-ifneq ($(VERS157),1) +-OBJS += i18n.o +-endif ++#ifneq ($(VERS157),1) ++#OBJS += i18n.o ++#endif + + ### The main target: + all: libvdr-$(PLUGIN).so +- if [ $(VERS157) = 1 ]; then make i18n; fi ++# if [ $(VERS157) = 1 ]; then make i18n; fi + + ### Implicit rules: + %.o: %.c diff --git a/media-plugins/vdr-cinebars/metadata.xml b/media-plugins/vdr-cinebars/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-cinebars/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-cinebars/vdr-cinebars-0.0.5.ebuild b/media-plugins/vdr-cinebars/vdr-cinebars-0.0.5.ebuild new file mode 100644 index 000000000000..66da06878b31 --- /dev/null +++ b/media-plugins/vdr-cinebars/vdr-cinebars-0.0.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Show black bars to hide station logo" +HOMEPAGE="http://www.egal-vdr.de/plugins/" +SRC_URI="http://www.egal-vdr.de/plugins/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}_makefile.diff") diff --git a/media-plugins/vdr-clock/Manifest b/media-plugins/vdr-clock/Manifest new file mode 100644 index 000000000000..85432bd3f1a3 --- /dev/null +++ b/media-plugins/vdr-clock/Manifest @@ -0,0 +1 @@ +DIST vdr-clock-1.0.0.tgz 30593 SHA256 62c10aba0c7c7b6a17b672ebae96a2ddfbae541112ae1305ad9ed764d0cd8e3e SHA512 a1627063cec72006cfe648a43083b7b785b0eac3230774f3fee498f63df6b4f3e07f913762b0a01c43244e1b5d595e531b374430cec8fefb519b388244874b53 WHIRLPOOL 1afa336134d193e7935a9577b30e72370f7d9fd3e5c15590ad5d3fd839a098e5393f661be01283481aa6afeb9964dab069ae7413ed6b1818ee4d84c59668d050 diff --git a/media-plugins/vdr-clock/files/vdr-clock-1.0.0_gettext.diff b/media-plugins/vdr-clock/files/vdr-clock-1.0.0_gettext.diff new file mode 100644 index 000000000000..1c26abb15534 --- /dev/null +++ b/media-plugins/vdr-clock/files/vdr-clock-1.0.0_gettext.diff @@ -0,0 +1,524 @@ +https://bugs.gentoo.org/show_bug.cgi?id=424269 +several fixes +missing xgettext handling +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> ( 2012/11/02 ) +diff -Naur clock-1.0.0.old/clock.c clock-1.0.0/clock.c +--- clock-1.0.0.old/clock.c 2008-03-07 16:54:27.000000000 +0100 ++++ clock-1.0.0/clock.c 2012-10-30 12:21:59.473174499 +0100 +@@ -26,15 +26,15 @@ + #include <vdr/remote.h> + #include <math.h> + #include "enhancedbitmap.h" +-#include "i18n.h" ++#include <vdr/i18n.h> + + #include "images/clock.xpm" + #include "images/tux.xpm" + #include "images/tuxpart.xpm" + + static const char *VERSION = "1.0.0"; +-static const char *DESCRIPTION = "A Simple Clock"; +-static const char *MAINMENUENTRY = "Clock"; ++static const char *DESCRIPTION = trNOOP("A Simple Clock"); ++static const char *MAINMENUENTRY = trNOOP("Clock"); + + // Global variables + +@@ -67,21 +67,21 @@ + int ColorMin = 1; + int ColorSec = 3; + int TeaTime = 5; +-const char *TimeColors[] = {"Transparent", +- "White", +- "Black", +- "Red", +- "Green", +- "Yellow", +- "Blue", ++const char *TimeColors[] = {trNOOP("Transparent"), ++ trNOOP("White"), ++ trNOOP("Black"), ++ trNOOP("Red"), ++ trNOOP("Green"), ++ trNOOP("Yellow"), ++ trNOOP("Blue"), + }; +-const char *ClockType[] = {"Digital", +- "Analog", +- "Analog modern", +- "MorphOS", +- "TuxClock", +- "Internet time", +- "Tea clock", ++const char *ClockType[] = {trNOOP("Digital"), ++ trNOOP("Analog"), ++ trNOOP("Analog modern"), ++ trNOOP("MorphOS"), ++ trNOOP("TuxClock"), ++ trNOOP("Internet time"), ++ trNOOP("Tea clock"), + }; + + +@@ -590,13 +590,13 @@ + cPluginClock(void); + virtual ~cPluginClock(); + virtual const char *Version(void) { return VERSION; } +- virtual const char *Description(void) { return DESCRIPTION; } ++ virtual const char *Description(void) { return tr(DESCRIPTION); } + virtual const char *CommandLineHelp(void); + virtual bool ProcessArgs(int argc, char *argv[]); + virtual bool Initialize(void); + virtual bool Start(void); + virtual void Housekeeping(void); +- virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; } ++ virtual const char *MainMenuEntry(void) { return tr(MAINMENUENTRY); } + virtual cOsdObject *MainMenuAction(void); + virtual cMenuSetupPage *SetupMenu(void); + virtual bool SetupParse(const char *Name, const char *Value); +@@ -635,7 +635,6 @@ + bool cPluginClock::Start(void) + { + // Start any background activities the plugin shall perform. +- RegisterI18n(Phrases); + return true; + } + +diff -Naur clock-1.0.0.old/Makefile clock-1.0.0/Makefile +--- clock-1.0.0.old/Makefile 2008-01-22 10:25:15.000000000 +0100 ++++ clock-1.0.0/Makefile 2012-10-30 12:22:19.274187084 +0100 +@@ -48,7 +48,7 @@ + + ### The object files (add further files here): + +-OBJS = $(PLUGIN).o i18n.o enhancedbitmap.o ++OBJS = $(PLUGIN).o enhancedbitmap.o + + ### Implicit rules: + +@@ -64,9 +64,34 @@ + + -include $(DEPFILE) + ++### Internationalization (I18N): ++ ++PODIR = po ++LOCALEDIR = $(VDRDIR)/locale ++I18Npo = $(wildcard $(PODIR)/*.po) ++I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) ++I18Npot = $(PODIR)/$(PLUGIN).pot ++ ++%.mo: %.po ++ msgfmt -c -o $@ $< ++ ++$(I18Npot): $(wildcard *.c) ++ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<dev@erichseifert.de>' -o $@ $^ ++ ++%.po: $(I18Npot) ++ msgmerge -U --no-wrap --no-location --backup=none -q $@ $< ++ @touch $@ ++ ++$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo ++ @mkdir -p $(dir $@) ++ cp $< $@ ++ ++.PHONY: i18n ++i18n: $(I18Nmsgs) ++ + ### Targets: + +-all: libvdr-$(PLUGIN).so ++all: libvdr-$(PLUGIN).so i18n + + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ +@@ -81,4 +106,5 @@ + @echo Distribution package created as $(PACKAGE).tgz + + clean: ++ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ +diff -Naur clock-1.0.0.old/po/de_DE.po clock-1.0.0/po/de_DE.po +--- clock-1.0.0.old/po/de_DE.po 1970-01-01 01:00:00.000000000 +0100 ++++ clock-1.0.0/po/de_DE.po 2012-10-30 13:32:46.391048407 +0100 +@@ -0,0 +1,123 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@tvdr.de> ++# This file is distributed under the same license as the VDR package. ++# Klaus Schmidinger <kls@tvdr.de>, 2000 ++# Erich Seifert <dev@erichseifert.de>, 2012 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: <dev@erichseifert.de>\n" ++"POT-Creation-Date: 2012-10-30 13:00+0200\n" ++"PO-Revision-Date: 2012-10-30 13:35+0200\n" ++"Last-Translator: Erich Seifert <dev@erichseifert.de>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-15\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++msgid "A Simple Clock" ++msgstr "Eine einfache Uhr" ++ ++msgid "Clock" ++msgstr "Uhr" ++ ++msgid "Transparent" ++msgstr "Transparent" ++ ++msgid "White" ++msgstr "Wei" ++ ++msgid "Black" ++msgstr "Schwarz" ++ ++msgid "Red" ++msgstr "Rot" ++ ++msgid "Green" ++msgstr "Grn" ++ ++msgid "Yellow" ++msgstr "Gelb" ++ ++msgid "Blue" ++msgstr "Blau" ++ ++msgid "Digital" ++msgstr "Digital" ++ ++msgid "Analog" ++msgstr "Analog" ++ ++msgid "Analog modern" ++msgstr "" ++ ++msgid "MorphOS" ++msgstr "" ++ ++msgid "TuxClock" ++msgstr "" ++ ++msgid "Internet time" ++msgstr "Internet-Zeit" ++ ++msgid "Tea clock" ++msgstr "Teekocher" ++ ++msgid "It's tea time" ++msgstr "Es ist Teezeit!" ++ ++msgid "x Position" ++msgstr "x-Position" ++ ++msgid "y Position" ++msgstr "y-Position" ++ ++msgid "Type of the clock" ++msgstr "Art der Uhr" ++ ++msgid "Background color" ++msgstr "Hintergrundfarbe" ++ ++msgid "Foreground color" ++msgstr "Vordergrundfarbe" ++ ++msgid "Show Seconds" ++msgstr "Sekunden anzeigen" ++ ++msgid "FullScreen" ++msgstr "FullScreen" ++ ++msgid "Analog clock size" ++msgstr "Gre der analogen Uhr" ++ ++msgid "Arrow color" ++msgstr "Zeigerfarbe" ++ ++msgid "Length of hour arrow [%]" ++msgstr "Lnge des Stundenzeigers [%]" ++ ++msgid "Width of hour arrow [%]" ++msgstr "Breite des Stundenzeigers [%]" ++ ++msgid "Length of min arrow [%]" ++msgstr "Lnge des Minutenzeigers [%]" ++ ++msgid "Width of min arrow [%]" ++msgstr "Breite des Minutenzeigers [%]" ++ ++msgid "Seconds arrow color" ++msgstr "Farbe des Sekundenzeigers" ++ ++msgid "Length of sec arrow [%]" ++msgstr "Lnge des Sekundenzeigers [%]" ++ ++msgid "Width of sec arrow [%]" ++msgstr "Breite des Sekundenzeigers [%]" ++ ++msgid "Time till tea" ++msgstr "Zeit bis der Tee fertig ist" ++ ++msgid "Show Countdown" ++msgstr "Countdown anzeigen" +diff -Naur clock-1.0.0.old/po/fr_FR.po clock-1.0.0/po/fr_FR.po +--- clock-1.0.0.old/po/fr_FR.po 1970-01-01 01:00:00.000000000 +0100 ++++ clock-1.0.0/po/fr_FR.po 2012-10-30 12:36:16.925722659 +0100 +@@ -0,0 +1,125 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@tvdr.de> ++# This file is distributed under the same license as the VDR package. ++# Jean-Claude Repetto <jc@repetto.org>, 2001 ++# Olivier Jacques <jacquesolivier@hotmail.com>, 2003 ++# Gregoire Favre <greg@magma.unil.ch>, 2003 ++# Nicolas Huillard <nhuillard@e-dition.fr>, 2005 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: <dev@erichseifert.de>\n" ++"POT-Creation-Date: 2012-10-30 13:00+0200\n" ++"PO-Revision-Date: 2012-10-30 13:00+0200\n" ++"Last-Translator: Nicolas Huillard <nhuillard@e-dition.fr>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-1\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++msgid "A Simple Clock" ++msgstr "" ++ ++msgid "Clock" ++msgstr "Heure" ++ ++msgid "Transparent" ++msgstr "Transparent" ++ ++msgid "White" ++msgstr "Blanc" ++ ++msgid "Black" ++msgstr "Noir" ++ ++msgid "Red" ++msgstr "Rouge" ++ ++msgid "Green" ++msgstr "Vert" ++ ++msgid "Yellow" ++msgstr "Jaune" ++ ++msgid "Blue" ++msgstr "Bleu" ++ ++msgid "Digital" ++msgstr "Digital" ++ ++msgid "Analog" ++msgstr "Analogique" ++ ++msgid "Analog modern" ++msgstr "" ++ ++msgid "MorphOS" ++msgstr "" ++ ++msgid "TuxClock" ++msgstr "" ++ ++msgid "Internet time" ++msgstr "Temps internet" ++ ++msgid "Tea clock" ++msgstr "Pause cafe" ++ ++msgid "It's tea time" ++msgstr "c'est l'heure de la pause cafe" ++ ++msgid "x Position" ++msgstr "x Position" ++ ++msgid "y Position" ++msgstr "y Position" ++ ++msgid "Type of the clock" ++msgstr "Format d'affichage" ++ ++msgid "Background color" ++msgstr "Couleur de fond" ++ ++msgid "Foreground color" ++msgstr "Couleur premier plan" ++ ++msgid "Show Seconds" ++msgstr "Afficher secondes" ++ ++msgid "FullScreen" ++msgstr "FullScreen" ++ ++msgid "Analog clock size" ++msgstr "Taille de l'horloge analogique" ++ ++msgid "Arrow color" ++msgstr "Couleur aiguilles" ++ ++msgid "Length of hour arrow [%]" ++msgstr "Longueur aiguille Hr [%]" ++ ++msgid "Width of hour arrow [%]" ++msgstr "Largeur des aiguilles Hr [%]" ++ ++msgid "Length of min arrow [%]" ++msgstr "Longueur aiguille Min [%]" ++ ++msgid "Width of min arrow [%]" ++msgstr "Largeur des aiguilles Min [%]" ++ ++msgid "Seconds arrow color" ++msgstr "Couleur aiguille Sec" ++ ++msgid "Length of sec arrow [%]" ++msgstr "Longueur aiguille Sec [%]" ++ ++msgid "Width of sec arrow [%]" ++msgstr "Largeur des aiguilles Sec [%]" ++ ++msgid "Time till tea" ++msgstr "Temps restant jusqu'au cafe" ++ ++msgid "Show Countdown" ++msgstr "Afficher le compte a rebours" +diff -Naur clock-1.0.0.old/po/it_IT.po clock-1.0.0/po/it_IT.po +--- clock-1.0.0.old/po/it_IT.po 1970-01-01 01:00:00.000000000 +0100 ++++ clock-1.0.0/po/it_IT.po 2012-10-30 12:36:16.926722660 +0100 +@@ -0,0 +1,124 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@tvdr.de> ++# This file is distributed under the same license as the VDR package. ++# Alberto Carraro <bertocar@tin.it>, 2001 ++# Antonio Ospite <ospite@studenti.unina.it>, 2003 ++# Sean Carlos <seanc@libero.it>, 2005 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: <dev@erichseifert.de>\n" ++"POT-Creation-Date: 2012-10-30 13:00+0200\n" ++"PO-Revision-Date: 2012-10-30 13:00+0200\n" ++"Last-Translator: Sean Carlos <seanc@libero.it>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-15\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++msgid "A Simple Clock" ++msgstr "" ++ ++msgid "Clock" ++msgstr "Orologio" ++ ++msgid "Transparent" ++msgstr "Trasparente" ++ ++msgid "White" ++msgstr "Bianco" ++ ++msgid "Black" ++msgstr "Nero" ++ ++msgid "Red" ++msgstr "Rosso" ++ ++msgid "Green" ++msgstr "Verde" ++ ++msgid "Yellow" ++msgstr "Giallo" ++ ++msgid "Blue" ++msgstr "Blu" ++ ++msgid "Digital" ++msgstr "Digitale" ++ ++msgid "Analog" ++msgstr "Analogico" ++ ++msgid "Analog modern" ++msgstr "" ++ ++msgid "MorphOS" ++msgstr "" ++ ++msgid "TuxClock" ++msgstr "" ++ ++msgid "Internet time" ++msgstr "Ora Internet" ++ ++msgid "Tea clock" ++msgstr "Pausa t" ++ ++msgid "It's tea time" ++msgstr "E' l'ora del t!" ++ ++msgid "x Position" ++msgstr "Posizione x" ++ ++msgid "y Position" ++msgstr "Posizione y" ++ ++msgid "Type of the clock" ++msgstr "Tipo di orologio" ++ ++msgid "Background color" ++msgstr "Colore sfondo" ++ ++msgid "Foreground color" ++msgstr "Colore primo piano" ++ ++msgid "Show Seconds" ++msgstr "Mostra secondi" ++ ++msgid "FullScreen" ++msgstr "Schermo intero" ++ ++msgid "Analog clock size" ++msgstr "Dimensione orologio analogico" ++ ++msgid "Arrow color" ++msgstr "Colore freccia" ++ ++msgid "Length of hour arrow [%]" ++msgstr "Lunghezza freccia ore [%]" ++ ++msgid "Width of hour arrow [%]" ++msgstr "Larghezza freccia ore [%]" ++ ++msgid "Length of min arrow [%]" ++msgstr "Lunghezza freccia minuti [%]" ++ ++msgid "Width of min arrow [%]" ++msgstr "Larghezza freccia minuti [%]" ++ ++msgid "Seconds arrow color" ++msgstr "Colore freccia secondi" ++ ++msgid "Length of sec arrow [%]" ++msgstr "Lunghezza freccia secondi [%]" ++ ++msgid "Width of sec arrow [%]" ++msgstr "Larghezza freccia secondi [%]" ++ ++msgid "Time till tea" ++msgstr "Tempo restante per il t" ++ ++msgid "Show Countdown" ++msgstr "Mostra conto alla rovescia" diff --git a/media-plugins/vdr-clock/metadata.xml b/media-plugins/vdr-clock/metadata.xml new file mode 100644 index 000000000000..c395a8b3dd40 --- /dev/null +++ b/media-plugins/vdr-clock/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change + </description> + </maintainer> + <longdescription> + This is the Clock plugin for the Video Disk Recorder (VDR) + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-clock/vdr-clock-1.0.0-r1.ebuild b/media-plugins/vdr-clock/vdr-clock-1.0.0-r1.ebuild new file mode 100644 index 000000000000..7113fea958bd --- /dev/null +++ b/media-plugins/vdr-clock/vdr-clock-1.0.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Tea clock, clock" +HOMEPAGE="http://vdr.aistleitner.info" +SRC_URI="http://vdr.aistleitner.info/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.9" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}_gettext.diff" + + vdr-plugin-2_src_prepare +} diff --git a/media-plugins/vdr-console/Manifest b/media-plugins/vdr-console/Manifest new file mode 100644 index 000000000000..5856838252af --- /dev/null +++ b/media-plugins/vdr-console/Manifest @@ -0,0 +1 @@ +DIST vdr-console-0.6.0.tgz 47133 SHA256 34809cb7df4728b15dca1de10e66d8cafb12f1d175a8f929b8da273a62e36261 SHA512 40d9819c68f4c17e62489f201ddc08514c7df898c9f99e20d733bba0e16c15f88613de51ddf27e7b9e440fba5f8186ba143936d4fdd26536c812d365a0a7e7d1 WHIRLPOOL d396b2686206deb60226530808914fbd1ec62f1b2067b5b0d541e7091198748ed2f11eab0ce09fa8f080e5b1e993cf23264f670c9b6eb11557294493badb8a4b diff --git a/media-plugins/vdr-console/files/vdr-console-0.6.0-uint64.diff b/media-plugins/vdr-console/files/vdr-console-0.6.0-uint64.diff new file mode 100644 index 000000000000..922fce25cb64 --- /dev/null +++ b/media-plugins/vdr-console/files/vdr-console-0.6.0-uint64.diff @@ -0,0 +1,33 @@ +diff -ru console-0.6.0-orig/menu.c console-0.6.0/menu.c +--- console-0.6.0-orig/menu.c 2006-12-03 15:28:31.522732562 +0100 ++++ console-0.6.0/menu.c 2006-12-03 15:29:04.026492765 +0100 +@@ -1193,7 +1193,7 @@ + + switch (BASICKEY(Key)) { + +- case kKbd:{ uint64 buf = cKbdRemote::MapFuncToCode(KEYKBD(Key)); ++ case kKbd:{ uint64_t buf = cKbdRemote::MapFuncToCode(KEYKBD(Key)); + WriteToConsole(buf); + + // On every key press, we show the cursor immediately +@@ -1425,7 +1425,7 @@ + + + +-void cMenuConsole::WriteToConsole(const uint64& code) { ++void cMenuConsole::WriteToConsole(const uint64_t& code) { + + unsigned char* data = (unsigned char*)(void*)&code; + +diff -ru console-0.6.0-orig/menu.h console-0.6.0/menu.h +--- console-0.6.0-orig/menu.h 2006-12-03 15:28:31.526733517 +0100 ++++ console-0.6.0/menu.h 2006-12-03 15:28:44.925932704 +0100 +@@ -102,7 +102,7 @@ + private: + void CaptureKeyboard(); + void ReleaseKeyboard(); +- void WriteToConsole(const uint64& code); ++ void WriteToConsole(const uint64_t& code); + bool TerminateConsole(); + + void AddSubMenu(cOsdObject* pSubMenu); diff --git a/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff new file mode 100644 index 000000000000..9f0af3489aaf --- /dev/null +++ b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff @@ -0,0 +1,43 @@ +diff -Nru console-0.6.0-original/menu.c console-0.6.0/menu.c +--- console-0.6.0-original/menu.c 2004-09-12 00:10:57.000000000 +0200 ++++ console-0.6.0/menu.c 2005-01-15 11:59:07.735539136 +0100 +@@ -1210,14 +1210,14 @@ + } + case kNone: + // Handle blinking elements +- if (time_ms() >= _nextBlinkTime) { ++ if ((int)cTimeMs::Now() >= _nextBlinkTime) { + +- _nextBlinkTime = time_ms() + config.BlinkRate * 100; ++ _nextBlinkTime = cTimeMs::Now() + config.BlinkRate * 100; + _blink = !_blink; + } + + // Handle keyboard releaseing +- if (time_ms() >= _timeReleaseCapture) { ++ if ((int)cTimeMs::Now() >= _timeReleaseCapture) { + _timeReleaseCapture = INT_MAX; + + // Time elapsed -> repost ESC... +@@ -1243,10 +1243,10 @@ + _pConsole->getScreen().BellSeen(); + + if (config.BellTimeout) { +- _toRing = time_ms() + config.BellTimeout * 1000; ++ _toRing = cTimeMs::Now() + config.BellTimeout * 1000; + state = osUser1; + } +- } else if (_toRing && time_ms() > _toRing) { ++ } else if (_toRing && (int)cTimeMs::Now() > _toRing) { + _toRing = 0; + state = osUser1; + } +@@ -1441,7 +1441,7 @@ + // esc detected. Ask for exit + if (data[i] == ESC) { + +- _timeReleaseCapture = time_ms() + 1000; ++ _timeReleaseCapture = cTimeMs::Now() + 1000; + _inputState = 1; + + } else diff --git a/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.6.x-compilefix.diff b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.6.x-compilefix.diff new file mode 100644 index 000000000000..35aac3e0e263 --- /dev/null +++ b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.6.x-compilefix.diff @@ -0,0 +1,79 @@ +http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-console/trunk/debian/patches/94_console-1.6.0.dpatch?op=file&rev=0&sc=0 + +by Tobias Grimm <tg@e-tobi.net> +--- vdr-plugin-console-0.6.0.orig/menu.c ++++ vdr-plugin-console-0.6.0/menu.c +@@ -24,7 +24,7 @@ + + + +-#include "fontsmallfix.c" ++//#include "fontsmallfix.c" + #include "symbols/bell.xpm" + #include "symbols/keyboard.xpm" + +@@ -59,31 +59,11 @@ + if (backColor != clrConsoleTransparent) + bitmap.DrawRectangle(x, y, x + w - 1, y + h - 1, backColor); + +- const cFont::tCharData* CharData = font.CharData(ch); ++ char text[2]; ++ text[1] = 0; ++ text[0] = ch; + +- // Center the char within its cell +- x += (w - (int)CharData->width) / 2; +- if (w > (int)CharData->width) +- w = (int)CharData->width; +- +- for (int row = 0; row < h; ++row) { +- +- cFont::tPixelData PixelData = CharData->lines[row]; +-//@@TEST +- PixelData >>= 1; +- for (int col = w; col-- > 0;) { +- +- if (PixelData & 1) { +- bitmap.SetIndex(x + col, y + row, fg); +- +- // Try to fix flickering +-// if (*bitmap.Data(x + col, y + row - 1) != fg) +-// bitmap.SetIndex(x + col, y + row + 1, fg); +- } +- +- PixelData >>= 1; +- } +- } ++ bitmap.DrawText(x, y, text, foreColor, backColor, &font); + + } else { + +@@ -794,22 +774,22 @@ + // Small + _pFont = cFont::GetFont(fontSml); + _charW = _pFont->Width('A'); +- _charH = _pFont->Height('A'); ++ _charH = _pFont->Height("A"); + + } else if (_selectedFont == 2) { + + // Extra small + // The space between the chars can shrink, so more chars can go to the screen. +- _pFont = new cFont(consFontSmallFix); +- _charW = _pFont->Width('A') - 1; +- _charH = _pFont->Height('A') - 1; ++ _pFont = cFont::GetFont(fontOsd); ++ _charW = _pFont->Width('A'); ++ _charH = _pFont->Height("A"); + + } else { + + // Normal + _pFont = cFont::GetFont(fontFix); + _charW = _pFont->Width('A'); +- _charH = _pFont->Height('A'); ++ _charH = _pFont->Height("A"); + } + + _charsW = (_pixelW / _charW); + diff --git a/media-plugins/vdr-console/metadata.xml b/media-plugins/vdr-console/metadata.xml new file mode 100644 index 000000000000..7b718b6f9765 --- /dev/null +++ b/media-plugins/vdr-console/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-console/vdr-console-0.6.0.ebuild b/media-plugins/vdr-console/vdr-console-0.6.0.ebuild new file mode 100644 index 000000000000..4759b1149bdc --- /dev/null +++ b/media-plugins/vdr-console/vdr-console-0.6.0.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 vdr-plugin-2 + +DESCRIPTION="vdr Plugin: Shows linux console on vdr's output device" +HOMEPAGE="http://ricomp.de/vdr/" +SRC_URI="http://ricomp.de/vdr/${P}.tgz" + +LICENSE="GPL-2" +IUSE="" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-vdr-1.3.18.diff + "${FILESDIR}"/${P}-uint64.diff ) + +src_prepare() { + vdr-plugin-2_src_prepare + + remove_i18n_include console.c menu.c terminalemulation.c virtualconsole.c virtualconsoles.c + sed -i console.c -e "s:RegisterI18n://RegisterI18n:" + + ewarn "plugin will not support the new fonthandling" + epatch "${FILESDIR}/${P}-vdr-1.6.x-compilefix.diff" +} diff --git a/media-plugins/vdr-coverviewer/Manifest b/media-plugins/vdr-coverviewer/Manifest new file mode 100644 index 000000000000..c507c598799c --- /dev/null +++ b/media-plugins/vdr-coverviewer/Manifest @@ -0,0 +1 @@ +DIST vdr-coverviewer-0.0.2.tar.gz 66187 SHA256 1ed34199e27257c03ba5399462492c4a8ced30efa92d2df1aeff43e856e41fec SHA512 17bac6c700eb39278f3cbbe7833cebab78a1998a8ec6e86bd61cc1c532cf02cc091ecb0174b785f4b7ebb87cd107e9bee0852a85a2b53c276689fe3326e218d3 WHIRLPOOL b6145cefff6a39ed8470cf6742ecee27ffb363343a554172ac78e44e29cd648d67c1cc40415d8c309d7eb02f80fb86a8186d0adcb25c2cf3c35b7e44e0479357 diff --git a/media-plugins/vdr-coverviewer/files/vdr-coverviewer-0.0.2-vdr-1.5.x.diff b/media-plugins/vdr-coverviewer/files/vdr-coverviewer-0.0.2-vdr-1.5.x.diff new file mode 100644 index 000000000000..d70d006ed1fd --- /dev/null +++ b/media-plugins/vdr-coverviewer/files/vdr-coverviewer-0.0.2-vdr-1.5.x.diff @@ -0,0 +1,48 @@ +--- control-image.c~ 2007-05-18 14:08:11.000000000 +0200 ++++ control-image.c 2007-06-09 16:40:18.000000000 +0200 +@@ -251,7 +251,11 @@ + + void cImageControl::FadeIn(void) + { ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else + needsFastResponse = true; ++#endif + + int i; + int alpha = 0; +@@ -279,13 +283,21 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + + void cImageControl::FadeOut(void) + { ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else + needsFastResponse = true; ++#endif + + int i; + int alpha = 255; +@@ -312,7 +324,11 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + diff --git a/media-plugins/vdr-coverviewer/metadata.xml b/media-plugins/vdr-coverviewer/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-coverviewer/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-coverviewer/vdr-coverviewer-0.0.2.ebuild b/media-plugins/vdr-coverviewer/vdr-coverviewer-0.0.2.ebuild new file mode 100644 index 000000000000..a1cb89ff124e --- /dev/null +++ b/media-plugins/vdr-coverviewer/vdr-coverviewer-0.0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: coverviewer for vdr-music" +HOMEPAGE="http://www.vdr.glaserei-franz.de/" +SRC_URI="http://www.kost.sh/vdr/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +PATCHES=( "${FILESDIR}/${P}-vdr-1.5.x.diff" ) + +DEPEND="imagemagick? ( media-gfx/imagemagick ) + !imagemagick? ( media-libs/imlib2 )" + +RDEPEND="media-plugins/vdr-music" + +src_prepare() { + vdr-plugin-2_src_prepare + + use imagemagick && sed -i Makefile -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:" +} diff --git a/media-plugins/vdr-cpumon/Manifest b/media-plugins/vdr-cpumon/Manifest new file mode 100644 index 000000000000..33046b63a00f --- /dev/null +++ b/media-plugins/vdr-cpumon/Manifest @@ -0,0 +1 @@ +DIST vdr-cpumon-0.0.6a.tgz 30989 SHA256 0d0c0d92ea307bb44b1e7e0c42bc440555718c03efed8d1a38c403752fef2f00 diff --git a/media-plugins/vdr-cpumon/metadata.xml b/media-plugins/vdr-cpumon/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-cpumon/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-cpumon/vdr-cpumon-0.0.6_p1.ebuild b/media-plugins/vdr-cpumon/vdr-cpumon-0.0.6_p1.ebuild new file mode 100644 index 000000000000..c66a4da619d5 --- /dev/null +++ b/media-plugins/vdr-cpumon/vdr-cpumon-0.0.6_p1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Show cpu-usage on OSD" +HOMEPAGE="http://www.christianglass.de/cpumon/" +SRC_URI="http://www.christianglass.de/cpumon//${PN}-0.0.6a.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}-0.0.6a" diff --git a/media-plugins/vdr-decruft/Manifest b/media-plugins/vdr-decruft/Manifest new file mode 100644 index 000000000000..2c52b3bbddd6 --- /dev/null +++ b/media-plugins/vdr-decruft/Manifest @@ -0,0 +1 @@ +DIST vdr-decruft-0.0.4.tgz 15921 SHA256 957b0d5ada79e69595424615df94da0b49d6b3c7af43c9d33591b82be3cd5345 SHA512 36afab0059457be83b0c6c578c91e353dd42fb6c154a8f80abc89ed6feab5ca790b24f0fb071cf719f4d94cfbfd914db015b751358e2d48ab09e8b472c715da1 WHIRLPOOL 4d518cecb47cd0abfd6b13d7d3e023fd94cc53547967443d4ebe7c5e6828362056aed8fec02de577873a55ab7e822e7451ebb222e74b6d61e4100cb72f7361a5 diff --git a/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff new file mode 100644 index 000000000000..926c33bc9577 --- /dev/null +++ b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff @@ -0,0 +1,17 @@ +diff -urNad vdr-plugin-decruft-0.0.4~/cruft.c vdr-plugin-decruft-0.0.4/cruft.c +--- vdr-plugin-decruft-0.0.4~/cruft.c 2005-02-20 19:34:01.000000000 +0100 ++++ vdr-plugin-decruft-0.0.4/cruft.c 2006-11-11 21:57:24.000000000 +0100 +@@ -535,8 +535,10 @@ + /* Not defined, so define it */ + if ( !groupSep ) { + groupSep = new cChannel(); +- groupSep->SetName(settings->group_name,"",""); +- groupSep->SetGroupSep(true); ++ char* groupSepString; ++ asprintf(&groupSepString, ":%s", settings->group_name); ++ groupSep->Parse(groupSepString); ++ free(groupSepString); + Channels.Add(groupSep); + } + /* Move the channel to the end of the group */ + diff --git a/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch new file mode 100644 index 000000000000..3b89f825a827 --- /dev/null +++ b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch @@ -0,0 +1,24 @@ +compile fix +https://bugs.gentoo.org/show_bug.cgi?id=537658 +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> 30/jan/2015 +diff -Naur decruft-0.0.4.orig/cruft.c decruft-0.0.4/cruft.c +--- decruft-0.0.4.orig/cruft.c 2015-01-30 16:41:24.000000000 +0100 ++++ decruft-0.0.4/cruft.c 2015-01-30 16:42:55.000000000 +0100 +@@ -15,6 +15,7 @@ + + + #include <vdr/channels.h> ++#include <vdr/dvbdevice.h> + + #include <stdio.h> + #include <string.h> +@@ -439,7 +440,8 @@ + } + } + if ( settings->num_pols ) { +- char pol = tolower(Channel->Polarization()); ++ cDvbTransponderParameters dtp(Channel->Parameters()); ++ char pol = tolower(dtp.Polarization()); + tests++; + for ( j = 0; j < settings->num_pols; j++ ) { + if ( settings->pols[j] == pol ) { diff --git a/media-plugins/vdr-decruft/metadata.xml b/media-plugins/vdr-decruft/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-decruft/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild b/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild new file mode 100644 index 000000000000..eec8c22f546e --- /dev/null +++ b/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Clean unwanted entries from channels.conf" +HOMEPAGE="http://www.rst38.org.uk/vdr/decruft/" +SRC_URI="http://www.rst38.org.uk/vdr/decruft/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.21-r2" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-avoid-vdr-patch.diff" + "${FILESDIR}/${P}_compile.patch") + +src_install() { + vdr-plugin-2_src_install + insinto /etc/vdr/plugins + doins examples/decruft.conf +} diff --git a/media-plugins/vdr-devstatus/Manifest b/media-plugins/vdr-devstatus/Manifest new file mode 100644 index 000000000000..2c13fb0ffe70 --- /dev/null +++ b/media-plugins/vdr-devstatus/Manifest @@ -0,0 +1 @@ +DIST vdr-devstatus-0.4.1.tgz 22469 SHA256 333acc400802db4470d16e85f0e56eeca50d9523ddf6c716381b45d17acbebaf SHA512 4dde8cce6b4aaa6e0ce22b2cd5ad718ab04e7e5967a3cb2c05ac64946115b6291d395e36dff38d479e5a7d5c3c296feb4df7f8dce509c15ac0d8cafa179b7177 WHIRLPOOL eb1a6d5c3445106ea12028a1bb87e51074fd0651676dae723f00c2efdae0f84111e095a90f7d8e2791e52b55273cd1345e56f4348d4f343a6fd5ed6b6a75d156 diff --git a/media-plugins/vdr-devstatus/metadata.xml b/media-plugins/vdr-devstatus/metadata.xml new file mode 100644 index 000000000000..1d6580fca7dd --- /dev/null +++ b/media-plugins/vdr-devstatus/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild b/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild new file mode 100644 index 000000000000..298a57ad6e5a --- /dev/null +++ b/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: display the usa status of the available DVB devices" +HOMEPAGE="http://www.u32.de/vdr.html" +SRC_URI="http://www.u32.de/download/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +src_prepare() { + # remove untranslated .po files + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.28"; then + sed -i "s:SetRecording(\([^,]*\),[^)]*)):SetRecording(\1\):" devstatus.c + fi +} diff --git a/media-plugins/vdr-dummydevice/Manifest b/media-plugins/vdr-dummydevice/Manifest new file mode 100644 index 000000000000..0932ad14eff0 --- /dev/null +++ b/media-plugins/vdr-dummydevice/Manifest @@ -0,0 +1,2 @@ +DIST vdr-dummydevice-1.0.3.tgz 9829 SHA256 e25e573dcef6bb37e35cfccd660f320bab6b0645dcf89486ebf7c120f256e279 SHA512 31989bcdb1fa52a0aa5364ff9d8ec586eb638c32083aa61592a87305d1159f021cbe5ee885087ca9c68fd97cb0beefd2a0c0f36b1d6578587838ceed125c560f WHIRLPOOL ab324ef08d23fa8ea2b79cf74ead44801ad6a78d6ceb7b94d7ef7fb09279d5c4861e29e8b705e6a69529cb67bcff8e584710022372b03330dff7d27f1f345aab +DIST vdr-dummydevice-2.0.0.tgz 10556 SHA256 5c0049824415bd463d3abc728a3136ee064b60a37b5d3a1986cf282b0d757085 SHA512 a554bfaa85d518fcfbe49070aeab371843849f119b00312a7764487a2899834e21702f8fb620204b9134327941c86f8e3582fe91f8acefc8f0e3644399dd5158 WHIRLPOOL 373a2235fbca0cab8f7063aaa0d80200df973216e824f6ac0d4cf286c2eb9160c1fdd388ed7e03df0c5204c6e3c00e614072ac86934bdf7a085591457e4224bf diff --git a/media-plugins/vdr-dummydevice/metadata.xml b/media-plugins/vdr-dummydevice/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-dummydevice/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-dummydevice/vdr-dummydevice-1.0.3.ebuild b/media-plugins/vdr-dummydevice/vdr-dummydevice-1.0.3.ebuild new file mode 100644 index 000000000000..d4d235e6c6c5 --- /dev/null +++ b/media-plugins/vdr-dummydevice/vdr-dummydevice-1.0.3.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: dummy output device - for recording server without TV" +HOMEPAGE="http://phivdr.dyndns.org/vdr/${PN}/" +SRC_URI="http://phivdr.dyndns.org/vdr/${PN}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-dummydevice/vdr-dummydevice-2.0.0.ebuild b/media-plugins/vdr-dummydevice/vdr-dummydevice-2.0.0.ebuild new file mode 100644 index 000000000000..4e315ef30b92 --- /dev/null +++ b/media-plugins/vdr-dummydevice/vdr-dummydevice-2.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: dummy output device - for recording server without any output devices" +HOMEPAGE="http://phivdr.dyndns.org/vdr/${PN}/" +SRC_URI="http://phivdr.dyndns.org/vdr/${PN}/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" diff --git a/media-plugins/vdr-duplicates/Manifest b/media-plugins/vdr-duplicates/Manifest new file mode 100644 index 000000000000..2256c06fb4ea --- /dev/null +++ b/media-plugins/vdr-duplicates/Manifest @@ -0,0 +1 @@ +DIST vdr-duplicates-0.0.5.tgz 14745 SHA256 9ebe5efcf41a504f9bd3dbeb0cd709e101a31f2cac89f266e5cc1a6426c2cbb4 SHA512 9e8ec30cbf9b1447aa00152be48237a8688dcfd746b06774b3f5d87d7100037ee8f890507c06d203a81bc05b4b476e326a3c1f0fe84e222a876a7de534b2495d WHIRLPOOL a80b7d9247485bfe0de6cc07061b3906b629e332a4aea09ab5e3526cc35146522ff244f96be73e416deca70eaeb9e6ba1240c28437d7c7296911a870f7ad044f diff --git a/media-plugins/vdr-duplicates/files/duplicates-0.0.5_Makefile-new.diff b/media-plugins/vdr-duplicates/files/duplicates-0.0.5_Makefile-new.diff new file mode 100644 index 000000000000..4a37b4d25ea1 --- /dev/null +++ b/media-plugins/vdr-duplicates/files/duplicates-0.0.5_Makefile-new.diff @@ -0,0 +1,217 @@ +New Makefile handling up from vdr-1.7.34 +completed german translation +minor fixes in .po files +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> 2015/Jan/03 +diff -Naur duplicates-0.0.5.orig/Makefile duplicates-0.0.5/Makefile +--- duplicates-0.0.5.orig/Makefile 2015-02-03 10:40:33.661259290 +0100 ++++ duplicates-0.0.5/Makefile 2015-02-03 10:53:20.542203193 +0100 +@@ -6,48 +6,50 @@ + # The official name of this plugin. + # This name will be used in the '-P...' option of VDR to load the plugin. + # By default the main source file also carries this name. +-# IMPORTANT: the presence of this macro is important for the Make.config +-# file. So it must be defined, even if it is not used here! +-# ++ + PLUGIN = duplicates + + ### The version number of this plugin (taken from the main source file): + + VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +-### The C++ compiler and options: +- +-CXX ?= g++ +-CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses +- + ### The directory environment: + +-VDRDIR = ../../.. +-LIBDIR = ../../lib +-TMPDIR = /tmp ++# Use package data if installed...otherwise assume we're under the VDR source directory: ++PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) ++LIBDIR = $(call PKGCFG,libdir) ++LOCDIR = $(call PKGCFG,locdir) ++PLGCFG = $(call PKGCFG,plgcfg) ++# ++TMPDIR ?= /tmp + +-### Make sure that necessary options are included: ++### The compiler options: + +--include $(VDRDIR)/Make.global ++export CFLAGS = $(call PKGCFG,cflags) ++export CXXFLAGS = $(call PKGCFG,cxxflags) + +-### Allow user defined options to overwrite defaults: ++### The version number of VDR's plugin API: + +--include $(VDRDIR)/Make.config ++APIVERSION = $(call PKGCFG,apiversion) + +-### The version number of VDR's plugin API (taken from VDR's "config.h"): ++### Allow user defined options to overwrite defaults: + +-APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) ++-include $(PLGCFG) + + ### The name of the distribution archive: + + ARCHIVE = $(PLUGIN)-$(VERSION) + PACKAGE = vdr-$(ARCHIVE) + ++### The name of the shared object file: ++ ++SOFILE = libvdr-$(PLUGIN).so ++ + ### Includes and Defines (add further entries here): + +-INCLUDES += -I$(VDRDIR)/include ++INCLUDES += + +-DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ++DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + + ### The object files (add further files here): + +@@ -55,52 +57,57 @@ + + ### The main target: + +-all: libvdr-$(PLUGIN).so i18n ++all: $(SOFILE) i18n + + ### Implicit rules: + + %.o: %.c +- $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< ++ $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + + ### Dependencies: + + MAKEDEP = $(CXX) -MM -MG + DEPFILE = .dependencies + $(DEPFILE): Makefile +- @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ ++ @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + + -include $(DEPFILE) + + ### Internationalization (I18N): + + PODIR = po +-LOCALEDIR = $(VDRDIR)/locale + I18Npo = $(wildcard $(PODIR)/*.po) +-I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) ++I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) ++I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) + I18Npot = $(PODIR)/$(PLUGIN).pot + + %.mo: %.po + msgfmt -c -o $@ $< + + $(I18Npot): $(wildcard *.c) +- xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ $^ ++ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + + %.po: $(I18Npot) +- msgmerge -U --no-wrap --no-location --backup=none -q $@ $< ++ msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +-$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo +- @mkdir -p $(dir $@) +- cp $< $@ ++$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo ++ install -D -m644 $< $@ + + .PHONY: i18n +-i18n: $(I18Nmsgs) $(I18Npot) ++i18n: $(I18Nmo) $(I18Npot) ++ ++install-i18n: $(I18Nmsgs) + + ### Targets: + +-libvdr-$(PLUGIN).so: $(OBJS) ++$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ +- @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) ++ ++install-lib: $(SOFILE) ++ install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) ++ ++install: install-lib install-i18n + + dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) +@@ -111,4 +118,5 @@ + @echo Distribution package created as $(PACKAGE).tgz + + clean: +- @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot ++ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot ++ @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ +diff -Naur duplicates-0.0.5.orig/Makefile-vdr-1.7.33 duplicates-0.0.5/Makefile-vdr-1.7.33 +diff -Naur duplicates-0.0.5.orig/po/de_DE.po duplicates-0.0.5/po/de_DE.po +--- duplicates-0.0.5.orig/po/de_DE.po 2012-12-13 09:32:52.000000000 +0100 ++++ duplicates-0.0.5/po/de_DE.po 2015-02-03 11:12:44.879118021 +0100 +@@ -5,20 +5,19 @@ + # + msgid "" + msgstr "" +-"Project-Id-Version: vdr-duplicates 0.0.1\n" ++"Project-Id-Version: vdr-duplicates 0.0.6\n" + "Report-Msgid-Bugs-To: <see README>\n" + "POT-Creation-Date: 2011-12-20 18:14+0200\n" +-"PO-Revision-Date: 2011-06-05 23:37+0100\n" +-"Last-Translator: Reiner Paulus <flex0r@gmx.net>\n" ++"PO-Revision-Date: 2015-02-03 11:12+0100\n" ++"Last-Translator: Joerg Bornkessel <hd_brummy@gentoo.org>\n" + "Language-Team: \n" +-"Language: \n" ++"Language: de\n" + "MIME-Version: 1.0\n" +-"Content-Type: text/plain; charset=utf-8\n" ++"Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" +-"X-Poedit-Language: German\n" +-"X-Poedit-Country: GERMANY\n" +-"X-Poedit-SourceCharset: utf-8\n" ++"X-Poedit-SourceCharset: UTF-8\n" ++"X-Generator: Poedit 1.5.5\n" + + msgid "Shows duplicate recordings" + msgstr "Zeigt doppelte Aufnahmen an" +@@ -35,4 +34,4 @@ + msgstr "%d Aufnahmen ohne Beschreibung" + + msgid "Compare title" +-msgstr "" ++msgstr "Vergleiche Titel" +diff -Naur duplicates-0.0.5.orig/po/fi_FI.po duplicates-0.0.5/po/fi_FI.po +--- duplicates-0.0.5.orig/po/fi_FI.po 2015-02-03 10:40:33.661259290 +0100 ++++ duplicates-0.0.5/po/fi_FI.po 2015-02-03 11:13:00.607116870 +0100 +@@ -12,7 +12,7 @@ + "PO-Revision-Date: 2011-12-12 19:57+0300\n" + "Last-Translator: Timo Eskola <timo@tolleri.net>\n" + "Language-Team: Finnish\n" +-"Language: \n" ++"Language: fi\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +diff -Naur duplicates-0.0.5.orig/po/it_IT.po duplicates-0.0.5/po/it_IT.po +--- duplicates-0.0.5.orig/po/it_IT.po 2015-02-03 10:40:33.661259290 +0100 ++++ duplicates-0.0.5/po/it_IT.po 2015-02-03 11:13:17.167115659 +0100 +@@ -12,7 +12,7 @@ + "PO-Revision-Date: 2011-06-05 23:37+0100\n" + "Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n" + "Language-Team: \n" +-"Language: \n" ++"Language: it\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=utf-8\n" + "Content-Transfer-Encoding: 8bit\n" diff --git a/media-plugins/vdr-duplicates/metadata.xml b/media-plugins/vdr-duplicates/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-duplicates/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5-r1.ebuild b/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5-r1.ebuild new file mode 100644 index 000000000000..c474883edc49 --- /dev/null +++ b/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: show duplicated records" +HOMEPAGE="http://www.tolleri.net/vdr/" +SRC_URI="http://www.tolleri.net/vdr/plugins/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${VDRPLUGIN}-${PV}_Makefile-new.diff" ) diff --git a/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5.ebuild b/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5.ebuild new file mode 100644 index 000000000000..4a0e4b479b20 --- /dev/null +++ b/media-plugins/vdr-duplicates/vdr-duplicates-0.0.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: show duplicated records" +HOMEPAGE="http://www.tolleri.net/vdr/" +SRC_URI="http://www.tolleri.net/vdr/plugins/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-dvbapi/Manifest b/media-plugins/vdr-dvbapi/Manifest new file mode 100644 index 000000000000..0261db63fa7d --- /dev/null +++ b/media-plugins/vdr-dvbapi/Manifest @@ -0,0 +1 @@ +DIST vdr-dvbapi-2.1.1.tar.gz 82813 SHA256 2724768de00a607d7119478296a3ad1cc592c12badbc95480edc5f7e6b3985d7 SHA512 fb632e66c9e477663eb1edf5e630a20b2165495c89d5bd6294d74d6a28c8386021d90914c9c6b958ea3c5c1d0958cc69efa5c65ef72c510c224d676f1eca39ae WHIRLPOOL af18c22bb00ddbb41aa8e3ee091f27a1bb7b79f0d90783af9c9503ad03a568193c88cc41db86e0e06fd8c503ad43242a582b0decc5f64c417283517f05d14727 diff --git a/media-plugins/vdr-dvbapi/metadata.xml b/media-plugins/vdr-dvbapi/metadata.xml new file mode 100644 index 000000000000..e947c6b9b74b --- /dev/null +++ b/media-plugins/vdr-dvbapi/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>media-tv</herd> + <maintainer> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + </maintainer> + <upstream> + <remote-id type="github">manio/vdr-plugin-dvbapi</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild new file mode 100644 index 000000000000..68b823f164d5 --- /dev/null +++ b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: allows connect VDR to OScam" +HOMEPAGE="https://github.com/manio/vdr-plugin-dvbapi" +SRC_URI="https://github.com/manio/vdr-plugin-dvbapi/archive/v${PV}.tar.gz -> vdr-dvbapi-${PV}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2" + +DEPEND=">=media-video/vdr-2.1.4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/vdr-plugin-dvbapi-${PV}" + +src_prepare() { + vdr-plugin-2_src_prepare + + # respect the system CXXFLAGS + sed -e "s:FLAGS:CXXFLAGS:" -i FFdecsa/Makefile + + # Prepare flags for FFdeCSA + if [ -n "${VDR_DVBAPI_PARALLEL}" ]; then + PARALLEL="${VDR_DVBAPI_PARALLEL}" + else + # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE + # [64] Athlon64 (SSE2) does much better with 64_LONG + # [32] Athlon64 (SSE2) does best with MMX + # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE + # [32] AthlonXP (SSE) has MMX faster + + # To avoid parsing -march=, we use ugly assumption that Intels don't + # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs, + # and LONG is best on 64-bit AMD CPUs. + + if ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse2; then + PARALLEL=PARALLEL_128_SSE2 + elif ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse; then + PARALLEL=PARALLEL_128_SSE + elif use amd64; then + PARALLEL=PARALLEL_64_LONG + elif use cpu_flags_x86_mmx; then + PARALLEL=PARALLEL_64_MMX + else + # fallback values: + # PARALLEL_32_INT fails with gcc4.4 on x86&amd64 + # PARALLEL_64_2INT fails with gcc4.4 on x86 + # PARALLEL_128_4INT seems to be the fastest non-failing fallback + PARALLEL=PARALLEL_128_4INT + fi + + ewarn "VDR_DVBAPI_PARALLEL in your system make.conf is not set, guessing value from USEflags (${PARALLEL})." + ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself." + ewarn "\n\tRun the script ${WORKDIR}/extra/FFdecsa-benchmark.sh" + ewarn "\tand add the output parameter from PARALLEL= to your system make.conf" + ewarn "\tVDR_DVBAPI_PARALLEL= your parameter" + fi + + export PARALLEL +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "This software might be illegal in some countries or violate" + elog "rules of your DVB provider" + elog "Please respect these rules.\n" + + elog "We do not offer support of any kind" + elog "Asking for keys or for installation help will be ignored by gentoo developers!\n" +} diff --git a/media-plugins/vdr-dvbhddevice/Manifest b/media-plugins/vdr-dvbhddevice/Manifest new file mode 100644 index 000000000000..79ecb807605d --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/Manifest @@ -0,0 +1,4 @@ +DIST dvbhddevice-0.0.8_p20130302.tar.gz 39484 SHA256 4572879d3c7621988b4d0d855c87c4823824d9635cf37dbdc42c1a739ffa4cee SHA512 bae68ac195ef7b0cd6eaee4fa08731aefc7e5758d0b2a495920990147fdd1fbbe7e9f22e619f100876ee3a8a45c92a4751daf8ed49a8164e4cb0906f29439a88 WHIRLPOOL 638a5dcb42b3bedc1eaeb0f6ff6cec0dd400016b84ecf3fc96c41a2729379e540497e2c6631b63fab9d95265caba854c051ce3765a6df45ea823a55ea19d6573 +DIST dvbhddevice-0.0.9_p20130409.tar.gz 39971 SHA256 f39d999e5938a2960f026fba1db6f830c584f84a720ef9d14a783937df5f8206 SHA512 49a2b183a538035b3119db1e2e943630c2edafdea0cbd6167485f8bb2549a12c7f8b2c85b7f752554346510aacaed9836768febc6e06600efb5503c746cca15e WHIRLPOOL 6240c807ab9146436da02812c8f8632e686f7b5fdb8ddc21ee5b1919151772d60737e59f4b2e34985d1c8cea5e0fbcf0bd0e328e4c2a15c140f59c7a7e3a9c70 +DIST dvbhddevice-2.1.3_p20140115.tar.gz 40424 SHA256 2914669b17b64c94072d6ab30d9c28d55c33d66ff2339efebf150919cf230bb3 SHA512 29729325affec5e1330cf361a0c82ee5ef9f48f9a6a5032881b331a6451c05c8d99831c43e3eb08129053a7549dd4cd73a5e0afc6fe04d35956c8fecad48d2f4 WHIRLPOOL 10ef51a333ac3bb2fb60fde67ede4aa1f8ffc44b1334ca907aafd7c2bb30627cf413f5fa6c8e681eb4afa4f3ef43cead59ab512fab9a5a170f09bf6d9a81b516 +DIST vdr-dvbhddevice-2.1.6_p20141116.tar.gz 40902 SHA256 ba10506a8bfcd5044e05edbeda098cf7cb481fd1010f71eb314d785c49c122b7 SHA512 0189cf5bfd1d9648915ec65427b4eeeb85ac80281a07a910e65381d86913c37d5840abd8984f17028afe63eae457c7ce398a446e3ad4b70ae4deada316c14b5b WHIRLPOOL 2d6f9e6d9b00e04939a41165b8a23f4017720fb174db9560a78788c36d62705be6c1ac10bc263b58f1dd317658beebe9edcec4ffeb779016a4d118ef41a16709 diff --git a/media-plugins/vdr-dvbhddevice/metadata.xml b/media-plugins/vdr-dvbhddevice/metadata.xml new file mode 100644 index 000000000000..9a88eb106221 --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="bitbucket">powARman/dvbhddevice</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.8_p20130302.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.8_p20130302.ebuild new file mode 100644 index 000000000000..03de204484e6 --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.8_p20130302.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +HG_REVISION="946fc7bd41fa" +HG_REVISION_DATE="20130302" + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend +S2-6400 DVB Card" +HOMEPAGE="http://powarman.dyndns.org/hg/dvbhddevice" +SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/dvbhddevice/archive/${HG_REVISION}.tar.gz +-> dvbhddevice-0.0.8_p${HG_REVISION_DATE}.tar.gz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.38" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/dvbhddevice-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include dvbhdffdevice.c +} + +src_install() { + vdr-plugin-2_src_install + + doheader dvbhdffdevice.h hdffcmd.h + + insinto /usr/include/libhdffcmd + doins libhdffcmd/*.h +} diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.9_p20130409.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.9_p20130409.ebuild new file mode 100644 index 000000000000..aa317923cfba --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-0.0.9_p20130409.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +HG_REVISION="7a48070da75b" +HG_REVISION_DATE="20130409" + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend +S2-6400 DVB Card" +HOMEPAGE="http://powarman.dyndns.org/hg/dvbhddevice" +SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/dvbhddevice/archive/${HG_REVISION}.tar.gz +-> dvbhddevice-0.0.9_p${HG_REVISION_DATE}.tar.gz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.39" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/dvbhddevice-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include dvbhdffdevice.c +} + +src_install() { + vdr-plugin-2_src_install + + doheader dvbhdffdevice.h hdffcmd.h + + insinto /usr/include/libhdffcmd + doins libhdffcmd/*.h +} diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115-r1.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115-r1.ebuild new file mode 100644 index 000000000000..12cc5928d6a9 --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115-r1.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 vdr-plugin-2 + +HG_REVISION="60c58ae453d0" +HG_REVISION_DATE="20140115" + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend +S2-6400 DVB Card" +HOMEPAGE="http://powarman.dyndns.org/hg/dvbhddevice" +SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/dvbhddevice/archive/${HG_REVISION}.tar.gz +-> dvbhddevice-2.1.3_p${HG_REVISION_DATE}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.39" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/dvbhddevice-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include dvbhdffdevice.c + + if has_version ">=media-video/vdr-2.1.10"; then + sed -e "s:pm = RenderPixmaps():pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()):"\ + -e "s:delete pm;:DestroyPixmap(pm);:"\ + -i hdffosd.c + fi +} + +src_install() { + vdr-plugin-2_src_install + + doheader dvbhdffdevice.h hdffcmd.h + + insinto /usr/include/libhdffcmd + doins libhdffcmd/*.h +} diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115.ebuild new file mode 100644 index 000000000000..63c69bc7136a --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +HG_REVISION="60c58ae453d0" +HG_REVISION_DATE="20140115" + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend +S2-6400 DVB Card" +HOMEPAGE="http://powarman.dyndns.org/hg/dvbhddevice" +SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/dvbhddevice/archive/${HG_REVISION}.tar.gz +-> dvbhddevice-2.1.3_p${HG_REVISION_DATE}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.39" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/dvbhddevice-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include dvbhdffdevice.c +} + +src_install() { + vdr-plugin-2_src_install + + doheader dvbhdffdevice.h hdffcmd.h + + insinto /usr/include/libhdffcmd + doins libhdffcmd/*.h +} diff --git a/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.6_p20141116-r1.ebuild b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.6_p20141116-r1.ebuild new file mode 100644 index 000000000000..6390220a288f --- /dev/null +++ b/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.6_p20141116-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +HG_REVISION="88cd727ebc99" +HG_REVISION_DATE="20141116" + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend +S2-6400 DVB Card" +HOMEPAGE="https://bitbucket.org/powARman/dvbhddevice" +SRC_URI="https://bitbucket.org/powARman/dvbhddevice/get/${HG_REVISION}.tar.gz -> + ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" + +S="${WORKDIR}/powARman-${VDRPLUGIN}-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include dvbhdffdevice.c + + if has_version ">=media-video/vdr-2.1.10"; then + sed -e "s:pm = RenderPixmaps():pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()):"\ + -e "s:delete pm;:DestroyPixmap(pm);:"\ + -i hdffosd.c + fi +} + +src_install() { + vdr-plugin-2_src_install + + doheader dvbhdffdevice.h hdffcmd.h + + insinto /usr/include/libhdffcmd + doins libhdffcmd/*.h +} diff --git a/media-plugins/vdr-dvbsddevice/Manifest b/media-plugins/vdr-dvbsddevice/Manifest new file mode 100644 index 000000000000..12579caa5d48 --- /dev/null +++ b/media-plugins/vdr-dvbsddevice/Manifest @@ -0,0 +1,2 @@ +DIST vdr-dvbsddevice-2.0.0.tar.gz 18780 SHA256 e93998ba7fe5735735f59fb1c2375fa09ec4c2b87a5fc448f8de5f2f49c95d9f SHA512 e0e32158fb3d8cc5857a85e89ba7d4f7c641509b21184022d4c7184621db01f93380bde7fdce9540e3cba73dc40ae405bdad323aee989f07ad1f0ce5f4d533ca WHIRLPOOL 9324421f1684d9f2ebc1b0da23408b455023ba9688f2832997c53e458852467fe67cb4c40dcf75f073dd558e83ff27d32fc5f52d6f495ec9753ea16f557169a1 +DIST vdr-dvbsddevice-2.2.0.tar.gz 19122 SHA256 efafadfed2b6a39473706de9cb6270858a6b7dfe2d973b059ab2c3c7750ae11b SHA512 261861070c1acd2bfac2b0942e46d91a97d694ce3f392bfa4c3707eff104f58cb86db56cddc2f3d76be69e487b11ffb005b9c123626b45c0f0ed8a9e10ddcf91 WHIRLPOOL f9e73e16e846f9716528af0c92ab0ae0d816c9d23c671b1fa358b3b1e1d12f4a4cf18c304cd5da105b61d00f625b6fe3604893b83a754e6d5de5ffe35065b78e diff --git a/media-plugins/vdr-dvbsddevice/metadata.xml b/media-plugins/vdr-dvbsddevice/metadata.xml new file mode 100644 index 000000000000..94d2eca26f15 --- /dev/null +++ b/media-plugins/vdr-dvbsddevice/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.0.0.ebuild b/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.0.0.ebuild new file mode 100644 index 000000000000..6dd9e68a98e9 --- /dev/null +++ b/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' SD DVB Card" +HOMEPAGE="http://www.tvdr.de/" +SRC_URI="http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.36" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + doheader "${S}"/dvbsdffdevice.h +} diff --git a/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.2.0.ebuild b/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.2.0.ebuild new file mode 100644 index 000000000000..7264de6236d4 --- /dev/null +++ b/media-plugins/vdr-dvbsddevice/vdr-dvbsddevice-2.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: output device for the 'Full Featured' SD DVB Card" +HOMEPAGE="http://www.tvdr.de/" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + doheader "${S}"/dvbsdffdevice.h +} diff --git a/media-plugins/vdr-dvd/Manifest b/media-plugins/vdr-dvd/Manifest new file mode 100644 index 000000000000..f9327ebab806 --- /dev/null +++ b/media-plugins/vdr-dvd/Manifest @@ -0,0 +1 @@ +DIST vdr-dvd-cvs-20090106.tar.bz2 65387 SHA256 8f244d4f17937546465cb2bb450fd7c9fcc888fdeec5c2185b327f8b9214f5ae SHA512 7e0f24cfbd7567d46eed73ca52826970a21d2cd49089cc019f24eced88dde83db2b14222a9a01ed37d376b323f82b53947d9f9c675c32ce775a487baaddb4b26 WHIRLPOOL 15a8ec79a232118010fd43cf1bbadf4047031835fd75cd7226f3b3ea20500aa724e2b74f137c5c2e84e13795d575417124bfa20d3c0b1316e58e0206257d7a22 diff --git a/media-plugins/vdr-dvd/files/confd b/media-plugins/vdr-dvd/files/confd new file mode 100644 index 000000000000..daa9bb825818 --- /dev/null +++ b/media-plugins/vdr-dvd/files/confd @@ -0,0 +1,19 @@ +# /etc/conf.d/vdr.dvd: +# $Id$ + +# Global config file for vdr rc-scripts + +# The plugin uses libdvdcss to access CSS protected DVDs. +# (Note: doing so might be illegal in some countries). +# +# allowed values: yes|no +# default: no +#DVD_DVDCSS="no" + +# By default VDR expects the DVD drive to be located at +# /dev/dvd (which typically is a symbolic link to the +# actual device, for instance /dev/hdc). +# +# allowed values: device names +# default: /dev/dvd +#DVD_DRIVE="/dev/dvd" diff --git a/media-plugins/vdr-dvd/files/rc-addon.sh b/media-plugins/vdr-dvd/files/rc-addon.sh new file mode 100644 index 000000000000..1b47bba6b137 --- /dev/null +++ b/media-plugins/vdr-dvd/files/rc-addon.sh @@ -0,0 +1,16 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-dvd +# + +plugin_pre_vdr_start() { + + : ${DVD_DRIVE:=/dev/dvd} + + add_plugin_param "-C${DVD_DRIVE}" + add_plugin_param "--dvd=${DVD_DRIVE}" + + if [ "${DVD_DVDCSS:=no}" = "yes" ]; then + export DVDCSS_METHOD=key + fi +} diff --git a/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-compile_warnings.diff b/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-compile_warnings.diff new file mode 100644 index 000000000000..70f5bfdf9c30 --- /dev/null +++ b/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-compile_warnings.diff @@ -0,0 +1,47 @@ +fixe a lot of compile warnings,... + +Signed of by: Joerg Bornkessel <hd_brummy@gentoo.org> (26 Jan 2011) + +diff -Naur dvd-cvs-20090106.orig/player-dvd.c dvd-cvs-20090106/player-dvd.c +--- dvd-cvs-20090106.orig/player-dvd.c 2011-01-26 15:49:38.000000000 +0100 ++++ dvd-cvs-20090106/player-dvd.c 2011-01-26 15:54:07.000000000 +0100 +@@ -2670,18 +2670,18 @@ + + //Menu's has no titleNumbers and chapterNumbers (see dvdnav.h) + if (titleNumber == 0) +- asprintf(&titleinfo_str, "%d/%d %d", titleNumber, titleNumbers, chapterNumber); ++ (0 < asprintf(&titleinfo_str, "%d/%d %d", titleNumber, titleNumbers, chapterNumber)); + else if (angleNumbers > 1) +- asprintf(&titleinfo_str, "%d/%d %d/%d %d/%d", titleNumber, titleNumbers, chapterNumber, chapterNumbers, angleNumber, angleNumbers); ++ (0 < asprintf(&titleinfo_str, "%d/%d %d/%d %d/%d", titleNumber, titleNumbers, chapterNumber, chapterNumbers, angleNumber, angleNumbers)); + else +- asprintf(&titleinfo_str, "%d/%d %d/%d", titleNumber, titleNumbers, chapterNumber, chapterNumbers); ++ (0 < asprintf(&titleinfo_str, "%d/%d %d/%d", titleNumber, titleNumbers, chapterNumber, chapterNumbers)); + return; + } + + void cDvdPlayer::GetAudioLanguageStr(const char **AudioLanguageStr) const + { + static char buffer[100]; +- char *audioTypeDescr = NULL; ++ const char *audioTypeDescr = NULL; + + if (!DVDActiveAndRunning()) { + *AudioLanguageStr = "n.a."; +@@ -2753,13 +2753,13 @@ + + switch (dvdnav_get_video_aspect(nav)) { + case 0: +- asprintf(&aspect_str, " 4:3"); ++ (0 < asprintf(&aspect_str, " 4:3")); + break; + case 2: +- asprintf(&aspect_str, "16:9_"); ++ (0 < asprintf(&aspect_str, "16:9_")); + break; + case 3: +- asprintf(&aspect_str, "16:9"); ++ (0 < asprintf(&aspect_str, "16:9")); + break; + default: + aspect_str = strdup(dummy_n_a); diff --git a/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-fix-dvdnav-using-c++-keywords.patch b/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-fix-dvdnav-using-c++-keywords.patch new file mode 100644 index 000000000000..237ad1876458 --- /dev/null +++ b/media-plugins/vdr-dvd/files/vdr-dvd-0.3.7_pre20090106-fix-dvdnav-using-c++-keywords.patch @@ -0,0 +1,18 @@ +Description: When including dvdnvav.h define/undefine the "this" keyword, + used in dvdnav.h +Author: Tobias Grimm <etobi@debian.org> +Bug-Debian: http://bugs.debian.org/642673 + +--- vdr-plugin-dvd-0.3.6~b03+cvs20090426.0013.orig/player-dvd.h ++++ vdr-plugin-dvd-0.3.6~b03+cvs20090426.0013/player-dvd.h +@@ -11,8 +11,10 @@ + #ifndef __PLAYER_DVD_H + #define __PLAYER_DVD_H + ++#define this _this + #include <dvdnav/dvdnav.h> + #include <dvdnav/dvdnav_events.h> ++#undef this + + #include <vdr/device.h> + #include <vdr/player.h> diff --git a/media-plugins/vdr-dvd/metadata.xml b/media-plugins/vdr-dvd/metadata.xml new file mode 100644 index 000000000000..48a97730bb45 --- /dev/null +++ b/media-plugins/vdr-dvd/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + This is the DVD plugin for the Video Disk Recorder (VDR) + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r1.ebuild b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r1.ebuild new file mode 100644 index 000000000000..646a6583c9af --- /dev/null +++ b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P=${PN}-cvs-${PV#*_pre} +S=${WORKDIR}/${MY_P#vdr-} + +DESCRIPTION="VDR Plugin: DVD-Player" +HOMEPAGE="http://sourceforge.net/projects/dvdplugin" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-video/vdr-1.6.0 + >=media-libs/libdvdnav-4.2.0 + >=media-libs/a52dec-0.7.4" +DEPEND="${RDEPEND}" + +# vdr-plugin-2.eclass fix +KEEP_I18NOBJECT="yes" + +PATCHES=( + "${FILESDIR}"/${P}-compile_warnings.diff + "${FILESDIR}"/${P}-fix-dvdnav-using-c++-keywords.patch + ) + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.3"; then + sed -i player-dvd.c -e "s:DeviceTrickSpeed(sp):DeviceTrickSpeed(sp,true):" + fi +} diff --git a/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106.ebuild b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106.ebuild new file mode 100644 index 000000000000..32bff6f1474e --- /dev/null +++ b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106.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 vdr-plugin-2 + +MY_P=${PN}-cvs-${PV#*_pre} +S=${WORKDIR}/${MY_P#vdr-} + +DESCRIPTION="VDR Plugin: DVD-Player" +HOMEPAGE="http://sourceforge.net/projects/dvdplugin" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/vdr-1.6.0 + >=media-libs/libdvdnav-4.2.0 + >=media-libs/a52dec-0.7.4" +DEPEND="${RDEPEND}" + +# vdr-plugin-2.eclass fix +KEEP_I18NOBJECT="yes" + +PATCHES=( + "${FILESDIR}"/${P}-compile_warnings.diff + "${FILESDIR}"/${P}-fix-dvdnav-using-c++-keywords.patch + ) diff --git a/media-plugins/vdr-dvdswitch/Manifest b/media-plugins/vdr-dvdswitch/Manifest new file mode 100644 index 000000000000..840853352b93 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/Manifest @@ -0,0 +1,3 @@ +DIST vdr-dvdswitch-0.2.0.tgz 48213 SHA256 5c2d8e6a0432f79b857b546b0c7506a7a2796f4adc8f1c4bd57bea39601704bd SHA512 a57b872d72ce189444e12b5c8d3f9611d5da2b6d7fb31203129975cf337efdef468355ccbdd5d0ef3ad53d4438019b3bb7e78d0f83c0a7c0864387287d2cd8da WHIRLPOOL a3f917d4ea738cda14e800eba1bf8676a9f72c57ac879fb8137943b47ddd44d0dfad9c14ec9e440399b5d588b44aa6137495593e3058396544f118e333a6f1bf +DIST vdr-dvdswitch-0.2.1.tgz 48443 SHA256 25ac8d50a48ac52ddf5d8b2db1ad96834db4e157cdb38eaa9a03b048505b603e SHA512 274333421b5af903f843de8ec97456c7bdef8f0dd86c623dac77c0c2e51d94c77b00245430d6f09172c686ba41e46854e220eb43466d7d29e37a8fc22766bf55 WHIRLPOOL 53f0d2771f2d01a1e04294d463cf0cb379335b0d7c21d08e31a5541e3f825973485eb7f4e756787e7981851e4ec241e7f0b4cb275be92fc509ebb07e8d89478d +DIST vdr-dvdswitch-0.2.2.tgz 50332 SHA256 bc6cf8d44d3c6b20c99334718d636f80ab9a58bb2ce57698c60e4a693f39fb7d SHA512 37a89f33a2280823a885fdb8aa4919c7bc438c26ba6273ec25a7c980d7dac6c57df125f560b6f2f04d46a1db623c129a6e598d61cde66f5944e5b349d65ffeb8 WHIRLPOOL a9c7892035cd93c4714ad9a6876726d2387223734aaf43ac2900892c69d16ff3a8d5d59c862025255d684f068d7d14c877d34a77e2a3dbcef7a4c9bfe30ee05e diff --git a/media-plugins/vdr-dvdswitch/files/0.1.3/confd-r2 b/media-plugins/vdr-dvdswitch/files/0.1.3/confd-r2 new file mode 100644 index 000000000000..24e513c4e136 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/files/0.1.3/confd-r2 @@ -0,0 +1,19 @@ +# $Id$ +# Global config file for vdrplugin dvdswitch + +# Script to use for reading DVDs +# default: Use standard-script +# +#DVDSWITCH_READ_DVD="/usr/share/vdr/dvdchanger/dvdchanger_readdvd.sh" + + +# Script to use for writing DVDs +# default: Use standard-script +# +#DVDSWITCH_WRITE_DVD="/usr/share/vdr/dvdchanger/dvdchanger_writedvd.sh" + +# Slow down the burn speed +# parameters are numeric ( 1 ... n ) +# default: 0 (unbreaked) +# +#DVDSWITCH_BURNSPEED="0" diff --git a/media-plugins/vdr-dvdswitch/files/rc-addon.sh b/media-plugins/vdr-dvdswitch/files/rc-addon.sh new file mode 100644 index 000000000000..eac9333c36dc --- /dev/null +++ b/media-plugins/vdr-dvdswitch/files/rc-addon.sh @@ -0,0 +1,11 @@ +# +# rc-addon-script for plugin vdrswitch +# + +plugin_pre_vdr_start() { + : ${DVDSWITCH_READ_DVD:=/usr/share/vdr/dvdchanger/dvdchanger_readdvd.sh} + : ${DVDSWITCH_WRITE_DVD:=/usr/share/vdr/dvdchanger/dvdchanger_writedvd.sh} + + add_plugin_param "-r ${DVDSWITCH_READ_DVD}" + add_plugin_param "-w ${DVDSWITCH_WRITE_DVD}" +} diff --git a/media-plugins/vdr-dvdswitch/metadata.xml b/media-plugins/vdr-dvdswitch/metadata.xml new file mode 100644 index 000000000000..fb313c2b3c47 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>VDR plugin to play dvds and dvd file structures</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.0.ebuild b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.0.ebuild new file mode 100644 index 000000000000..67698ee286ac --- /dev/null +++ b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="534" # every bump, new version + +DESCRIPTION="VDR Plugin: to play dvds and dvd file structures" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-dvdswitch" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="media-plugins/vdr-dvd" + +DEFAULT_IMAGE_DIR="/var/vdr/video/dvd-images" + +VDR_CONFD_FILE="${FILESDIR}/0.1.3/confd-r2" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:/video/dvd:${DEFAULT_IMAGE_DIR}:" -i setup.c +} diff --git a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.1.ebuild b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.1.ebuild new file mode 100644 index 000000000000..fd3672ba8fd2 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="1059" # every bump, new version + +DESCRIPTION="VDR Plugin: to play dvds and dvd file structures" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-dvdswitch" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="media-plugins/vdr-dvd" + +DEFAULT_IMAGE_DIR="/var/vdr/video/dvd-images" + +VDR_CONFD_FILE="${FILESDIR}/0.1.3/confd-r2" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:/video/dvd:${DEFAULT_IMAGE_DIR}:" -i setup.c +} diff --git a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild new file mode 100644 index 000000000000..e377781c5248 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1323" # every bump, new version + +DESCRIPTION="VDR Plugin: to play dvds and dvd file structures" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-dvdswitch" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="media-plugins/vdr-dvd" + +DEFAULT_IMAGE_DIR="/var/vdr/video/dvd-images" + +VDR_CONFD_FILE="${FILESDIR}/0.1.3/confd-r2" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:/video/dvd:${DEFAULT_IMAGE_DIR}:" -i setup.c +} diff --git a/media-plugins/vdr-epgsearch/Manifest b/media-plugins/vdr-epgsearch/Manifest new file mode 100644 index 000000000000..8633b0996573 --- /dev/null +++ b/media-plugins/vdr-epgsearch/Manifest @@ -0,0 +1,2 @@ +DIST vdr-epgsearch-1.0.0.tgz 667633 SHA256 989c3ce611ad2b591783dcd7e52a4b462b3352a7657c478e7a3b3c38164b4a12 SHA512 3105dc847a75ad54ca854418a83db847942ba1d85f1c65a94b88310dfcdd5d614b89f0f27fd3ffc8e8c5db6c1c1e0f36e8e7a33cc71299922287f2d19dd385af WHIRLPOOL a661d76f05739d8f411ff8c1dace9b1c059e33d04a87698578a9cecf31bdf4ebc6d41bf9fce21338bafd001f0d1d386a19b08d7a1188081d33ff6f7b9a45a979 +DIST vdr-epgsearch-1.0.1_p20141227.tar.gz 472802 SHA256 f53fd19aab6acca45f345b889eea592affcb18fe6c9e48294fda182c80a53b5f SHA512 952d58f6f03d2804f97be14779faf37c3788b42d78a6460102e2f1c74f6a58d7d68639e7e95e40f27417ce3658c0d5bf856399b6e8e8c214ea143d2865507562 WHIRLPOOL 27d905c7d4430040848c844975000d21fb64d789e230f6f8c57599278f4440b4a3435abe4260d1bc2be3f5fcec70ad9ea9baf734a43a2bd52c7fb69cae44fb98 diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff new file mode 100644 index 000000000000..3a8babbc16fb --- /dev/null +++ b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff @@ -0,0 +1,32 @@ +--- epgsearch/conflictcheck.h.bak 2012-03-03 15:33:15.000000000 +0100 ++++ epgsearch/conflictcheck.h 2012-03-03 15:35:43.000000000 +0100 +@@ -169,12 +169,12 @@ + result = true; + #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE + else +- result = Priority >= Setup.PrimaryLimit; ++ result = Priority >= 0; + #endif + #endif + } + else +- result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit; ++ result = !IsPrimaryDevice() || Priority >= 0; + } + else + needsDetachReceivers = true; +@@ -259,12 +259,12 @@ + result = true; + #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE + else +- result = Priority >= Setup.PrimaryLimit; ++ result = Priority >= 0; + #endif + #endif + } + else +- result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit; ++ result = !IsPrimaryDevice() || Priority >= 0; + } + else + needsDetachReceivers = true; diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff new file mode 100644 index 000000000000..aa51685cb282 --- /dev/null +++ b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff @@ -0,0 +1,120 @@ +diff -Naur epgsearch-1.0.0.orig/epgsearchsvdrp.c epgsearch-1.0.0/epgsearchsvdrp.c +--- epgsearch-1.0.0.orig/epgsearchsvdrp.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/epgsearchsvdrp.c 2012-12-15 11:44:38.000000000 +0100 +@@ -564,7 +564,7 @@ + strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r)); + strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r)); + +- int timerMatch; ++ eTimerMatch timerMatch; + bool hasTimer = false; + if (Timers.GetMatch(pEvent, &timerMatch)) + hasTimer = (timerMatch == tmFull); +diff -Naur epgsearch-1.0.0.orig/mail.c epgsearch-1.0.0/mail.c +--- epgsearch-1.0.0.orig/mail.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/mail.c 2012-12-15 11:45:02.000000000 +0100 +@@ -49,7 +49,7 @@ + const cEvent* pEvent = GetEvent(); + if (!pEvent) return ""; + +- int TimerMatch = tmNone; ++ eTimerMatch TimerMatch = tmNone; + cTimer* pTimer = Timers.GetMatch(pEvent, &TimerMatch); + if (!pTimer) return ""; + +diff -Naur epgsearch-1.0.0.orig/menu_commands.c epgsearch-1.0.0/menu_commands.c +--- epgsearch-1.0.0.orig/menu_commands.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_commands.c 2012-12-15 11:45:40.000000000 +0100 +@@ -121,7 +121,7 @@ + { + if (!event) return osContinue; + +- int timerMatch = tmNone; ++ eTimerMatch timerMatch = tmNone; + cTimer* timer = Timers.GetMatch(event, &timerMatch); + if (timerMatch == tmFull) + { +diff -Naur epgsearch-1.0.0.orig/menu_event.c epgsearch-1.0.0/menu_event.c +--- epgsearch-1.0.0.orig/menu_event.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_event.c 2012-12-15 11:46:17.000000000 +0100 +@@ -92,7 +92,7 @@ + cEventObj* eventObjPrev = GetPrev(event); + cEventObj* eventObjNext = GetNext(event); + +- int timerMatch = tmNone; ++ eTimerMatch timerMatch = tmNone; + Timers.GetMatch(event, &timerMatch); + const char* szRed = trVDR("Button$Record"); + if (timerMatch == tmFull) +diff -Naur epgsearch-1.0.0.orig/menu_main.c epgsearch-1.0.0/menu_main.c +--- epgsearch-1.0.0.orig/menu_main.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_main.c 2012-12-15 11:47:08.000000000 +0100 +@@ -181,7 +181,7 @@ + if (item) { + if (item->timerMatch == tmFull) + { +- int tm = tmNone; ++ eTimerMatch tm = tmNone; + cTimer *timer = Timers.GetMatch(item->event, &tm); + if (timer) + { +diff -Naur epgsearch-1.0.0.orig/menu_searchresults.c epgsearch-1.0.0/menu_searchresults.c +--- epgsearch-1.0.0.orig/menu_searchresults.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_searchresults.c 2012-12-15 11:51:12.000000000 +0100 +@@ -217,7 +217,7 @@ + if (item) { + if (item->timerMatch == tmFull) + { +- int tm = tmNone; ++ eTimerMatch tm = tmNone; + cTimer *timer = Timers.GetMatch(item->event, &tm); + if (timer) + { +diff -Naur epgsearch-1.0.0.orig/menu_searchresults.h epgsearch-1.0.0/menu_searchresults.h +--- epgsearch-1.0.0.orig/menu_searchresults.h 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_searchresults.h 2012-12-15 11:51:57.000000000 +0100 +@@ -50,7 +50,7 @@ + bool episodeOnly; + cMenuTemplate* menuTemplate; + public: +- int timerMatch; ++ eTimerMatch timerMatch; + bool inSwitchList; + const cEvent *event; + const cSearchExt* search; +diff -Naur epgsearch-1.0.0.orig/menu_whatson.c epgsearch-1.0.0/menu_whatson.c +--- epgsearch-1.0.0.orig/menu_whatson.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_whatson.c 2012-12-15 11:52:37.000000000 +0100 +@@ -527,7 +527,7 @@ + { + if (item->timerMatch == tmFull) + { +- int tm = tmNone; ++ eTimerMatch tm = tmNone; + cTimer *timer = Timers.GetMatch(item->event, &tm); + if (timer) + { +diff -Naur epgsearch-1.0.0.orig/menu_whatson.h epgsearch-1.0.0/menu_whatson.h +--- epgsearch-1.0.0.orig/menu_whatson.h 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/menu_whatson.h 2012-12-15 11:53:09.000000000 +0100 +@@ -35,7 +35,7 @@ + const cEvent *event; + cChannel *channel; + showMode mode; +- int timerMatch; ++ eTimerMatch timerMatch; + bool inSwitchList; + cMenuTemplate* menuTemplate; + +diff -Naur epgsearch-1.0.0.orig/services.c epgsearch-1.0.0/services.c +--- epgsearch-1.0.0.orig/services.c 2012-12-15 11:42:41.000000000 +0100 ++++ epgsearch-1.0.0/services.c 2012-12-15 11:53:34.000000000 +0100 +@@ -143,7 +143,7 @@ + strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r)); + strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r)); + +- int timerMatch; ++ eTimerMatch timerMatch; + bool hasTimer = false; + if (Timers.GetMatch(pEvent, &timerMatch)) + hasTimer = (timerMatch == tmFull); diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff new file mode 100644 index 000000000000..5b9d657e95ec --- /dev/null +++ b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff @@ -0,0 +1,15 @@ +diff -Naur epgsearch-1.0.0.orig/uservars.h epgsearch-1.0.0/uservars.h +--- epgsearch-1.0.0.orig/uservars.h 2013-10-23 00:54:29.000000000 +0200 ++++ epgsearch-1.0.0/uservars.h 2013-10-23 00:56:21.000000000 +0200 +@@ -537,7 +537,11 @@ + cVideodirVar() : cInternalVar("%videodir%") {} + string Evaluate(const cEvent*, bool escapeStrings = false) + { ++#if APIVERSNUM > 20101 ++ return cVideoDirectory::Name(); ++#else + return VideoDirectory; ++#endif + } + }; + diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.1_beta5_makefile.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.1_beta5_makefile.diff new file mode 100644 index 000000000000..25e27e958a4a --- /dev/null +++ b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.1_beta5_makefile.diff @@ -0,0 +1,25 @@ +diff -Naur vdr-plugin-epgsearch-a908daa4c5c6edd6c560ed96939358b4352e9b42.orig/Makefile vdr-plugin-epgsearch-a908daa4c5c6edd6c560ed96939358b4352e9b42/Makefile +--- vdr-plugin-epgsearch-a908daa4c5c6edd6c560ed96939358b4352e9b42.orig/Makefile 2015-02-21 21:01:08.926052710 +0100 ++++ vdr-plugin-epgsearch-a908daa4c5c6edd6c560ed96939358b4352e9b42/Makefile 2015-02-21 21:03:42.768052710 +0100 +@@ -255,9 +255,9 @@ + docs: + ./docsrc2man.sh + ./docsrc2html.sh +- ln -sf ./doc/en/epgsearch.4.txt MANUAL +- ln -sf ./doc/en/epgsearch.1.txt README +- ln -sf ./doc/de/epgsearch.1.txt README.DE ++# ln -sf ./doc/en/epgsearch.4.txt MANUAL ++# ln -sf ./doc/en/epgsearch.1.txt README ++# ln -sf ./doc/de/epgsearch.1.txt README.DE + + install-$(PLUGIN): libvdr-$(PLUGIN).so + install -D libvdr-$(PLUGIN).so $(DESTDIR)$(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) +@@ -272,7 +272,7 @@ + install -D libvdr-$(PLUGIN4).so $(DESTDIR)$(LIBDIR)/libvdr-$(PLUGIN4).so.$(APIVERSION) + + install-conf: +- mkdir -p $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN)/conf.d ++ mkdir -p $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN) + cp -n conf/* $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN) + + install-doc: diff --git a/media-plugins/vdr-epgsearch/metadata.xml b/media-plugins/vdr-epgsearch/metadata.xml new file mode 100644 index 000000000000..256c7092e6cf --- /dev/null +++ b/media-plugins/vdr-epgsearch/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +<use> + <flag name="conflictcheckonly">ToDo</flag> + <flag name="epgsearchonly">ToDo</flag> + <flag name="quicksearch">ToDo</flag> + <flag name="tre">Add support for unlimited fuzzy searching with help of <pkg>dev-libs/tre</pkg> library</flag> +</use> +</pkgmetadata> + diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild new file mode 100644 index 000000000000..dedffa212dbc --- /dev/null +++ b/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Searchtimer and replacement of the VDR program menu" +HOMEPAGE="http://winni.vdr-developer.org/epgsearch" + +case ${P#*_} in + rc*|beta*) + MY_P="${P/_/.}" + SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/beta/${MY_P}.tgz" + S="${WORKDIR}/${MY_P#vdr-}" + ;; + *) + SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/${P}.tgz" + ;; +esac + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="pcre tre linguas_de" + +DEPEND=">=media-video/vdr-1.3.45 + pcre? ( dev-libs/libpcre ) + tre? ( dev-libs/tre )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="pcre? ( !tre ) + tre? ( !pcre )" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include conflictcheck.c + + if has_version ">=media-video/vdr-1.7.25"; then + epatch "${FILESDIR}/${P}_vdr-1.7.25.diff" + fi + + if has_version ">=media-video/vdr-1.7.28"; then + sed -i "s:SetRecording(recording->FileName(), recording->Title:SetRecording(recording->FileName:" menu_searchresults.c + fi + + if has_version ">=media-video/vdr-1.7.33"; then + epatch "${FILESDIR}/${P}_vdr-1.7.33.diff" + fi + + epatch "${FILESDIR}/${P}_vdr-2.1.2.diff" + + # disable automagic deps + sed -i Makefile -e '/^AUTOCONFIG=/s/^/#/' + + if use pcre; then + einfo "Using pcre for regexp searches" + sed -i Makefile -e 's:^#REGEXLIB = pcre:REGEXLIB = pcre:' + fi + + if use tre; then + einfo "Using tre for unlimited fuzzy searches" + sed -i Makefile -e 's:^#REGEXLIB = pcre:REGEXLIB = tre:' + fi + + # install conf-file disabled + sed -e '/^Menu/s:^:#:' -i conf/epgsearchmenu.conf + + # Get a rid of the broken symlinks + rm -f README{,.DE} MANUAL +} + +src_install() { + vdr-plugin-2_src_install + + diropts "-m755 -o vdr -g vdr" + keepdir /etc/vdr/plugins/epgsearch + insinto /etc/vdr/plugins/epgsearch + + doins conf/epgsearchmenu.conf + doins conf/epgsearchconflmail.templ conf/epgsearchupdmail.templ + + dodoc conf/*.templ + + doman man/en/*.gz + + if use linguas_de; then + doman -i18n=de man/de/*.gz + fi +} + +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-0.9.18" + previous_less_than_0_9_18=$? +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + if [[ $previous_less_than_0_9_18 = 0 ]] ; then + elog "Moving config-files to new location /etc/vdr/plugins/epgsearch" + cd "${ROOT}"/etc/vdr/plugins + local f + local moved="" + for f in epgsearch*.* .epgsearch*; do + [[ -e ${f} ]] || continue + mv "${f}" "${ROOT}/etc/vdr/plugins/epgsearch" + moved="${moved} ${f}" + done + elog "These files were moved:${moved}" + fi +} diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.1_p20141227.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.1_p20141227.ebuild new file mode 100644 index 000000000000..d45cd4b4afa8 --- /dev/null +++ b/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.1_p20141227.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 vdr-plugin-2 + +DESCRIPTION="VDR plugin: create timers from epg content based on saved search expressions" +HOMEPAGE="http://winni.vdr-developer.org/epgsearch" + +case ${P#*_} in + rc*|beta*) + MY_P="${P/_/.}" + SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/beta/${MY_P}.tgz" + S="${WORKDIR}/${MY_P#vdr-}" + ;; + p*) + GIT_COMMIT_ID="a908daa4c5c6edd6c560ed96939358b4352e9b42" + GIT_COMMIT_DATE="20141227" + SRC_URI="http://projects.vdr-developer.org/git/vdr-plugin-epgsearch.git/snapshot/vdr-plugin-epgsearch-${GIT_COMMIT_ID}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/vdr-plugin-epgsearch-${GIT_COMMIT_ID}" + ;; + *) + SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/${P}.tgz" + ;; +esac + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+conflictcheckonly +epgsearchonly linguas_de pcre +quicksearch tre" + +DEPEND="media-video/vdr + pcre? ( dev-libs/libpcre ) + tre? ( dev-libs/tre )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="pcre? ( !tre ) + tre? ( !pcre )" + +src_prepare() { + # make detection in vdr-plugin-2.eclass for new Makefile handling happy + echo "# SOFILE" >> Makefile + + # remove untranslated .po files + rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + epatch "${FILESDIR}/vdr-epgsearch-1.0.1_beta5_makefile.diff" + + use conflictcheckonly || sed -e "s:install-\$(PLUGIN3)::" -i Makefile + use epgsearchonly || sed -e "s:install-\$(PLUGIN2)::" -i Makefile + use quicksearch || sed -e "s:install-\$(PLUGIN4)::" -i Makefile + + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include conflictcheck.c + + # install conf-file disabled + sed -e '/^Menu/s:^:#:' -i conf/epgsearchmenu.conf + + # Get rid of the broken symlinks + rm -f README{,.DE} MANUAL +} + +src_compile() { + BUILD_PARAMS="SENDMAIL=/usr/bin/sendmail AUTOCONFIG=0" + + if use pcre; then + BUILD_PARAMS+=" REGEXLIB=pcre" + einfo "Using pcre for regexp searches" + fi + + if use tre; then + BUILD_PARAMS+=" REGEXLIB=tre" + einfo "Using tre for unlimited fuzzy searches" + fi + + vdr-plugin-2_src_compile +} + +src_install() { + vdr-plugin-2_src_install + + diropts "-m755 -o vdr -g vdr" + keepdir /etc/vdr/plugins/epgsearch + insinto /etc/vdr/plugins/epgsearch + + doins conf/epgsearchmenu.conf + doins conf/epgsearchconflmail.templ conf/epgsearchupdmail.templ + + nonfatal dodoc conf/*.templ HISTORY* + + doman man/en/*.gz + + if use linguas_de; then + doman -i18n=de man/de/*.gz + fi +} diff --git a/media-plugins/vdr-epgsync/Manifest b/media-plugins/vdr-epgsync/Manifest new file mode 100644 index 000000000000..17670a5045c1 --- /dev/null +++ b/media-plugins/vdr-epgsync/Manifest @@ -0,0 +1 @@ +DIST vdr-epgsync-1.0.1.tgz 18198 SHA256 b9e57e9c2dbebf20d5d193c84e991ae6e3a941db4b5b45780e239210f31a51e2 SHA512 1c9d1220460031a7dd22f8a8131c291bf9c66847be33c2a57464c29d7ed4b2297d6bda04c3ea0a24e3f00d5afe040d9236c5f9ef9f4389878906abc54466de18 WHIRLPOOL 6c65c04ea3555cffc2f7a94fc903ad46a77e782b55f675513d2e50ab19579b8d118bbb8df4625fa7b36f9385a41935e2398cf24ed841d3ce45b53e4a192c40d6 diff --git a/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.2-include.patch b/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.2-include.patch new file mode 100644 index 000000000000..682d05eb0124 --- /dev/null +++ b/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.2-include.patch @@ -0,0 +1,12 @@ +diff -uNr epgsync-0.0.1.orig/thread.h epgsync-0.0.1/thread.h +--- epgsync-0.0.1.orig/thread.h 2006-07-15 14:15:48.000000000 +0200 ++++ epgsync-0.0.1/thread.h 2006-07-25 20:08:30.039828500 +0200 +@@ -10,7 +10,7 @@ + #include <vdr/thread.h> + #include <vdr/tools.h> + #include <vdr/plugin.h> +-#include "../svdrpservice/svdrpservice.h" ++#include <svdrpservice/svdrpservice.h> + + class cEpgSyncThread: public cThread { + private: diff --git a/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.3-Makefile.diff b/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.3-Makefile.diff new file mode 100644 index 000000000000..6f109d3743d6 --- /dev/null +++ b/media-plugins/vdr-epgsync/files/vdr-epgsync-0.0.3-Makefile.diff @@ -0,0 +1,11 @@ +diff -Naur epgsync-0.0.3.orig/Makefile epgsync-0.0.3/Makefile +--- epgsync-0.0.3.orig/Makefile 2009-02-23 22:15:57.000000000 +0100 ++++ epgsync-0.0.3/Makefile 2009-02-23 22:16:15.000000000 +0100 +@@ -34,7 +34,7 @@ + APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + + ### Test whether VDR has locale support +-VDRLOCALE = $(shell grep '^LOCALEDIR' $(VDRDIR)/Makefile) ++VDRLOCALE = $(shell grep '^LOCDIR' $(VDRDIR)/Make.config) + + ### The name of the distribution archive: diff --git a/media-plugins/vdr-epgsync/metadata.xml b/media-plugins/vdr-epgsync/metadata.xml new file mode 100644 index 000000000000..57cbe8aa99b6 --- /dev/null +++ b/media-plugins/vdr-epgsync/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-epgsync/vdr-epgsync-1.0.1.ebuild b/media-plugins/vdr-epgsync/vdr-epgsync-1.0.1.ebuild new file mode 100644 index 000000000000..fe6c12e0e955 --- /dev/null +++ b/media-plugins/vdr-epgsync/vdr-epgsync-1.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Import the EPG of another VDR via vdr-svdrpservice" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/epgsync/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-exec/Manifest b/media-plugins/vdr-exec/Manifest new file mode 100644 index 000000000000..57b49f6a3122 --- /dev/null +++ b/media-plugins/vdr-exec/Manifest @@ -0,0 +1 @@ +DIST vdr-exec-0.0.3.tgz 34537 SHA256 35c67f28ec13d705ac2a70ed619be191bfe98ad38eaa5f35dd5daa3320bdb276 SHA512 c08b89908f8ea33a0ae95f8981dc4d2117926468bc4772124cec61daa274cd5ce05421853c8c75bce9647d08ac4eb81b1958313b0550ff0328be6a812aabd29a WHIRLPOOL 9b6aff0cc6cbfde59fadc25e409f796a6a4762d20d489b7a30740c624900f5c0f018381379985880fe6bed89ec980545141e7de5826742a7837ff603e0a61cda diff --git a/media-plugins/vdr-exec/files/vdr-exec-0.0.3_compile-warnings.diff b/media-plugins/vdr-exec/files/vdr-exec-0.0.3_compile-warnings.diff new file mode 100644 index 000000000000..d0ffcc572b95 --- /dev/null +++ b/media-plugins/vdr-exec/files/vdr-exec-0.0.3_compile-warnings.diff @@ -0,0 +1,266 @@ +fix compile warnings depend on asprintf + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.or> (28 Jan 2011) + +diff -Naur exec-0.0.3.orig/compat.c exec-0.0.3/compat.c +--- exec-0.0.3.orig/compat.c 2011-01-28 21:51:24.000000000 +0100 ++++ exec-0.0.3/compat.c 2011-01-28 21:56:00.000000000 +0100 +@@ -76,7 +76,7 @@ + char res[1024]; /* have to fix this later! Risk */ + + memset(res,0,sizeof(res)); +- asprintf(&buf, "%s; echo $?", Command); ++ (0 < asprintf(&buf, "%s; echo $?", Command)); + if(pipe.Open(buf,"r")) { + while (fscanf (pipe,"%s",res) != EOF) { + /* searching for last arg only. */ +diff -Naur exec-0.0.3.orig/exec.c exec-0.0.3/exec.c +--- exec-0.0.3.orig/exec.c 2011-01-28 21:51:24.000000000 +0100 ++++ exec-0.0.3/exec.c 2011-01-28 21:58:18.000000000 +0100 +@@ -100,7 +100,7 @@ + bool cPluginExec::Start(void) + { + // Start any background activities the plugin shall perform. +- asprintf(&confdir, ConfigDirectory()); ++ (0 < asprintf(&confdir, ConfigDirectory())); + ExecTimers.Load(AddDirectory(confdir, "exectimers.conf")); + ExecTimers.Modified(myState); /* sync myState to ExecTimers.state */ + ExecLog.Load("/var/log/exec.log"); +@@ -236,7 +236,7 @@ + ReplyCode=501; /* syntax err */ + return "invalid timer"; + } +- asprintf(&buf, "%s\n",*et->ToSVDRDescr()); ++ (0 < asprintf(&buf, "%s\n",*et->ToSVDRDescr())); + ReplyCode=250; /* success */ + return cString(buf, true); + } +@@ -248,9 +248,9 @@ + cExecTimer *et = ExecTimers.Get(index); + if (et) { + if (! buf) +- asprintf(&buf,"%s\n", *et->ToSVDRDescr()); ++ (0 < asprintf(&buf,"%s\n", *et->ToSVDRDescr())); + else +- asprintf(&buf,"%s%s\n", buf, *et->ToSVDRDescr()); ++ (0 < asprintf(&buf,"%s%s\n", buf, *et->ToSVDRDescr())); + } + else { /* should never happen. */ + log(0, "cPluginExec::SVDRPCommand(%s, %s)", Command, Option); +@@ -317,9 +317,9 @@ + cExecTimer *et = ExecTimers.GetNextActiveTimer(); + ReplyCode=250; + if (et) +- asprintf(&buf,"next active timer %s", *et->ToSVDRDescr()); ++ (0 < asprintf(&buf,"next active timer %s", *et->ToSVDRDescr())); + else +- asprintf(&buf,"no active timers."); ++ (0 < asprintf(&buf,"no active timers.")); + return buf; + } + +@@ -328,9 +328,9 @@ + cExecTimer *et = ExecTimers.GetNextWakeupTimer(); + ReplyCode=250; + if (et) +- asprintf(&buf,"next wakeup timer %s", *et->ToSVDRDescr()); ++ (0 < asprintf(&buf,"next wakeup timer %s", *et->ToSVDRDescr())); + else +- asprintf(&buf,"no wakeup timers."); ++ (0 < asprintf(&buf,"no wakeup timers.")); + return buf; + } + +diff -Naur exec-0.0.3.orig/exectimer.c exec-0.0.3/exectimer.c +--- exec-0.0.3.orig/exectimer.c 2011-01-28 21:51:24.000000000 +0100 ++++ exec-0.0.3/exectimer.c 2011-01-28 22:02:28.000000000 +0100 +@@ -66,8 +66,8 @@ + + cExecTimer::cExecTimer(time_t StartTime, const char * Command, int TimeOut) { + startTime=StartTime; +- asprintf(&command,Command); +- asprintf(&wd_str,"AAAAAAA"); ++ (0 < asprintf(&command,Command)); ++ (0 < asprintf(&wd_str,"AAAAAAA")); + timeout = TimeOut; + active = true; + running = false; +@@ -146,47 +146,47 @@ + case ET_WARNING : Action=4; break; + default: Action=1; + } +- asprintf(&buffer,"%s:%s:%d:%d:%d:%d:%d:%s ", ++ (0 < asprintf(&buffer,"%s:%s:%d:%d:%d:%d:%d:%s ", + *PrintWeekdays(), *PrintTime(false), timeout, active?1:0, + Action, (flags & ET_WAKEUP)?1:0, (flags & ET_BACKGROUND)?1:0, +- command); ++ command)); + return cString(buffer, true); + } + + cString cExecTimer::PrintWeekdays() const { + char *buffer; + if (weekdays == WD_IGNORED) +- asprintf(&buffer, "%s", *PrintDay()); ++ (0 < asprintf(&buffer, "%s", *PrintDay())); + else +- asprintf(&buffer, "%s%s%s%s%s%s%s", ++ (0 < asprintf(&buffer, "%s%s%s%s%s%s%s", + (weekdays & WD_MONDAY)? "M":"-", + (weekdays & WD_TUESDAY)? "T":"-", + (weekdays & WD_WEDNESDAY)? "W":"-", + (weekdays & WD_THURSDAY)? "T":"-", + (weekdays & WD_FRIDAY)? "F":"-", + (weekdays & WD_SATURDAY)? "S":"-", +- (weekdays & WD_SUNDAY)? "S":"-"); ++ (weekdays & WD_SUNDAY)? "S":"-")); + return cString(buffer, true); + } + + cString cExecTimer::PrintDay() const { + char *buffer; + if (weekdays == WD_IGNORED) +- asprintf(&buffer, "%04d-%02d-%02d", ++ (0 < asprintf(&buffer, "%04d-%02d-%02d", + Day / 10000, + (Day % 10000) / 100, +- (Day % 10000) % 100); ++ (Day % 10000) % 100)); + else +- asprintf(&buffer, "----:--:--"); ++ (0 < asprintf(&buffer, "----:--:--")); + return cString(buffer, true); + } + + cString cExecTimer::PrintTime(bool colon) const { + char *buffer; +- asprintf(&buffer, "%02d%s%02d", ++ (0 < asprintf(&buffer, "%02d%s%02d", + Time / 100, + colon?":":"", +- Time % 100); ++ Time % 100)); + return cString(buffer, true); + } + +@@ -202,7 +202,7 @@ + + cString cExecTimer::Command() const { + char *buffer; +- asprintf(&buffer, "%s", command); ++ (0 < asprintf(&buffer, "%s", command)); + return cString(buffer, true); + } + +@@ -276,7 +276,7 @@ + return false; + } + if (command) free(command); +- asprintf(&command,"%s", CmdStr); ++ (0 < asprintf(&command,"%s", CmdStr)); + weekdays = WD_IGNORED; + switch (strlen(DayStr)) { + case 10: /* YYYY-MM-DD */ +@@ -466,7 +466,7 @@ + *****************************************************************************/ + + cExecLogLine::cExecLogLine(const char * Str) { +- asprintf(&str,Str); ++ (0 < asprintf(&str,Str)); + } + + cExecLogLine::~cExecLogLine() { +@@ -475,13 +475,13 @@ + + cString cExecLogLine::Text(void) const { + char *buffer; +- asprintf(&buffer, "%s", str); ++ (0 < asprintf(&buffer, "%s", str)); + return cString(buffer, true); + } + + bool cExecLogLine::Parse(const char * s) { + if (str) free(str); +- asprintf(&str,"%s", s); ++ (0 < asprintf(&str,"%s", s)); + return true; + } + +diff -Naur exec-0.0.3.orig/exectimer.h exec-0.0.3/exectimer.h +--- exec-0.0.3.orig/exectimer.h 2011-01-28 21:51:24.000000000 +0100 ++++ exec-0.0.3/exectimer.h 2011-01-28 22:03:35.000000000 +0100 +@@ -127,7 +127,7 @@ + cString PrintTime (bool colon = false) const; + cString Command () const; + void SetCommand (const char *cmd) +- { asprintf(&command,"%s",cmd); }; ++ { (0 < asprintf(&command,"%s",cmd)); }; + bool Execute (); + }; + +diff -Naur exec-0.0.3.orig/menu.c exec-0.0.3/menu.c +--- exec-0.0.3.orig/menu.c 2011-01-28 21:51:24.000000000 +0100 ++++ exec-0.0.3/menu.c 2011-01-28 22:05:23.000000000 +0100 +@@ -46,7 +46,7 @@ + } + if (toLog) { + char *msg; +- asprintf(&msg, "%s %s", timeStr, t); ++ (0 < asprintf(&msg, "%s %s", timeStr, t)); + ExecLog.AddToLog(msg); + free(msg); + } +@@ -102,7 +102,7 @@ + + void cMenuExecAbout::AddText(const char * s, const char * t) { + char * buf=NULL; +- asprintf(&buf, "%s %s", s, t); ++ (0 < asprintf(&buf, "%s %s", s, t)); + cOsdItem * osditem = new cOsdItem(buf); + Add(osditem); + free(buf); +@@ -111,7 +111,7 @@ + cMenuExecAbout::cMenuExecAbout() { + char * buf=NULL; + +- asprintf(&buf, "%s-%s", "exec", ExecVersion()); ++ (0 < asprintf(&buf, "%s-%s", "exec", ExecVersion())); + AddText(tr("Plugin:") , buf); + free(buf); + AddText(tr("Author:") , "Winfried Koehler"); +@@ -140,7 +140,7 @@ + + void cMenuExecLog::AddText(const char * s) { + char * buf=NULL; +- asprintf(&buf, "%s", s); ++ (0 < asprintf(&buf, "%s", s)); + cOsdItem * osditem = new cOsdItem(buf); + Add(osditem); + free(buf); +@@ -149,7 +149,7 @@ + cMenuExecLog::cMenuExecLog() { + char * buf=NULL; + for (cExecLogLine *line = ExecLog.First(); line; line = ExecLog.Next(line)) { +- asprintf(&buf, line->Text()); ++ (0 < asprintf(&buf, line->Text())); + AddText(buf); + free(buf); + } +@@ -239,7 +239,7 @@ + + void cMenuExecTimerItem::Set(void) { + char *buffer = NULL; +- asprintf(&buffer, "%c\t%s\t%s\t%s\t%s", ++ (0 < asprintf(&buffer, "%c\t%s\t%s\t%s\t%s", + ! et->isActive()?' ':et->isRunning()?'#':'>', + *et->PrintWeekdays(), + *et->PrintTime(), +@@ -247,7 +247,7 @@ + (et->Flags() & ET_SHUTDOWN)?"shutdown": + (et->Flags() & ET_MESSAGE)?"message": + (et->Flags() & ET_WARNING)?"warning":"unknown", +- *et->Command()); ++ *et->Command())); + SetText(buffer, false); + } + diff --git a/media-plugins/vdr-exec/metadata.xml b/media-plugins/vdr-exec/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-exec/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-exec/vdr-exec-0.0.3.ebuild b/media-plugins/vdr-exec/vdr-exec-0.0.3.ebuild new file mode 100644 index 000000000000..c5f7924b2704 --- /dev/null +++ b/media-plugins/vdr-exec/vdr-exec-0.0.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Exec commands like timers at defined times" +HOMEPAGE="http://wirbel.htpc-forum.de/exec/index2.html" +SRC_URI="http://wirbel.htpc-forum.de/exec/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_compile-warnings.diff" ) diff --git a/media-plugins/vdr-extb/Manifest b/media-plugins/vdr-extb/Manifest new file mode 100644 index 000000000000..58fe44fbf50a --- /dev/null +++ b/media-plugins/vdr-extb/Manifest @@ -0,0 +1,3 @@ +DIST extb.tar.gz 45417 SHA256 9a9b873a3b04d32da164f5c8199ddaa1ce67a824d40ed3653c2d79e879739345 +DIST extb_firmware_1.08_lircd.conf.zip 8197 SHA256 149021182aadc3d1b62b81c4fe4a5d12f467a1762e3a5dd5e1619ce52db029b3 +DIST vdr-extb-0.3.1.tar.gz 53136 SHA256 4473fb52f4b284e23c47facbc240289340ee0109e89887d6cfb9b62b31a4b37e diff --git a/media-plugins/vdr-extb/files/vdr-extb-0.3.1-gentoo.diff b/media-plugins/vdr-extb/files/vdr-extb-0.3.1-gentoo.diff new file mode 100644 index 000000000000..84169755a93c --- /dev/null +++ b/media-plugins/vdr-extb/files/vdr-extb-0.3.1-gentoo.diff @@ -0,0 +1,71 @@ +diff -ur extb.orig/bin/extb.sh extb/bin/extb.sh +--- extb.orig/bin/extb.sh 2004-05-05 17:38:29.000000000 +0200 ++++ extb/bin/extb.sh 2004-07-19 22:19:49.459865904 +0200 +@@ -10,17 +10,11 @@ + trap 'rm /tmp/tmp{1,2,3}.$$; exit 0' 2 15 + + #Defaults +-SCRIPT_PATH="/opt/extb/bin/" +-LINPIC_PATH="/opt/extb/bin/" +-HEX_FILES_PATH="/opt/extb/src/PIC/firm/" +-LIRCD_CMD="lircd" +-IREXEC_CMD="irexec" ++SCRIPT_PATH="/usr/bin/" ++LINPIC_PATH="/usr/bin/" ++HEX_FILES_PATH=/usr/share/extb/" + SETSERIAL_CMD="setserial" +-LIRC_CONF="/etc/lircd.conf" +-LIRC_RC="/etc/lircrc" + COM_PORT="/dev/ttyS1" +-VDR_PATH="/VDR/1.2.5/VDR/" +-VDR_CMD="./runvdr" + + # ----------------------------------------------------------------------------- + +@@ -329,7 +323,7 @@ + ;; + + 1) +- cp /tmp/PICflags PICflags.conf ++ cp /tmp/PICflags /etc/extb/PICflags.conf + _MAIN + ;; + +@@ -477,7 +471,8 @@ + 0) + tx.sh M2 # sending M2 to Extension Board to disable video/audio + clear +- killall irexec; killall lircd ++ /etc/init.d/irexec stop ++ /etc/init.d/lircd stop + sleep 1 + $SETSERIAL_CMD $COM_PORT uart 16550 + sleep 1 +@@ -487,14 +482,15 @@ + echo "" + $SETSERIAL_CMD $COM_PORT uart none + sleep 1 +- $LIRCD_CMD $LIRC_CONF; $IREXEC_CMD $LIRC_RC & ++ /etc/init.d/lircd start ++ /etc/init.d/irexc start + echo "" + echo "Stopping VDR ..." +- killall vdr ++ /etc/init.d/vdr stop + sleep 1 + echo "" + echo "Restarting VDR ..." +- cd $VDR_PATH; $VDR_CMD ++ rcvdr start + cd $SCRIPT_PATH + echo "" + # just in case the Extension Board plugin is not installed ... +diff -ur extb.orig/bin/tx.sh extb/bin/tx.sh +--- extb.orig/bin/tx.sh 2004-04-12 18:23:16.000000000 +0200 ++++ extb/bin/tx.sh 2004-07-19 22:17:08.373354776 +0200 +@@ -1,2 +1,2 @@ + #!/bin/bash +-rc send_once EXTB_TX $1 +\ No newline at end of file ++irsend send_once EXTB_TX $1 +\ No newline at end of file diff --git a/media-plugins/vdr-extb/files/vdr-extb-0.3.1_vdr-1.7.13.diff b/media-plugins/vdr-extb/files/vdr-extb-0.3.1_vdr-1.7.13.diff new file mode 100644 index 000000000000..b9fdd2051178 --- /dev/null +++ b/media-plugins/vdr-extb/files/vdr-extb-0.3.1_vdr-1.7.13.diff @@ -0,0 +1,25 @@ +http://toms-cafe.de/vdr/download/extb-0.3.1-vdr-1.7.13.diff +compile fix up from vdr-1.7.13 + +--- extb-0.3.1/extboardio.c ++++ extb-0.3.1/extboardio.c +@@ -361,10 +361,16 @@ void cExtBoardIO::Channel(int nChannelNu + m_nChannel |= (0 != pChannel->Tpid()) ?eHasTpid:0; + + if(pChannel->IsSat()) { ++#if VDRVERSNUM >= 10713 ++ cDvbTransponderParameters dtp(pChannel->Parameters()); ++ char polarization = dtp.Polarization(); ++#else ++ char polarization = pChannel->Polarization(); ++#endif + m_nChannel |= eIsSourceSat; +- if (toupper(pChannel->Polarization()) == 'V') ++ if (toupper(polarization) == 'V') + m_nChannel |= eIsSatVPolar; +- if (toupper(pChannel->Polarization()) == 'H') ++ if (toupper(polarization) == 'H') + m_nChannel |= eIsSatHPolar; + } + else if(pChannel->IsCable()) + diff --git a/media-plugins/vdr-extb/metadata.xml b/media-plugins/vdr-extb/metadata.xml new file mode 100644 index 000000000000..4c7ba1e416d5 --- /dev/null +++ b/media-plugins/vdr-extb/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>VDR plugin to rename records on OSD</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild b/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild new file mode 100644 index 000000000000..8338a703a281 --- /dev/null +++ b/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: used to control the VDR Extension Board" +HOMEPAGE="http://www.deltab.de/content/view/74/76/" +SRC_URI="http://www.deltab.de/component/option,com_docman/task,doc_download/gid,102/ -> "${P}".tar.gz + mirror://vdrfiles/${PN}/extb_firmware_1.08_lircd.conf.zip + mirror://vdrfiles/${PN}/extb.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0 + app-misc/lirc" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "${WORKDIR}"/extb/src/LinPIC/Makefile \ + -e "s:\$(LDLIBS):\$(LDFLAGS) \$(LDLIBS):" + + cd "${WORKDIR}" + epatch "${FILESDIR}/${P}-gentoo.diff" + epatch "${FILESDIR}/${P}_vdr-1.7.13.diff" +} + +src_compile() { + vdr-plugin-2_src_compile + + emake -C "${WORKDIR}/extb/src/LinPIC" all +} +src_install() { + vdr-plugin-2_src_install + + dodoc README.de + dodoc "${WORKDIR}/lircd.conf.extb_FW1.08" + docinto wakeup + dodoc "${S}/wakeup/README.de" + + dobin "${WORKDIR}/extb/src/LinPIC/picdl" + dobin "${WORKDIR}/extb/bin/extb.sh" + dobin "${WORKDIR}/extb/bin/status.sh" + dobin "${WORKDIR}/extb/bin/tx.sh" + dobin "${S}/wakeup/extb-poweroff.pl" + dobin "${S}/wakeup/examples/checkscript.sh" + + insinto /usr/share/extb/ + doins "${WORKDIR}/extb_1.08.hex" + + insinto /etc/extb + doins "${WORKDIR}/extb/bin/PICflags.conf" + doins "${S}/wakeup/examples/extb-poweroff.conf" +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo + einfo "You need to upload the included firmware (1.08)" + einfo "(you will find it in /usr/share/extb/)" + einfo "into the extension board and update your lircd.conf" + einfo "See the supplied lircd.conf.extb_FW1.08 in" + einfo "/usr/share/doc/vdrplugin-extb" +} diff --git a/media-plugins/vdr-extrecmenu/Manifest b/media-plugins/vdr-extrecmenu/Manifest new file mode 100644 index 000000000000..22935713ed92 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/Manifest @@ -0,0 +1,3 @@ +DIST dvdarchive-2.3-beta.sh.gz 3412 SHA256 e8df7ea215e8a856cef1c03373d419c24ddace5c63f780282cbc6b18679000bd SHA512 18262b1e6749961bae37894649f518f88ad2ca100b83965eb48ce7344bbf4f7bfac9d36c9b9d91744281c00c4b89fa49209cc98ca5d848b46225facf4ef7a48f WHIRLPOOL fcc459d67ee33080af5a3079b4238d203c27b1dcc62af5b0c06b63082bb881462a47e1b97afc43865f250e86dce7cd12e122de83bf30edd0ccdda71fc22020b6 +DIST vdr-extrecmenu-1.2.2.tgz 734012 SHA256 ac920ee4c43497958ca158d2b81490208cd5caf92545ce809adb8a73f71dfe5e SHA512 071fd3c1d44afe17081ff2cdd747555d4218cffa2fd101ffa9c77b81376114af829bf58ce2f70f74eb7eb1090699b6a85a8e7105e3bf748ee7e8cb39ebee4f3c WHIRLPOOL 0f5504665e901bd24639682f5869f82af8ea9346013c8b66e5da5bd22ea3f927594334cf7ec53e2659caf0f420aae7e0949065807139166908fdaf5c6e9fd402 +DIST vdr-extrecmenu-1.2.4.tgz 731823 SHA256 9e96eb36576f59525183ebe0aca4e899aa2f8f9ce34c4b293a0a605508ca2074 SHA512 a750c6ad244e2afd3f04cafe634ec3c58baf4a38a809121a7c9045c327b4f10cb28b7aab4b7bd0e86d0b7febf85cc7fbc258bdd83386a60ddfe748347192f592 WHIRLPOOL 8715f24c53eab99f60ad33d8de62a0f8d5da196be95f0054a4dbec093bc2bf00c9578466d5e4aef8049c360b084277d90c56dcb2eff724896f4501d020078b01 diff --git a/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch b/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch new file mode 100644 index 000000000000..723610e8c58e --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch @@ -0,0 +1,13 @@ +--- dvdarchive-2.3-beta.sh 2009-10-06 16:23:20.000000000 +0200 ++++ dvdarchive-2.3-beta.sh 2009-10-06 17:32:43.000000000 +0200 +@@ -118,6 +118,10 @@ + DEBUGLOG="/tmp/dvdarchive.sh-debug.log" + + #</Configuration> ++ ++# read config file ++. /etc/vdr/dvdarchive.conf ++ + # + # No changes needed after this mark + diff --git a/media-plugins/vdr-extrecmenu/files/dvdarchive.conf b/media-plugins/vdr-extrecmenu/files/dvdarchive.conf new file mode 100644 index 000000000000..e404f8160699 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/dvdarchive.conf @@ -0,0 +1,23 @@ +# config file for /usr/bin/dvdarchive.sh +# this is used by vdr-extrecmenu for dvdarchives + +# Mountpoint, the same as in fstab +MOUNTPOINT="/mnt/cdrom" # no trailing '/' + +# Eject DVD for exit-codes 2 and 3 (no or wrong dvd). 1 = yes, 0 = no. +EJECTWRONG=1 + +# Eject DVD after unmounting. 1 = yes, 0 = no. +EJECTUMOUNT=0 + +# Log warnings/errors in syslog. 1 = yes, 0 = no. +SYSLOG=1 + +# Create a length.vdr after mounting the dvd for the played recording. 1 = yes, 0 = no. +# Only for non-vfat and with index.vdr only on dvd. +GETLENGTH=1 + +# Put debug infos in file $DEBUGLOG. Only if $DEBUG=1. +DEBUG=0 +DEBUGLOG="/tmp/dvdarchive.sh-debug.log" + diff --git a/media-plugins/vdr-extrecmenu/files/extrecmenu.mk b/media-plugins/vdr-extrecmenu/files/extrecmenu.mk new file mode 100644 index 000000000000..88635193eff2 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/extrecmenu.mk @@ -0,0 +1,128 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = extrecmenu + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +ifdef USE_PINPLUGIN +DEFINES += -DUSE_PINPLUGIN +endif + +DEFINES += -DUSE_VDR_CUTTER + +### The object files (add further files here): + +OBJS = $(PLUGIN).o mymenurecordings.o mymenueditrecording.o myreplaycontrol.o mymenucommands.o mymenusetup.o tools.o + +### The main target: + +all: $(SOFILE) i18n + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-extrecmenu/files/vdr-1.7.27.diff b/media-plugins/vdr-extrecmenu/files/vdr-1.7.27.diff new file mode 100644 index 000000000000..7da091713d57 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/vdr-1.7.27.diff @@ -0,0 +1,98 @@ +diff -Naur extrecmenu-1.2.1.orig/mymenueditrecording.c extrecmenu-1.2.1/mymenueditrecording.c +--- extrecmenu-1.2.1.orig/mymenueditrecording.c 2012-04-07 09:48:21.000000000 +0200 ++++ extrecmenu-1.2.1/mymenueditrecording.c 2012-04-07 09:52:03.000000000 +0200 +@@ -500,8 +500,8 @@ + myMenuRecordingDetails::myMenuRecordingDetails(cRecording *Recording):cOsdMenu(tr("Details"),12) + { + recording=Recording; +- priority=recording->priority; +- lifetime=recording->lifetime; ++ priority=recording->Priority(); ++ lifetime=recording->Lifetime(); + + Add(new cMenuEditIntItem(trVDR("Priority"),&priority,0,MAXPRIORITY)); + Add(new cMenuEditIntItem(trVDR("Lifetime"),&lifetime,0,MAXLIFETIME)); +@@ -514,7 +514,10 @@ + { + if(Key==kOk) + { +- if((priority!=recording->priority)||(lifetime!=recording->lifetime)) ++ int old_priority = recording->Priority(); ++ int old_lifetime = recording->Lifetime(); ++ if((priority!=old_priority)||(lifetime!=old_lifetime)) ++// if((priority!=recording->priority)||(lifetime!=recording->lifetime)) + { + #if VDRVERSNUM > 10713 + if(recording->IsPesRecording()) +diff -Naur extrecmenu-1.2.1.orig/tools.c extrecmenu-1.2.1/tools.c +--- extrecmenu-1.2.1.orig/tools.c 2012-04-07 09:48:21.000000000 +0200 ++++ extrecmenu-1.2.1/tools.c 2012-04-07 09:56:33.000000000 +0200 +@@ -456,7 +456,7 @@ + if(!(fromfile=fromfilename->Open()) || !(tofile=tofilename->Open())) + return; + fromfile->SetReadAhead(MEGABYTE(20)); +- index=mark->position; ++ index=mark->Position(); + mark=frommarks.Next(mark); + tomarks.Add(0); + tomarks.Save(); +@@ -542,8 +542,8 @@ + filesize+=length; + if(!lastiframe) + lastiframe=toindex->Last(); +- +- if(mark && index >= mark->position) ++ ++ if(mark && index >= mark->Position()) + { + mark=frommarks.Next(mark); + tomarks.Add(lastiframe); +@@ -552,7 +552,7 @@ + tomarks.Save(); + if(mark) + { +- index=mark->position; ++ index=mark->Position(); + mark=frommarks.Next(mark); + currentfilenumber=0; + cutin=true; +diff -Naur extrecmenu-1.2.1.orig/mymenurecordings.c extrecmenu-1.2.1/mymenurecordings.c +--- extrecmenu-1.2.1.orig/mymenurecordings.c 2012-04-07 10:08:35.000000000 +0200 ++++ extrecmenu-1.2.1/mymenurecordings.c 2012-04-07 10:17:19.000000000 +0200 +@@ -66,7 +66,9 @@ + else + { + stringstream text; +- text << *DateString(recording->start) << ", " << *TimeString(recording->start) << "\n\n"; ++// text << *DateString(recording->start) << ", " << *TimeString(recording->start) << "\n\n"; ++ time_t start = recording->Start(); ++ text << *DateString(start) << ", " << *TimeString(start) << "\n\n"; + + if(recording->Info()->Title()) + { +@@ -95,8 +97,12 @@ + else + text << tr("Size") << ": " << recmb << " MB\n"; + +- text << trVDR("Priority") << ": " << recording->priority << "\n"; +- text << trVDR("Lifetime") << ": " << recording->lifetime << "\n"; ++// text << trVDR("Priority") << ": " << recording->priority << "\n"; ++// text << trVDR("Lifetime") << ": " << recording->lifetime << "\n"; ++ int prio = recording->Priority(); ++ int lft = recording->Lifetime(); ++ text << trVDR("Priority") << ": " << prio << "\n"; ++ text << trVDR("Lifetime") << ": " << lft << "\n"; + + DisplayMenu()->SetText(text.str().c_str(),false); + cStatus::MsgOsdTextItem(text.str().c_str()); +@@ -192,7 +198,9 @@ + + // date and time of recording + struct tm tm_r; +- struct tm *t=localtime_r(&Recording->start,&tm_r); ++// struct tm *t=localtime_r(&Recording->start,&tm_r); ++ time_t start = Recording->Start(); ++ struct tm *t=localtime_r(&start,&tm_r); + + idbuffer << t->tm_mday << t->tm_mon << t->tm_year + << t->tm_hour << t->tm_min; diff --git a/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.2_vdr-2.1.2.diff b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.2_vdr-2.1.2.diff new file mode 100644 index 000000000000..b1f4d391a44a --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2.2_vdr-2.1.2.diff @@ -0,0 +1,167 @@ +diff -Naur extrecmenu-1.2.2.orig/mymenueditrecording.c extrecmenu-1.2.2/mymenueditrecording.c +--- extrecmenu-1.2.2.orig/mymenueditrecording.c 2013-10-23 13:14:38.010071212 +0200 ++++ extrecmenu-1.2.2/mymenueditrecording.c 2013-10-23 13:21:12.560096164 +0200 +@@ -76,7 +76,11 @@ + + if(isdir) + { ++#if APIVERSNUM > 20101 ++ if(-1==asprintf(&oldname,"%s%s%s/%s",cVideoDirectory::Name(),tmppath?"/":"",dirbase?dirbase:"",dirname)) ++#else + if(-1==asprintf(&oldname,"%s%s%s/%s",VideoDirectory,tmppath?"/":"",dirbase?dirbase:"",dirname)) ++#endif + oldname=NULL; + } + else +@@ -84,7 +88,11 @@ + + if(oldname) + { ++#if APIVERSNUM > 20101 ++ if(-1==asprintf(&newname,"%s%s%s/%s%s",cVideoDirectory::Name(),tmppath?"/":"",tmppath?tmppath:"",tmpname,isdir?"":strrchr(recording->FileName(),'/'))) ++#else + if(-1==asprintf(&newname,"%s%s%s/%s%s",VideoDirectory,tmppath?"/":"",tmppath?tmppath:"",tmpname,isdir?"":strrchr(recording->FileName(),'/'))) ++#endif + newname=NULL; + + if(newname) +@@ -305,7 +313,11 @@ + + if(dirname) + { ++#if APIVERSNUM > 20101 ++ if(-1==asprintf(&oldname,"%s%s%s/%s",cVideoDirectory::Name(),dirbase?"/":"",tmpdirbase?tmpdirbase:"",tmpdirname)) ++#else + if(-1==asprintf(&oldname,"%s%s%s/%s",VideoDirectory,dirbase?"/":"",tmpdirbase?tmpdirbase:"",tmpdirname)) ++#endif + oldname=NULL; + } + else +@@ -357,7 +369,11 @@ + if(dir) + dir=ExchangeChars(dir,true); + ++#if APIVERSNUM > 20101 ++ if(-1==asprintf(&_newname,"%s%s%s%s",cVideoDirectory::Name(),dir?"/":"",dir?dir:"",strrchr(dirname?oldname:recording->FileName(),'/'))) ++#else + if(-1==asprintf(&_newname,"%s%s%s%s",VideoDirectory,dir?"/":"",dir?dir:"",strrchr(dirname?oldname:recording->FileName(),'/'))) ++#endif + _newname=NULL; + + if(_newname) +@@ -424,7 +440,11 @@ + { + if(!strncmp(oldname,rec->FileName(),strlen(oldname))) + { ++#if APIVERSNUM > 20101 ++ char *_buf=ExchangeChars(strdup(oldname+strlen(cVideoDirectory::Name())+1),false); ++#else + char *_buf=ExchangeChars(strdup(oldname+strlen(VideoDirectory)+1),false); ++#endif + + if(strcmp(rec->Name(),_buf)) + { +diff -Naur extrecmenu-1.2.2.orig/mymenurecordings.c extrecmenu-1.2.2/mymenurecordings.c +--- extrecmenu-1.2.2.orig/mymenurecordings.c 2013-10-23 13:14:38.010071212 +0200 ++++ extrecmenu-1.2.2/mymenurecordings.c 2013-10-23 13:27:17.916785937 +0200 +@@ -590,7 +590,11 @@ + { + if(mysetup.FileSystemFreeMB) + { ++#if APIVERSNUM > 20101 ++ string path=cVideoDirectory::Name(); ++#else + string path=VideoDirectory; ++#endif + path+="/"; + char *tmpbase=base?ExchangeChars(strdup(base),true):NULL; + if(base) +@@ -634,7 +638,11 @@ + else + { + int freemb; ++#if APIVERSNUM > 20101 ++ cVideoDirectory::VideoDiskSpace(&freemb); ++#else + VideoDiskSpace(&freemb); ++#endif + return freemb; + } + +@@ -747,7 +755,11 @@ + for(cRecording *recording=Recordings.First();recording;recording=Recordings.Next(recording)) + list->Add(new myRecListItem(recording)); + // sort my recordings list ++#if APIVERSNUM > 20101 ++ string path=cVideoDirectory::Name(); ++#else + string path=VideoDirectory; ++#endif + path+="/"; + if(base) + path+=base; +@@ -1211,7 +1223,11 @@ + { + char *strBase=base?ExchangeChars(strdup(base), true):NULL; + char *strName=ExchangeChars(strdup(item->Name()), true); ++#if APIVERSNUM > 20101 ++ if(-1==asprintf(¶meter,"\"%s/%s/%s\"",cVideoDirectory::Name(),strBase?strBase:"", strName)) ++#else + if(-1==asprintf(¶meter,"\"%s/%s/%s\"",VideoDirectory,strBase?strBase:"", strName)) ++#endif + parameter=NULL; + free(strBase); + free(strName); +@@ -1235,7 +1251,11 @@ + // change sorting + eOSState myMenuRecordings::ChangeSorting() + { ++#if APIVERSNUM > 20101 ++ string path=cVideoDirectory::Name(); ++#else + string path=VideoDirectory; ++#endif + path+="/"; + if(base) + path+=base; +diff -Naur extrecmenu-1.2.2.orig/tools.c extrecmenu-1.2.2/tools.c +--- extrecmenu-1.2.2.orig/tools.c 2013-10-23 13:14:38.010071212 +0200 ++++ extrecmenu-1.2.2/tools.c 2013-10-23 13:36:56.026822499 +0200 +@@ -152,7 +152,11 @@ + { + if(!strncmp(OldName,item->recording->FileName(),strlen(OldName))) + { ++#if APIVERSNUM > 20101 ++ buf=strdup(OldName+strlen(cVideoDirectory::Name())+1); ++#else + buf=strdup(OldName+strlen(VideoDirectory)+1); ++#endif + if(buf) + { + buf=ExchangeChars(buf,false); +@@ -240,8 +244,13 @@ + { + myRecListItem *item=(myRecListItem*)&ListObject; + ++#if APIVERSNUM > 20101 ++ char *s1=StripEpisodeName(strdup(filename+strlen(cVideoDirectory::Name()))); ++ char *s2=StripEpisodeName(strdup(item->filename+strlen(cVideoDirectory::Name()))); ++#else + char *s1=StripEpisodeName(strdup(filename+strlen(VideoDirectory))); + char *s2=StripEpisodeName(strdup(item->filename+strlen(VideoDirectory))); ++#endif + + int compare; + if(mysetup.DescendSorting) +@@ -699,7 +708,11 @@ + + isyslog("[extrecmenu] moving canceled"); + ++#if APIVERSNUM > 20101 ++ cVideoDirectory::RemoveVideoFile(To.c_str()); ++#else + RemoveVideoFile(To.c_str()); ++#endif + + return true; + } diff --git a/media-plugins/vdr-extrecmenu/metadata.xml b/media-plugins/vdr-extrecmenu/metadata.xml new file mode 100644 index 000000000000..4c7ba1e416d5 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>VDR plugin to rename records on OSD</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r2.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r2.ebuild new file mode 100644 index 000000000000..5f01ab76d478 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r2.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 vdr-plugin-2 + +VERSION="936" #every bump, new version + +DVDARCHIVE="dvdarchive-2.3-beta.sh" + +DESCRIPTION="VDR Plugin: Extended recordings menu" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-extrecmenu" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz + mirror://gentoo/${DVDARCHIVE}.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +src_prepare() { + + cd "${WORKDIR}" + epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch" + + cd "${S}" + if grep -q fskProtection /usr/include/vdr/timers.h; then + einfo "Enabling parentalrating option" + sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile + fi + + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.28"; then + sed -i "s:SetRecording(recording->FileName(),recording->Title:SetRecording(recording->FileName:" mymenurecordings.c + fi + + if has_version ">=media-video/vdr-1.7.32"; then + export EXTRECMENU_USE_VDR_CUTTER=1 + einfo "disabled plugin cutter" + einfo "plugin use now the vdr included cutter" + fi + + epatch "${FILESDIR}/${P}_vdr-2.1.2.diff" +} + +src_install() { + vdr-plugin-2_src_install + + cd "${WORKDIR}" + newbin ${DVDARCHIVE} dvdarchive.sh + + insinto /etc/vdr + doins "${FILESDIR}"/dvdarchive.conf +} diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.4.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.4.ebuild new file mode 100644 index 000000000000..1168f1ba6ac8 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1783" #every bump, new version + +DVDARCHIVE="dvdarchive-2.3-beta.sh" + +DESCRIPTION="VDR Plugin: Extended recordings menu" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-extrecmenu" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz + mirror://gentoo/${DVDARCHIVE}.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" + +src_prepare() { + rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + cp "${FILESDIR}"/extrecmenu.mk "${S}"/Makefile + + cd "${WORKDIR}" + epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch" + + vdr-plugin-2_src_prepare +} + +src_install() { + vdr-plugin-2_src_install + + cd "${WORKDIR}" + newbin ${DVDARCHIVE} dvdarchive.sh + + insinto /etc/vdr + doins "${FILESDIR}"/dvdarchive.conf +} diff --git a/media-plugins/vdr-femon/Manifest b/media-plugins/vdr-femon/Manifest new file mode 100644 index 000000000000..f6785a9086f8 --- /dev/null +++ b/media-plugins/vdr-femon/Manifest @@ -0,0 +1,3 @@ +DIST vdr-femon-2.0.4.tgz 83985 SHA256 76fd4c8225a67003b2ea4ce349732e53acaf889def64dcabe65c41f5bd9561a4 SHA512 6d4de8ed0bd19984148f5b09e1bc86afea7153d45a62f44cfd6679804b14aa661d29fe8fd8e584fba4c7b5987adf3891ffbc12601bf7afa9325dabdb620f4ca8 WHIRLPOOL c3f66acc779d66c19064f475bf834a4722920f868abeb23de86b61233a99e89e43be364b0f63e5d391929ad0ef1d3fef99565eda4b325a41e4463a09ce637175 +DIST vdr-femon-2.1.1.tgz 84165 SHA256 15fd4f26c8b8987b826ced60cbfb77517c028bf5c2536118d63a1a03eb767e2f SHA512 a0893619b2e55d537b7362dc33a125abdf19ccbcf5d4b7633a2ed4741fd9a9b12496b5e83259491cc02f542071922b547d605ed1b41ac237e03c5f770c07b956 WHIRLPOOL efb15ce1a670b65f14f00013ec63e3f778cf4eb0bcc0af1f2e5753c44e0be221362c594d04e43ef0310939828a7dbb0fc3667a30113d960b1f87f83fef049f6e +DIST vdr-femon-2.2.0.tgz 84268 SHA256 226406ee222e86f9eb97beb6f8577d9d107d399a7bcdf9788103ee5418ec96e4 SHA512 0ab32fc1021efe21d3190d76f75956b5ffb2f94fdae1373cc08899ff0b035d1ee008a87c6a4af415e366c0188b16a9d49852bec527ac616c06ec27fed4d98861 WHIRLPOOL efa6192a8c48c7e343121909dfb75a66d05f45b11d3ce24cb1a94612857461fa5b9c26d24b180e1f65118c052f45f88194ca3f5cab422be8e536444a7ad78b4d diff --git a/media-plugins/vdr-femon/metadata.xml b/media-plugins/vdr-femon/metadata.xml new file mode 100644 index 000000000000..8614b9d10e01 --- /dev/null +++ b/media-plugins/vdr-femon/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>vdr Plugin: DVB Frontend Status Monitor (signal strengt/noise)</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-femon/vdr-femon-2.0.4.ebuild b/media-plugins/vdr-femon/vdr-femon-2.0.4.ebuild new file mode 100644 index 000000000000..ac02abc7040a --- /dev/null +++ b/media-plugins/vdr-femon/vdr-femon-2.0.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: DVB Frontend Status Monitor (signal strengt/noise)" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/femon/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-femon/vdr-femon-2.1.1.ebuild b/media-plugins/vdr-femon/vdr-femon-2.1.1.ebuild new file mode 100644 index 000000000000..c5ed9a42da1a --- /dev/null +++ b/media-plugins/vdr-femon/vdr-femon-2.1.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: DVB Frontend Status Monitor (signal strengt/noise)" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/femon/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.1.6" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-femon/vdr-femon-2.2.0.ebuild b/media-plugins/vdr-femon/vdr-femon-2.2.0.ebuild new file mode 100644 index 000000000000..89f1383cdb2a --- /dev/null +++ b/media-plugins/vdr-femon/vdr-femon-2.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: DVB Frontend Status Monitor (signal strengt/noise)" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/femon/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-fepg/Manifest b/media-plugins/vdr-fepg/Manifest new file mode 100644 index 000000000000..5853b49fcef7 --- /dev/null +++ b/media-plugins/vdr-fepg/Manifest @@ -0,0 +1 @@ +DIST vdr-fepg-0.4.1.tgz 43251 SHA256 ba1055219d9ab1615e603bc34ac90d75abc4734a5498573c366038664348b2e2 SHA512 443fbaf87e5249d0470797697144bddd63c9992fe050f1aca15efb0c3a620c14523703aaf5731ac7f9247da3c2e05f8473850055defeaa78f87c728cd3772daf WHIRLPOOL 301689ebf6c2516f2c834a743dfc91a71f48c9a93e3df1f9f7044ca7e82b4efce5a6f449d20306b3ff072bfc27948d27a155358fa4a91b816a6d50f4a49ba7b8 diff --git a/media-plugins/vdr-fepg/metadata.xml b/media-plugins/vdr-fepg/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-fepg/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-fepg/vdr-fepg-0.4.1.ebuild b/media-plugins/vdr-fepg/vdr-fepg-0.4.1.ebuild new file mode 100644 index 000000000000..8d8cd4dccd17 --- /dev/null +++ b/media-plugins/vdr-fepg/vdr-fepg-0.4.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: show epg of multiple channels graphically" +HOMEPAGE="http://www.fepg.org/" +SRC_URI="http://www.fepg.org/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.36" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-ffnetdev/Manifest b/media-plugins/vdr-ffnetdev/Manifest new file mode 100644 index 000000000000..22ecf4ebc18f --- /dev/null +++ b/media-plugins/vdr-ffnetdev/Manifest @@ -0,0 +1 @@ +DIST vdr-ffnetdev-0.1.2.tar.bz2 56059 SHA256 cf9bd65d3f475963ddd78133d8fbc3678383fef99259b975b6a073debce1bc8a SHA512 5583a0c1ea7a421a745704a4440f25c9b35ed72686baeacaa67324e0c1a51f7a4a2d0ff4840ffb0b7086b4d310f48141cd001889692a1c1987a246d999c9afd6 WHIRLPOOL f77b7a0f2f5eb56a1e2e0ff6dd31c3b8c953fcec82f3eb0b9ac7cc1a0b2bb9385046220e2125a8694e442dd7da0461548d6bb848edd07ab6a269c803bded1862 diff --git a/media-plugins/vdr-ffnetdev/files/confd b/media-plugins/vdr-ffnetdev/files/confd new file mode 100644 index 000000000000..8533dd415d4f --- /dev/null +++ b/media-plugins/vdr-ffnetdev/files/confd @@ -0,0 +1,38 @@ +# /etc/conf.d/vdr.ffnetdev +# $Id$ + +## listen on this port for OSD connect +# available Parameter are portnumber +# default port 20001 +# +#VNC_PORT="20001" +# +## enable VNC +# available Parameter yes | no +# +USE_VNC="no" + + +## port number for sending TS +# available Parameter ar portnumber +# default port 20002 +# +#TS_PORT="20002" +# +## anable TS +# availabel Parameter yes | no +# +USE_TS="no" + +## enable remote control over OSD connection +# available parameter yes | no +# default no +# +REMOTE="no" + +## Detail from README +# +# Option registers a new remote control object causing VDR to start the +# learning procedure for this new remote control if you start +# VDR and the ffnetdev plugin for the first time. +# If you want to control VDR over SVDRP you can simply leave it.
\ No newline at end of file diff --git a/media-plugins/vdr-ffnetdev/files/rc-addon.sh b/media-plugins/vdr-ffnetdev/files/rc-addon.sh new file mode 100644 index 000000000000..e6222962992c --- /dev/null +++ b/media-plugins/vdr-ffnetdev/files/rc-addon.sh @@ -0,0 +1,19 @@ +# $Id$ +# +# rc-addon-script for plugin ffnetdev +# +# Joerg Bornkessel <hd_brummy@gentoo.org> + +: ${VNC_PORT:=20001} +: ${TS_PORT:=20002} + +plugin_pre_vdr_start() { + + [ "${USE_VNC}" = "yes" ] && add_plugin_param "-o ${VNC_PORT}" + + [ "${USE_TS}" = "yes" ] && add_plugin_param "-t ${TS_PORT}" + + [ "${REMOTE}" = "yes" ] && add_plugin_param "-e" + + return 0 +} diff --git a/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff new file mode 100644 index 000000000000..061ac40bcede --- /dev/null +++ b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff @@ -0,0 +1,126 @@ +converting to gettext +https://bugs.gentoo.org/show_bug.cgi?id=439970 +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> +diff -Naur vdr-ffnetdev-0.1.2.orig/ffnetdev.c vdr-ffnetdev-0.1.2/ffnetdev.c +--- vdr-ffnetdev-0.1.2.orig/ffnetdev.c 2012-10-31 18:32:09.000000000 +0100 ++++ vdr-ffnetdev-0.1.2/ffnetdev.c 2012-10-31 18:34:05.000000000 +0100 +@@ -10,7 +10,7 @@ + + #include <vdr/tools.h> + +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "tsworker.h" + #include "netosd.h" + #include "ffnetdev.h" +@@ -22,7 +22,7 @@ + + + const char *cPluginFFNetDev::VERSION = "0.1.2"; +-const char *cPluginFFNetDev::DESCRIPTION = "Full Featured Network Device for Streaming"; ++const char *cPluginFFNetDev::DESCRIPTION = trNOOP("Full Featured Network Device for Streaming"); + //const char *cOSDWorker::MAINMENUENTRY = "FFNetDev"; + + // --- cNetOSDProvider ----------------------------------------------- +@@ -163,9 +163,6 @@ + bool cPluginFFNetDev::Start(void) + { + // Start any background activities the plugin shall perform. +- RegisterI18n(Phrases); +- +- + cOSDWorker::Init(OSDPort, this); + cTSWorker::Init(m_StreamDevice, TSPort, this); + cClientControl::Init(ControlPort, this); +diff -Naur vdr-ffnetdev-0.1.2.orig/Makefile vdr-ffnetdev-0.1.2/Makefile +--- vdr-ffnetdev-0.1.2.orig/Makefile 2012-10-31 18:32:09.000000000 +0100 ++++ vdr-ffnetdev-0.1.2/Makefile 2012-10-31 18:37:10.000000000 +0100 +@@ -50,9 +50,7 @@ + + ### The object files (add further files here): + +-COMMONOBJS = i18n.o \ +- \ +- tools/source.o tools/select.o tools/socket.o tools/tools.o ++COMMONOBJS = tools/source.o tools/select.o tools/socket.o tools/tools.o + + + SERVEROBJS = $(PLUGIN).o \ +@@ -95,9 +93,34 @@ + + -include $(DEPFILE) + ++### Internationalization (I18N): ++ ++PODIR = po ++LOCALEDIR = $(VDRDIR)/locale ++I18Npo = $(wildcard $(PODIR)/*.po) ++I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) ++I18Ndirs = $(notdir $(foreach file, $(I18Npo), $(basename $(file)))) ++I18Npot = $(PODIR)/$(PLUGIN).pot ++ ++%.mo: %.po ++ msgfmt -c -o $@ $< ++ ++$(I18Npot): $(wildcard *.c) ++ xgettext -C -cTRANSLATORS --no-wrap -F -k -ktr -ktrNOOP --msgid-bugs-address='<dev@erichseifert.de>' -o $@ $(wildcard *.c) ++ ++$(I18Npo): $(I18Npot) ++ msgmerge -U --no-wrap -F --backup=none -q $@ $< ++ ++i18n: $(I18Nmo) ++ @mkdir -p $(LOCALEDIR) ++ for i in $(I18Ndirs); do\ ++ mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\ ++ cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\ ++ done ++ + ### Targets: + +-all: libvdr-$(PLUGIN).so ++all: libvdr-$(PLUGIN).so i18n + + libvdr-$(PLUGIN).so: $(SERVEROBJS) $(COMMONOBJS) + +@@ -106,6 +129,7 @@ + @cp $@ $(LIBDIR)/$@.$(APIVERSION) + + dist: clean ++ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) +diff -Naur vdr-ffnetdev-0.1.2.orig/po/de_DE.po vdr-ffnetdev-0.1.2/po/de_DE.po +--- vdr-ffnetdev-0.1.2.orig/po/de_DE.po 1970-01-01 01:00:00.000000000 +0100 ++++ vdr-ffnetdev-0.1.2/po/de_DE.po 2012-10-31 18:38:02.000000000 +0100 +@@ -0,0 +1,30 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@cadsoft.de> ++# This file is distributed under the same license as the VDR package. ++# Klaus Schmidinger <kls@cadsoft.de>, 2000 ++# Erich Seifert <dev@erichseifert.de>, 2012 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: dev@erichseifert.de\n" ++"POT-Creation-Date: 2012-10-30 14:31+0100\n" ++"PO-Revision-Date: 2012-10-30 14:37+0100\n" ++"Last-Translator: Klaus Schmidinger <kls@cadsoft.de>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-15\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++#: ffnetdevsetup.c:18 ++msgid "auto set as primary device" ++msgstr "Automatisch als prim�res Ger�t festlegen" ++ ++#: ffnetdevsetup.c:18 ++msgid "no" ++msgstr "nein" ++ ++#: ffnetdevsetup.c:18 ++msgid "yes" ++msgstr "ja" diff --git a/media-plugins/vdr-ffnetdev/metadata.xml b/media-plugins/vdr-ffnetdev/metadata.xml new file mode 100644 index 000000000000..7b3fdfd9ff6a --- /dev/null +++ b/media-plugins/vdr-ffnetdev/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription>VDR plugin to stream OSD Data in a Transport Stream (TS)</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild new file mode 100644 index 000000000000..36fbfcc2b193 --- /dev/null +++ b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="837" # every bump, new version + +DESCRIPTION="VDR Plugin: Output device which offers OSD via VNC and Video as raw mpeg over network" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-ffnetdev" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR}/${P} + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}_gettext.diff" + + vdr-plugin-2_src_prepare +} diff --git a/media-plugins/vdr-filebrowser/Manifest b/media-plugins/vdr-filebrowser/Manifest new file mode 100644 index 000000000000..76ded1db9dda --- /dev/null +++ b/media-plugins/vdr-filebrowser/Manifest @@ -0,0 +1 @@ +DIST vdr-filebrowser-0.2.1.tgz 60870 SHA256 39ece2688ba81e41f5af1e832c134e258916ec7fa488a084185f2a072099aad4 SHA512 2807983513f7ac94d2be109d8fe09ac6a2c2af80ad09c51f58d4fab9fb5abc263a63ef301595915a4b0433dfba2e212c659db7c37d86bba065002fc17e763d6e WHIRLPOOL d08f5eb4dbd67950f841dcc62a8edabcb95574fbf1d0fdad9d3662eec7d0c1ef1c3f73adc2ffcc3cd036aa1809064580ad4d2cd7615eed7bf4cba695d54ba1b5 diff --git a/media-plugins/vdr-filebrowser/files/commands.conf b/media-plugins/vdr-filebrowser/files/commands.conf new file mode 100644 index 000000000000..72a96c869e59 --- /dev/null +++ b/media-plugins/vdr-filebrowser/files/commands.conf @@ -0,0 +1,37 @@ +# * commands.conf * +# A file defining commands to be run on files, roughly based on vdr's original commands.conf syntax: +# Columns are separated by colons, first column is the name of the command. +# When it ends with a question mark, you will be asked whether you really want to execute this command. +# +# The second column contains a filename pattern, that you only see commands useful in current context. +# If this starts with an exclamation mark, it will be treated as a shell script that returns 0 +# if it matches and anything other if it doesn't. %f is replaced with the filename to be checked +# (escape sequences from below apply, %! analogue). As this results in loading your shell and running +# a command for every file and defined command, consider using othercommands.conf (see below) +# to move away seldom used commands. +# +# The third column contains the command to be executed, where following expansions are made: +# %f: current file +# %d: if available, a destination file must be choosed, which is inserted +# here +# %D: if available, a destination file must be choosed, with the possibility +# to create a new one +# %m: expands to currently marked files, separated by a space. If no file is +# marked, current file is used +# %M: the same as %m, but this will change some time - don't use it +# %%: % +# %:: : +# +# The fourth (facultative) column contains flags. +# Following are recognized at the moment: +# b: Don't switch to the output of this command (it is available via "Threads"-command) +# s: Execute command synchronously - beware, this may yield to a non-responsive osd for a while! +# r: Remove thread from list automaticially if it had no errors +# +# The fifth (facultative) column may contain an access code, only numbers are supported! +# +# Examples: +# Remove?:*:rm -rf %m:s:12345 +# Move:*.c:mv %m %D:br +# Recode:+(*.ogg|*.mp3):recode %d %M + diff --git a/media-plugins/vdr-filebrowser/files/order.conf b/media-plugins/vdr-filebrowser/files/order.conf new file mode 100644 index 000000000000..676eb2386596 --- /dev/null +++ b/media-plugins/vdr-filebrowser/files/order.conf @@ -0,0 +1,19 @@ +# * order.conf * +# A file to reorder commands. Usually you will see internal commands first, then commands from commands.conf +# and then a command to show the thread list. +# To reorder, just insert the names of the commands in this file, one per line. +# To remove a certain command prefix its name with a minus sign (-). +# Attention: Internal command names are localized, so your order.conf needs to be changed when you switch from +# english to french, and again when you switch from french to german. +# Attention2: For custom commands, remove the question mark and escaped colons. +# Commands not mentioned in order.conf are appended to ordered commands. +# +# Example (uses commands.conf-snippet from above): +# Remove #shows remove first +# Threads #an internal command to see currently executing commands +# Mark #an internal command +# -Unmark #Hide an internal command +# %--- #Reorder the command "---", escape first minus sign +# +# Please note that those comments aren't supported in order.conf at the time! + diff --git a/media-plugins/vdr-filebrowser/files/othercommands.conf b/media-plugins/vdr-filebrowser/files/othercommands.conf new file mode 100644 index 000000000000..9ac671974354 --- /dev/null +++ b/media-plugins/vdr-filebrowser/files/othercommands.conf @@ -0,0 +1,15 @@ +# * othercommands.conf * +# You have the possibility to move commands into their own submenu. +# Apart from reducing the need to "scroll" with the color keys, it keeps cost of command-matching low +# (especially with shell-matched commands) for they are checked not until you open this menu. +# Syntax is like in order.conf, you still define your commands in commands.conf, this file determines +# which (named) commands are moved to the menu. +# Both Attention and Attention2 from above apply. +# +# Example +# Mark all # move this commands to the menu +# Threads +# Sources +# +# Please note that those comments aren't supported in othersources.conf at the time! + diff --git a/media-plugins/vdr-filebrowser/files/sources.conf b/media-plugins/vdr-filebrowser/files/sources.conf new file mode 100644 index 000000000000..d5760c387b4b --- /dev/null +++ b/media-plugins/vdr-filebrowser/files/sources.conf @@ -0,0 +1,10 @@ +# * sources.conf * +# Define sources in the style of many other plugins to switch your virtual root at runtime. +# First field specifies source's name, second the path. Escaping rules from above apply. +# The third (facultative) field specifies a file filter. +# +# Example +# All%: (note the escaped colon!):/ +# Home:/home:*.doc +# Temp:/tmp + diff --git a/media-plugins/vdr-filebrowser/metadata.xml b/media-plugins/vdr-filebrowser/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-filebrowser/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-filebrowser/vdr-filebrowser-0.2.1.ebuild b/media-plugins/vdr-filebrowser/vdr-filebrowser-0.2.1.ebuild new file mode 100644 index 000000000000..ebe57540d123 --- /dev/null +++ b/media-plugins/vdr-filebrowser/vdr-filebrowser-0.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: file manager plugin for moving or renaming files in VDR" +HOMEPAGE="http://vdr.nasenbaeren.net/filebrowser/" +SRC_URI="http://vdr.nasenbaeren.net/filebrowser/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.0" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/filebrowser + doins "${FILESDIR}"/commands.conf + doins "${FILESDIR}"/order.conf + doins "${FILESDIR}"/othercommands.conf + doins "${FILESDIR}"/sources.conf +} diff --git a/media-plugins/vdr-freecell/Manifest b/media-plugins/vdr-freecell/Manifest new file mode 100644 index 000000000000..21332a07f098 --- /dev/null +++ b/media-plugins/vdr-freecell/Manifest @@ -0,0 +1 @@ +DIST vdr-freecell-0.0.2.tgz 44019 SHA256 ca3aa2823b59f100ff2d1b7a5a3000e7320ac1e822f94bfc530c3a2b47654bba SHA512 78288f10e56baffdd42a0448c118ccd619bdb3f94123a89661918976fc818052f45db0e3a6e0e45794dbe9f3db00b9ccfc140426e0f26d647c863c666827feb8 WHIRLPOOL afcf788ad80706ee2e493a4ac8bcd409df0da331e74affaedbe1e88ebe5470aece266a77cfd616771d87262df8ab5caffbdc2f18cd5f05483c1cdbff5ec37d0f diff --git a/media-plugins/vdr-freecell/files/gcc-3.4.patch b/media-plugins/vdr-freecell/files/gcc-3.4.patch new file mode 100644 index 000000000000..a6eb78fe8c9e --- /dev/null +++ b/media-plugins/vdr-freecell/files/gcc-3.4.patch @@ -0,0 +1,139 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +## 02_gcc3.4-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix from Andreas Jochens <aj@andaco.de>, to compile the plugin +## DP: with gcc-3.4 + +@DPATCH@ +diff -urNad /home/chelli/vdr/cvs/vdr/vdr-plugin-freecell/tools/list.h vdr-plugin-freecell/tools/list.h +--- a/vdr-plugin-freecell/tools/list.h 2004-02-11 13:33:26.000000000 +0100 ++++ b/vdr-plugin-freecell/tools/list.h 2004-09-11 16:00:20.000000000 +0200 +@@ -90,22 +90,22 @@ + T &SetNextCurrent (); + T &SetPrevCurrent (); + +- friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2); +- friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element); ++// friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2); ++// friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element); + +- friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2); +- friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list); +- friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element); ++// friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2); ++// friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list); ++// friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element); + + /*friend cSource &operator<< <> (cSource &dest, const cTBList<T> &list); +- friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/ ++// friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/ + }; + + // Template Implementation (inline funcs) + + template<class T> + inline int cTBList<T>::Find (const T & i) { +- cTBList<T>::cItem *item = m_First; ++ typename cTBList<T>::cItem *item = m_First; + int index = 0; + + while (item && (item->Data != i)) { +@@ -203,7 +203,7 @@ + + template<class T> + typename cTBList<T>::cItem *cTBList<T>::NewItem (cTBList<T>::cItem *pBefore, cTBList<T>::cItem *pAfter) const { +- cTBList<T>::cItem *item = new cTBList<T>::cItem; ++ typename cTBList<T>::cItem *item = new typename cTBList<T>::cItem; + + item->Next = pAfter; + item->Prev = pBefore; +@@ -235,7 +235,7 @@ + if ((int)idx == m_CurPos) + return m_Current; + +- cTBList<T>::cItem *item; ++ typename cTBList<T>::cItem *item; + int dist = idx - m_CurPos; + bool direct; + +@@ -271,7 +271,7 @@ + + template<class T> + T &cTBList<T>::Prepend () { +- cTBList<T>::cItem *item = NewItem(NULL, m_First); ++ typename cTBList<T>::cItem *item = NewItem(NULL, m_First); + + m_First = m_Current = item; + if (!m_Last) +@@ -285,7 +285,7 @@ + + template<class T> + T &cTBList<T>::Append () { +- cTBList<T>::cItem *item = NewItem(m_Last, NULL); ++ typename cTBList<T>::cItem *item = NewItem(m_Last, NULL); + + m_Last = m_Current = item; + if (!m_First) +@@ -317,13 +317,13 @@ + return true; + } + +- cTBList<T>::cItem *nextItem = Locate(idx); ++ typename cTBList<T>::cItem *nextItem = Locate(idx); + if (!nextItem) + return false; + +- cTBList<T>::cItem *prevItem = nextItem->Prev; ++ typename cTBList<T>::cItem *prevItem = nextItem->Prev; + +- cTBList<T>::cItem *item = NewItem(prevItem, nextItem); ++ typename cTBList<T>::cItem *item = NewItem(prevItem, nextItem); + item->Data = i; + + m_CurPos = idx; +@@ -338,7 +338,7 @@ + if (!m_Current) + return NULL; + +- cTBList<T>::cItem *item = m_Current; ++ typename cTBList<T>::cItem *item = m_Current; + if (item == m_First) { + if (m_First = item->Next) + m_First->Prev = NULL; +@@ -370,7 +370,7 @@ + if (Find(i) == -1) + return false; + +- cTBList<T>::cItem *item = Unlink(); ++ typename cTBList<T>::cItem *item = Unlink(); + if (!item) + return false; + +@@ -383,7 +383,7 @@ + if (!Locate(idx)) + return false; + +- cTBList<T>::cItem *item = Unlink(); ++ typename cTBList<T>::cItem *item = Unlink(); + if (!item) + return false; + +@@ -412,13 +412,13 @@ + + template<class T> + void cTBList<T>::Clear () { +- cTBList<T>::cItem *item = m_First; ++ typename cTBList<T>::cItem *item = m_First; + + m_First = m_Last = m_Current = NULL; + m_Count = 0; + m_CurPos = -1; + +- cTBList<T>::cItem *Prev; ++ typename cTBList<T>::cItem *Prev; + while (item) { + Prev = item; + item = item->Next; + diff --git a/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2-gentoo.diff b/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2-gentoo.diff new file mode 100644 index 000000000000..96badefcd3ab --- /dev/null +++ b/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2-gentoo.diff @@ -0,0 +1,24 @@ +diff -Naur freecell-0.0.2.orig/cards.c freecell-0.0.2/cards.c +--- freecell-0.0.2.orig/cards.c 2007-01-08 22:50:05.921165375 +0100 ++++ freecell-0.0.2/cards.c 2007-01-08 22:53:55.358240251 +0100 +@@ -34,7 +34,7 @@ + mShape = Shape; + mValue = Value; + +- asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("freecell"), ++ asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell"), + ShapeNames[mShape], ValueNames[mValue]); + ::LoadXpm(this, filename); + free(filename); +diff -Naur freecell-0.0.2.orig/cursor.c freecell-0.0.2/cursor.c +--- freecell-0.0.2.orig/cursor.c 2007-01-08 22:50:05.921165375 +0100 ++++ freecell-0.0.2/cursor.c 2007-01-08 22:52:58.234984984 +0100 +@@ -8,7 +8,7 @@ + + mX = mY = -1; + +- asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("freecell")); ++ asprintf(&filename, "%s/cursor.xpm", cPlugin::ConfigDirectory("../../../usr/share/vdr/freecell")); + ::LoadXpm(this, filename, clrTransparent); + free(filename); + } diff --git a/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2_vdr-1.5.4-compile.diff b/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2_vdr-1.5.4-compile.diff new file mode 100644 index 000000000000..bb9153c5cda0 --- /dev/null +++ b/media-plugins/vdr-freecell/files/vdr-freecell-0.0.2_vdr-1.5.4-compile.diff @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 93_freecell-0.0.2-1.5.4.dpatch by Thomas Günther <tom@toms-cafe.de> +## http://toms-cafe.de/vdr/download/freecell-0.0.2-1.5.4.diff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes for VDR >= 1.5.4. + +@DPATCH@ +--- freecell-0.0.2/tools/list.h ++++ freecell-0.0.2/tools/list.h +@@ -523,7 +523,7 @@ + return neu; + } + +-typedef class cTBList<cTBString> cStringList; ++//typedef class cTBList<cTBString> cStringList; + typedef class cTBList<void*> cPtrList; + + // Special Overrides for String lists + diff --git a/media-plugins/vdr-freecell/files/vdr-freecell-time_ms.diff b/media-plugins/vdr-freecell/files/vdr-freecell-time_ms.diff new file mode 100644 index 000000000000..276422e225b4 --- /dev/null +++ b/media-plugins/vdr-freecell/files/vdr-freecell-time_ms.diff @@ -0,0 +1,12 @@ +diff -ru freecell-0.0.2-orig/cards.c freecell-0.0.2/cards.c +--- freecell-0.0.2-orig/cards.c 2005-11-20 21:19:31.000000000 +0100 ++++ freecell-0.0.2/cards.c 2005-11-20 21:19:15.000000000 +0100 +@@ -52,7 +52,7 @@ + mX = X; + mY = Y; + mStacked = Stacked; +- mSeed = time_ms(); ++ mSeed = cTimeMs::Now(); + } + + cCardStack::~cCardStack() { diff --git a/media-plugins/vdr-freecell/metadata.xml b/media-plugins/vdr-freecell/metadata.xml new file mode 100644 index 000000000000..4a858b6a7d4a --- /dev/null +++ b/media-plugins/vdr-freecell/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r2.ebuild b/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r2.ebuild new file mode 100644 index 000000000000..2299115c690e --- /dev/null +++ b/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r2.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 vdr-plugin-2 + +DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display" +HOMEPAGE="http://www.magoa.net/linux/index.php?view=freecell" +SRC_URI="http://www.magoa.net/linux/files/${P}.tgz + mirror://vdrfiles/${PN}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +PATCHES=("${FILESDIR}/${PN}-time_ms.diff" + "${FILESDIR}/gcc-3.4.patch" + "${FILESDIR}/${P}-gentoo.diff" + "${FILESDIR}/${P}_vdr-1.5.4-compile.diff") + +src_install() { + vdr-plugin-2_src_install + + insopts -m0644 -ovdr -gvdr + insinto /usr/share/vdr/freecell + doins "${S}/${VDRPLUGIN}"/* +} diff --git a/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r3.ebuild b/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r3.ebuild new file mode 100644 index 000000000000..09524f2f4bd5 --- /dev/null +++ b/media-plugins/vdr-freecell/vdr-freecell-0.0.2-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display" +HOMEPAGE="http://www.magoa.net/linux/index.php?view=freecell" +SRC_URI="http://www.magoa.net/linux/files/${P}.tgz + mirror://vdrfiles/${PN}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" + +PATCHES=("${FILESDIR}/${PN}-time_ms.diff" + "${FILESDIR}/gcc-3.4.patch" + "${FILESDIR}/${P}-gentoo.diff" + "${FILESDIR}/${P}_vdr-1.5.4-compile.diff") + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:RegisterI18n://RegisterI18n:" -i freecell.c +} + +src_install() { + vdr-plugin-2_src_install + + insopts -m0644 -ovdr -gvdr + insinto /usr/share/vdr/freecell + doins "${S}/${VDRPLUGIN}"/* +} diff --git a/media-plugins/vdr-fritzbox/Manifest b/media-plugins/vdr-fritzbox/Manifest new file mode 100644 index 000000000000..37ae1dcd81df --- /dev/null +++ b/media-plugins/vdr-fritzbox/Manifest @@ -0,0 +1 @@ +DIST vdr-fritzbox-1.5.3.tgz 132207 SHA256 d09471c229206e268216828c1a2d2bb7a15fc26530e0cb67bfbdb8ba934e2b0e SHA512 d396bb1386ffc4b53867c735d4ffc710c4266067e011e17f2d4aa597ecceeb502d2c6e23a1df69f929503b2cd5d07f4d57869c890040b1ae9af1742c044541be WHIRLPOOL 9c01f97681bd9380399ce4a0c26af040176bbc9aad1c39b60239978f2e60e9e58243f65ee8671672c42cf8b353adc004921faa259ce5bf792c622e9dbe18b5df diff --git a/media-plugins/vdr-fritzbox/metadata.xml b/media-plugins/vdr-fritzbox/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-fritzbox/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3.ebuild b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3.ebuild new file mode 100644 index 000000000000..17c9a5593641 --- /dev/null +++ b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Inform about incoming phone-calls and use the fritz!box phonebook from vdr menu" +HOMEPAGE="http://www.joachim-wilke.de/show.htm?alias=vdr-fritz" +SRC_URI="http://joachim-wilke.de/vdr-fritz/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.34 + dev-libs/libgcrypt:0 + dev-libs/boost" +RDEPEND="${DEPEND}" + +pkg_postinst() { + echo + elog "It is recommend to update your firmware release to the latest." + echo + elog "The integrated call monitor (available in Fritz!Box official" + elog "firmware releases >= *.04.29) has to be enabled in order to" + elog "have the vdr-fritzbox plugin display anything on your tv. To" + elog "enable it call #96*5* from your telephone. If that doesn't" + elog "work for you, read the documentation for further instructions." + echo +} diff --git a/media-plugins/vdr-graphlcd/Manifest b/media-plugins/vdr-graphlcd/Manifest new file mode 100644 index 000000000000..a61edbfff2d4 --- /dev/null +++ b/media-plugins/vdr-graphlcd/Manifest @@ -0,0 +1 @@ +DIST vdr-graphlcd-0.1.9.tgz 286572 SHA256 8e136972f89de078b8f1577f605bc5719c13a7979897030997ef1ff24ebbdd44 SHA512 46c78fe0c7bc7d67d757323a6a937e9feedcdb3e3f233227024dd84f0cb84ce8f08becd3b4ae9c0b7edfba40804a29fa0e3efc8e74eceb82812f288b8e40c6cd WHIRLPOOL 3b6d1bbaaf3ed827c6d74d982a64050d3dbdc99e48173e341c798ad1d62c309200751bc3358fbb7eee8a74ef85d519dbfd5ca3e19f2af29d4c91ecadc6682842 diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff new file mode 100644 index 000000000000..8c2c180ab2c2 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff @@ -0,0 +1,126 @@ +diff -Naur graphlcd-0.1.4.orig/state.c graphlcd-0.1.4/state.c +--- graphlcd-0.1.4.orig/state.c 2007-02-04 23:35:16.317687570 +0100 ++++ graphlcd-0.1.4/state.c 2007-02-04 23:42:12.065780817 +0100 +@@ -16,6 +16,7 @@ + + #include <vdr/eitscan.h> + #include <vdr/i18n.h> ++#include <vdr/plugin.h> + + #include "compat.h" + +@@ -654,6 +655,8 @@ + + void cGraphLCDState::GetProgramme() + { ++ bool ptitle = false; ++ + mutex.Lock(); + #if VDRVERSNUM < 10300 + const cEventInfo * present = NULL, * following = NULL; +@@ -670,9 +673,11 @@ + { + event.presentTime = present->GetTime(); + event.presentTitle = ""; +- if (!isempty(present->GetTitle())) ++ if (!isempty(present->GetTitle())) { + event.presentTitle = present->GetTitle(); + event.presentSubtitle = ""; ++ ptitle = true; ++ } + if (!isempty(present->GetSubtitle())) + event.presentSubtitle = present->GetSubtitle(); + } +@@ -704,9 +709,11 @@ + { + event.presentTime = present->StartTime(); + event.presentTitle = ""; +- if (!isempty(present->Title())) ++ if (!isempty(present->Title())) { + event.presentTitle = present->Title(); + event.presentSubtitle = ""; ++ ptitle = true; ++ } + if (!isempty(present->ShortText())) + event.presentSubtitle = present->ShortText(); + } +@@ -724,6 +731,54 @@ + } + } + #endif ++ ++#if VDRVERSNUM >= 10330 ++ { // get&display Radiotext ++ cPlugin *p; ++ p = cPluginManager::CallFirstService("RadioTextService-v1.0", NULL); ++ if (p) { ++ RadioTextService_v1_0 rtext; ++ if (cPluginManager::CallFirstService("RadioTextService-v1.0", &rtext)) { ++ if (rtext.rds_info == 2 && strstr(rtext.rds_title, "---") == NULL) { ++ char rtpinfo[2][65], rtstr[140]; ++ strcpy(rtpinfo[0], rtext.rds_title); ++ strcpy(rtpinfo[1], rtext.rds_artist); ++ sprintf(rtstr, "%02d:%02d %s | %s", rtext.title_start->tm_hour, rtext.title_start->tm_min, trim(((std::string)(rtpinfo[0]))).c_str(), trim(((std::string)(rtpinfo[1]))).c_str()); ++ ptitle ? event.presentSubtitle = rtstr : event.presentTitle = rtstr; ++ } ++ else if (rtext.rds_info > 0) { ++ char rtstr[65]; ++ strcpy(rtstr, rtext.rds_text); ++ ptitle ? event.presentSubtitle = trim(rtstr) : event.presentTitle = trim(rtstr); ++ } ++ } ++ } ++ } ++#endif ++ ++#if VDRVERSNUM >= 10330 ++ { // get&display LcrData ++ cPlugin *p; ++ p = cPluginManager::CallFirstService("LcrService-v1.0", NULL); ++ if (p) ++ { ++ LcrService_v1_0 lcrData; ++ if (cPluginManager::CallFirstService("LcrService-v1.0", &lcrData)) ++ { ++ if ( strstr( lcrData.destination, "---" ) == NULL ) ++ { ++ char lcrStringParts[3][25], lcrString[100]; ++ strcpy( lcrStringParts[0], (const char *)lcrData.destination ); ++ strcpy( lcrStringParts[1], (const char *)lcrData.price ); ++ strcpy( lcrStringParts[2], (const char *)lcrData.pulse ); ++ sprintf(lcrString, "%s | %s", trim((std::string)(lcrStringParts[1])).c_str(), trim((std::string)(lcrStringParts[2])).c_str()); ++ event.presentTitle = trim(lcrStringParts[0]); ++ event.presentSubtitle = trim(lcrString); ++ } ++ } ++ } ++ } ++#endif + mutex.Unlock(); + } + +diff -Naur graphlcd-0.1.4.orig/state.h graphlcd-0.1.4/state.h +--- graphlcd-0.1.4.orig/state.h 2007-02-04 23:35:16.317687570 +0100 ++++ graphlcd-0.1.4/state.h 2007-02-04 23:43:05.728759351 +0100 +@@ -130,4 +130,21 @@ + tVolumeState GetVolumeState(); + }; + ++// Radiotext ++struct RadioTextService_v1_0 { ++ int rds_info; ++ int rds_pty; ++ char *rds_text; ++ char *rds_title; ++ char *rds_artist; ++ struct tm *title_start; ++}; ++ ++// LcrData ++struct LcrService_v1_0 { ++ cString destination; ++ cString price; ++ cString pulse; ++}; ++ + #endif diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff new file mode 100644 index 000000000000..949049af050f --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff @@ -0,0 +1,356 @@ +diff -Naur graphlcd-0.1.4.orig/display.c graphlcd-0.1.4/display.c +--- graphlcd-0.1.4.orig/display.c 2007-02-04 23:10:36.609384554 +0100 ++++ graphlcd-0.1.4/display.c 2007-02-04 23:17:48.756350745 +0100 +@@ -115,6 +115,7 @@ + nCurrentBrightness = -1; + LastTimeBrightness = 0; + bBrightnessActive = true; ++ LastTimeSA.Set(0); + } + + cGraphLCDDisplay::~cGraphLCDDisplay() +@@ -373,6 +374,11 @@ + update = true; + } + ++ if ( LastTimeSA.TimedOut() ) ++ { ++ update = true; ++ LastTimeSA.Set(1000); ++ } + // update Display every second or due to an update + if (CurrTime != LastTime || update) + { +@@ -1460,6 +1466,8 @@ + nTopY + nProgressbarHeight, + GLCD::clrBlack, false); + ++ DisplaySA(); ++ + if (1 < replay.total && 1 < replay.current) // Don't show full progressbar for endless streams + { + bitmap->DrawRectangle(FRAME_SPACE_X, +@@ -1945,3 +1953,141 @@ + } + mutex.Unlock(); + } ++ ++void cGraphLCDDisplay::DisplaySA() ++{ ++// Spectrum Analyzer visualization ++ if ( GraphLCDSetup.enableSpectrumAnalyzer ) ++ { ++ if (cPluginManager::CallFirstService(SPAN_GET_BAR_HEIGHTS_ID, NULL)) ++ { ++ Span_GetBarHeights_v1_0 GetBarHeights; ++ ++ int bandsSA = 20; ++ int falloffSA = 8; ++ int channelsSA = 1; ++ ++ unsigned int bar; ++ unsigned int *barHeights = new unsigned int[bandsSA]; ++ unsigned int *barHeightsLeftChannel = new unsigned int[bandsSA]; ++ unsigned int *barHeightsRightChannel = new unsigned int[bandsSA]; ++ unsigned int volumeLeftChannel; ++ unsigned int volumeRightChannel; ++ unsigned int volumeBothChannels; ++ unsigned int *barPeaksBothChannels = new unsigned int[bandsSA]; ++ unsigned int *barPeaksLeftChannel = new unsigned int[bandsSA]; ++ unsigned int *barPeaksRightChannel = new unsigned int[bandsSA]; ++ ++ GetBarHeights.bands = bandsSA; ++ GetBarHeights.barHeights = barHeights; ++ GetBarHeights.barHeightsLeftChannel = barHeightsLeftChannel; ++ GetBarHeights.barHeightsRightChannel = barHeightsRightChannel; ++ GetBarHeights.volumeLeftChannel = &volumeLeftChannel; ++ GetBarHeights.volumeRightChannel = &volumeRightChannel; ++ GetBarHeights.volumeBothChannels = &volumeBothChannels; ++ GetBarHeights.name = "graphlcd"; ++ GetBarHeights.falloff = falloffSA; ++ GetBarHeights.barPeaksBothChannels = barPeaksBothChannels; ++ GetBarHeights.barPeaksLeftChannel = barPeaksLeftChannel; ++ GetBarHeights.barPeaksRightChannel = barPeaksRightChannel; ++ ++ if ( cPluginManager::CallFirstService(SPAN_GET_BAR_HEIGHTS_ID, &GetBarHeights )) ++ { ++ int i; ++ int barWidth = 2; ++ int saStartX = FRAME_SPACE_X; ++ int saEndX = saStartX + barWidth*bandsSA*2 + bandsSA/4 - 1; ++ int saStartY = FRAME_SPACE_Y; ++ int saEndY = FRAME_SPACE_Y + bitmap->Height()/2 - 3; ++ ++ LastTimeSA.Set(100); ++ ++ if ( GraphLCDSetup.SAShowVolume ) ++ { ++ ++ saStartX = FRAME_SPACE_X + bitmap->Width()/2 - (barWidth*bandsSA*2 + bandsSA/4)/2 - 2; ++ saEndX = saStartX + barWidth*bandsSA*2 + bandsSA/4 - 1; ++ ++ // left volume ++ bitmap->DrawRectangle(FRAME_SPACE_X, ++ saStartY, ++ saStartX-1, ++ saEndY + 1, ++ GLCD::clrWhite, true); ++ ++ for ( i=0; (i<logo->Width()/2-2) && (i<3*(volumeLeftChannel*saStartX)/100); i++) ++ { ++ bitmap->DrawRectangle(saStartX - i - 2, ++ saStartY + saEndY/2 - i, ++ saStartX - i - 4, ++ saStartY + saEndY/2 + i, ++ GLCD::clrBlack, true); ++ } ++ ++ // right volume ++ bitmap->DrawRectangle(saEndX + 1, ++ saStartY, ++ bitmap->Width() - 1, ++ saEndY + 1, ++ GLCD::clrWhite, true); ++ ++ for ( i=0; (i<logo->Width()/2-2) && (i<3*(volumeRightChannel*saStartX)/100); i++) ++ { ++ bitmap->DrawRectangle(saEndX + 2 + i, ++ saStartY + saEndY/2 - i, ++ saEndX + i + 4, ++ saStartY + saEndY/2 + i, ++ GLCD::clrBlack, true); ++ } ++ } ++ // black background ++ bitmap->DrawRectangle(saStartX, ++ saStartY, ++ saEndX, ++ saEndY + 1, ++ GLCD::clrBlack, true); ++ ++ for ( i=0; i < bandsSA; i++ ) ++ { ++/* if ( channelsSA == 2 ) ++ { ++ bar = barHeightsLeftChannel[i]; ++ bar = barHeightsRightChannel[i]; ++ }*/ ++ if ( channelsSA == 1) ++ { ++ // the bar ++ bar = (barHeights[i]*(saEndY-saStartY))/100; ++ bitmap->DrawRectangle(saStartX + barWidth*2*(i)+ barWidth + 1, ++ saEndY, ++ saStartX + barWidth*2*(i) + barWidth+ barWidth + 1, ++ saEndY - bar, ++ GLCD::clrWhite, true); ++ ++ // the peak ++ bar = (barPeaksBothChannels[i]*(saEndY-saStartY))/100; ++ if ( bar > 0 ) ++ { ++ bitmap->DrawRectangle(saStartX + barWidth*2*(i)+ barWidth + 1, ++ saEndY - bar, ++ saStartX + barWidth*2*(i) + barWidth+ barWidth + 1, ++ saEndY - bar+1, ++ GLCD::clrWhite, true); ++ } ++ } ++ } ++ } ++ ++ delete [] barHeights; ++ delete [] barHeightsLeftChannel; ++ delete [] barHeightsRightChannel; ++ delete [] barPeaksBothChannels; ++ delete [] barPeaksLeftChannel; ++ delete [] barPeaksRightChannel; ++ } ++ } ++} ++ ++//############################################################################################# ++ ++ +diff -Naur graphlcd-0.1.4.orig/display.h graphlcd-0.1.4/display.h +--- graphlcd-0.1.4.orig/display.h 2007-02-04 23:10:36.609384554 +0100 ++++ graphlcd-0.1.4/display.h 2007-02-04 23:20:24.209000170 +0100 +@@ -29,10 +29,33 @@ + #include <vdr/thread.h> + #include <vdr/player.h> + ++#define SPAN_CLIENT_CHECK_ID "Span-ClientCheck-v1.0" ++#define SPAN_GET_BAR_HEIGHTS_ID "Span-GetBarHeights-v1.0" + + #define LCDMAXCARDS 4 + static const int kMaxTabCount = 10; + ++struct Span_Client_Check_1_0 { ++ bool *isActive; ++ bool *isRunning; ++}; ++ ++struct Span_GetBarHeights_v1_0 { ++ unsigned int bands; // number of bands to compute ++ unsigned int *barHeights; // the heights of the bars of the two channels combined ++ unsigned int *barHeightsLeftChannel; // the heights of the bars of the left channel ++ unsigned int *barHeightsRightChannel; // the heights of the bars of the right channel ++ unsigned int *volumeLeftChannel; // the volume of the left channels ++ unsigned int *volumeRightChannel; // the volume of the right channels ++ unsigned int *volumeBothChannels; // the combined volume of the two channels ++ const char *name; // name of the plugin that wants to get the data ++ // (must be unique for each client!) ++ unsigned int falloff; // bar falloff value ++ unsigned int *barPeaksBothChannels; // bar peaks of the two channels combined ++ unsigned int *barPeaksLeftChannel; // bar peaks of the left channel ++ unsigned int *barPeaksRightChannel; // bar peaks of the right channel ++}; ++ + enum ThreadState + { + Normal, +@@ -104,6 +127,7 @@ + time_t LastTime; + time_t LastTimeCheckSym; + time_t LastTimeModSym; ++ cTimeMs LastTimeSA; + struct timeval CurrTimeval; + struct timeval UpdateAt; + +@@ -125,6 +149,7 @@ + void DisplayTextItem(); + void DisplayColorButtons(); + void DisplayVolume(); ++ void DisplaySA(); + + void UpdateIn(long usec); + bool CheckAndUpdateSymbols(); +diff -Naur graphlcd-0.1.4.orig/i18n.c graphlcd-0.1.4/i18n.c +--- graphlcd-0.1.4.orig/i18n.c 2007-02-04 23:10:38.792567843 +0100 ++++ graphlcd-0.1.4/i18n.c 2007-02-04 23:23:31.966096053 +0100 +@@ -966,5 +966,53 @@ + # endif + #endif + }, ++{ ++ "Show spectrum analyzer", ++ "Zeige Spectrum Analyzer", ++ "",// TODO Slovenski ++ "",// TODO Italiano ++ "",// TODO Nederlands ++ "",// TODO Portuguçês ++ "",// TODO Franais ++ "",// TODO Norsk ++ "",// TODO Suomi ++ "",// TODO Polski ++ "",// TODO Español ++ "",// TODO Ellinika ++ "",// TODO Svenska ++ "",// TODO Romnâã ++ "",// TODO Magyar ++ "",// TODO Catalàà ++#if VDRVERSNUM > 10302 ++ "",// TODO Russian ++# if VDRVERSNUM > 10307 ++ "",// TODO Croatian ++# endif ++#endif ++ }, ++ { ++ "Show SA volume", ++ "Zeige SA Lautstrke", ++ "",// TODO Slovenski ++ "",// TODO Italiano ++ "",// TODO Nederlands ++ "",// TODO Portugus ++ "",// TODO Franêçais ++ "",// TODO Norsk ++ "",// TODO Suomi ++ "",// TODO Polski ++ "",// TODO Español ++ "",// TODO Ellinika ++ "",// TODO Svenska ++ "",// TODO Romnâã ++ "",// TODO Magyar ++ "",// TODO Catal ++#if VDRVERSNUM > 10302 ++ "",// TODO Russian ++# if VDRVERSNUM > 10307 ++ "",// TODO Croatian ++# endif ++#endif ++ }, + { NULL } + }; +diff -Naur graphlcd-0.1.4.orig/menu.c graphlcd-0.1.4/menu.c +--- graphlcd-0.1.4.orig/menu.c 2007-02-04 23:10:38.862563031 +0100 ++++ graphlcd-0.1.4/menu.c 2007-02-04 23:24:53.710477952 +0100 +@@ -101,4 +101,6 @@ + SetupStore("BrightnessActive", GraphLCDSetup.BrightnessActive = newGraphLCDSetup.BrightnessActive); + SetupStore("BrightnessIdle", GraphLCDSetup.BrightnessIdle = newGraphLCDSetup.BrightnessIdle); + SetupStore("BrightnessDelay", GraphLCDSetup.BrightnessDelay = newGraphLCDSetup.BrightnessDelay); ++ SetupStore("enableSpectrumAnalyzer", GraphLCDSetup.enableSpectrumAnalyzer = newGraphLCDSetup.enableSpectrumAnalyzer); ++ SetupStore("SAShowVolume", GraphLCDSetup.SAShowVolume = newGraphLCDSetup.SAShowVolume); + } +diff -Naur graphlcd-0.1.4.orig/plugin.c graphlcd-0.1.4/plugin.c +--- graphlcd-0.1.4.orig/plugin.c 2007-02-04 23:10:38.862563031 +0100 ++++ graphlcd-0.1.4/plugin.c 2007-02-04 23:26:57.655292837 +0100 +@@ -54,6 +54,7 @@ + virtual cOsdObject * MainMenuAction(); + virtual cMenuSetupPage * SetupMenu(); + virtual bool SetupParse(const char * Name, const char * Value); ++ virtual bool Service(const char *Id, void *Data); + }; + + cPluginGraphLCD::cPluginGraphLCD() +@@ -243,8 +244,24 @@ + else if (!strcasecmp(Name, "BrightnessActive")) GraphLCDSetup.BrightnessActive = atoi(Value); + else if (!strcasecmp(Name, "BrightnessIdle")) GraphLCDSetup.BrightnessIdle = atoi(Value); + else if (!strcasecmp(Name, "BrightnessDelay")) GraphLCDSetup.BrightnessDelay = atoi(Value); ++ else if (!strcasecmp(Name, "enableSpectrumAnalyzer")) GraphLCDSetup.enableSpectrumAnalyzer = atoi(Value); ++ else if (!strcasecmp(Name, "SAShowVolume")) GraphLCDSetup.SAShowVolume = atoi(Value); + else return false; + return true; + } + ++bool cPluginGraphLCD::Service(const char *Id, void *Data) ++{ ++ if (strcmp(Id, SPAN_CLIENT_CHECK_ID) == 0) ++ { ++ if ( GraphLCDSetup.enableSpectrumAnalyzer && (Data != NULL) ) ++ { ++ *((Span_Client_Check_1_0*)Data)->isActive = true; ++ } ++ return true; ++ } ++ ++ return false; ++} ++ + VDRPLUGINCREATOR(cPluginGraphLCD); // Don't touch this! +diff -Naur graphlcd-0.1.4.orig/setup.c graphlcd-0.1.4/setup.c +--- graphlcd-0.1.4.orig/setup.c 2007-02-04 23:10:38.865896137 +0100 ++++ graphlcd-0.1.4/setup.c 2007-02-04 23:27:59.671030635 +0100 +@@ -52,7 +52,9 @@ + ScrollTime(500), + BrightnessActive(100), + BrightnessIdle(100), +- BrightnessDelay(30) ++ BrightnessDelay(30), ++ enableSpectrumAnalyzer(1), ++ SAShowVolume(1) + { + } + +diff -Naur graphlcd-0.1.4.orig/setup.h graphlcd-0.1.4/setup.h +--- graphlcd-0.1.4.orig/setup.h 2007-02-04 23:10:38.865896137 +0100 ++++ graphlcd-0.1.4/setup.h 2007-02-04 23:28:55.347204140 +0100 +@@ -54,6 +54,8 @@ + int BrightnessActive; + int BrightnessIdle; + int BrightnessDelay; ++ int enableSpectrumAnalyzer; ++ int SAShowVolume; + + public: + cGraphLCDSetup(void); diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff new file mode 100644 index 000000000000..fac88fb5e615 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff @@ -0,0 +1,19 @@ +fix compile Probs up from vdr-1.5.3 + +Joerg Bornkessel <hd_brummy@gentoo.org> 2007 06 26 + +diff -Naur graphlcd-0.1.5.orig/layout.c graphlcd-0.1.5/layout.c +--- graphlcd-0.1.5.orig/layout.c 2007-06-26 21:43:52.000000000 +0200 ++++ graphlcd-0.1.5/layout.c 2007-06-26 21:46:05.000000000 +0200 +@@ -65,7 +65,11 @@ + file += "/fonts/"; + file += url.substr(4, pos - 4); + } ++#if APIVERSNUM >= 10503 ++ return font.LoadFT2(file, cCharSetConv::SystemCharacterTable(), size); ++#else + return font.LoadFT2(file, I18nCharSets()[Setup.OSDLanguage], size); ++#endif + } + else + { diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff new file mode 100644 index 000000000000..2c10c8697420 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff @@ -0,0 +1,30 @@ +#bug 203856 + +diff -Naur graphlcd-0.1.5_orig/Makefile graphlcd-0.1.5/Makefile +--- graphlcd-0.1.5_orig/Makefile 2007-02-05 19:24:03.000000000 +0100 ++++ graphlcd-0.1.5/Makefile 2007-12-31 02:08:00.000000000 +0100 +@@ -9,6 +9,9 @@ + # + PLUGIN = graphlcd + ++# define this if you built graphlcd-base with freetype: ++HAVE_FREETYPE2 = 1 ++ + ### The version number of this plugin (taken from the main source file): + + VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g') +@@ -51,9 +54,12 @@ + + INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I$(INSTALLPREFIX)/include + +-DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +-DEFINES += -D_GNU_SOURCE ++DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + ++ifdef HAVE_FREETYPE2 ++ INCLUDES += -I$(INSTALLPREFIX)/include/freetype2 ++ DEFINES += -DHAVE_FREETYPE2 ++endif + + ### The object files (add further files here): + diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch new file mode 100644 index 000000000000..e96823bec88e --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch @@ -0,0 +1,11 @@ +diff -ru graphlcd-0.1.4-orig/display.c graphlcd-0.1.4/display.c +--- graphlcd-0.1.4-orig/display.c 2007-02-05 11:32:23.963790615 +0100 ++++ graphlcd-0.1.4/display.c 2007-02-05 11:32:35.890079873 +0100 +@@ -29,6 +29,7 @@ + + #include <vdr/tools.h> + #include <vdr/menu.h> ++#include <vdr/plugin.h> + + #include "compat.h" + diff --git a/media-plugins/vdr-graphlcd/files/confd b/media-plugins/vdr-graphlcd/files/confd new file mode 100644 index 000000000000..9f59a62d0333 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/confd @@ -0,0 +1,22 @@ +# /etc/conf.d/vdr.graphlcd +# $Id$ + +####### Global config for Graphlcd #################### +# +# set fine tuning for your Display +# in selected ${GRAPHLCD_DIR} +# + +# +# set the DIR of the graphlcd config file +# allowed values: directory names +# default: /etc/vdr/plugins/graphlcd/graphlcd.conf +#GRAPHLCD_DIR=/etc/vdr/plugins/graphlcd/graphlcd.conf + +# +# select driver for graphlcd display +# allowed values: framebuffer, gu140x32f, gu256x64-372, +# gu256x64C-3xx0, hd61830, image, ks0108, +# sed1520, sed1330, simlcd, t6963c +# default: t6963c +#GRAPHLCD_DISPLAY=t6963c diff --git a/media-plugins/vdr-graphlcd/files/rc-addon.sh b/media-plugins/vdr-graphlcd/files/rc-addon.sh new file mode 100644 index 000000000000..7c149ca8ae61 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/rc-addon.sh @@ -0,0 +1,12 @@ +# +# rc-addon-script for plugin osdteletext +# +# $Id$ + +plugin_pre_vdr_start() { + : ${GRAPHLCD_DIR:=/etc/vdr/plugins/graphlcd/graphlcd.conf} + : ${GRAPHLCD_DISPLAY:=t6963c} + + add_plugin_param "-c ${GRAPHLCD_DIR}" + add_plugin_param "-d ${GRAPHLCD_DISPLAY}" +} diff --git a/media-plugins/vdr-graphlcd/metadata.xml b/media-plugins/vdr-graphlcd/metadata.xml new file mode 100644 index 000000000000..ea78167eef7c --- /dev/null +++ b/media-plugins/vdr-graphlcd/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription lang="en"> + This package provides vdrplugin to use a Graphical LCD. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild new file mode 100644 index 000000000000..43f8fdbe1ffc --- /dev/null +++ b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="502" # every bump, new version + +DESCRIPTION="VDR Plugin: support output on Graphical LCD " +HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~x86 ~amd64" + +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6 + >=app-misc/graphlcd-base-${PV}" +RDEPEND="${DEPEND}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if ! getent group lp | grep -q vdr; then + echo + einfo "Add user 'vdr' to group 'lp' for full user access to parport device" + echo + elog "User vdr added to group lp" + gpasswd -a vdr lp + fi + if ! getent group usb | grep -q vdr; then + echo + einfo "Add user 'vdr' to group 'usb' for full user access to usb device" + echo + elog "User vdr added to group usb" + gpasswd -a vdr usb + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "s:/usr/local:/usr:" Makefile + + sed -i "s:i18n.c:i18n.h:g" Makefile + + sed -i "s:include \$(VDRDIR)/Make.global:-include \$(VDRDIR)/Make.global:" Makefile +} + +src_install() { + vdr-plugin-2_src_install + + insopts -m0644 -ovdr -gvdr + + insinto /usr/share/vdr/${VDRPLUGIN}/logos + doins -r ${VDRPLUGIN}/logos/* + + insinto /usr/share/vdr/${VDRPLUGIN}/fonts + doins ${VDRPLUGIN}/fonts/*.fnt + + for font in /usr/share/fonts/corefonts/*.ttf; do + elog ${font} + dosym ${font} /usr/share/vdr/graphlcd/fonts + done + + insinto /etc/vdr/plugins/${VDRPLUGIN} + doins ${VDRPLUGIN}/logonames.alias.* + doins ${VDRPLUGIN}/fonts.conf.* + + dosym /usr/share/vdr/${VDRPLUGIN}/fonts /etc/vdr/plugins/${VDRPLUGIN}/fonts + dosym /usr/share/vdr/${VDRPLUGIN}/logos /etc/vdr/plugins/${VDRPLUGIN}/logos + dosym /etc/graphlcd.conf /etc/vdr/plugins/${VDRPLUGIN}/graphlcd.conf + + dosym /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias.1.3 /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias +} + +pkg_preinst() { + + if [[ -e /etc/vdr/plugins/graphlcd/fonts ]] && [[ ! -L /etc/vdr/plugins/graphlcd/fonts ]] \ + || [[ -e /etc/vdr/plugins/graphlcd/logos ]] && [[ ! -L /etc/vdr/plugins/graphlcd/logos ]] ;then + + elog "Remove wrong DIR in /etc/vdr/plugins/graphlcd from prior install" + elog "Press CTRL+C to abbort" + epause + rmdir -R /etc/vdrplugins/graphlcd/{fonts,logos} + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "Add additional options in /etc/conf.d/vdr.graphlcd" + elog + elog "Please copy or link one of the supplied fonts.conf.*" + elog "files in /etc/vdr/plugins/graphlcd/ to" + elog "/etc/vdr/plugins/graphlcd/fonts.conf" +} diff --git a/media-plugins/vdr-graphtft/Manifest b/media-plugins/vdr-graphtft/Manifest new file mode 100644 index 000000000000..16af889ee8d6 --- /dev/null +++ b/media-plugins/vdr-graphtft/Manifest @@ -0,0 +1 @@ +DIST vdr-graphtft-0.3.7.tar.bz2 147486 SHA256 37c58c0a3051d4ac77bc12f59213be09134e14b9028bd886977b260e2c98da45 SHA512 9f5d8ea490c95bde42071d5010bf4dd339ee99271f9596d2d14575882f8f4101f0877c52373268a9d04d52be328018b2a7be1685c088742b252de44b9c3a387d WHIRLPOOL d03e144877adb3c31f48d92091d6a0fa2d7af00d706b92f6bde90f62fd990181beeabaadf77a3e879e5568c50f3b96295d892e50529f0e7361ef1579923a5c4c diff --git a/media-plugins/vdr-graphtft/files/confd b/media-plugins/vdr-graphtft/files/confd new file mode 100644 index 000000000000..ec4dc8d080e0 --- /dev/null +++ b/media-plugins/vdr-graphtft/files/confd @@ -0,0 +1,55 @@ +# /etc/conf.d/vdr.graphtft +# $Id$ + +####### Global config for Graphtft #################### + +# +# set the DIR of the Framebuffer Device +# allowed values: device_names directFB none +# default: /dev/fb0 +#GRAPHTFT_DEVICE=/dev/fb0 + + +###### Configuration for graphtft-fe ################## +# +# set GRAPHTFT_DEVICE="" to none + +# set your tft display +# no default values +# default: not set, exemple +#GRAPHTFT_DISPLAY=":0.1" + +# switch to user +# default user root ; depand on your x configuration +# +#GRAPHTFT_USER="root" + +# set the width of your display +# allowed values: +# default: 800 +#GRAPHTFT_SCREEN_WIDTH="800" + +# set the height of your display +# allowed values: +# default: 480 +#GRAPHTFT_SCREEN_HEIGHT="480" + +# run output without windowsframe +# allowed values: yes no +# default: yes +#GRAPHTFT_NO_FRAME="yes" + +# set the IP to your X Display +# allowed values: ip address +# default: localhost IP +#GRAPHTFT_HOST="127.0.0.1" + +# set the port to your X Display +# allowed values: portnumber +# default: 2039 +#GRAPHTFT_PORT="2039" + +# set the logevel for graphtft-fe +# allowed values: 0 1 2 3 +# default: 0 +#GRAPHTFT_LOG_LEVEL="0" diff --git a/media-plugins/vdr-graphtft/files/graphtft-fe b/media-plugins/vdr-graphtft/files/graphtft-fe new file mode 100644 index 000000000000..32d6b915f1ce --- /dev/null +++ b/media-plugins/vdr-graphtft/files/graphtft-fe @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +. /etc/conf.d/vdr.graphtft + +export DISPLAY=${GRAPHTFT_DISPLAY} + +: ${GRAPHTFT_USER:=root} + +OPTIONS="-h ${GRAPHTFT_HOST:=127.0.0.1}" +OPTIONS="${OPTIONS} -p ${GRAPHTFT_PORT:=2039}" +OPTIONS="${OPTIONS} -e ${GRAPHTFT_LOG_LEVEL:=0}" +OPTIONS="${OPTIONS} -W ${GRAPHTFT_SCREEN_WIDTH:=800}" +OPTIONS="${OPTIONS} -H ${GRAPHTFT_SCREEN_HEIGHT:=480}" +[ "${GRAPHTFT_NO_FRAME}" = "yes" ] && OPTIONS="${OPTIONS} -n" +[ "${GRAPHTFT_RESIZE_IMAGE}" = "yes" ] && OPTIONS="${OPTIONS} -r" + +# -d <file> dump each image to file (default off) + +start() { + ebegin "starting graphtft-fe ..." + start-stop-daemon --make-pidfile --background --pidfile /var/run/graphtft-fe.pid \ + --chuid ${GRAPHTFT_USER} --start --exec /usr/bin/graphtft-fe -- ${OPTIONS} + eend $? +} + +stop() { + ebegin "stopping graphtft ..." + start-stop-daemon --stop --pidfile /var/run/graphtft-fe.pid + eend $? +} + diff --git a/media-plugins/vdr-graphtft/files/rc-addon.sh b/media-plugins/vdr-graphtft/files/rc-addon.sh new file mode 100644 index 000000000000..a904aa1aefca --- /dev/null +++ b/media-plugins/vdr-graphtft/files/rc-addon.sh @@ -0,0 +1,14 @@ +# $Id$ +# +# rc-addon-script for plugin graphtft & graphtft-fe +# +# Joerg Bornkessel <hd_brummy@g.o> + +. /etc/conf.d/vdr.graphtft + +plugin_pre_vdr_start() { + + : ${GRAPHTFT_DEVICE:=/dev/fb0} + + add_plugin_param "-d ${GRAPHTFT_DEVICE}" +} diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff new file mode 100644 index 000000000000..4e32c187ac10 --- /dev/null +++ b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gcc-4.4.x.diff @@ -0,0 +1,22 @@ +diff -Naur graphtft-30.orig/graphtft-fe/common.cc graphtft-30/graphtft-fe/common.cc +--- graphtft-30.orig/graphtft-fe/common.cc 2012-03-12 02:10:38.000000000 +0100 ++++ graphtft-30/graphtft-fe/common.cc 2012-03-12 02:30:16.000000000 +0100 +@@ -11,6 +11,7 @@ + #include <time.h> + #include <stdio.h> + #include <string.h> ++#include <stdint.h> + + #include <graphtft.hpp> + +diff -Naur graphtft-30.orig/graphtft-fe/graphtft.hpp graphtft-30/graphtft-fe/graphtft.hpp +--- graphtft-30.orig/graphtft-fe/graphtft.hpp 2012-03-12 02:10:38.000000000 +0100 ++++ graphtft-30/graphtft-fe/graphtft.hpp 2012-03-12 02:30:57.000000000 +0100 +@@ -16,6 +16,7 @@ + #include <X11/Xlib.h> + #include <Imlib2.h> + #include <string.h> ++#include <stdint.h> + + #define __FRONTEND + #include <../common.h> diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff new file mode 100644 index 000000000000..ea0e7ad3d748 --- /dev/null +++ b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_gentoo.diff @@ -0,0 +1,139 @@ +diff -Naur graphtft-30.orig/dfbrenderer/dfbrenderer.c graphtft-30/dfbrenderer/dfbrenderer.c +--- graphtft-30.orig/dfbrenderer/dfbrenderer.c 2012-03-12 03:27:38.000000000 +0100 ++++ graphtft-30/dfbrenderer/dfbrenderer.c 2012-03-12 03:29:35.000000000 +0100 +@@ -257,7 +257,7 @@ + { + // make path relative to the themes directory + +- asprintf(&path, "%s/graphTFT/themes/%s/%s", ++ asprintf(&path, "%s/themes/%s/%s", + confPath.c_str(), themePath.c_str(), p.c_str()); + } + else +@@ -281,7 +281,7 @@ + + // at least add the default path + +- asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str()); ++ asprintf(&path, "%s/fonts/", confPath.c_str()); + tell(0, "Info: Adding font path '%s'", path); + fontPaths[count] = path; + free(path); +@@ -483,7 +483,7 @@ + else + { + const char* tmp = themePath.c_str(); +- asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname); ++ asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname); + } + + tell(4,"creating imageprovider for %s", fpath); +@@ -561,7 +561,7 @@ + else + { + const char* tmp = themePath.c_str(); +- asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname); ++ asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname); + } + + tell(4,"creating imageprovider for %s", fpath); +diff -Naur graphtft-30.orig/dspitems.c graphtft-30/dspitems.c +--- graphtft-30.orig/dspitems.c 2012-03-12 03:27:38.000000000 +0100 ++++ graphtft-30/dspitems.c 2012-03-12 03:30:16.000000000 +0100 +@@ -107,7 +107,7 @@ + if (p[0] != '/') + { + p = string(GraphTFTSetup.PluginConfPath) +- + "/graphTFT/themes/" ++ + "/themes/" + + string(Thms::theTheme->getDir()) + + "/" + p; + } +diff -Naur graphtft-30.orig/graphtft.c graphtft-30/graphtft.c +--- graphtft-30.orig/graphtft.c 2012-03-12 03:27:38.000000000 +0100 ++++ graphtft-30/graphtft.c 2012-03-12 03:32:48.000000000 +0100 +@@ -22,6 +22,8 @@ + #include <graphtft.h> + #include <span.h> + ++#define DATA_DIR "/usr/share/vdr/graphTFT" ++ + //*************************************************************************** + // cGraphTFTMenu + //*************************************************************************** +@@ -300,13 +302,13 @@ + + // try to get the config dir + +- if (!ConfigDirectory()) +- return false; ++// if (!ConfigDirectory()) ++// return false; + + // init + + GraphTFTSetup.setClient(this); +- GraphTFTSetup.PluginConfPath = strdup(ConfigDirectory()); ++ GraphTFTSetup.PluginConfPath = strdup(DATA_DIR); + + #if APIVERSNUM < 10507 + RegisterI18n(Phrases); +@@ -322,7 +324,7 @@ + if (loadThemes() != 0) + return false; + +- if (display->Init(_dev, ConfigDirectory(), port) != success) ++ if (display->Init(_dev, DATA_DIR, port) != success) + { + tell(0, "Error: Initializing graphTFT device faild, aborting!"); + +@@ -355,8 +357,8 @@ + + // look for the themes in the config directory + +- asprintf(&buffer, "find %s/graphTFT/themes -follow -type f -name '*.theme' | sort", +- ConfigDirectory()); ++ asprintf(&buffer, "find %s/themes -follow -type f -name '*.theme' | sort", ++ DATA_DIR); + + p = popen(buffer, "r"); + +diff -Naur graphtft-30.orig/imlibrenderer/imlibrenderer.c graphtft-30/imlibrenderer/imlibrenderer.c +--- graphtft-30.orig/imlibrenderer/imlibrenderer.c 2012-03-12 03:27:38.000000000 +0100 ++++ graphtft-30/imlibrenderer/imlibrenderer.c 2012-03-12 03:33:54.000000000 +0100 +@@ -123,7 +123,7 @@ + { + // make path relative to the themes directory + +- asprintf(&path, "%s/graphTFT/themes/%s/%s", ++ asprintf(&path, "%s/themes/%s/%s", + confPath.c_str(), themePath.c_str(), p.c_str()); + } + else +@@ -146,7 +146,7 @@ + + // at least add the default path + +- asprintf(&path, "%s/graphTFT/fonts/", confPath.c_str()); ++ asprintf(&path, "%s/fonts/", confPath.c_str()); + tell(0, "Info: Adding font path '%s'", path); + imlib_add_path_to_font_path(path); + free(path); +@@ -217,7 +217,7 @@ + if (fname[0] == '/') + path << fname; + else +- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname; ++ path << confPath << "/themes/" << themePath << "/" << fname; + + if (!fileExists(path.str().c_str())) + { +@@ -291,7 +291,7 @@ + if (fname[0] == '/') + path << fname; + else +- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname; ++ path << confPath << "/themes/" << themePath << "/" << fname; + + if (!fileExists(path.str().c_str())) + { diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff new file mode 100644 index 000000000000..f638be630069 --- /dev/null +++ b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.3.7_makefile.diff @@ -0,0 +1,67 @@ +Joerg Bornkessel <hd_brummy@g.o> 22 Okt 2009 +Matthias Schwarzott <zzam@g.o> 23 Okt 2009 +diff -Naur graphtft-24.orig/Makefile graphtft-24/Makefile +--- graphtft-24.orig/Makefile 2009-10-21 21:53:56.000000000 +0200 ++++ graphtft-24/Makefile 2009-10-21 21:57:24.000000000 +0200 +@@ -158,10 +158,10 @@ + DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + + ifdef HAVE_IMLIB +- LIBS += `imlib2-config --libs` ++ LIBS += $(shell imlib2-config --libs) + + ifdef HAVE_IMAGE_MAGICK +- LIBS += `Magick++-config --libs` ++ LIBS += $(shell Magick++-config --libs) + DEFINES += -DHAVE_IMAGE_MAGICK + endif + +@@ -170,8 +170,8 @@ + endif + + ifdef HAVE_GTOP +- GTOP_INC = `pkg-config libgtop-2.0 --cflags` +- GTOP_LIB = `pkg-config libgtop-2.0 --libs` ++ GTOP_INC = $(shell pkg-config libgtop-2.0 --cflags) ++ GTOP_LIB = $(shell pkg-config libgtop-2.0 --libs) + + DEFINES += -DWITH_SYSINFO + LIBS += $(GTOP_LIB) +@@ -186,8 +186,8 @@ + endif + + ifdef HAVE_DFB +- INCLUDES += `directfb-config --cflags` +- LIBS += `directfb-config --libs` ++ INCLUDES += $(shell directfb-config --cflags) ++ LIBS += $(shell directfb-config --libs) + DEFINES += -DHAVE_DFB + endif + +diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile +--- graphtft-24.orig/graphtft-fe/Makefile 2009-10-22 17:39:55.000000000 +0200 ++++ graphtft-24/graphtft-fe/Makefile 2009-10-22 17:41:29.000000000 +0200 +@@ -1,9 +1,9 @@ + + CXX = g++ + CXXFLAGS = -pipe -ggdb -O2 -Wall -W -D_REENTRANT -fPIC +-INCPATH = -I. `Magick++-config --cppflags` ++INCPATH = -I. $(shell Magick++-config --cppflags) + LFLAGS = -Wl,--no-undefined +-LIBS = -lpthread `imlib2-config --libs` `Magick++-config --libs` ++LIBS = -lpthread $(shell imlib2-config --libs) $(shell Magick++-config --libs) + AR = ar + + TARGET = graphtft-fe +diff -Naur graphtft-24.orig/graphtft-fe/Makefile graphtft-24/graphtft-fe/Makefile +--- graphtft-24.orig/graphtft-fe/Makefile 2009-10-23 16:20:43.000000000 +0200 ++++ graphtft-24/graphtft-fe/Makefile 2009-10-23 16:21:20.000000000 +0200 +@@ -17,7 +17,7 @@ + + all: + echo Build graphTFT Frontend +- @(make $(TARGET)) ++ @$(MAKE) $(TARGET) + + + $(TARGET): $(OBJECTS) diff --git a/media-plugins/vdr-graphtft/metadata.xml b/media-plugins/vdr-graphtft/metadata.xml new file mode 100644 index 000000000000..d67657837d87 --- /dev/null +++ b/media-plugins/vdr-graphtft/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <use> + <flag name='graphtft-fe'>Install external x11 remote frontend</flag> + <flag name='theme_avp'>graphTFT Alien vs. Predato theme</flag> + <flag name='theme_deepblue'>graphTFT default theme</flag> + <flag name='theme_deeppurple'>graphTFT Deep Purple theme</flag> + <flag name='theme_poetter'>graphTFT Poetter theme</flag> + <flag name='touchscreen'>Enable Touchscreen support</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild new file mode 100644 index 000000000000..94c84fb5e408 --- /dev/null +++ b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 flag-o-matic + +RESTRICT="test" + +DESCRIPTION="VDR plugin: GraphTFT" +HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin" +SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" + +IUSE_THEMES="+theme_deepblue theme_avp theme_deeppurple theme_poetter" +IUSE="${IUSE_THEMES} directfb graphtft-fe imagemagick touchscreen" + +DEPEND=">=media-video/vdr-1.7.27[graphtft] + media-libs/imlib2[png,jpeg] + gnome-base/libgtop + >=virtual/ffmpeg-0.4.8_p20090201 + imagemagick? ( media-gfx/imagemagick[png,jpeg,cxx] ) + directfb? ( dev-libs/DirectFB ) + graphtft-fe? ( media-libs/imlib2[png,jpeg,X] )" + +RDEPEND="${DEPEND}" + +PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 ) + theme_avp? ( =x11-themes/vdrgraphtft-avp-0.3.1 ) + theme_deeppurple? ( =x11-themes/vdrgraphtft-deeppurple-0.3.2 ) + theme_poetter? ( =x11-themes/vdrgraphtft-poetter-0.3.2 )" + +PATCHES=("${FILESDIR}/${P}_gentoo.diff" + "${FILESDIR}/${P}_makefile.diff" + "${FILESDIR}/${P}_gcc-4.4.x.diff") + +src_prepare() { + + # remove untranslated Language + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:" + + ! use touchscreen && sed -i Makefile \ + -e "s:WITH_TOUCH = 1:#WITH_TOUCH = 1:" + + use graphtft-fe && sed -i Makefile \ + -e "s:#WITH_X_COMM:WITH_X_COMM:" + + # libav9 support + sed -i \ + -e 's:avcodec.h>:avcodec.h>\n#include <libavutil/mem.h>:' \ + imlibrenderer/dvbrenderer/mpeg2encoder.c || die + + # libav10 support, wrt bug 519448 + sed -i \ + -e "s:CODEC_ID_MPEG1VIDEO:AV_CODEC_ID_MPEG1VIDEO:" \ + -e "s:avcodec_alloc_frame:av_frame_alloc:" \ + imlibrenderer/dvbrenderer/mpeg2encoder.c || die + + vdr-plugin-2_src_prepare + + remove_i18n_include graphtft.h setup.h + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + if has_version ">=media-video/vdr-1.7.33"; then + sed -i dspitems.c \ + -e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:" + fi +} + +src_compile() { + vdr-plugin-2_src_compile + + if use graphtft-fe; then + cd "${S}"/graphtft-fe + emake + fi +} + +src_install() { + vdr-plugin-2_src_install + + dodoc "${S}"/documents/{README,HISTORY,HOWTO.Themes,INSTALL} + + if use graphtft-fe; then + cd "${S}"/graphtft-fe && dobin graphtft-fe + doinit graphtft-fe + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + if use graphtft-fe; then + echo + elog "Graphtft-fe user:" + elog "Edit /etc/conf.d/vdr.graphtft" + elog "/etc/init.d/graphtft-fe start" + echo + fi +} diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild new file mode 100644 index 000000000000..e7d529ac9ca2 --- /dev/null +++ b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 flag-o-matic + +RESTRICT="test" + +DESCRIPTION="VDR plugin: GraphTFT" +HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin" +SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" + +IUSE_THEMES="+theme_deepblue theme_avp theme_deeppurple theme_poetter" +IUSE="${IUSE_THEMES} directfb graphtft-fe imagemagick touchscreen" + +DEPEND=">=media-video/vdr-1.7.27[graphtft] + media-libs/imlib2[png,jpeg] + gnome-base/libgtop + >=virtual/ffmpeg-0.4.8_p20090201 + imagemagick? ( media-gfx/imagemagick[png,jpeg,cxx] ) + directfb? ( dev-libs/DirectFB ) + graphtft-fe? ( media-libs/imlib2[png,jpeg,X] )" + +RDEPEND="${DEPEND}" + +PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 ) + theme_avp? ( =x11-themes/vdrgraphtft-avp-0.3.1 ) + theme_deeppurple? ( =x11-themes/vdrgraphtft-deeppurple-0.3.2 ) + theme_poetter? ( =x11-themes/vdrgraphtft-poetter-0.3.2 )" + +PATCHES=("${FILESDIR}/${P}_gentoo.diff" + "${FILESDIR}/${P}_makefile.diff" + "${FILESDIR}/${P}_gcc-4.4.x.diff") + +src_prepare() { + + # remove untranslated Language + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:" + + ! use touchscreen && sed -i Makefile \ + -e "s:WITH_TOUCH = 1:#WITH_TOUCH = 1:" + + use graphtft-fe && sed -i Makefile \ + -e "s:#WITH_X_COMM:WITH_X_COMM:" + + # libav9 support + sed -i \ + -e 's:avcodec.h>:avcodec.h>\n#include <libavutil/mem.h>:' \ + imlibrenderer/dvbrenderer/mpeg2encoder.c || die + + vdr-plugin-2_src_prepare + + remove_i18n_include graphtft.h setup.h + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + if has_version ">=media-video/vdr-1.7.33"; then + sed -i dspitems.c \ + -e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:" + fi +} + +src_compile() { + vdr-plugin-2_src_compile + + if use graphtft-fe; then + cd "${S}"/graphtft-fe + emake + fi +} + +src_install() { + vdr-plugin-2_src_install + + dodoc "${S}"/documents/{README,HISTORY,HOWTO.Themes,INSTALL} + + if use graphtft-fe; then + cd "${S}"/graphtft-fe && dobin graphtft-fe + doinit graphtft-fe + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + if use graphtft-fe; then + echo + elog "Graphtft-fe user:" + elog "Edit /etc/conf.d/vdr.graphtft" + elog "/etc/init.d/graphtft-fe start" + echo + fi +} diff --git a/media-plugins/vdr-image/Manifest b/media-plugins/vdr-image/Manifest new file mode 100644 index 000000000000..f3987673ae0a --- /dev/null +++ b/media-plugins/vdr-image/Manifest @@ -0,0 +1,2 @@ +DIST vdr-image-0.3.1.tar.gz 124587 SHA256 953c27a6fbebb17590cc6ffe367720d92fb0f256da934bd06bd86aabfaa8e15b SHA512 a5a3b9d29958abc486d5fce4a6423d574894a604f792fe6e73b49daf3c02fe2df1ec7d7538db2a950482a77c7d47ebd8dd498ae55f265a0a7ef013b607dd0efb WHIRLPOOL 6541b2a1f1a7e8da241878d46c0976b2d688522c2143a2d66e6c2b124343a068b000bd2a2df647bd82db858ec73e3db136ea61f77fba28d5369fcbce5dd3d1bb +DIST vdr-image-0.4.0.tgz 129200 SHA256 45b9d550698a8871e54c53ca594d0fe81bd4b03b273d106c1dfbdc728a2aa68c SHA512 d66bb7ff48ed622ec21a7d828985229b6aaf908123c12b870e531f09dfe85e792afafa096cd5c4580296139275e2f7171d30f21fe1f8d88978e19c1eb36ab169 WHIRLPOOL 9a7930bf562eac1ba12b204c7f578fc202b453cc28f1a1c84e449eed05587adc0e4c17ec46214ebe8602ddaff3ec9e6214e2ff334247d8d181302ff491ab62d2 diff --git a/media-plugins/vdr-image/files/rc-addon-0.3.0.sh b/media-plugins/vdr-image/files/rc-addon-0.3.0.sh new file mode 100644 index 000000000000..f4030e082ab8 --- /dev/null +++ b/media-plugins/vdr-image/files/rc-addon-0.3.0.sh @@ -0,0 +1,22 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-image +# + +: ${IMAGE_MOUNT:=/usr/share/vdr/image/bin/mount-image.sh} +: ${IMAGE_CONVERT:=/usr/share/vdr/image/bin/imageplugin.sh} + +plugin_pre_vdr_start() { + add_plugin_param "-m ${IMAGE_MOUNT}" + add_plugin_param "-C ${IMAGE_CONVERT}" + add_plugin_param "-c image" + + if [ -f /usr/lib/vdr/inc/commands-functions.sh ]; then + . /usr/lib/vdr/inc/commands-functions.sh + else + #source /usr/share/vdr/inc/functions.sh + include commands-functions + fi + + merge_commands_conf /etc/vdr/imagecmds /etc/vdr/plugins/image/imagecmds.conf "${ORDER_IMAGECMDS}" +} diff --git a/media-plugins/vdr-image/files/vdr-image-0.3.1-ffmpeg-1.patch b/media-plugins/vdr-image/files/vdr-image-0.3.1-ffmpeg-1.patch new file mode 100644 index 000000000000..78fd1d384435 --- /dev/null +++ b/media-plugins/vdr-image/files/vdr-image-0.3.1-ffmpeg-1.patch @@ -0,0 +1,40 @@ +diff -urN image-0.3.1.old/liboutput/encode.c image-0.3.1/liboutput/encode.c +--- image-0.3.1.old/liboutput/encode.c 2013-06-17 21:23:23.308430203 +0200 ++++ image-0.3.1/liboutput/encode.c 2013-06-17 21:27:37.126421173 +0200 +@@ -49,7 +49,6 @@ + + bool cEncode::Register() + { +- avcodec_init(); + #if 0 + // XXX to resolv: dosen't work with osdpip + register_avcodec(&mpeg2video_encoder); +@@ -100,7 +99,7 @@ + AVCodecContext *pAVCC = NULL; + AVFrame *pAVF = NULL; + +- pAVCC = avcodec_alloc_context(); ++ pAVCC = avcodec_alloc_context3(NULL); + if (! pAVCC) + { + esyslog("imageplugin: Failed to alloc memory for AVCodecContext."); +@@ -116,7 +115,7 @@ + { + SetupEncodingParameters(pAVCC); + +- if (avcodec_open(pAVCC, m_pavCodec) < 0) ++ if (avcodec_open2(pAVCC, m_pavCodec, NULL) < 0) + { + esyslog("imageplugin: Couldn't open Codec."); + } +diff -urN image-0.3.1.old/liboutput/encode.h image-0.3.1/liboutput/encode.h +--- image-0.3.1.old/liboutput/encode.h 2013-06-17 21:23:23.308430203 +0200 ++++ image-0.3.1/liboutput/encode.h 2013-06-17 21:27:37.127421173 +0200 +@@ -14,6 +14,7 @@ + + extern "C" { + #include <libavcodec/avcodec.h> ++#include <libavutil/mem.h> + } + + #include "../setup-image.h" diff --git a/media-plugins/vdr-image/files/vdr-image-0.3.1-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.3.1-gentoo.diff new file mode 100644 index 000000000000..11479f2fc8a2 --- /dev/null +++ b/media-plugins/vdr-image/files/vdr-image-0.3.1-gentoo.diff @@ -0,0 +1,24 @@ +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf image-0.2.7.26/examples/imagecmds.conf +--- image-0.2.7.26.orig/examples/imagecmds.conf 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf 2008-10-25 23:50:53.000000000 +0200 +@@ -20,3 +20,5 @@ + Rotate JPEG picture lossless by 90 degrees to the right : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Rotate JPEG picture lossless by 90 degrees to the left : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Delete picture ?: rm -f %s ++Change burn template : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Change burn template ( Button ) : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash +\ Kein Zeilenumbruch am Dateiende. +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf.DE image-0.2.7.26/examples/imagecmds.conf.DE +--- image-0.2.7.26.orig/examples/imagecmds.conf.DE 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf.DE 2008-10-25 23:55:49.000000000 +0200 +@@ -11,6 +11,8 @@ + Informationen ber das Bild : identify -verbose + Gre des Bildes : du -chs %s + Exif Informationen des JPEG-Bildes ausgeben : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp +-Rotatiere JPEG Bildes verlustlos um 90 nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +-Rotatiere JPEG Bildes verlustlos um 90 nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Lsche Bild ?: rm -f %s ++Hintergrund vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Button vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash diff --git a/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff new file mode 100644 index 000000000000..11479f2fc8a2 --- /dev/null +++ b/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff @@ -0,0 +1,24 @@ +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf image-0.2.7.26/examples/imagecmds.conf +--- image-0.2.7.26.orig/examples/imagecmds.conf 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf 2008-10-25 23:50:53.000000000 +0200 +@@ -20,3 +20,5 @@ + Rotate JPEG picture lossless by 90 degrees to the right : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Rotate JPEG picture lossless by 90 degrees to the left : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Delete picture ?: rm -f %s ++Change burn template : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Change burn template ( Button ) : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash +\ Kein Zeilenumbruch am Dateiende. +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf.DE image-0.2.7.26/examples/imagecmds.conf.DE +--- image-0.2.7.26.orig/examples/imagecmds.conf.DE 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf.DE 2008-10-25 23:55:49.000000000 +0200 +@@ -11,6 +11,8 @@ + Informationen ber das Bild : identify -verbose + Gre des Bildes : du -chs %s + Exif Informationen des JPEG-Bildes ausgeben : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp +-Rotatiere JPEG Bildes verlustlos um 90 nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +-Rotatiere JPEG Bildes verlustlos um 90 nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Lsche Bild ?: rm -f %s ++Hintergrund vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Button vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash diff --git a/media-plugins/vdr-image/metadata.xml b/media-plugins/vdr-image/metadata.xml new file mode 100644 index 000000000000..e820fe1a8995 --- /dev/null +++ b/media-plugins/vdr-image/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change. + </description> + </maintainer> + <longdescription> + VDR Plugin to show pictures on TV + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-image/vdr-image-0.3.1.ebuild b/media-plugins/vdr-image/vdr-image-0.3.1.ebuild new file mode 100644 index 000000000000..228901edda54 --- /dev/null +++ b/media-plugins/vdr-image/vdr-image-0.3.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 flag-o-matic + +VERSION="679" #every bump, new version + +DESCRIPTION="VDR plugin: display of digital images, like jpeg, tiff, png, bmp" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-image" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="exif" + +COMMON_DEPEND=">=media-video/vdr-1.5.8 + >=virtual/ffmpeg-0.10 + >=media-libs/netpbm-10.0 + exif? ( media-libs/libexif )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +RDEPEND="${COMMON_DEPEND} + >=media-tv/gentoo-vdr-scripts-0.2.2" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.3.0.sh" +BUILD_PARAMS="-j1" + +src_prepare() { + # remove empty translation file + rm "${S}"/po/{cs_CZ,da_DK,et_EE,hr_HR,hu_HU,nn_NO,pl_PL,ro_RO}.po + + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}-gentoo.diff" \ + "${FILESDIR}/${P}-ffmpeg-1.patch" + + use !exif && sed -i "s:#WITHOUT_LIBEXIF:WITHOUT_LIBEXIF:" Makefile + + if has_version "<=virtual/ffmpeg-0.4.9_p20061016"; then + BUILD_PARAMS="${BUILD_PARAMS} WITHOUT_SWSCALER=1" + fi + + # UINT64_C is needed by ffmpeg headers + append-cppflags -D__STDC_CONSTANT_MACROS +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/imagecmds + newins examples/imagecmds.conf imagecmds.example.conf + newins examples/imagecmds.conf.DE imagecmds.example.conf.de + + insinto /etc/vdr/plugins/image + doins examples/imagesources.conf + + into /usr/share/vdr/image + dobin scripts/imageplugin.sh + newbin scripts/mount.sh mount-image.sh +} diff --git a/media-plugins/vdr-image/vdr-image-0.4.0.ebuild b/media-plugins/vdr-image/vdr-image-0.4.0.ebuild new file mode 100644 index 000000000000..e32472c395c4 --- /dev/null +++ b/media-plugins/vdr-image/vdr-image-0.4.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1325" #every bump, new version + +DESCRIPTION="VDR plugin: display of digital images, like jpeg, tiff, png, bmp" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-image" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="exif" + +COMMON_DEPEND=">=media-video/vdr-2 + >=virtual/ffmpeg-9 + >=media-libs/netpbm-10.0 + exif? ( media-libs/libexif )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +RDEPEND="${COMMON_DEPEND} + media-tv/gentoo-vdr-scripts" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.3.0.sh" + +src_prepare() { + vdr-plugin-2_src_prepare + + #wrong include + sed -e 's:<liboutput/stillimage-player.h>:"liboutput/stillimage-player.h":'\ + -i player-image.h + + # dangerous warning + sed -e "s:mktemp:mkstemp:" -i data-image.c + + epatch "${FILESDIR}/${P}-gentoo.diff" + + # ffmpeg-2.2.12, libav10 + sed -e "s:avcodec_alloc_frame:av_frame_alloc:" \ + -e "s:CODEC_ID_MPEG2VIDEO:AV_CODEC_ID_MPEG2VIDEO:" \ + -i liboutput/encode.c +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/imagecmds + newins examples/imagecmds.conf imagecmds.example.conf + newins examples/imagecmds.conf.DE imagecmds.example.conf.de + + insinto /etc/vdr/plugins/image + doins examples/imagesources.conf + + into /usr/share/vdr/image + dobin scripts/imageplugin.sh + newbin scripts/mount.sh mount-image.sh +} diff --git a/media-plugins/vdr-imonlcd/Manifest b/media-plugins/vdr-imonlcd/Manifest new file mode 100644 index 000000000000..ccee9af76e0e --- /dev/null +++ b/media-plugins/vdr-imonlcd/Manifest @@ -0,0 +1,2 @@ +DIST vdr-imonlcd-0.0.5.tgz 43380 SHA256 1c786f5c0e8cd8039477d4a54e053905414ddc6424ecc573446b2420bdbbdaed SHA512 89082591c953d8f5883efc1d6e65d8c5fa54087b8baaff70b2de264323086cc76b33d9aa16e0bbe39c4f23ce94f5f1c31649c286b2034ea0d91fe8d8aa26edd6 WHIRLPOOL d440cb3a1da8e32b29e174402b01a42dd5b04896e60b6a0bb112417998160579c525b87c37fedcba88a5b338ad895293ad3bb9d84861a3a92091d7ed6f74d1da +DIST vdr-imonlcd-1.0.1.tgz 44423 SHA256 b05f10eae78099eafab1a5f0eac6d1474b55d294ae898f76a09e2e45e919c8d6 SHA512 5912a51d01eab45c7a71cf9939e3947bde69ebbe413aefd5601734b60fb853bff6b2ae7a4c3e68aba7f5bd75b33921fec664d66128942ce0f223d4a2bbe53512 WHIRLPOOL 80014b749dae8e5c9f0bd4c9286d665cbd114adf1a4b32f0a74d895cf0b354eee745374e7747d31e48ce8a1a4c8ff34b919b2eb81f55e9ae1a23c17596bb825f diff --git a/media-plugins/vdr-imonlcd/files/99-imonlcd.rules b/media-plugins/vdr-imonlcd/files/99-imonlcd.rules new file mode 100644 index 000000000000..e65bab742773 --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/99-imonlcd.rules @@ -0,0 +1 @@ +ACTION=="add", KERNEL=="lcd*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="15c2", ATTRS{idProduct}=="*", MODE="0660", GROUP="video" diff --git a/media-plugins/vdr-imonlcd/files/confd b/media-plugins/vdr-imonlcd/files/confd new file mode 100644 index 000000000000..6bfd930235fa --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/confd @@ -0,0 +1,8 @@ +# $Id$ + +#IMONLCD_DEVICE=/dev/lcd0 + +# Protocol of lcd-device (see lsusb) +# 0038 - For LCD with ID 15c2:0038 SoundGraph Inc (default) +# ffdc - For LCD with ID 15c2:ffdc SoundGraph Inc +#IMONLCD_PROTOCOL=0038 diff --git a/media-plugins/vdr-imonlcd/files/rc-addon.sh b/media-plugins/vdr-imonlcd/files/rc-addon.sh new file mode 100644 index 000000000000..2857bd284aa3 --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/rc-addon.sh @@ -0,0 +1,6 @@ +# $Id$ + +plugin_pre_vdr_start() { + add_plugin_param "${IMONLCD_DEVICE:+--device ${IMONLCD_DEVICE}}" + add_plugin_param "${IMONLCD_PROTOCOL:+--protocol ${IMONLCD_PROTOCOL}}" +} diff --git a/media-plugins/vdr-imonlcd/metadata.xml b/media-plugins/vdr-imonlcd/metadata.xml new file mode 100644 index 000000000000..53d38987c8c0 --- /dev/null +++ b/media-plugins/vdr-imonlcd/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>media-tv</herd> +</pkgmetadata> diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild new file mode 100644 index 000000000000..68cd2156984e --- /dev/null +++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-info vdr-plugin-2 udev + +DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD" +HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd" +SRC_URI="mirror://vdr-developerorg/408/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="media-libs/freetype" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +CONFIG_CHECK="~IR_IMON" + +pkg_setup() { + linux-info_pkg_setup + vdr-plugin-2_pkg_setup +} + +src_prepare() { + vdr-plugin-2_src_prepare + + if ! use nls; then + sed -i -e 's/\(all: libvdr-$(PLUGIN).so\) i18n/\1/' Makefile || die + fi +} + +src_install() { + rm -f README.git + vdr-plugin-2_src_install + + insinto $(get_udevdir)/rules.d + doins "${FILESDIR}"/99-imonlcd.rules || die +} diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild new file mode 100644 index 000000000000..7c233a503181 --- /dev/null +++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 linux-info udev + +VERSION="1327" # every bump, new version + +DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD" +HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/freetype" +DEPEND="${RDEPEND} + media-video/vdr" + +CONFIG_CHECK="~IR_IMON" + +pkg_setup() { + linux-info_pkg_setup + vdr-plugin-2_pkg_setup +} + +src_install() { + rm -f README.git + vdr-plugin-2_src_install + + insinto $(get_udevdir)/rules.d + doins "${FILESDIR}"/99-imonlcd.rules || die +} diff --git a/media-plugins/vdr-infosatepg/Manifest b/media-plugins/vdr-infosatepg/Manifest new file mode 100644 index 000000000000..db55377181e7 --- /dev/null +++ b/media-plugins/vdr-infosatepg/Manifest @@ -0,0 +1 @@ +DIST vdr-infosatepg-0.0.12.tgz 35444 SHA256 8a242ffe946a5adae2b02f9bd37d701f92f0ec37196ab645b9ba621caa284fcb SHA512 1a056b6d87946fa276acaa0cf78fc63f0e3baba7c3fccd7bb95b1393f05e61321335004fba7158147ab17c2d87d56d107d5b6eb6d46ce228bb8f112eb9759642 WHIRLPOOL fbc0ab3883b29b55ea312c211de5777180f971a210fd2c4402d88c6bb734784731070101aa0232ffe7746d6a579c8e82f8eafb6e5ce60a16be5d920caf847908 diff --git a/media-plugins/vdr-infosatepg/metadata.xml b/media-plugins/vdr-infosatepg/metadata.xml new file mode 100644 index 000000000000..313ba359cda7 --- /dev/null +++ b/media-plugins/vdr-infosatepg/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contact maintainers before you change something. + </description> + </maintainer> + <longdescription lang="en"> + The infosatepg plugin reads the contents of infosat and writes the data into the EPG. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-infosatepg/vdr-infosatepg-0.0.12.ebuild b/media-plugins/vdr-infosatepg/vdr-infosatepg-0.0.12.ebuild new file mode 100644 index 000000000000..8023152b4b49 --- /dev/null +++ b/media-plugins/vdr-infosatepg/vdr-infosatepg-0.0.12.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="1098" # every bump, new version! + +DESCRIPTION="VDR Plugin: Reads the contents of infosat and writes the data into the EPG" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-infosatepg" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-2.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-iptv/Manifest b/media-plugins/vdr-iptv/Manifest new file mode 100644 index 000000000000..cbfcdcdbe4b3 --- /dev/null +++ b/media-plugins/vdr-iptv/Manifest @@ -0,0 +1,4 @@ +DIST vdr-iptv-2.0.0.tgz 55390 SHA256 e82fca2a91b0c633dc6872cc45d985b615b1493c0ff5dd3e06af1101447a84cd SHA512 357f22176dfb6cbb6c44c3476e417d88f60fd4c96e684736f86b172d9b2ff1cf3d1f65c9cd93225da4b70a1c71ac0c7ba5bc08b979cb34cee1ace0b75b2fba5b WHIRLPOOL 1cd442ea513bb666a63154525443df0f537b45a8c652e40c1066fd5805d3ffcece92e034a32016e4bbd7e663638a91951cf62e007b71c483314c9c2cd418072f +DIST vdr-iptv-2.0.3.tgz 56230 SHA256 68a1bd97e2a56baf933a3430221a2b4b6f79f5dd841f164ccf500a8f15a691d8 SHA512 02278d127c2127108f1d3cc0d0980020afdd580cf32e73f3a08daa4ccd7d560711849df9bb061120c508d8ddc51084677c8d455c06134de6478a587677a5a3e6 WHIRLPOOL c5e4931bf8c00f3bb22b738f8cbf75447933be15e047122a3a0d69ef5c3385fd388a16f5677d3a39ed07b7894d9ea9a033335197f908ef7d51b80978dcc50d6f +DIST vdr-iptv-2.1.3.tgz 56456 SHA256 e991b030a3f6d5a54342bbb3df7bff4e29cdaaf61aaa4e6e36bb836bdaf4a2d1 SHA512 9dd36e5e93219c4c627079935089a361c95f1264fd268a2cee2b7acb05a4aa58b2ba79c4d78d78d44db4d4e2159cc982b9b1d400c38771d84871e3250996a7c6 WHIRLPOOL 8deb18306994f70584a21468e63fa76754aa3780646fa0d80538dc18bd478526d835368d8c6f7c61b40f57cd49bacabcac4c84e5929fe0307d0dd307c0c32f14 +DIST vdr-iptv-2.2.0.tgz 58677 SHA256 6b0e52a060a26dda5b683ad34a53a0fcf63e5b6de429ef7f18f7c38dd08d647e SHA512 2eb962a38e700d8b64284a6ef76463771279ca13fa01e00b28e5812d8a096de4f6054d5396ce22dc37c5e4db53a77a4682b72e6a96ba4631ea292d18b55c29f5 WHIRLPOOL c4a8eed950e7cd9d5d7970c465de66b00371e451e2988258f1da414382e1ed8a695b9e01019c4bc25fec42670aec9584d6b3900252a262a5f52e695edeacd029 diff --git a/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff b/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff new file mode 100644 index 000000000000..31447c7af4da --- /dev/null +++ b/media-plugins/vdr-iptv/files/vdr-iptv-0.0.7-vdr-1.4.diff @@ -0,0 +1,16 @@ +Index: iptv-0.0.7/pidscanner.c +=================================================================== +--- iptv-0.0.7.orig/pidscanner.c ++++ iptv-0.0.7/pidscanner.c +@@ -146,7 +146,11 @@ void cPidScanner::Process(const uint8_t* + for (unsigned int i = 0; i < MAXSPIDS; ++i) + Spids[i] = IptvChannel->Spid(i); + debug("cPidScanner::Process(): Vpid=0x%04X, Apid=0x%04X\n", Vpid, Apid); ++#if defined(APIVERSNUM) && APIVERSNUM < 10510 ++ IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Tpid); ++#else + IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid); ++#endif + Channels.Unlock(); + process = false; + } diff --git a/media-plugins/vdr-iptv/metadata.xml b/media-plugins/vdr-iptv/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-iptv/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-iptv/vdr-iptv-2.0.0.ebuild b/media-plugins/vdr-iptv/vdr-iptv-2.0.0.ebuild new file mode 100644 index 000000000000..8a16601dbafc --- /dev/null +++ b/media-plugins/vdr-iptv/vdr-iptv-2.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Add a logical device capable of receiving IPTV" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND} + net-misc/curl" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include sidscanner.c +} diff --git a/media-plugins/vdr-iptv/vdr-iptv-2.0.3.ebuild b/media-plugins/vdr-iptv/vdr-iptv-2.0.3.ebuild new file mode 100644 index 000000000000..0b361089d013 --- /dev/null +++ b/media-plugins/vdr-iptv/vdr-iptv-2.0.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Add a logical device capable of receiving IPTV" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND} + net-misc/curl" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include sidscanner.c +} diff --git a/media-plugins/vdr-iptv/vdr-iptv-2.1.3.ebuild b/media-plugins/vdr-iptv/vdr-iptv-2.1.3.ebuild new file mode 100644 index 000000000000..9d3dfd5f227b --- /dev/null +++ b/media-plugins/vdr-iptv/vdr-iptv-2.1.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Add a logical device capable of receiving IPTV" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.1.6" +RDEPEND="${DEPEND} + net-misc/curl" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include sidscanner.c +} diff --git a/media-plugins/vdr-iptv/vdr-iptv-2.2.0.ebuild b/media-plugins/vdr-iptv/vdr-iptv-2.2.0.ebuild new file mode 100644 index 000000000000..9d3dfd5f227b --- /dev/null +++ b/media-plugins/vdr-iptv/vdr-iptv-2.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Add a logical device capable of receiving IPTV" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.1.6" +RDEPEND="${DEPEND} + net-misc/curl" + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include sidscanner.c +} diff --git a/media-plugins/vdr-joystick/Manifest b/media-plugins/vdr-joystick/Manifest new file mode 100644 index 000000000000..29fc9a19e08d --- /dev/null +++ b/media-plugins/vdr-joystick/Manifest @@ -0,0 +1 @@ +DIST vdr-joystick-0.0.3.tgz 12246 SHA256 3765008ee99590239263a16d44f9577dba5902c944b67793af13d436ad20e12b SHA512 d51b56bee64e0b871898d10ad55c0fb48fb29a5f26f342d835575fa226f6be0d8670251363f9a49988d5e0adc118afeb0f69a283dfde818044d23501c2a45ca0 WHIRLPOOL 3dd7d47b4d08afdbfb924bcc26ec6c0818120fcf49ae936ac0f0846c75a6868758e4a3d5d8aeda8bd77213d68611254f5d9bb6d94f87e7099cfc4f7039eb1f47 diff --git a/media-plugins/vdr-joystick/files/confd b/media-plugins/vdr-joystick/files/confd new file mode 100644 index 000000000000..d3b4d2cd9345 --- /dev/null +++ b/media-plugins/vdr-joystick/files/confd @@ -0,0 +1,7 @@ +# /etc/conf.d/vdr.joystick +# $Id$ + +### Joystick device +# default: /dev/js0 +#VDR_JOYSTICK_DEVICE="/dev/js0" + diff --git a/media-plugins/vdr-joystick/files/mapping.conf b/media-plugins/vdr-joystick/files/mapping.conf new file mode 100644 index 000000000000..6f7f593d0950 --- /dev/null +++ b/media-plugins/vdr-joystick/files/mapping.conf @@ -0,0 +1,25 @@ +############################## +# vdr-joystick: mapping.conf +############################## + +# With version 0.0.3 axis mappings became possible. +# Each entry represents one axis in the following format: +# <axis number>:<off value>:<threshold>:<value1>:<value2>:<value3>: ... +# +# This is an example which works for the hat of my Wingman Extreme: +# 2:7800:1000:0:-12000:-32700 +# and leads to the following results: +# value button +# 6800 - 8800 none +# -1000 - 1000 0 +# -13000 - -11000 1 +# -33700 - -31700 2 +# +# If an axis is not mapped in mappings.conf a standard entry will be generated +# which has the same effect like the axis handling of version 0.0.2: +# <num>:0:20000:-25000:25000 +# + +# Wingman Extreme +# 2:7800:1000:0:-12000:-32700 + diff --git a/media-plugins/vdr-joystick/files/rc-addon.sh b/media-plugins/vdr-joystick/files/rc-addon.sh new file mode 100644 index 000000000000..5546cf44ca7d --- /dev/null +++ b/media-plugins/vdr-joystick/files/rc-addon.sh @@ -0,0 +1,11 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-joystick +# +# zulio <zulio(at)zulinux.net> + +plugin_pre_vdr_start() { + + add_plugin_param "-d ${VDR_JOYSTICK_DEVICE:=/dev/js0}" +} + diff --git a/media-plugins/vdr-joystick/metadata.xml b/media-plugins/vdr-joystick/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-joystick/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild new file mode 100644 index 000000000000..335423e75384 --- /dev/null +++ b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: allows using a joystick as a remote control for VDR" +HOMEPAGE="http://www.powarman.de/vdr_plugins.htm" +SRC_URI="http://home.arcor.de/andreas.regel/files/joystick/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.6" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/joystick + doins "${FILESDIR}"/mapping.conf +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "To use the plugin your joystick has to be connected to your game port and its kernel module has to be loaded." + elog "Check configuration file:" + elog "/etc/vdr/plugins/joystick/mapping.conf" + echo +} diff --git a/media-plugins/vdr-kvdrmon/Manifest b/media-plugins/vdr-kvdrmon/Manifest new file mode 100644 index 000000000000..c186188a1227 --- /dev/null +++ b/media-plugins/vdr-kvdrmon/Manifest @@ -0,0 +1 @@ +DIST vdr-kvdrmon-0.6.tgz 17528 SHA256 9cdfaa220116c4efd859a2b67d54accd2cfb12e470adab8caab109b42b7a21bf SHA512 9269557cb188bb4832ec362cb08fb66e36b2a3fb7e557cdc1fe87f83b5e7897fd17dd01c519d0c338afcf36f3da6a224bdcaeb665b6d8e13fa71b2ac2cc8476b WHIRLPOOL 23be5f912dde36e36fd73de2c0ff01e65236fe3c57275a75c15bc03d2056b0c5692990b40c050ae1439c267e2c8c48b35b06144ad5cb16db6c42b76856027cd9 diff --git a/media-plugins/vdr-kvdrmon/files/vdr-kvdrmon-0.6-remove-menu-entry.diff b/media-plugins/vdr-kvdrmon/files/vdr-kvdrmon-0.6-remove-menu-entry.diff new file mode 100644 index 000000000000..c69de8b5bfe1 --- /dev/null +++ b/media-plugins/vdr-kvdrmon/files/vdr-kvdrmon-0.6-remove-menu-entry.diff @@ -0,0 +1,12 @@ +diff -ru kvdrmon-0.6-orig/kvdrmon.c kvdrmon-0.6/kvdrmon.c +--- kvdrmon-0.6-orig/kvdrmon.c 2006-06-29 17:50:57.969031072 +0200 ++++ kvdrmon-0.6/kvdrmon.c 2006-06-29 17:51:07.577953160 +0200 +@@ -46,7 +46,7 @@ + virtual bool Start(void); + virtual void Stop(void); + virtual void Housekeeping(void); +- virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; } ++ virtual const char *MainMenuEntry(void) { return NULL; } + virtual cOsdObject *MainMenuAction(void); + virtual cMenuSetupPage *SetupMenu(void); + virtual bool ProcessArgs(int argc, char *argv[]); diff --git a/media-plugins/vdr-kvdrmon/metadata.xml b/media-plugins/vdr-kvdrmon/metadata.xml new file mode 100644 index 000000000000..375121aa42ba --- /dev/null +++ b/media-plugins/vdr-kvdrmon/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>gentoo@bjusystems.de</email> + <name>Bernd Juraschek</name> + </maintainer> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">vdr-statusleds</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild b/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild new file mode 100644 index 000000000000..c89f0f5bd4d0 --- /dev/null +++ b/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: monitors on KDE Kickerapplet kvdrmon" +HOMEPAGE="http://vdr-statusleds.sf.net/kvdrmon" +SRC_URI="mirror://sourceforge/vdr-statusleds/${P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-remove-menu-entry.diff" ) diff --git a/media-plugins/vdr-launcher/Manifest b/media-plugins/vdr-launcher/Manifest new file mode 100644 index 000000000000..89dd422b2ead --- /dev/null +++ b/media-plugins/vdr-launcher/Manifest @@ -0,0 +1 @@ +DIST vdr-launcher-0.0.4.tgz 15864 SHA256 39ba03ba9191d91ca9ad128ba6d19dd8e0098d2b5c7307627355e4895a3f71af SHA512 1c10b3cb9cc7e4055d087e288f313e9b916e78d81ec604169f48db4b6575d8bba1d8ae54734b73e4e445ce2f4fb5ae8c69edd9f3a944bec1c8cfe9500673ebdc WHIRLPOOL 9267c20e89da6c07e9f68c7825bb6259382de8409bc75a08c97ecd213be9b117d5a0acb43773bde6d2f51c7fc07956787d81d5a0b47b834313714eecfc8b8079 diff --git a/media-plugins/vdr-launcher/files/confd b/media-plugins/vdr-launcher/files/confd new file mode 100644 index 000000000000..759094fde0eb --- /dev/null +++ b/media-plugins/vdr-launcher/files/confd @@ -0,0 +1,11 @@ +# /etc/conf.d/vdr.launcher: +# $Id$ + +# config file for vdr plugin launcher + +# If you want to disable some plugins in the laucher plugin, +# please specify them here +# allowed values: list of plugin names +# default value: do not exclude any plugin +#VDR_LAUNCHER_EXCLUDE="plugin1 plugin2" + diff --git a/media-plugins/vdr-launcher/files/rc-addon.sh b/media-plugins/vdr-launcher/files/rc-addon.sh new file mode 100644 index 000000000000..9b52741e463f --- /dev/null +++ b/media-plugins/vdr-launcher/files/rc-addon.sh @@ -0,0 +1,11 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-launcher +# + +plugin_pre_vdr_start() { + local p + for p in ${VDR_LAUNCHER_EXCLUDE}; do + add_plugin_param "-x ${p}" + done +} diff --git a/media-plugins/vdr-launcher/metadata.xml b/media-plugins/vdr-launcher/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-launcher/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-launcher/vdr-launcher-0.0.4.ebuild b/media-plugins/vdr-launcher/vdr-launcher-0.0.4.ebuild new file mode 100644 index 000000000000..26d10539cc9b --- /dev/null +++ b/media-plugins/vdr-launcher/vdr-launcher-0.0.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: launch other plugins - even when their menu-entry is hidden" +HOMEPAGE="http://people.freenet.de/cwieninger/html/vdr-launcher.html" +SRC_URI="http://winni.vdr-developer.org/launcher/downloads/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.7" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-lcdproc/Manifest b/media-plugins/vdr-lcdproc/Manifest new file mode 100644 index 000000000000..e35c88c7ca18 --- /dev/null +++ b/media-plugins/vdr-lcdproc/Manifest @@ -0,0 +1 @@ +DIST vdr-lcdproc-0.0.10.9.tgz 40465 SHA256 6fcc147fc9ec22fe0532be69112064c5c5b3bb6903ffd050242a3e7eeefd2b52 diff --git a/media-plugins/vdr-lcdproc/metadata.xml b/media-plugins/vdr-lcdproc/metadata.xml new file mode 100644 index 000000000000..9528e201da64 --- /dev/null +++ b/media-plugins/vdr-lcdproc/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-lcdproc/vdr-lcdproc-0.0.10.9.ebuild b/media-plugins/vdr-lcdproc/vdr-lcdproc-0.0.10.9.ebuild new file mode 100644 index 000000000000..0ba941e4ae59 --- /dev/null +++ b/media-plugins/vdr-lcdproc/vdr-lcdproc-0.0.10.9.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 versionator + +VERSION="932" # every bump, new version + +MY_P=${PN}-$(replace_version_separator 3 -jw ${PV}) + +DESCRIPTION="VDR plugin: use LCD device for additional output" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-lcdproc" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${MY_P}.tgz -> ${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6 + >=app-misc/lcdproc-0.4.3" + +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P#vdr-} diff --git a/media-plugins/vdr-lcr/Manifest b/media-plugins/vdr-lcr/Manifest new file mode 100644 index 000000000000..3496ced13144 --- /dev/null +++ b/media-plugins/vdr-lcr/Manifest @@ -0,0 +1 @@ +DIST vdr-lcr-0.0.9.tar.bz2 33314 SHA256 35a80d3662483fd2ed94ff5edb246dae4ac2e6b69bc03376028b3e19f9e0dd7c SHA512 b300f465b3b4fbd0cda33450f6408406d40a952d12fe7eb0fe9e5cd226765e79576550ee78b4c74030d4d32adfb70b2f05711dbae9e7070f9455c430b9c19582 WHIRLPOOL 5e34c65f2e2de30a9420344da4d951e3885e9b924eab6b3d58533381ee4301051cd95f1bcd49abd2d298fc81b365eda4471ea6b72909910034b7471e847873fa diff --git a/media-plugins/vdr-lcr/metadata.xml b/media-plugins/vdr-lcr/metadata.xml new file mode 100644 index 000000000000..0c60c8206fe4 --- /dev/null +++ b/media-plugins/vdr-lcr/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change. + </description> + </maintainer> + <longdescription> + Video Disk Recorder (VDR) Plugin to show best telefon tarif (LCR) on OSD + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-lcr/vdr-lcr-0.0.9.ebuild b/media-plugins/vdr-lcr/vdr-lcr-0.0.9.ebuild new file mode 100644 index 000000000000..7f1cc4eea3e2 --- /dev/null +++ b/media-plugins/vdr-lcr/vdr-lcr-0.0.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: informe about Least Cost Routing (LCR)" +HOMEPAGE="http://lcr.vdr-developer.org" +SRC_URI="http://lcr.vdr-developer.org/downloads/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7 + >=dev-perl/libwww-perl-5.69-r2 + >=dev-perl/HTML-Parser-3.34-r1 + >=www-client/lynx-2.8.4" + +src_install() { + vdr-plugin-2_src_install + + dobin contrib/vdr-lcr-retrieve_data.pl +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "By default, this plugin only supports the German telephone network" + elog "Find more info in /usr/bin/vdr-lcr-retrieve-data.pl how to add your" + elog "own Provider-Parser, or contact the maintainer" +} diff --git a/media-plugins/vdr-live/Manifest b/media-plugins/vdr-live/Manifest new file mode 100644 index 000000000000..68db558ec09d --- /dev/null +++ b/media-plugins/vdr-live/Manifest @@ -0,0 +1 @@ +DIST vdr-live-0.3.0_p20130504.tar.bz2 6348021 SHA256 edd577580b9e99de88bcd3794fcf792bee7df7ccc41bfebaeebef22bac5c78a7 SHA512 7a238a4567f90448b7813366dbdb5112ab98079fd5a2c9d59d09273853fd62ad520ca9ad373704a8888eb7c25119772421fe998d87069647c40d6d2d869e09c1 WHIRLPOOL 7f8d7ff69914d90af41d4c550df6f57a658e8263d320167fed84f4990063a5323c1f5d58d44283682807c673af81c8e32cd44e13a9aa57e849e3640b4ecac936 diff --git a/media-plugins/vdr-live/files/confd b/media-plugins/vdr-live/files/confd new file mode 100644 index 000000000000..b96f0696c08a --- /dev/null +++ b/media-plugins/vdr-live/files/confd @@ -0,0 +1,8 @@ +# configuration of vdr-live + +# use this portnumber +LIVE_PORT="8008" + +# bind to these IP addresses +LIVE_BIND_IPS="127.0.0.1" + diff --git a/media-plugins/vdr-live/files/confd-0.2 b/media-plugins/vdr-live/files/confd-0.2 new file mode 100644 index 000000000000..bbbbcb5e9d42 --- /dev/null +++ b/media-plugins/vdr-live/files/confd-0.2 @@ -0,0 +1,23 @@ +# configuration of media-plugins/vdr-live + +# for people who want more secure +# with ssl access. +# on usage, you have to install vdr-live +# with USE="ssl" +# +# SSL ADDRESS --> https://<your-ip>:8443/ +# +# allowed values: yes no +# default: no +#LIVE_USE_SSL="yes" + +# default given portnumber +# only changes needed on problems +# +#LIVE_PORT="8008" +#LIVE_SSL_PORT="8443" + +# bind to these IP addresses +# default, your IP will automaticly detected +# +LIVE_BIND_IPS="127.0.0.1" diff --git a/media-plugins/vdr-live/files/confd-0.3 b/media-plugins/vdr-live/files/confd-0.3 new file mode 100644 index 000000000000..cb1dce04dfb5 --- /dev/null +++ b/media-plugins/vdr-live/files/confd-0.3 @@ -0,0 +1,29 @@ +# configuration of media-plugins/vdr-live + +# for people who want more secure +# with ssl access. +# on usage, you have to install vdr-live +# with USE="ssl" +# +# SSL ADDRESS --> https://<your-ip>:8443/ +# +# allowed values: yes no +# default: no +#LIVE_USE_SSL="yes" + +# default given portnumber +# only changes needed on problems +# +#LIVE_PORT="8008" +#LIVE_SSL_PORT="8443" + +# bind to these IP addresses +# default, your IP will automaticly detected +# +LIVE_BIND_IPS="127.0.0.1" + +# for people who have epgimges +# default: /var/cache/vdr/epgimges +# +# set this to your own path, if needed +#EPGIMAGES_DIR=" " diff --git a/media-plugins/vdr-live/files/rc-addon-0.2.sh b/media-plugins/vdr-live/files/rc-addon-0.2.sh new file mode 100644 index 000000000000..790fa962e94a --- /dev/null +++ b/media-plugins/vdr-live/files/rc-addon-0.2.sh @@ -0,0 +1,26 @@ +# $Id$ +# +# zzam@g.o +# hd_brummy@g.o + + +plugin_pre_vdr_start() { + if [ "${LIVE_USE_SSL:=no}" = "yes" ]; then + if [ -n "${LIVE_SSL_PORT}" ]; then + add_plugin_param "-s ${LIVE_SSL_PORT}" + fi + + add_plugin_param "--cert=/etc/vdr/plugins/live/live.pem" + add_plugin_param "--key=/etc/vdr/plugins/live/live-key.pem" + + else + if [ -n "${LIVE_PORT}" ]; then + add_plugin_param "-p ${LIVE_PORT}" + fi + fi + + local ip + for ip in ${LIVE_BIND_IPS:=`hostname -i`}; do + add_plugin_param "-i ${ip}" + done +} diff --git a/media-plugins/vdr-live/files/rc-addon-0.3.sh b/media-plugins/vdr-live/files/rc-addon-0.3.sh new file mode 100644 index 000000000000..74b4738f859d --- /dev/null +++ b/media-plugins/vdr-live/files/rc-addon-0.3.sh @@ -0,0 +1,31 @@ +# $Id$ +# +# zzam@g.o +# hd_brummy@g.o + +EPGIMAGES_DIR="/var/cache/vdr/epgimages" + +plugin_pre_vdr_start() { + if [ "${LIVE_USE_SSL:=no}" = "yes" ]; then + if [ -n "${LIVE_SSL_PORT}" ]; then + add_plugin_param "-s ${LIVE_SSL_PORT}" + fi + + add_plugin_param "--cert=/etc/vdr/plugins/live/live.pem" + add_plugin_param "--key=/etc/vdr/plugins/live/live-key.pem" + + else + if [ -n "${LIVE_PORT}" ]; then + add_plugin_param "-p ${LIVE_PORT}" + fi + fi + + if [ -d ${EPGIMAGES_DIR} ]; then + add_plugin_param "--epgimages=${EPGIMAGES_DIR}" + fi + + local ip + for ip in ${LIVE_BIND_IPS:=`hostname -i`}; do + add_plugin_param "-i ${ip}" + done +} diff --git a/media-plugins/vdr-live/files/rc-addon.sh b/media-plugins/vdr-live/files/rc-addon.sh new file mode 100644 index 000000000000..f637736d49b2 --- /dev/null +++ b/media-plugins/vdr-live/files/rc-addon.sh @@ -0,0 +1,11 @@ +plugin_pre_vdr_start() { + if [ -n "${LIVE_PORT}" ]; then + add_plugin_param "-p ${LIVE_PORT}" + fi + + local ip + for ip in ${LIVE_BIND_IPS}; do + add_plugin_param "-i ${ip}" + done +} + diff --git a/media-plugins/vdr-live/files/vdr-1.7.28-compatibility.patch b/media-plugins/vdr-live/files/vdr-1.7.28-compatibility.patch new file mode 100644 index 000000000000..d95ebd748c73 --- /dev/null +++ b/media-plugins/vdr-live/files/vdr-1.7.28-compatibility.patch @@ -0,0 +1,44 @@ +From e154fec60a27d5a74e6940941f789e17d7169d54 Mon Sep 17 00:00:00 2001 +From: Christian Ruppert <idl0r@gentoo.org> +Date: Mon, 4 Jun 2012 01:42:31 +0200 +Subject: [PATCH] Compile fix for >=vdr-1.7.28 + +--- + tasks.cpp | 10 ++++++++++ + 1 files changed, 10 insertions(+), 0 deletions(-) + +diff --git a/tasks.cpp b/tasks.cpp +index 9f20190..2a2b8d5 100644 +--- a/tasks.cpp ++++ b/tasks.cpp +@@ -60,9 +60,15 @@ void PlayRecordingTask::Action() + + const char *current = NowReplaying(); + if (!current || (0 != strcmp(current, recording->FileName()))) { ++#if VDRVERSNUM >= 10728 ++ cReplayControl::SetRecording( 0 ); ++ cControl::Shutdown(); ++ cReplayControl::SetRecording( recording->FileName() ); ++#else + cReplayControl::SetRecording( 0, 0 ); + cControl::Shutdown(); + cReplayControl::SetRecording( recording->FileName(), recording->Title() ); ++#endif + cControl::Launch( new cReplayControl ); + cControl::Attach(); + } +@@ -122,7 +128,11 @@ void StopRecordingTask::Action() + return; + } + ++#if VDRVERSNUM >= 10728 ++ cReplayControl::SetRecording( 0 ); ++#else + cReplayControl::SetRecording( 0, 0 ); ++#endif + cControl::Shutdown(); + } + +-- +1.7.3.4 + diff --git a/media-plugins/vdr-live/files/vdr-live-0.3.0_p20130504_vdr-2.1.2.diff b/media-plugins/vdr-live/files/vdr-live-0.3.0_p20130504_vdr-2.1.2.diff new file mode 100644 index 000000000000..1346c9be611d --- /dev/null +++ b/media-plugins/vdr-live/files/vdr-live-0.3.0_p20130504_vdr-2.1.2.diff @@ -0,0 +1,69 @@ +diff -Naur vdr-live-0.3.0_p20130504.orig/pages/recordings.ecpp vdr-live-0.3.0_p20130504/pages/recordings.ecpp +--- vdr-live-0.3.0_p20130504.orig/pages/recordings.ecpp 2013-10-23 03:28:13.746493449 +0200 ++++ vdr-live-0.3.0_p20130504/pages/recordings.ecpp 2013-10-23 03:29:48.779832793 +0200 +@@ -79,7 +79,11 @@ + deletions.clear(); + + int FreeMB, UsedMB; ++#if APIVERSNUM > 20101 ++int Percent = cVideoDirectory::VideoDiskSpace(&FreeMB, &UsedMB); ++#else + int Percent = VideoDiskSpace(&FreeMB, &UsedMB); ++#endif + int Minutes = int(double(FreeMB) / MB_PER_MINUTE); + int Hours = Minutes / 60; + Minutes %= 60; +diff -Naur vdr-live-0.3.0_p20130504.orig/recman.cpp vdr-live-0.3.0_p20130504/recman.cpp +--- vdr-live-0.3.0_p20130504.orig/recman.cpp 2013-10-23 03:28:13.756493450 +0200 ++++ vdr-live-0.3.0_p20130504/recman.cpp 2013-10-23 03:31:25.813172263 +0200 +@@ -112,7 +112,11 @@ + if (found == string::npos) + return false; + ++#if APIVERSNUM > 20101 ++ string newname = string(cVideoDirectory::Name()) + "/" + name + oldname.substr(found); ++#else + string newname = string(VideoDirectory) + "/" + name + oldname.substr(found); ++#endif + + if (!MoveDirectory(oldname.c_str(), newname.c_str(), copy)) { + esyslog("[LIVE]: renaming failed from '%s' to '%s'", oldname.c_str(), newname.c_str()); +diff -Naur vdr-live-0.3.0_p20130504.orig/tools.cpp vdr-live-0.3.0_p20130504/tools.cpp +--- vdr-live-0.3.0_p20130504.orig/tools.cpp 2013-10-23 03:28:13.799826786 +0200 ++++ vdr-live-0.3.0_p20130504/tools.cpp 2013-10-23 03:34:29.146517191 +0200 +@@ -365,7 +365,11 @@ + stat(source.c_str(), &st1); + stat(target.c_str(),&st2); + if (!copy && (st1.st_dev == st2.st_dev)) { ++#if APIVERSNUM > 20101 ++ if (!cVideoDirectory::RenameVideoFile(source.c_str(), target.c_str())) { ++#else + if (!RenameVideoFile(source.c_str(), target.c_str())) { ++#endif + esyslog("[LIVE]: rename failed from %s to %s", source.c_str(), target.c_str()); + return false; + } +@@ -461,7 +465,11 @@ + size_t found = source.find_last_of(delim); + if (found != std::string::npos) { + source = source.substr(0, found); ++#if APIVERSNUM > 20101 ++ while (source != cVideoDirectory::Name()) { ++#else + while (source != VideoDirectory) { ++#endif + found = source.find_last_of(delim); + if (found == std::string::npos) + break; +@@ -478,7 +486,11 @@ + size_t found = target.find_last_of(delim); + if (found != std::string::npos) { + target = target.substr(0, found); ++#if APIVERSNUM > 20101 ++ while (target != cVideoDirectory::Name()) { ++#else + while (target != VideoDirectory) { ++#endif + found = target.find_last_of(delim); + if (found == std::string::npos) + break; diff --git a/media-plugins/vdr-live/files/vdr-live_pcre.patch b/media-plugins/vdr-live/files/vdr-live_pcre.patch new file mode 100644 index 000000000000..9767cca173a5 --- /dev/null +++ b/media-plugins/vdr-live/files/vdr-live_pcre.patch @@ -0,0 +1,26 @@ +From 6b2965a86a20c885fc1fae8d4dea24b29b38805e Mon Sep 17 00:00:00 2001 +From: Christian Ruppert <idl0r@gentoo.org> +Date: Mon, 4 Jun 2012 02:29:55 +0200 +Subject: [PATCH] Make PCRE optional + +--- + pages/recordings.ecpp | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp +index ebd57e0..8bdad66 100644 +--- a/pages/recordings.ecpp ++++ b/pages/recordings.ecpp +@@ -1,6 +1,9 @@ + <%pre> + #include <string> ++ ++#ifdef HAVE_LIBPCRECPP + #include <pcrecpp.h> ++#endif + + #include <vdr/plugin.h> + #include <vdr/config.h> +-- +1.7.3.4 + diff --git a/media-plugins/vdr-live/metadata.xml b/media-plugins/vdr-live/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-live/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild new file mode 100644 index 000000000000..e7f2941e30d5 --- /dev/null +++ b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 ssl-cert + +DESCRIPTION="VDR Plugin: Web Access To Settings" +HOMEPAGE="http://live.vdr-developer.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="pcre ssl" + +DEPEND="media-video/vdr + >=dev-libs/tntnet-2.2.1[ssl=] + >=dev-libs/cxxtools-2.2.1 + pcre? ( >=dev-libs/libpcre-8.12[cxx] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}" + +VDR_CONFD_FILE="${FILESDIR}/confd-0.2" +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.2.sh" + +KEEP_I18NOBJECT="yes" + +make_live_cert() { + # TODO: still true? + # ssl-cert eclass creates a "invalid" cert, create our own one + local base=$(get_base 1) + local keydir="/etc/vdr/plugins/live" + + SSL_ORGANIZATION="${SSL_ORGANIZATION:-VDR Plugin Live}" + SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}" + + echo + gen_cnf || return 1 + echo + gen_key 1 || return 1 + gen_csr 1 || return 1 + gen_crt 1 || return 1 + echo + + install -d "${ROOT}${keydir}" + install -m0400 "${base}.key" "${ROOT}${keydir}/live-key.pem" + install -m0444 "${base}.crt" "${ROOT}${keydir}/live.pem" + chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live{,-key}.pem +} + +src_configure() { + # tmp. disabled gcc -std=c++11, due massiv compile errors + filter-flags -std=c++11 +} + +src_prepare() { + # remove untranslated language files + rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}_vdr-2.1.2.diff" + + if ! use pcre; then + sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile || die + fi +} + +src_install() { + vdr-plugin-2_src_install + + insinto /usr/share/vdr/plugins/live + doins -r live/* + + fowners -R vdr:vdr /usr/share/vdr/plugins/live +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "To be able to use all functions of vdr-live" + elog "you should emerge and enable" + elog "media-plugins/vdr-epgsearch to search the EPG," + elog "media-plugins/vdr-streamdev for Live-TV streaming" + + elog "The default username/password is:" + elog "\tadmin:live" + + if use ssl ; then + if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.pem; then + einfo "found an existing SSL cert, to create a new SSL cert, run:\n" + einfo "emerge --config ${PN}" + else + einfo "No SSL cert found, creating a default one now" + make_live_cert + fi + fi +} + +pkg_config() { + make_live_cert +} diff --git a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild new file mode 100644 index 000000000000..3b226ddf04ac --- /dev/null +++ b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r2.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 ssl-cert + +DESCRIPTION="VDR Plugin: Web Access To Settings" +HOMEPAGE="http://live.vdr-developer.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pcre ssl" + +DEPEND="media-video/vdr + >=dev-libs/tntnet-2.2.1[ssl=] + >=dev-libs/cxxtools-2.2.1 + pcre? ( >=dev-libs/libpcre-8.12[cxx] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}" + +VDR_CONFD_FILE="${FILESDIR}/confd-0.3" +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.3.sh" + +KEEP_I18NOBJECT="yes" + +make_live_cert() { + # TODO: still true? + # ssl-cert eclass creates a "invalid" cert, create our own one + local base=$(get_base 1) + local keydir="/etc/vdr/plugins/live" + + SSL_ORGANIZATION="${SSL_ORGANIZATION:-VDR Plugin Live}" + SSL_COMMONNAME="${SSL_COMMONNAME:-`hostname -f`}" + + echo + gen_cnf || return 1 + echo + gen_key 1 || return 1 + gen_csr 1 || return 1 + gen_crt 1 || return 1 + echo + + install -d "${ROOT}${keydir}" + install -m0400 "${base}.key" "${ROOT}${keydir}/live-key.pem" + install -m0444 "${base}.crt" "${ROOT}${keydir}/live.pem" + chown vdr:vdr "${ROOT}"/etc/vdr/plugins/live/live{,-key}.pem +} + +src_configure() { + # tmp. disabled gcc -std=c++11, due massiv compile errors + filter-flags -std=c++11 +} + +src_prepare() { + # new Makefile handling ToDp +# cp "${FILESDIR}/live.mk" "${S}/Makefile" + + # remove untranslated language files + rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}_vdr-2.1.2.diff" + + if ! use pcre; then + sed -i "s:^HAVE_LIBPCRECPP:#HAVE_LIBPCRECPP:" Makefile || die + fi +} + +src_install() { + vdr-plugin-2_src_install + + insinto /usr/share/vdr/plugins/live + doins -r live/* + + fowners -R vdr:vdr /usr/share/vdr/plugins/live +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "To be able to use all functions of vdr-live" + elog "you should emerge and enable" + elog "media-plugins/vdr-epgsearch to search the EPG," + elog "media-plugins/vdr-streamdev for Live-TV streaming" + + elog "The default username/password is:" + elog "\tadmin:live" + + if use ssl ; then + if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.pem; then + einfo "found an existing SSL cert, to create a new SSL cert, run:\n" + einfo "emerge --config ${PN}" + else + einfo "No SSL cert found, creating a default one now" + make_live_cert + fi + fi +} + +pkg_config() { + make_live_cert +} diff --git a/media-plugins/vdr-loadepg/Manifest b/media-plugins/vdr-loadepg/Manifest new file mode 100644 index 000000000000..603673f3402a --- /dev/null +++ b/media-plugins/vdr-loadepg/Manifest @@ -0,0 +1,2 @@ +DIST vdr-loadepg-0.2.3.tgz 54973 SHA256 78332844e12692328113915266d68f09ad678e2caa5bfbb31109bdd5ca84f309 SHA512 01015e0cd57436a3c0223b168a9f6a4f10bf2002264167bec4144f8eeae6ca2ce5ba0008870b18be9ee68f100de4a77deb67fe06a57688c35f5c277d3421b9d8 WHIRLPOOL 0f0662fb5a994cb6760220e79d3e7fd4ffe263bed652d6a22fc7c2f098c3fe65c6ed769ae48f37e46e01da747a014c452dfa1566090322968831986e4834205e +DIST vdr-loadepg-0.2.5.tgz 54958 SHA256 174f865975ae206458269b0156fa8366fb432c1875a070ce58a23f4c48fadd70 SHA512 193fdd3298a547c4a503f0a64553e28611f3920743c3b224fd5bb3f57b88c4345859e3127e0f7e7aa968b32f1a7f1d5ceed6ce29414cbfe700c1f14efe889adb WHIRLPOOL da696e76896a8700fb815bb4c51fdf5c5ca16341bd7071b0f97b37dd50d9995b0a6671ce3283e1f48f7f0f46b7ef6546c94171207f7471cb6d290c4ec380d9a2 diff --git a/media-plugins/vdr-loadepg/files/rc-addon.sh b/media-plugins/vdr-loadepg/files/rc-addon.sh new file mode 100644 index 000000000000..a0159cd38701 --- /dev/null +++ b/media-plugins/vdr-loadepg/files/rc-addon.sh @@ -0,0 +1,15 @@ +# $Id$ +# +# rc-addon-script for plugin loadepg +# +# Joerg Bornkessel hd_brummy@gentoo.org +# Gentoo-VDR-Project vdr@gentoo.org +# + +LOADEPG_CONFDIR="/etc/vdr/plugins/loadepg" + +plugin_pre_vdr_start() { + + add_plugin_param "-c ${LOADEPG_CONFDIR}" +} + diff --git a/media-plugins/vdr-loadepg/metadata.xml b/media-plugins/vdr-loadepg/metadata.xml new file mode 100644 index 000000000000..4a5789f10e28 --- /dev/null +++ b/media-plugins/vdr-loadepg/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + This is the Loadepg plugin for the Video Disk Recorder (VDR) + With this Plugin EPG data can be received via Satelite, + become the information from the Canal+ group (Mediahighway of receivers) ready placed. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-loadepg/vdr-loadepg-0.2.3.ebuild b/media-plugins/vdr-loadepg/vdr-loadepg-0.2.3.ebuild new file mode 100644 index 000000000000..307cbc71d12e --- /dev/null +++ b/media-plugins/vdr-loadepg/vdr-loadepg-0.2.3.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 vdr-plugin-2 + +DESCRIPTION="VDR : Loadepg Plugin; Canal+ group (Mediahighway)" +HOMEPAGE="http://lukkinosat.altervista.org/" +SRC_URI="http://lukkinosat.altervista.org/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.0" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i loadepg.h -e 's:"../../../libsi/section.h":<vdr/libsi/section.h>:' +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/loadepg + doins "${S}"/conf/* + fowners -R vdr:vdr /etc/vdr/plugins/loadepg +} diff --git a/media-plugins/vdr-loadepg/vdr-loadepg-0.2.5.ebuild b/media-plugins/vdr-loadepg/vdr-loadepg-0.2.5.ebuild new file mode 100644 index 000000000000..68ddc687a2bf --- /dev/null +++ b/media-plugins/vdr-loadepg/vdr-loadepg-0.2.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR : Loadepg Plugin; Canal+ group (Mediahighway)" +HOMEPAGE="http://lukkinosat.altervista.org/" +SRC_URI="http://lukkinosat.altervista.org/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2" + +src_prepare() { + # remove untranslated po files + rm "${S}/po/{ca_ES,cs_CZ,da_DK,el_GR,et_EE,fr_FR,hr_HR,hu_HU,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po" + + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include loadepg.h +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/loadepg + doins "${S}"/conf/* + fowners -R vdr:vdr /etc/vdr/plugins/loadepg +} diff --git a/media-plugins/vdr-mailbox/Manifest b/media-plugins/vdr-mailbox/Manifest new file mode 100644 index 000000000000..cc30ef0701ac --- /dev/null +++ b/media-plugins/vdr-mailbox/Manifest @@ -0,0 +1,2 @@ +DIST vdr-mailbox-0.6.0.tgz 176093 SHA256 af0e776cfd967163e09fc442dbf9a2bb3ad26e9f5a5aa95781775920fdbf1a41 +DIST vdr-mailbox-0.7.0.tgz 171886 SHA256 d1f5af5f6976f2a0af9ad99ac1fe60e4244269b58d36e59de808612709e4ed76 SHA512 ec20b675e9c92fd2e8dda1e2bb1799a6b725e0a8a879e9f45f3876bf2ef2a85fab3303c94db669e6f259cf6ef83cd417260fcbca5290c74c59f5585a1c28be3e WHIRLPOOL 1eb715b1e52951f36cb10157a345124301bbde4d42bc5120155a0432106a8aa5f54773560ea4f077eb21a08b85363a9b4955a887d3a4be7df6d60dd280f725df diff --git a/media-plugins/vdr-mailbox/metadata.xml b/media-plugins/vdr-mailbox/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-mailbox/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-mailbox/vdr-mailbox-0.6.0.ebuild b/media-plugins/vdr-mailbox/vdr-mailbox-0.6.0.ebuild new file mode 100644 index 000000000000..30b4f4886dbb --- /dev/null +++ b/media-plugins/vdr-mailbox/vdr-mailbox-0.6.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: MailBox" +HOMEPAGE="http://alex.vdr-developer.org" +SRC_URI="http://alex.vdr-developer.org/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.8 + >=net-libs/c-client-2002e-r1" + +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0.ebuild b/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0.ebuild new file mode 100644 index 000000000000..e07cbbd55ad7 --- /dev/null +++ b/media-plugins/vdr-mailbox/vdr-mailbox-0.7.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: MailBox provides access to multiple e-mail accounts" +HOMEPAGE="http://alex.vdr-developer.org" +SRC_URI="http://alex.vdr-developer.org/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.41 + >=net-libs/c-client-2002e-r1" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-markad/Manifest b/media-plugins/vdr-markad/Manifest new file mode 100644 index 000000000000..76b946f8a5f4 --- /dev/null +++ b/media-plugins/vdr-markad/Manifest @@ -0,0 +1 @@ +DIST vdr-markad-0.1.4.tgz 118728 SHA256 f940765c5dd4a5d66e1ff2650fa0a2b7bda7138953782431230a6c7539334a85 SHA512 10121e72803f489cdcabb46c989ecf4ae2ced1893bbdaccefbeef412ca34b124952ddf4639b3f78da3413e7b784ead4a60034a70cbab43a7c27e0e41f9653ae1 WHIRLPOOL 9e926e44798c5449346b078cfb906341a15715be49bff52bbad7594c299edff5f2454f1f2de9f5f3dc05a85968a860baa3d7796e220461da2663ca897db87414 diff --git a/media-plugins/vdr-markad/files/vdr-markad-0.1.4-libav9.patch b/media-plugins/vdr-markad/files/vdr-markad-0.1.4-libav9.patch new file mode 100644 index 000000000000..f11fc6137000 --- /dev/null +++ b/media-plugins/vdr-markad/files/vdr-markad-0.1.4-libav9.patch @@ -0,0 +1,40 @@ +diff -urN markad-0.1.4.old/command/decoder.cpp markad-0.1.4/command/decoder.cpp +--- markad-0.1.4.old/command/decoder.cpp 2013-06-17 21:52:44.333367552 +0200 ++++ markad-0.1.4/command/decoder.cpp 2013-06-17 21:53:03.708366863 +0200 +@@ -11,6 +11,7 @@ + #include <sys/types.h> + #include <string.h> + #include <cstdlib> ++#include <cstdio> + + #include "decoder.h" + +@@ -172,7 +173,7 @@ + + if (video_codec) + { +- video_context = avcodec_alloc_context(); ++ video_context = avcodec_alloc_context3(NULL); + if (video_context) + { + if (video_codec->capabilities & CODEC_CAP_TRUNCATED) +@@ -321,7 +322,7 @@ + { + avcodec_flush_buffers(video_context); + AVCodecContext *dest; +- dest=avcodec_alloc_context(); ++ dest=avcodec_alloc_context3(NULL); + if (dest) + { + if (avcodec_copy_context(dest,video_context)!=0) ret=false; +diff -urN markad-0.1.4.old/command/decoder.h markad-0.1.4/command/decoder.h +--- markad-0.1.4.old/command/decoder.h 2013-06-17 21:52:44.333367552 +0200 ++++ markad-0.1.4/command/decoder.h 2013-06-17 21:53:03.708366863 +0200 +@@ -18,6 +18,7 @@ + #include <avcodec.h> + #else + #include <libavcodec/avcodec.h> ++#include <libavutil/mem.h> + #endif + + #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) diff --git a/media-plugins/vdr-markad/files/vdr-markad-0.1.4_ffmpeg-2.patch b/media-plugins/vdr-markad/files/vdr-markad-0.1.4_ffmpeg-2.patch new file mode 100644 index 000000000000..c94d54ea7aef --- /dev/null +++ b/media-plugins/vdr-markad/files/vdr-markad-0.1.4_ffmpeg-2.patch @@ -0,0 +1,13 @@ +diff -Naur markad-0.1.4.orig/command/decoder.cpp markad-0.1.4/command/decoder.cpp +--- markad-0.1.4.orig/command/decoder.cpp 2014-01-29 20:16:23.000000000 +0100 ++++ markad-0.1.4/command/decoder.cpp 2014-01-29 20:17:49.000000000 +0100 +@@ -152,7 +152,8 @@ + } + + video_codec=NULL; +- CodecID video_codecid; ++// CodecID video_codecid; ++ AVCodecID video_codecid; + + if (useH264) + { diff --git a/media-plugins/vdr-markad/metadata.xml b/media-plugins/vdr-markad/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-markad/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-markad/vdr-markad-0.1.4-r1.ebuild b/media-plugins/vdr-markad/vdr-markad-0.1.4-r1.ebuild new file mode 100644 index 000000000000..ced44eb5e3e4 --- /dev/null +++ b/media-plugins/vdr-markad/vdr-markad-0.1.4-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1041" # every bump, new version + +DESCRIPTION="VDR Plugin: marks advertisements in VDR recordings" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-markad/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6 + virtual/ffmpeg[mp3,x264] + !media-video/noad" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}-${PV}/plugin" +S2="${WORKDIR}/${VDRPLUGIN}-${PV}/command" + +# vdr-plugin-2.eclass changes +PO_SUBDIR="../command" + +src_prepare() { + vdr-plugin-2_src_prepare + + cd "${S2}" + epatch "${FILESDIR}/${PN}-0.1.4-libav9.patch" + sed -i Makefile \ + -e "s:\$(CXXFLAGS) \$(OBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(OBJS):" \ + -e "s:\@\$(STRIP) \$(DESTDIR)/usr/bin/markad::" + + if has_version ">=media-video/vdr-1.7.15"; then + sed -e "s:2001:6419:" -i markad-standalone.cpp + fi + + epatch "${FILESDIR}/${P}_ffmpeg-2.patch" + + # compile fix, tested libav11, ffmpeg-2.5.2 + sed -e "s:CODEC_ID_:AV_CODEC_ID_:"\ + -e "s:avcodec_alloc_frame:av_frame_alloc:"\ + -i "${S2}"/decoder.cpp +} + +src_compile() { + vdr-plugin-2_src_compile + + cd "${S2}" + emake markad || die "Compiling command-line markad binary failed" +} + +src_install() { + vdr-plugin-2_src_install + + cd "${S2}" + emake install DESTDIR="${D}" || die "emake install failed" + + cd "${WORKDIR}/${VDRPLUGIN}-${PV}" + dodoc README HISTORY +} diff --git a/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild b/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild new file mode 100644 index 000000000000..88523c5e8809 --- /dev/null +++ b/media-plugins/vdr-markad/vdr-markad-0.1.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1041" # every bump, new version + +DESCRIPTION="VDR Plugin: marks advertisements in VDR recordings" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-markad/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.6 + virtual/ffmpeg[mp3,x264] + !media-video/noad" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}-${PV}/plugin" +S2="${WORKDIR}/${VDRPLUGIN}-${PV}/command" + +# vdr-plugin-2.eclass changes +PO_SUBDIR="../command" + +src_prepare() { + vdr-plugin-2_src_prepare + + cd "${S2}" + epatch "${FILESDIR}/${PN}-0.1.4-libav9.patch" + sed -i Makefile \ + -e "s:\$(CXXFLAGS) \$(OBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(OBJS):" \ + -e "s:\@\$(STRIP) \$(DESTDIR)/usr/bin/markad::" + + if has_version ">=media-video/vdr-1.7.15"; then + sed -e "s:2001:6419:" -i markad-standalone.cpp + fi + + epatch "${FILESDIR}/${P}_ffmpeg-2.patch" +} + +src_compile() { + vdr-plugin-2_src_compile + + cd "${S2}" + emake markad || die "Compiling command-line markad binary failed" +} + +src_install() { + vdr-plugin-2_src_install + + cd "${S2}" + emake install DESTDIR="${D}" || die "emake install failed" + + cd "${WORKDIR}/${VDRPLUGIN}-${PV}" + dodoc README HISTORY +} diff --git a/media-plugins/vdr-menuorg/Manifest b/media-plugins/vdr-menuorg/Manifest new file mode 100644 index 000000000000..6da5de4519bc --- /dev/null +++ b/media-plugins/vdr-menuorg/Manifest @@ -0,0 +1 @@ +DIST vdr-menuorg-0.5.1.tar.gz 26004 SHA256 f4493ac4693b41e667ba5e2c52e93dbd0c79320b01376f43f509c0d5cefce1e5 SHA512 b103f092bca6deba3f88b78fa0728d5d5b2fa895f62acd7d242f0495ba41597ba6f2cafbf548e07d5482b193171b3a0d52d2a46f1d3c93737976e431e77a21dd WHIRLPOOL 3462bdc132779bdfab43757b9d032b15d557c2d21876ebf4954fd80e5e3ce1b163b6f469dab6aa67a3d7f26ff75acb7781ef861c4b523b11182f73651956beb3 diff --git a/media-plugins/vdr-menuorg/files/rc-addon.sh b/media-plugins/vdr-menuorg/files/rc-addon.sh new file mode 100644 index 000000000000..8a7baa6023be --- /dev/null +++ b/media-plugins/vdr-menuorg/files/rc-addon.sh @@ -0,0 +1,12 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-menuorg +# +# Joerg Bornkessel <hd_brummy@gentoo.org> + +plugin_pre_vdr_start() { + + add_plugin_param "-c /etc/vdr/plugins/menuorg/menuorg.xml" +} + + diff --git a/media-plugins/vdr-menuorg/metadata.xml b/media-plugins/vdr-menuorg/metadata.xml new file mode 100644 index 000000000000..7b718b6f9765 --- /dev/null +++ b/media-plugins/vdr-menuorg/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-menuorg/vdr-menuorg-0.5.1.ebuild b/media-plugins/vdr-menuorg/vdr-menuorg-0.5.1.ebuild new file mode 100644 index 000000000000..4a4bfd9dcda9 --- /dev/null +++ b/media-plugins/vdr-menuorg/vdr-menuorg-0.5.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="1312" # every bump, new version + +DESCRIPTION="VDR plugin: make osd menu configurable via config-file" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-menuorg" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0[menuorg] + dev-cpp/libxmlpp:2.6 + dev-cpp/glibmm" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/menuorg + doins menuorg.xml +} diff --git a/media-plugins/vdr-mlist/Manifest b/media-plugins/vdr-mlist/Manifest new file mode 100644 index 000000000000..bf1e0675e9e0 --- /dev/null +++ b/media-plugins/vdr-mlist/Manifest @@ -0,0 +1 @@ +DIST vdr-mlist-1.0.2.tgz 12895 SHA256 41be5daa9f65c3dcb288668458101bbd4f594f05414781395a7dc9c0c72503e1 SHA512 29e03f4ef4f4085e6e04e4ff4741003f2470bac81992749c1eb5c83ef8e179c9a701e0e2b766cc24458f17d64bccf4484bd7f9be14f3661dbb09979d0812982e WHIRLPOOL f6e7cb3687bb153de42c0b271c062bc8c7891e686912e7a48eb8ec22f23710e87ff9c997a589f3d341b1db0845cc0491c5ecd23264155d6238ab77ad7ddd4b30 diff --git a/media-plugins/vdr-mlist/files/vdr-mlist-0.0.5-vdr-1.4.diff b/media-plugins/vdr-mlist/files/vdr-mlist-0.0.5-vdr-1.4.diff new file mode 100644 index 000000000000..6cbd0acab890 --- /dev/null +++ b/media-plugins/vdr-mlist/files/vdr-mlist-0.0.5-vdr-1.4.diff @@ -0,0 +1,26 @@ +diff -ru mlist-0.0.5-orig/i18n.h mlist-0.0.5/i18n.h +--- mlist-0.0.5-orig/i18n.h 2008-04-28 10:46:28.131558650 +0200 ++++ mlist-0.0.5/i18n.h 2008-04-28 10:46:46.251551253 +0200 +@@ -12,4 +12,8 @@ + + extern const tI18nPhrase Phrases[]; + ++#ifndef trNOOP ++#define trNOOP(s) (s) ++#endif ++ + #endif //_I18N__H +Nur in mlist-0.0.5: libvdr-mlist.so. +Nur in mlist-0.0.5: libvdr-mlist.so.1.4.5. +diff -ru mlist-0.0.5-orig/mlist.c mlist-0.0.5/mlist.c +--- mlist-0.0.5-orig/mlist.c 2008-04-28 10:46:28.131558650 +0200 ++++ mlist-0.0.5/mlist.c 2008-04-28 10:47:00.091552984 +0200 +@@ -10,6 +10,7 @@ + #include <vdr/status.h> + #include <vdr/osdbase.h> + #include <time.h> ++#include "i18n.h" + + static const char *VERSION = "0.0.5"; + static const char *DESCRIPTION = trNOOP("Displays the message history"); +Nur in mlist-0.0.5: mlist.o. diff --git a/media-plugins/vdr-mlist/metadata.xml b/media-plugins/vdr-mlist/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-mlist/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-mlist/vdr-mlist-1.0.2.ebuild b/media-plugins/vdr-mlist/vdr-mlist-1.0.2.ebuild new file mode 100644 index 000000000000..e1ca0c7eb57f --- /dev/null +++ b/media-plugins/vdr-mlist/vdr-mlist-1.0.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Show a history of the last OSD message" +HOMEPAGE="http://www.joachim-wilke.de/?alias=vdr-mlist" +SRC_URI="http://joachim-wilke.de/vdr-mlist/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-mount/Manifest b/media-plugins/vdr-mount/Manifest new file mode 100644 index 000000000000..283153cdc74d --- /dev/null +++ b/media-plugins/vdr-mount/Manifest @@ -0,0 +1 @@ +DIST vdr-mount-0.0.2.tgz 13127 SHA256 5aceb1b21af73a73a9da0d6fccd1f522c0126d04af6bcae161dd2b82627c45aa SHA512 1a16c192ef66fb1e4f41c304e4191b2fe759994e02b8965b314ef79cc5d8bb9dcf39d982902b5b651078e201c3dc77d5a2d7e28a38942d399da0692ff47cf116 WHIRLPOOL c6fd9a011a0520f4a4025aac6fbdb0855b48af2169c6d85f331143434d090446b512f4f685618b08780c1399f0bb0ae3e0224c9f3cd3d8ea2647c4933edacba2 diff --git a/media-plugins/vdr-mount/files/vdr-mount-0.0.2-makefile-fix.diff b/media-plugins/vdr-mount/files/vdr-mount-0.0.2-makefile-fix.diff new file mode 100644 index 000000000000..ba2bcc437242 --- /dev/null +++ b/media-plugins/vdr-mount/files/vdr-mount-0.0.2-makefile-fix.diff @@ -0,0 +1,58 @@ +Index: mount-0.0.2/Makefile +=================================================================== +--- mount-0.0.2.orig/Makefile ++++ mount-0.0.2/Makefile +@@ -59,12 +59,12 @@ OBJS = $(subst .C,.o, $(shell ls *.C 2>/ + + ### Targets: + +-all: medialist libvdr-$(PLUGIN).so ++all: libvdr-$(PLUGIN).so + + medialist: +- cd MediaList; make ++ $(MAKE) -C MediaList + +-libvdr-$(PLUGIN).so: $(OBJS) ++libvdr-$(PLUGIN).so: $(OBJS) medialist + $(CXX) $(CXXFLAGS) -shared $(OBJS) -L MediaList/src -l MediaList -o $@ + @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) + +@@ -77,7 +77,7 @@ dist: clean + @echo Distribution package created as $(PACKAGE).tgz + + clean: +- cd MediaList; make clean ++ $(MAKE) -C MediaList clean + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ *.d + + -include *.d +Index: mount-0.0.2/MediaList/Makefile +=================================================================== +--- mount-0.0.2.orig/MediaList/Makefile ++++ mount-0.0.2/MediaList/Makefile +@@ -6,18 +6,18 @@ $(subst .cxx,, $(shell cd prog; ls *.cxx + + + all: +- export MYLIBNAME=$(LIBNAME);cd src; make +- export PROGS=$(PROGRAMMS);cd prog; make +- export MYLIBNAME=$(LIBNAME);export PROGS=$(PROGRAMMS);cd bin; make ++ $(MAKE) -C src MYLIBNAME=$(LIBNAME) ++ $(MAKE) -C prog PROGS=$(PROGRAMMS) ++ $(MAKE) -C bin MYLIBNAME=$(LIBNAME) PROGS=$(PROGRAMMS) + + depend: + @echo target depend is obsolete --- just make + + + clean: +- cd src; make clean +- cd prog; make clean +- export PROGS=$(PROGRAMMS);cd bin; make clean ++ $(MAKE) -C src clean ++ $(MAKE) -C prog clean ++ $(MAKE) -C bin clean PROGS=$(PROGRAMMS) + + + install: diff --git a/media-plugins/vdr-mount/metadata.xml b/media-plugins/vdr-mount/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-mount/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-mount/vdr-mount-0.0.2.ebuild b/media-plugins/vdr-mount/vdr-mount-0.0.2.ebuild new file mode 100644 index 000000000000..a7bca1511b74 --- /dev/null +++ b/media-plugins/vdr-mount/vdr-mount-0.0.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: (Un)Mount removable media via osd" +HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Mount-plugin" +SRC_URI="http://homepages.physik.uni-muenchen.de/~Felix.Rauscher/${P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +PATCHES=("${FILESDIR}/${P}-makefile-fix.diff") + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.2"; then + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ + -i MediumItem.C + fi +} diff --git a/media-plugins/vdr-mp3ng/Manifest b/media-plugins/vdr-mp3ng/Manifest new file mode 100644 index 000000000000..93398eb6e3d8 --- /dev/null +++ b/media-plugins/vdr-mp3ng/Manifest @@ -0,0 +1,3 @@ +DIST vdr-mp3ng-0.0.1_pre4-span-0.0.3.diff.tar.gz 6726 SHA256 f4f947f7fa38c261c39af0cffb30a69bb641884b9efd26f5d73742170c3a6628 SHA512 537b876cf5ecdfe34969a79ec556196e48b4de1a411d7b1a50ad95c5534d5027b0d1548fb42c02cccf922f0ef961b99b1d23863b2048f12e79e0beafcd7e571f WHIRLPOOL d5b7c035827e612ea58e6fa8eb41f378e435a88ba0f05bde1d51cc95606b260b400cfe8a36498f619f19e554dd0d441036f024da02d67cb8c1dfeffba558979f +DIST vdr-mp3ng-0.9.13-MKIV-pre3.tar.gz 128289 SHA256 c92b220b878c98001bc6293aaa72d3247368a4d8c785e883f8fb24c4e4a09f12 SHA512 56bd73ab66276ff49670e3e7195a50b1f6560a53e88662e45d24e3bd1ffb6a7493dca3eade6ccecb887302dd4da2eb8ccc6b231ba45fbb315ace7ca3232fff99 WHIRLPOOL 3d5babf20a592a5314663692d2cad7e1bcb03d8c9154c0a0903a9f30065e6fa1e9780b32ee72529ad8189f6d88ff9e2fe29cdebd8e90a6fe38319476f84411bf +DIST vdr-mp3ng-pictures-0.0.1.tar.gz 170089 SHA256 962d3e85b3e19e7ef1bfdd4b66947b3c5327f5691c42454b4840fdb7ec5b2288 SHA512 f9b2e683db67f1a72b92e3a73b0f1e72132907568ec196f37f9484e076ca90bec6bd58b79438b70a3fb630badcd79b8ae1401fc911c60e5256131355c783392e WHIRLPOOL d92cbfcfab3de37d551b3a9bc4a76e11d971b6356c6985acbab4630734d289e11eb588a86fb94e8ffb122f3917b5c47d7bbea0690bede79a8777c5049d35c5e3 diff --git a/media-plugins/vdr-mp3ng/files/confd b/media-plugins/vdr-mp3ng/files/confd new file mode 100644 index 000000000000..138db4127758 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/confd @@ -0,0 +1,32 @@ +# $Id$ + +# Global config file for vdr rc-scripts + +# The default mount script is "mount.sh". This script is called from the +# plugin with 2 options on commandline. The first is +# one of mount/unmount/eject/status and gives the action to perform. The +# second one is the base directory as defined in "mp3ngsources". +# The script must return the exit code 0 if the action was +# successfull and 1 if the action failed (see the comments in the example +# "mount.sh" script which comes with the archive). +#MOUNT="/usr/bin/mount-mp3ng.sh" + +# If you are using cdfs, the MP3 plugin is able to query a CDDB database for +# the song information (like title, artist). Local CDDB lookups can be enable +# from the setup menu and you must give the path to your local CDDB files. +# The database layout follows the xmcd standard +# (one subdirectory level for the categories, individual files for every disc). +# The settings for remote CDDB lookups can be found in the setup menu, too. +# Any information retrieved from a remote host is stored to your local CDDB +# database, so the user running VDR needs write access to this directory. +#CDDB="/var/cddb" + +# If you are using any of the networking capabilities and you have a dial-up +# network you can use this script. +# This script is called before and after any network access and receives one +# option on commandline. This can either be "up" or "down", depending on if it's +# before or after the network access. In the "up" case the script should not +# return before the network is connected and useable. By default the plugin +# assumes that network access can be done at any time without prior action. +#NETWORK="/usr/bin/network.sh" + diff --git a/media-plugins/vdr-mp3ng/files/imagemagick-6.4.x.diff b/media-plugins/vdr-mp3ng/files/imagemagick-6.4.x.diff new file mode 100644 index 000000000000..98b9270537ef --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/imagemagick-6.4.x.diff @@ -0,0 +1,13 @@ +diff -Naur mp3ng-0.9.13-MKIV-pre3.orig/Makefile mp3ng-0.9.13-MKIV-pre3/Makefile +--- mp3ng-0.9.13-MKIV-pre3.orig/Makefile 2008-10-25 12:43:59.000000000 +0200 ++++ mp3ng-0.9.13-MKIV-pre3/Makefile 2008-10-25 12:44:59.000000000 +0200 +@@ -122,7 +122,8 @@ + + ifdef HAVE_MAGICK + DEFINES += -DHAVE_MAGICK +- LIBS += -lMagick -lMagick++ ++ LIBS += -lMagickWand -lMagickCore -lMagick++ ++ INCLUDES += -I/usr/include/ImageMagick + endif + + ifdef HAVE_XPM diff --git a/media-plugins/vdr-mp3ng/files/mp3ngsources b/media-plugins/vdr-mp3ng/files/mp3ngsources new file mode 100644 index 000000000000..b33a71701cee --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/mp3ngsources @@ -0,0 +1,3 @@ +/VDR/data/local_music;Lokale Musik;0;*.mp3/*.ogg/*.wav/*.MP3/*.OGG/*.WAV/*.m3u/*.M3U/*.pls/*.PLS +/mnt/cdrom;CD-Rom;1;*.mp3/*.wav/*.MP3/*.WAV/*.m3u/*.M3U/*.pls/*.PLS +/mnt/usbstick;USB-Stick;1;*.mp3/*.ogg/*.wav/*.MP3/*.OGG/*.WAV/*.m3u/*.M3U/*.pls/*.PLS diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-1.3.37.diff b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-1.3.37.diff new file mode 100644 index 000000000000..7ea66ea4783a --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-1.3.37.diff @@ -0,0 +1,29 @@ +--- mp3ng-0.9.13-MKIV-pre3/mp3ng.c 2006-02-04 18:26:38.505453250 +0100 ++++ mp3ng-0.9.13-MKIV-pre3/mp3ng.vdr-1.3.37.c 2006-02-04 18:31:18.342942000 +0100 +@@ -280,7 +280,7 @@ + framesPerSecond=SecondsToFrames(1); + if(!osd) osd=0; + font=cFont::GetFont(fontOsd); +- cStatus::MsgReplaying(this,"MP3"); ++ cStatus::MsgReplaying(this,"MP3",0,true); + + + clrBackground = mp3Theme[MP3Setup.osdtheme].clrBackground; +@@ -307,7 +307,7 @@ + + void cMP3Control::Stop(void) + { +- cStatus::MsgReplaying(this,0); ++ cStatus::MsgReplaying(this,"MP3",0,false); + delete player; player=0; + mgr->Halt(); + mgr->Flush(); //XXX remove later +@@ -559,7 +559,7 @@ + if(changed || mode->Loop!=lastMode->Loop || mode->Shuffle!=lastMode->Shuffle) { + snprintf(buf,sizeof(buf),mode->Artist[0]?"[%c%c] (%d/%d) %s - %s":"[%c%c] (%d/%d) %s", + mode->Loop?'L':'.',mode->Shuffle?'S':'.',mode->Num,mode->MaxNum,mode->Title,mode->Artist); +- cStatus::MsgReplaying(this,buf); ++ cStatus::MsgReplaying(this,"MP3",buf,true); + } + } + diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gcc4.diff b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gcc4.diff new file mode 100644 index 000000000000..16abbd9dc10f --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gcc4.diff @@ -0,0 +1,17 @@ +Nur in mp3ng-0.9.13-MKIV-pre3: decoder.o. +diff -ru mp3ng-0.9.13-MKIV-pre3-orig/decoder-ogg.h mp3ng-0.9.13-MKIV-pre3/decoder-ogg.h +--- mp3ng-0.9.13-MKIV-pre3-orig/decoder-ogg.h 2006-07-08 21:19:14.777181805 +0200 ++++ mp3ng-0.9.13-MKIV-pre3/decoder-ogg.h 2006-07-08 21:19:31.498835576 +0200 +@@ -49,7 +49,7 @@ + ~cOggFile(); + bool Open(bool log=true); + void Close(void); +- long long cOggFile::Seek(long long posMs=0, bool relativ=false); ++ long long Seek(long long posMs=0, bool relativ=false); + int Stream(short *buffer, int samples); + bool CanSeek(void) { return canSeek; } + long long IndexMs(void); +Nur in mp3ng-0.9.13-MKIV-pre3: decoder-ogg.o. +Nur in mp3ng-0.9.13-MKIV-pre3: decoder-snd.o. +Nur in mp3ng-0.9.13-MKIV-pre3: libvdr-mp3ng.so. +Nur in mp3ng-0.9.13-MKIV-pre3: libvdr-mp3ng.so.1.4.1. diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gentoo.diff b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gentoo.diff new file mode 100644 index 000000000000..be3b3442ef04 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-gentoo.diff @@ -0,0 +1,31 @@ +--- mp3ng.c 2005-11-21 12:54:36.000000000 +0100 ++++ mp3ng-gentoo.c 2005-12-20 10:29:24.070051500 +0100 +@@ -1775,10 +1775,10 @@ + { + if(!CheckVDRVersion(1,1,29,"mp3ng")) return false; + i18n_name=Name(); +- MP3Sources.Load(AddDirectory(ConfigDirectory(),"mp3sources.conf")); ++ MP3Sources.Load(AddDirectory(ConfigDirectory(),"mp3ng/mp3ngsources")); + if(MP3Sources.Count()<1) { +- esyslog("ERROR: you should have defined at least one source in mp3sources.conf"); +- fprintf(stderr,"No source(s) defined in mp3sources.conf\n"); ++ esyslog("ERROR: you should have defined at least one source in mp3ngsources"); ++ fprintf(stderr,"No source(s) defined in mp3ngsources\n"); + return false; + } + InfoCache.Load(); + +--- player-mp3.c 2005-11-15 23:15:41.000000000 +0100 ++++ player-mp3-gentoo.c 2006-01-04 01:39:21.178251500 +0100 +@@ -2073,9 +2073,9 @@ + + if (!strlen (coverpicture)) { + if (!isStream) +- strcpy(coverpicture, "/var/cache/images/mp3MKIV-defaultcover.jpg"); ++ strcpy(coverpicture, "/usr/share/vdr/mp3ng/mp3MKIV-defaultcover.jpg"); + else +- strcpy(coverpicture, "/var/cache/images/mp3MKIV-streamcover.jpg"); ++ strcpy(coverpicture, "/usr/share/vdr/mp3ng/mp3MKIV-streamcover.jpg"); + } + + // printf("DEBUG 101b: cover = %s\n", imageFile); diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-glibc-2.10.patch b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-glibc-2.10.patch new file mode 100644 index 000000000000..7965c8212bea --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-glibc-2.10.patch @@ -0,0 +1,78 @@ +diff -ur mp3ng-0.9.13-MKIV-pre3.orig/data.c mp3ng-0.9.13-MKIV-pre3/data.c +--- mp3ng-0.9.13-MKIV-pre3.orig/data.c 2005-08-28 19:18:06.000000000 +0300 ++++ mp3ng-0.9.13-MKIV-pre3/data.c 2009-08-09 22:25:33.000000000 +0300 +@@ -408,7 +408,7 @@ + description=strdup(Description); + if(Include) { + do { +- char *s=index(Include,'/'); ++ char *s=const_cast<char*> (index(Include,'/')); + int l=s ? s-Include : strlen(Include); + if(l) { + char **s=(char **)realloc(include,(incCount+2)*sizeof(char *)); +diff -ur mp3ng-0.9.13-MKIV-pre3.orig/decoder.c mp3ng-0.9.13-MKIV-pre3/decoder.c +--- mp3ng-0.9.13-MKIV-pre3.orig/decoder.c 2005-08-28 19:18:06.000000000 +0300 ++++ mp3ng-0.9.13-MKIV-pre3/decoder.c 2009-08-09 22:28:03.000000000 +0300 +@@ -101,7 +101,7 @@ + { + // if no title, try to build a reasonable from the filename + if(!Title && filename) { +- char *s=rindex(filename,'/'); ++ char *s=const_cast<char*> (rindex(filename,'/')); + if(s && *s=='/') { + s++; + Title=strdup(s); +diff -ur mp3ng-0.9.13-MKIV-pre3.orig/decoder-ogg.c mp3ng-0.9.13-MKIV-pre3/decoder-ogg.c +--- mp3ng-0.9.13-MKIV-pre3.orig/decoder-ogg.c 2005-05-31 19:56:24.000000000 +0300 ++++ mp3ng-0.9.13-MKIV-pre3/decoder-ogg.c 2009-08-09 22:31:17.000000000 +0300 +@@ -161,7 +161,7 @@ + for(int i=0 ; i<vc->comments ; i++) { + const char *cc=vc->user_comments[i]; + d(printf("ogg: comment%d='%s'\n",i,cc)) +- char *p=strchr(cc,'='); ++ const char *p=strchr(cc,'='); + if(p) { + const int len=p-cc; + p++; +diff -ur mp3ng-0.9.13-MKIV-pre3.orig/decoder-snd.c mp3ng-0.9.13-MKIV-pre3/decoder-snd.c +--- mp3ng-0.9.13-MKIV-pre3.orig/decoder-snd.c 2005-05-31 19:56:11.000000000 +0300 ++++ mp3ng-0.9.13-MKIV-pre3/decoder-snd.c 2009-08-09 22:30:38.000000000 +0300 +@@ -577,7 +577,7 @@ + bool cCDDBDisc::Split(const char *source, char div, char * &first, char * &second, bool only3) + { + int pos=-1, n=0; +- char *p, l[4]={ ' ',div,' ',0 }; ++ const char *p, l[4]={ ' ',div,' ',0 }; + if ((p=strstr(source,l))) { pos=p-source; n=3; } + else if(!only3 && (p=strchr(source,div))) { pos=p-source; n=1; } + if(pos>=0) { +@@ -857,7 +857,7 @@ + { + if(id->Get()) { + int tr; +- char *s=strstr(filename,CDFS_TRACK); ++ char *s=const_cast<char*> (strstr(filename,CDFS_TRACK)); + if(s && sscanf(s+strlen(CDFS_TRACK),"%d",&tr)==1) { + d(printf("snd: looking up disc id %08x track %d\n",id->discid,tr)) + return cddb.Lookup(id,tr-1,this); +diff -ur mp3ng-0.9.13-MKIV-pre3.orig/stream.c mp3ng-0.9.13-MKIV-pre3/stream.c +--- mp3ng-0.9.13-MKIV-pre3.orig/stream.c 2005-02-06 13:14:43.000000000 +0200 ++++ mp3ng-0.9.13-MKIV-pre3/stream.c 2009-08-09 22:27:20.000000000 +0300 +@@ -386,7 +386,7 @@ + + bool cNetStream::ParseHeader(const char *buff, const char *name, char **value) + { +- char *s=index(buff,':'); ++ char *s=const_cast<char*> (index(buff,':')); + if(s && !strncasecmp(buff,name,s-buff)) { + s=skipspace(s+1); + d(printf("netstream: found header '%s' contents '%s'\n",name,s)) +@@ -510,7 +510,7 @@ + + char *cNetStream::ParseMetaString(const char *buff, const char *name, char **value) + { +- char *s=index(buff,'='); ++ char *s=const_cast<char*> (index(buff,'=')); + if(s && !strncasecmp(buff,name,s-buff)) { + char *end=index(s+2,'\''); + if(s[1]=='\'' && end) { diff --git a/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-vdr-1.5.1.diff b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-vdr-1.5.1.diff new file mode 100644 index 000000000000..e9c1d8ceb425 --- /dev/null +++ b/media-plugins/vdr-mp3ng/files/vdr-mp3ng-0.0.1_pre4-vdr-1.5.1.diff @@ -0,0 +1,62 @@ +fix for VDR 1.5.x + +Joerg Bornkessel <hd_brummy@gentoo.org> 25 Mar 2007 +diff -Naur mp3ng-0.9.13-MKIV-pre3.orig/mp3ng.c mp3ng-0.9.13-MKIV-pre3/mp3ng.c +--- mp3ng-0.9.13-MKIV-pre3.orig/mp3ng.c 2007-03-25 23:09:14.000000000 +0200 ++++ mp3ng-0.9.13-MKIV-pre3/mp3ng.c 2007-03-25 23:14:16.000000000 +0200 +@@ -370,7 +370,12 @@ + HideStatus(); + if(visible) { + delete osd; osd=0; ++#if APIVERSNUM > 10500 ++ visible=bigwin=false; ++ SetNeedsFastResponse(visible); ++#else + needsFastResponse=visible=bigwin=false; ++#endif + } + } + +@@ -581,7 +586,12 @@ + osd->Flush(); + + ShowStatus(true); ++#if APIVERSNUM > 10500 ++ visible=true; ++ SetNeedsFastResponse(visible); ++#else + needsFastResponse=visible=true; ++#endif + fliptime=listtime=0; flipint=0; flip=-1; top=lastTop=-1; lastIndex=lastTotal=-1; + delete lastMode; lastMode=0; + } +diff -Naur mp3ng-0.9.13-MKIV-pre3.orig/mplayer.c mp3ng-0.9.13-MKIV-pre3/mplayer.c +--- mp3ng-0.9.13-MKIV-pre3.orig/mplayer.c 2007-03-25 23:09:14.000000000 +0200 ++++ mp3ng-0.9.13-MKIV-pre3/mplayer.c 2007-03-25 23:18:09.000000000 +0200 +@@ -219,7 +219,12 @@ + #else + Interface->Close(); + #endif ++#if APIVERSNUM > 10500 ++ visible = modeOnly = false; ++ SetNeedsFastResponse(visible); ++#else + needsFastResponse=visible=modeOnly=false; ++#endif + } + } + +@@ -251,7 +256,13 @@ + Interface->Clear(); + if(MPlayerSetup.OsdPos>0) Interface->Fill(0,3,Interface->Width(),MPlayerSetup.OsdPos,clrTransparent); + #endif ++#if APIVERSNUM > 10500 ++ visible = true; ++ SetNeedsFastResponse(visible); ++ modeOnly=false; ++#else + needsFastResponse=visible=true; modeOnly=false; ++#endif + if(file) { + #if VDRVERSNUM >= 10307 + display->SetTitle(file->Path()); diff --git a/media-plugins/vdr-mp3ng/metadata.xml b/media-plugins/vdr-mp3ng/metadata.xml new file mode 100644 index 000000000000..5c2dd67dc7ff --- /dev/null +++ b/media-plugins/vdr-mp3ng/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change. + </description> +</maintainer> + <longdescription>VDR Plugin to play audio files, supports mp3, wav and ogg audio format. + You can provide and edit your own playlists. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild new file mode 100644 index 000000000000..1972d646c6b1 --- /dev/null +++ b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_PV=0.9.13-MKIV-pre3 +MY_P=${PN}-${MY_PV} + +S=${WORKDIR}/mp3ng-0.9.13-MKIV-pre3 + +DESCRIPTION="VDR Plugin: play mp3 and ogg on VDR" +HOMEPAGE="http://www.glaserei-franz.de/VDR/Moronimo2/vdrplugins.htm" +SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo2/downloads/${MY_P}.tar.gz + mirror://gentoo/${PN}-pictures-0.0.1.tar.gz + mirror://gentoo/${PN}-0.0.1_pre4-span-0.0.3.diff.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vorbis oss imagemagick" + +DEPEND=">=media-video/vdr-1.6 + media-libs/libmad + media-libs/libid3tag + sys-libs/zlib + media-libs/libsndfile + vorbis? ( media-libs/libvorbis ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + !imagemagick? ( media-libs/imlib2 )" + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${PN}-0.0.1_pre4-gentoo.diff" + epatch "${FILESDIR}/${PN}-0.0.1_pre4-gcc4.diff" + epatch "${DISTDIR}/${PN}-0.0.1_pre4-span-0.0.3.diff.tar.gz" + epatch "${FILESDIR}/${PN}-0.0.1_pre4-vdr-1.5.1.diff" + epatch "${FILESDIR}/${PN}-0.0.1_pre4-glibc-2.10.patch" + + use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile + use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile + use imagemagick && sed -i Makefile \ + -e "s:HAVE_IMLIB2:#HAVE_IMLIB2:" \ + -e "s:#HAVE_MAGICK:HAVE_MAGICK:" + + has_version ">=media-video/vdr-1.3.37" && epatch "${FILESDIR}/${PN}-0.0.1_pre4-1.3.37.diff" + has_version ">=media-gfx/imagemagick-6.4" && epatch "${FILESDIR}/imagemagick-6.4.x.diff" + + sed -i mp3ng.c -e "s:RegisterI18n:// RegisterI18n:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/mp3ng + doins "${FILESDIR}/mp3ngsources" + + insinto /usr/share/vdr/mp3ng + doins "${WORKDIR}/${PN}-pictures-0.0.1"/*.jpg + doins "${S}/images/mp3MKIV-spectrum-analyzer-bg.png" + + newbin examples/mount.sh.example mount-mp3ng.sh + + dodoc HISTORY MANUAL README README-MORONIMO examples/network.sh.example +} diff --git a/media-plugins/vdr-mplayer/Manifest b/media-plugins/vdr-mplayer/Manifest new file mode 100644 index 000000000000..825eb3020fa6 --- /dev/null +++ b/media-plugins/vdr-mplayer/Manifest @@ -0,0 +1 @@ +DIST vdr-mp3-0.10.2.tar.gz 131512 SHA256 284def742b7ced5a34315eac2663a3f091237608274ee4fcd02797510b93506f SHA512 8f65d9f41643266137fcc950d0da66ef9c4ce5dff82828c88230cda9d8ef4f7e39d096557d69bf124a287496276508dc9464c0868b4cbef9059de1108cd35f40 WHIRLPOOL 4872707dabaf14965a2b0733a2e04f3798735be48cf05c2383d06850dae0446884779025bd0b6837e80fac2ca0d9c95692d2a35814b80c5c3b6a1040ce1a34d9 diff --git a/media-plugins/vdr-mplayer/files/0.10.2/01_gentoo.diff b/media-plugins/vdr-mplayer/files/0.10.2/01_gentoo.diff new file mode 100644 index 000000000000..6eb95c7239ca --- /dev/null +++ b/media-plugins/vdr-mplayer/files/0.10.2/01_gentoo.diff @@ -0,0 +1,33 @@ +diff -Naur mp3-0.10.1.orig/Makefile mp3-0.10.1/Makefile +--- mp3-0.10.1.orig/Makefile 2008-03-02 16:58:40.988974674 +0100 ++++ mp3-0.10.1/Makefile 2008-03-02 16:59:36.879557750 +0100 +@@ -24,14 +24,14 @@ + # in the VDR directory an set them there. + + ### uncomment one of these lines, if you don't want one of the plugins +-#WITHOUT_MP3=1 ++WITHOUT_MP3=1 + #WITHOUT_MPLAYER=1 + + ### uncomment the following line, if you don't have libsndfile installed +-#WITHOUT_LIBSNDFILE=1 ++WITHOUT_LIBSNDFILE=1 + + ### uncomment the following line, if you don't have libvorbisfile installed +-#WITHOUT_LIBVORBISFILE=1 ++WITHOUT_LIBVORBISFILE=1 + + ### uncomment the following line, if you want OSS sound output + #WITH_OSS_OUTPUT=1 +diff -Naur mp3-0.10.1.orig/mplayer.c mp3-0.10.1/mplayer.c +--- mp3-0.10.1.orig/mplayer.c 2008-03-02 16:58:41.068960305 +0100 ++++ mp3-0.10.1/mplayer.c 2008-03-02 17:00:53.845333952 +0100 +@@ -832,7 +832,7 @@ + #else + i18n_name="vdr-mplayer"; + #endif +- MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayersources.conf")); ++ MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayer/mplayersources.conf")); + if(MPlaySources.Count()<1) { + esyslog("ERROR: you must have defined at least one source in mplayersources.conf"); + fprintf(stderr,"No source(s) defined in mplayersources.conf\n"); diff --git a/media-plugins/vdr-mplayer/files/confd-0.9.15.sh b/media-plugins/vdr-mplayer/files/confd-0.9.15.sh new file mode 100644 index 000000000000..b336c5b9e5a1 --- /dev/null +++ b/media-plugins/vdr-mplayer/files/confd-0.9.15.sh @@ -0,0 +1,11 @@ +# Global config file for vdr mplayer plugin +# +# Restart of VDR is needed after changes + + +# Selected the script to call mplayer +# +# allowed value: mplay.sh mplayer.sh +# default value: prefer the first installed from the listed possibilities +# +#MPLAYER_PLUGIN_CALL="mplay.sh" diff --git a/media-plugins/vdr-mplayer/files/mplayersources.conf b/media-plugins/vdr-mplayer/files/mplayersources.conf new file mode 100644 index 000000000000..96858a41f028 --- /dev/null +++ b/media-plugins/vdr-mplayer/files/mplayersources.conf @@ -0,0 +1,3 @@ +/var/vdr/video;Video-Verzeichnis;0 +/mnt/cdrom;CDRom;1 + diff --git a/media-plugins/vdr-mplayer/files/rc-addon-0.9.15.sh b/media-plugins/vdr-mplayer/files/rc-addon-0.9.15.sh new file mode 100644 index 000000000000..c2de41b208f0 --- /dev/null +++ b/media-plugins/vdr-mplayer/files/rc-addon-0.9.15.sh @@ -0,0 +1,23 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-mplayer +# + +: ${MPLAYER_PLUGIN_CALL:=mplay.sh} +: ${MPLAYER_PLUGIN_MOUNT:=mount-mplayer.sh} + +plugin_pre_vdr_start() { + local P=/usr/share/vdr/mplayer/bin + local CALL="" + if [ -f $P/${MPLAYER_PLUGIN_CALL} ]; then + CALL=${MPLAYER_PLUGIN_CALL} + elif [ -f $P/mplay.sh ]; then + CALL=mplay.sh + elif [ -f $P/mplayer.sh ]; then + CALL=mplayer.sh + else + eerror "vdr-mplayer: No mplayer-script found" + fi + add_plugin_param "-m ${P}/${MPLAYER_PLUGIN_MOUNT}" + add_plugin_param "-M ${P}/${CALL}" +} diff --git a/media-plugins/vdr-mplayer/files/vdr-mplayer-0.10.1-glibc-2.10.patch b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.10.1-glibc-2.10.patch new file mode 100644 index 000000000000..a70d214b4e0b --- /dev/null +++ b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.10.1-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur mp3-0.10.1.orig/data.c mp3-0.10.1/data.c +--- mp3-0.10.1.orig/data.c 2006-05-16 20:31:09.000000000 +0300 ++++ mp3-0.10.1/data.c 2009-08-11 12:22:35.000000000 +0300 +@@ -420,7 +420,7 @@ + description=strdup(Description); + if(Include) { + do { +- char *s=index(Include,'/'); ++ char *s=const_cast<char*> (index(Include,'/')); + int l=s ? s-Include : strlen(Include); + if(l) { + char **s=(char **)realloc(include,(incCount+2)*sizeof(char *)); diff --git a/media-plugins/vdr-mplayer/metadata.xml b/media-plugins/vdr-mplayer/metadata.xml new file mode 100644 index 000000000000..7db232940db5 --- /dev/null +++ b/media-plugins/vdr-mplayer/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change. + </description> +</maintainer> + <longdescription> + VDR Plugin to play video files, the plugin use for this the mplayer. + All supported file types in mplayer will be played. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild new file mode 100644 index 000000000000..11624a4a7836 --- /dev/null +++ b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Play video files not supported by VDR with mplayer (divx and more)" +HOMEPAGE="http://www.muempf.de/" +SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.2" + +RDEPEND="${DEPEND} + || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 ) + virtual/eject" + +S=${WORKDIR}/mp3-${PV} + +PATCHES=( "${FILESDIR}/${PV}/01_gentoo.diff" ) + +VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh +VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.2"; then + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ + -i decoder.c \ + -i player-mplayer.c + fi +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/mplayer + doins "${FILESDIR}/mplayersources.conf" + + into /usr/share/vdr/mplayer + newbin examples/mount.sh.example mount-mplayer.sh + + dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "Edit all config's /etc/vdr/plugins/mplayer" + echo + + if ! has_version "media-plugins/vdr-mp3ng" ; then + elog "Splitted ebuild!, no support for Audio files" + elog "To play mp3, ogg and wav files," + elog "emerge media-plugins/vdr-mp3ng -pv" + elog "or" + elog "emerge media-plugins/vdr-mp3 -pv" + echo + fi +} diff --git a/media-plugins/vdr-music/Manifest b/media-plugins/vdr-music/Manifest new file mode 100644 index 000000000000..42bac47b6135 --- /dev/null +++ b/media-plugins/vdr-music/Manifest @@ -0,0 +1 @@ +DIST vdr-music-0.9.9-dev2.tgz 2189767 SHA256 90e46c227e08e8539d7c86d7a6b7b5c85eae3374e95bd32f7c62e81ff1e6a017 SHA512 65d9d6b1c76144dfcdb67d884c6cb44066c2bb15ccad0da1e011941b54695f47e4ae104397db1d77d6108ec7cdd81b785901a05fa1c6e07e42df71d021ab1fa7 WHIRLPOOL 45fcab4c44d1b38afd797c53870ead584aa7238d45e0a335d47b41ed31373eaa5af408e5a902cbad6c7e0b942fcd6a80aa316c7684b2bc18052c5c119dc369f4 diff --git a/media-plugins/vdr-music/files/music.mk b/media-plugins/vdr-music/files/music.mk new file mode 100644 index 000000000000..0b061903df13 --- /dev/null +++ b/media-plugins/vdr-music/files/music.mk @@ -0,0 +1,199 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = music + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +# (Default) DO NOT UNCOMMENT IT IN DEVELOPER-VERSIONS +HAVE_IMAGEMAGICK=1 +# Uncomment the following line, if you don't have libsndfile installed +#WITHOUT_LIBSNDFILE=1 + +# Uncomment the following line, if you don't have libvorbisfile installed +#WITHOUT_LIBVORBISFILE=1 + +#BROKEN_PCM=1 +# Uncomment if you want debug output on stdout +##DEBUG=1 + +# internal use +# BUGHUNT +#BUGHUNT=1 + +# internal use +# DEBUG_COVER +#DEBUG_COVER=1 + +###INCLUDES += + +###DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +INCLUDES += -I$(VDRINCDIR) + +DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +ifdef BROKEN_PCM + DEFINES += -DBROKEN_PCM +endif + +ifeq ($(shell test -f $(VDRDIR)/fontsym.h ; echo $$?),0) + DEFINES += -DHAVE_BEAUTYPATCH +endif + +ifdef DBG + CXXFLAGS += -g +endif + +ifdef DEBUG + DEFINES += -DDEBUG +else + DEFINES += -DNO_DEBUG +endif + +ifdef BUGHUNT + DEFINES += -DBUGHUNT +endif + +ifdef DEBUG_COVER + DEFINES += -DDEBUG_COVER +endif + +### The object files (add further files here): + +OBJS = $(PLUGIN).o config.o vars.o bitmap.o \ + commands.o options.o lyrics.o funct.o cover.o skin.o visual.o tracklist.o \ + search.o mp3id3.o mp3id3tag.o rating.o menubrowse.o mp3control.o \ + icons.o data.o menu.o \ + data-mp3.o setup-mp3.o player-mp3.o stream.o network.o \ + decoder.o decoder-mp3.o decoder-mp3-stream.o decoder-snd.o \ + decoder-ogg.o + +LIBS += -lasound -lmad -lid3tag + +ifdef HAVE_IMAGEMAGICK + INCLUDES += $(shell pkg-config --cflags MagickCore) + LIBS += $(shell pkg-config --libs Magick++) + DEFINES += -DHAVE_IMAGEMAGICK +else + INCLUDES += -I$(IMLIB)/src + LIBS += $(shell imlib2-config --libs) + DEFINES += -DHAVE_IMLIB2 +endif + +ifndef WITHOUT_LIBSNDFILE + LIBS += -lsndfile + DEFINES += -DHAVE_SNDFILE +endif + +ifndef WITHOUT_LIBVORBISFILE + LIBS += -lvorbisfile -lvorbis + DEFINES += -DHAVE_VORBISFILE +endif + +### The main target: + +all: $(SOFILE) i18n + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-music/metadata.xml b/media-plugins/vdr-music/metadata.xml new file mode 100644 index 000000000000..8360ea6f19cf --- /dev/null +++ b/media-plugins/vdr-music/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<use> + <flag name='graphtft'>Enable support for + <pkg>media-plugins/vdr-graphtft</pkg></flag> +</use> +</pkgmetadata> + diff --git a/media-plugins/vdr-music/vdr-music-0.9.9.ebuild b/media-plugins/vdr-music/vdr-music-0.9.9.ebuild new file mode 100644 index 000000000000..964ab2519252 --- /dev/null +++ b/media-plugins/vdr-music/vdr-music-0.9.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P="${P}-dev2" +S="${WORKDIR}/music-${PV}-dev2" + +DESCRIPTION="VDR plugin: music" +HOMEPAGE="http://www.vdr.glaserei-franz.de/vdrplugins.htm" +SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo/files/${MY_P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="+imagemagick debug graphtft sndfile vorbis" + +DEPEND=">=media-video/vdr-1.6.0 + media-libs/libmad + media-libs/libid3tag + graphtft? ( media-gfx/imagemagick[png] ) + imagemagick? ( media-gfx/imagemagick[png] ) + sndfile? ( media-libs/libsndfile ) + vorbis? ( media-libs/libvorbis ) + !imagemagick? ( + !graphtft? ( media-libs/imlib2[png] ) + )" + +RDEPEND="sys-process/at + media-sound/id3v2 + graphtft? ( >=media-plugins/vdr-graphtft-0.1.5 )" + +src_prepare() { +# # prepare sources with new Makefile handling +# cp "${FILESDIR}/music.mk" "${S}"/Makefile + + # clean up from untranslated .po files + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,it_IT,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare + + use !vorbis && sed -i Makefile -e "s:#WITHOUT_LIBVORBISFILE=1:WITHOUT_LIBVORBISFILE=1:" + use !sndfile && sed -i Makefile -e "s:#WITHOUT_LIBSNDFILE=1:WITHOUT_LIBSNDFILE=1:" + use !debug && sed -i Makefile -e "s:DEBUG=1:#DEBUG=1:" + use graphtft || use imagemagick && sed -i Makefile \ + -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:" \ + -e "s:#MAGICKDIR=:MAGICKDIR=:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/music + doins -r moronsuite/music/* + chown -R vdr:vdr "${D}"/etc/vdr/plugins/music +} diff --git a/media-plugins/vdr-newsticker/Manifest b/media-plugins/vdr-newsticker/Manifest new file mode 100644 index 000000000000..b2a705753e46 --- /dev/null +++ b/media-plugins/vdr-newsticker/Manifest @@ -0,0 +1 @@ +DIST vdr-newsticker-0.0.4.tar.gz 15480 SHA256 6bdae99dbb42a138939a5c2ca92aa6fb51c00a482a37c142c5eff218c63ad518 SHA512 8bcd0199547951f7c17077280af58cad99801f5a38b2d6b64860a1b3731987b5012e68041ca3fe0589f28f9ce1eaca9ee7d2d1e6aa542c6217b04c42b45c51a9 WHIRLPOOL 293e853e46114a589ce5318e162c67fbfdf56e0597e7247409d2b1806e885c3d2056e100ed3eaea07a4f17e71e69005d9cf44664f1d104f1ac93565dc8f4a57c diff --git a/media-plugins/vdr-newsticker/files/rc-addon.sh b/media-plugins/vdr-newsticker/files/rc-addon.sh new file mode 100644 index 000000000000..387d7ac42862 --- /dev/null +++ b/media-plugins/vdr-newsticker/files/rc-addon.sh @@ -0,0 +1,7 @@ +# +# rc-addon-script for plugin newsticker +# + +plugin_pre_vdr_start() { + add_plugin_param "--output=/var/vdr/newsticker" +} diff --git a/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff b/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff new file mode 100644 index 000000000000..f9655c3cdb50 --- /dev/null +++ b/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff @@ -0,0 +1,51 @@ +Nur in newsticker-0.0.4: libvdr-newsticker.so. +Nur in newsticker-0.0.4: libvdr-newsticker.so.1.4.1. +diff -ru newsticker-0.0.4-orig/news.c newsticker-0.0.4/news.c +--- newsticker-0.0.4-orig/news.c 2006-07-08 20:51:58.078637544 +0200 ++++ newsticker-0.0.4/news.c 2006-07-08 20:53:29.315335150 +0200 +@@ -48,7 +48,7 @@ + bool strloadfile(char* file,char* output)
+ {
+ //int count = 0;
+- ifstream fin(file);
++ std::ifstream fin(file);
+ if(fin)
+ {
+ char ch;
+@@ -73,7 +73,7 @@ + int getfilestringlength(char* filename)
+ {
+ int count = 0;
+- ifstream fin(filename);
++ std::ifstream fin(filename);
+ if(fin)
+ {
+ char ch;
+diff -ru newsticker-0.0.4-orig/news.h newsticker-0.0.4/news.h +--- newsticker-0.0.4-orig/news.h 2006-07-08 20:51:58.078637544 +0200 ++++ newsticker-0.0.4/news.h 2006-07-08 20:52:51.039686999 +0200 +@@ -20,8 +20,8 @@ + #include <netinet/in.h> + #include <netdb.h> + #include <unistd.h> +-#include <iostream.h>
+-#include <fstream.h> ++#include <iostream> ++#include <fstream> + + #define INT_SIZEOFBUF 300 * 1024 // Buffer 200Kb
+
+Dateien newsticker-0.0.4-orig/news.o und newsticker-0.0.4/news.o sind verschieden. +diff -ru newsticker-0.0.4-orig/newsticker.c newsticker-0.0.4/newsticker.c +--- newsticker-0.0.4-orig/newsticker.c 2006-07-08 20:51:58.078637544 +0200 ++++ newsticker-0.0.4/newsticker.c 2006-07-08 20:53:02.660794735 +0200 +@@ -98,7 +98,7 @@ + void Show(void) {Start(); } + eOSState ProcessKey(eKeys Key); + int scrollMessage(char* message, int speed, int position, cOsd *osd, tColor ColorFg, tColor ColorBg, eDvbFont font); +- cOsd* cOSDNewsticker::createOSDLine(int row, eDvbFont font); ++ cOsd* createOSDLine(int row, eDvbFont font); + }; + + cOSDNewsticker::cOSDNewsticker(void) +Nur in newsticker-0.0.4: newsticker.o. diff --git a/media-plugins/vdr-newsticker/metadata.xml b/media-plugins/vdr-newsticker/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-newsticker/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild b/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild new file mode 100644 index 000000000000..51718b788c03 --- /dev/null +++ b/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Show rdf Newsticker on TV" +HOMEPAGE="http://www.wontorra.net" +SRC_URI="http://www.wontorra.net/filemgmt_data/files/${P}.tar.gz" + +KEYWORDS="~amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6 + net-misc/wget" + +PATCHES=( "${FILESDIR}/${P}-gcc4.diff" ) + +src_install() { + vdr-plugin-2_src_install + + keepdir /var/vdr/newsticker + chown vdr:vdr "${D}/var/vdr/newsticker" +} diff --git a/media-plugins/vdr-noepg/Manifest b/media-plugins/vdr-noepg/Manifest new file mode 100644 index 000000000000..f23ee838e7fc --- /dev/null +++ b/media-plugins/vdr-noepg/Manifest @@ -0,0 +1 @@ +DIST vdr-noepg-0.0.4.tar.gz 13929 SHA256 e0105700ecf1f6ec163e0885c4340f1d51d48c195fe2a81ca19a6af7fd150384 SHA512 9c7f064ce46fc57e2c2d18951162dfcab0992bdc4b803ab602332ff9c2b477a9580b31db1b1f7ecaf6b703bed30242b26f7e6edc4e16ef459fd39fa40b330124 WHIRLPOOL 250e1a0c5b6465f7c829ed525f928e9da59ddae7a41822cd393bd78621d3e21db3441124a3a1ca368fa6998e570f52e4a442fce3c45965a37d24cd0efd47b025 diff --git a/media-plugins/vdr-noepg/metadata.xml b/media-plugins/vdr-noepg/metadata.xml new file mode 100644 index 000000000000..ce006eaf85a2 --- /dev/null +++ b/media-plugins/vdr-noepg/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="github">flensrocker/vdr-plugin-noepg</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-noepg/vdr-noepg-0.0.4.ebuild b/media-plugins/vdr-noepg/vdr-noepg-0.0.4.ebuild new file mode 100644 index 000000000000..6440970a98a7 --- /dev/null +++ b/media-plugins/vdr-noepg/vdr-noepg-0.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: will replace the noepg-patch with the new cEpgHandler" +HOMEPAGE="https://github.com/flensrocker/vdr-plugin-noepg" +SRC_URI="https://github.com/flensrocker/vdr-plugin-noepg/archive/v${PV}.tar.gz +-> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/vdr-plugin-${VDRPLUGIN}-${PV}" diff --git a/media-plugins/vdr-nordlichtsepg/Manifest b/media-plugins/vdr-nordlichtsepg/Manifest new file mode 100644 index 000000000000..699cc32b5fdd --- /dev/null +++ b/media-plugins/vdr-nordlichtsepg/Manifest @@ -0,0 +1 @@ +DIST vdr-nordlichtsepg-0.9-test1.tgz 557951 SHA256 9c58b09325d29df79e140df573d5ef6d8749a97c71423186dfe88b020dd6dcf9 SHA512 d6e4804f7b78d2e7f1861af862fe3da73aaee518dbd570b1d6bb05141535306fc7345b5ef672e22728aa8978eaa7315122c18b14a8907a9d67fa3c98848cb734 WHIRLPOOL fd6d1b7b943e3f3592b77fb730c536f6a5a30f18da1b0819afba629b2bc0e7d64d9aaf7d2c08a42627f3e555174d451a8f6020580c6084dcfdfe54e5e802b8c8 diff --git a/media-plugins/vdr-nordlichtsepg/metadata.xml b/media-plugins/vdr-nordlichtsepg/metadata.xml new file mode 100644 index 000000000000..7b718b6f9765 --- /dev/null +++ b/media-plugins/vdr-nordlichtsepg/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-nordlichtsepg/vdr-nordlichtsepg-0.9_pre1.ebuild b/media-plugins/vdr-nordlichtsepg/vdr-nordlichtsepg-0.9_pre1.ebuild new file mode 100644 index 000000000000..a19715f8d7ec --- /dev/null +++ b/media-plugins/vdr-nordlichtsepg/vdr-nordlichtsepg-0.9_pre1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +IUSE="" +SLOT="0" + +MY_P="${PN}-${PV/_pre/-test}" + +DESCRIPTION="vdr Plugin: Better EPG view than default vdr" +HOMEPAGE="http://martins-kabuff.de/nordlichtsepg.html" +SRC_URI="http://martins-kabuff.de/download/${MY_P}.tgz" +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~x86" + +DEPEND=">=media-video/vdr-1.3.31" + +S="${WORKDIR}/${PN#vdr-}-${PV%_pre*}" diff --git a/media-plugins/vdr-osdpip/Manifest b/media-plugins/vdr-osdpip/Manifest new file mode 100644 index 000000000000..9f430db16cfa --- /dev/null +++ b/media-plugins/vdr-osdpip/Manifest @@ -0,0 +1 @@ +DIST vdr-osdpip-0.1.2.tgz 50756 SHA256 08761f6474dd2e5bd4d3dc83b4d2d3b9169a04931cb8aca2e54fdb5ad979a0c6 SHA512 bc3345497e260d3249e1864a05181939b52a3fea115264af21d0efae10aa4406e9d4e5d348fce967a4fdb1adf2a3c7877b5b2d6840854f55f665800ac080a0eb WHIRLPOOL 0503bb4ed6b5838ee1ff7eca61507f79b14a9bf0824c69989cb73d4fa89b48dfb41197e8152d4798f775a288968679008bfbe9e851627447064fe8c1a6780aa2 diff --git a/media-plugins/vdr-osdpip/files/vdr-osdpip-0.1.1-ffmpeg-1.patch b/media-plugins/vdr-osdpip/files/vdr-osdpip-0.1.1-ffmpeg-1.patch new file mode 100644 index 000000000000..b0304ad5adc0 --- /dev/null +++ b/media-plugins/vdr-osdpip/files/vdr-osdpip-0.1.1-ffmpeg-1.patch @@ -0,0 +1,26 @@ +Index: osdpip-0.1.1/decoder.h +=================================================================== +--- osdpip-0.1.1.orig/decoder.h ++++ osdpip-0.1.1/decoder.h +@@ -34,7 +34,7 @@ extern "C" + #include <libavcodec/avcodec.h> + #ifdef USE_SWSCALE + #include <libswscale/swscale.h> +- #include <libavcodec/opt.h> ++ #include <libavutil/opt.h> + #endif + #else + #include <ffmpeg/avcodec.h> +Index: osdpip-0.1.1/osdpip.c +=================================================================== +--- osdpip-0.1.1.orig/osdpip.c ++++ osdpip-0.1.1/osdpip.c +@@ -73,8 +73,6 @@ bool cPluginOsdpip::ProcessArgs(int argc + + bool cPluginOsdpip::Initialize(void) + { +- // must be called before using avcodec lib +- avcodec_init(); + // register all the codecs (you can also register only the codec + // you wish to have smaller code) + avcodec_register_all(); diff --git a/media-plugins/vdr-osdpip/files/vdr-osdpip-libav-9.patch b/media-plugins/vdr-osdpip/files/vdr-osdpip-libav-9.patch new file mode 100644 index 000000000000..d1f531b325ce --- /dev/null +++ b/media-plugins/vdr-osdpip/files/vdr-osdpip-libav-9.patch @@ -0,0 +1,40 @@ +diff -urN osdpip-0.1.2.old/decoder.c osdpip-0.1.2/decoder.c +--- osdpip-0.1.2.old/decoder.c 2013-06-17 21:01:31.795476861 +0200 ++++ osdpip-0.1.2/decoder.c 2013-06-17 21:01:57.153475959 +0200 +@@ -34,8 +34,8 @@ + printf("codec not found\n"); + return -1; + } +- m_Context = avcodec_alloc_context(); +- if (avcodec_open(m_Context, m_Codec) < 0) ++ m_Context = avcodec_alloc_context3(m_Codec); ++ if (avcodec_open2(m_Context, m_Codec, NULL) < 0) + { + printf("could not open codec\n"); + return -1; +@@ -106,17 +106,17 @@ + return -1; + } + +- av_set_int(context, "srcw", m_Context->width - (OsdPipSetup.CropLeft + OsdPipSetup.CropRight)); +- av_set_int(context, "srch", m_Context->height - (OsdPipSetup.CropTop + OsdPipSetup.CropBottom)); +- av_set_int(context, "src_format", PIX_FMT_YUV420P); +- av_set_int(context, "dstw", m_Width); +- av_set_int(context, "dsth", m_Height); ++ av_opt_set_int(context, "srcw", m_Context->width - (OsdPipSetup.CropLeft + OsdPipSetup.CropRight), 0); ++ av_opt_set_int(context, "srch", m_Context->height - (OsdPipSetup.CropTop + OsdPipSetup.CropBottom), 0); ++ av_opt_set_int(context, "src_format", PIX_FMT_YUV420P, 0); ++ av_opt_set_int(context, "dstw", m_Width, 0); ++ av_opt_set_int(context, "dsth", m_Height, 0); + #ifdef USE_NEW_FFMPEG_HEADERS +- av_set_int(context, "dst_format", ConvertToRGB ? PIX_FMT_RGB32 : PIX_FMT_YUV420P); ++ av_opt_set_int(context, "dst_format", ConvertToRGB ? PIX_FMT_RGB32 : PIX_FMT_YUV420P, 0); + #else +- av_set_int(context, "dst_format", ConvertToRGB ? PIX_FMT_RGBA32 : PIX_FMT_YUV420P); ++ av_opt_set_int(context, "dst_format", ConvertToRGB ? PIX_FMT_RGBA32 : PIX_FMT_YUV420P, 0); + #endif +- av_set_int(context, "sws_flags", SWS_LANCZOS); ++ av_opt_set_int(context, "sws_flags", SWS_LANCZOS, 0); + + if (sws_init_context(context, NULL, NULL) < 0) { + printf("Error initializing conversion context.\n"); diff --git a/media-plugins/vdr-osdpip/metadata.xml b/media-plugins/vdr-osdpip/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-osdpip/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2-r1.ebuild b/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2-r1.ebuild new file mode 100644 index 000000000000..116565863e4a --- /dev/null +++ b/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +VERSION="961" # every bump, new version + +inherit vdr-plugin-2 flag-o-matic + +DESCRIPTION="VDR plugin: Show another channel in the OSD" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-osdpip" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.27 + >=media-libs/libmpeg2-0.5.1 + >=virtual/ffmpeg-0.6.90" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + epatch "${FILESDIR}/${PN}-0.1.1-ffmpeg-1.patch" + epatch "${FILESDIR}/${PN}-libav-9.patch" + + # tested with libav10/11, ffmpeg-2.5.4 + sed -e "s:CODEC_ID_MPEG2VIDEO:AV_CODEC_ID_MPEG2VIDEO:"\ + -e "s:avcodec_alloc_frame:av_frame_alloc:"\ + -i decoder.c +} diff --git a/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2.ebuild b/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2.ebuild new file mode 100644 index 000000000000..a88e26c504f2 --- /dev/null +++ b/media-plugins/vdr-osdpip/vdr-osdpip-0.1.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +VERSION="961" # every bump, new version + +inherit vdr-plugin-2 flag-o-matic + +DESCRIPTION="VDR plugin: Show another channel in the OSD" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-osdpip" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.27 + >=media-libs/libmpeg2-0.5.1 + >=virtual/ffmpeg-0.6.90" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS + + epatch "${FILESDIR}/${PN}-0.1.1-ffmpeg-1.patch" + epatch "${FILESDIR}/${PN}-libav-9.patch" +} diff --git a/media-plugins/vdr-osdserver/Manifest b/media-plugins/vdr-osdserver/Manifest new file mode 100644 index 000000000000..bbe5117de086 --- /dev/null +++ b/media-plugins/vdr-osdserver/Manifest @@ -0,0 +1 @@ +DIST vdr-osdserver-0.1.2.tgz 47649 SHA256 7bfd0a2733034ff10d439079879629583920716aee26a32e2d6cc7b5d38eb42b diff --git a/media-plugins/vdr-osdserver/files/confd b/media-plugins/vdr-osdserver/files/confd new file mode 100644 index 000000000000..5656749487d4 --- /dev/null +++ b/media-plugins/vdr-osdserver/files/confd @@ -0,0 +1,7 @@ +# /etc/conf.d/vdr.osdserver +# $Id$ + +### Listening port for osdserver plugin +# default: 2010 +#OSDSERVER_PORT="2010" + diff --git a/media-plugins/vdr-osdserver/files/osdserverhosts.conf b/media-plugins/vdr-osdserver/files/osdserverhosts.conf new file mode 100644 index 000000000000..845c27697e6a --- /dev/null +++ b/media-plugins/vdr-osdserver/files/osdserverhosts.conf @@ -0,0 +1,14 @@ +# +# osdserverhosts This file describes a number of host addresses that +# are allowed to connect to the osdserver pluging +# with the Video Disk Recorder (VDR) on this system. +# Syntax: +# +# IP-Address[/Netmask] +# + +127.0.0.1 # always accept localhost +#192.168.1.0/24 # any host on the local net +#204.152.189.113 # a specific host +#0.0.0.0/0 # any host on any net (USE THIS WITH CARE!) + diff --git a/media-plugins/vdr-osdserver/files/rc-addon.sh b/media-plugins/vdr-osdserver/files/rc-addon.sh new file mode 100644 index 000000000000..56c46cba944f --- /dev/null +++ b/media-plugins/vdr-osdserver/files/rc-addon.sh @@ -0,0 +1,11 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-osdserver +# +# zulio <zulio(at)zulinux.net> + +plugin_pre_vdr_start() { + + add_plugin_param "-p ${OSDSERVER_PORT:=2010}" +} + diff --git a/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff b/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff new file mode 100644 index 000000000000..3d6fea51ac89 --- /dev/null +++ b/media-plugins/vdr-osdserver/files/vdr-osdserver-0.1.1-gentoo.diff @@ -0,0 +1,16 @@ +change the default path for config directory +zulio (at) zulinux.net + +diff -Naur osdserver-0.1.1.orig/osdserver.c osdserver-0.1.1/osdserver.c +--- osdserver-0.1.1.orig/osdserver.c 2007-10-07 00:34:47.000000000 +0200 ++++ osdserver-0.1.1/osdserver.c 2007-11-30 20:05:54.000000000 +0100 +@@ -72,7 +72,7 @@ + + bool cPluginOsdServer::Initialize() { + // Initialize any background activities the plugin shall perform. +- cString OsdServerHosts = AddDirectory(cPlugin::ConfigDirectory(), "osdserverhosts.conf"); ++ cString OsdServerHosts = AddDirectory(cPlugin::ConfigDirectory(), "osdserver/osdserverhosts.conf"); + if (access(OsdServerHosts, F_OK) == 0) + Server = new cServer(Port, OsdServerHosts); + else + diff --git a/media-plugins/vdr-osdserver/metadata.xml b/media-plugins/vdr-osdserver/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-osdserver/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-osdserver/vdr-osdserver-0.1.2.ebuild b/media-plugins/vdr-osdserver/vdr-osdserver-0.1.2.ebuild new file mode 100644 index 000000000000..c01d44a5c8f7 --- /dev/null +++ b/media-plugins/vdr-osdserver/vdr-osdserver-0.1.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: VDR OSD access for external programs through a TCP/IP socket connection" +HOMEPAGE="http://www.udo-richter.de/vdr/osdserver.en.html" +SRC_URI=" http://www.udo-richter.de/vdr/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.6" + +RDEPEND="" + +PATCHES=( ${FILESDIR}/${PN}-0.1.1-gentoo.diff ) + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/osdserver + doins "${FILESDIR}"/osdserverhosts.conf + + dodoc examples/* +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "Check configuration files:" + elog "/etc/vdr/plugins/osdserver/osdserverhosts.conf" + elog "/etc/conf.d/vdr.osdserver" + elog "Examples are in '/usr/share/doc/vdr/${P}/'" +} diff --git a/media-plugins/vdr-osdteletext/Manifest b/media-plugins/vdr-osdteletext/Manifest new file mode 100644 index 000000000000..80efd904a79f --- /dev/null +++ b/media-plugins/vdr-osdteletext/Manifest @@ -0,0 +1,2 @@ +DIST vdr-osdteletext-0.9.4.tgz 62971 SHA256 625a16cd8da78075d0ea2ae687455dad886f4e4ebcec9e16372d32a9f497c77b SHA512 fe688f7dfddf5d5f270dcf7c2b4d3ab70cee68d0f75e0d283479d5c84217a17f4f1d638e764adaa6e3bbffd4e4a7f8bd1b55c6ab2847592b0a3ad27ffad50dbe WHIRLPOOL fc8e37637954ce72180dae0e6285accd296036c2ea28f957a343e1f74650e1d8baed9b6297196a303fc8211a4ede144fb735e023710454e509915316a3e0bae3 +DIST vdr-osdteletext-0.9.5.tgz 62692 SHA256 fd607076d58e3742e7264ce8d548abc06b6717f83e7153d60bd4542655c0b306 SHA512 cb75189c1065fb53b99fd684e7fcc3d373a799fd77965780fdb36dc0c2458e5c94896bf6516451f1a038d3bf7bf7cc962f3a3d53be4f0c43c41acda6267bbcaf WHIRLPOOL 881126226b2f12dab058b9a98ab8ef01e2f0cfc217b05c17bcacd6d096bc4c8defbbace9a68d91a8a28cb540cb34fe5161d8cc095590ccd5b919929cd268749f diff --git a/media-plugins/vdr-osdteletext/files/confd-v2 b/media-plugins/vdr-osdteletext/files/confd-v2 new file mode 100644 index 000000000000..297430069433 --- /dev/null +++ b/media-plugins/vdr-osdteletext/files/confd-v2 @@ -0,0 +1,38 @@ +# /etc/conf.d/vdr.osdteletext +# $Id$ + +# ################################################ +# +# for minimal activity on your Harddisc +# store the vtx files in a temp filesystem +# allowed values: yes no +# default: yes +#OSDTELETEXT_TMPFS=yes + + +# ######### Expert Functions ################### +# +# set the size of the videotext store +# (when using TMPFS this is taken from RAM) +# allowed values: size in megabyte +# default: 20 # used 20 Mb for videotext +#OSDTELETEXT_SIZE=20 + +# set the dir of the tmpfs +# allowed values: directory names +# default: /var/cache/vdr/osdteletext +#OSDTELETEXT_DIR=/var/cache/vdr/osdteletext + +# store top text pages at cache. (unviewable pages) +# allowed values: yes no +# default: no +#OSDTELETEXT_STORETOPTEXT=no + +# ######## NOTE! ################################ +# +# User with an old install have an entry like +# +# tmpfs /vtx tmpfs size=20M 0 0 +# +# in the /etc/fstab +# you can remove the entry, not needed anymore. diff --git a/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh new file mode 100644 index 000000000000..2cae50ba3702 --- /dev/null +++ b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh @@ -0,0 +1,49 @@ +# $Id$ +# +# rc-addon-script for plugin osdteletext +# +# Joerg Bornkessel <hd_brummy@gentoo.org> +# Matthias Schwarzott <zzam@gentoo.org> + +: ${OSDTELETEXT_TMPFS:=yes} +: ${OSDTELETEXT_SIZE:=20} +: ${OSDTELETEXT_DIR:=/var/cache/vdr/osdteletext} +: ${OSDTELETEXT_STORETOPTEXT:=no} + +# depends on QA, create paths in /var/cache on the fly at runtime as needed +init_cache_dir() { + if [ ! -d "${OSDTELETEXT_DIR}" ]; then + mkdir -p ${OSDTELETEXT_DIR} + chown vdr:vdr ${OSDTELETEXT_DIR} + fi +} + +plugin_pre_vdr_start() { + init_cache_dir + + add_plugin_param "-d ${OSDTELETEXT_DIR}" + add_plugin_param "-n ${OSDTELETEXT_SIZE}" + + if [ "${OSDTELETEXT_STORETOPTEXT}" = "yes" ]; then + add_plugin_param "-t" + fi + + if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then + ## test on mountet TMPFS + if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then + : + else + einfo_level2 mounting videotext dir ${OSDTELETEXT_DIR} + sudo /bin/mount -t tmpfs -o size=${OSDTELETEXT_SIZE}m,uid=vdr,gid=vdr tmpfs ${OSDTELETEXT_DIR} + fi + fi +} + +plugin_post_vdr_stop() { + if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then + if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then + einfo_level2 unmounting videotext dir ${OSDTELETEXT_DIR} + sudo /bin/umount ${OSDTELETEXT_DIR} + fi + fi +} diff --git a/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo b/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo new file mode 100644 index 000000000000..87a80946cb43 --- /dev/null +++ b/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo @@ -0,0 +1 @@ +vdr ALL=NOPASSWD:/bin/mount, /bin/umount diff --git a/media-plugins/vdr-osdteletext/metadata.xml b/media-plugins/vdr-osdteletext/metadata.xml new file mode 100644 index 000000000000..fd3c9ce9ec5a --- /dev/null +++ b/media-plugins/vdr-osdteletext/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description>Please contacts maintainer before you change something.</description> + </maintainer> + <longdescription> + VDR Plugin to show videotext on OSD + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild new file mode 100644 index 000000000000..7c83df6a0611 --- /dev/null +++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.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 vdr-plugin-2 + +VERSION="1282" # every bump, new version + +DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-osdteletext" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.39" +RDEPEND="${DEPEND}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v3.sh" +VDR_CONFD_FILE="${FILESDIR}/confd-v2" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/sudoers.d + insopts -m440 + newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext +} diff --git a/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild new file mode 100644 index 000000000000..c6110202167c --- /dev/null +++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1881" # every bump, new version + +DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-osdteletext" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.39" +RDEPEND="${DEPEND}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v3.sh" +VDR_CONFD_FILE="${FILESDIR}/confd-v2" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/sudoers.d + insopts -m440 + newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext +} diff --git a/media-plugins/vdr-peer/Manifest b/media-plugins/vdr-peer/Manifest new file mode 100644 index 000000000000..ec7947887933 --- /dev/null +++ b/media-plugins/vdr-peer/Manifest @@ -0,0 +1 @@ +DIST vdr-peer-0.0.1.tgz 21948 SHA256 5a34dd6d9d37749ab8e34489c42becf62f5a9e2e6b03f507744d73cce72aac5d SHA512 4605f971cb2eefbcafa665274a1087303a0d820035aef5642d46855b923d2432f12909f5ae7711016b6628249a06197c9e2ebddc3072d5a67f0b8fb0eb18f35d WHIRLPOOL 267e682d89f2611005cc28d1294eda11126e5a999ab215023050f1879f4a2e0e65194aa66888817941eb41710ced71f318ccb53edc6622c383f085765c8e4346 diff --git a/media-plugins/vdr-peer/metadata.xml b/media-plugins/vdr-peer/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-peer/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-peer/vdr-peer-0.0.1.ebuild b/media-plugins/vdr-peer/vdr-peer-0.0.1.ebuild new file mode 100644 index 000000000000..b40c1dcb0ae6 --- /dev/null +++ b/media-plugins/vdr-peer/vdr-peer-0.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: peer-to-peer between multiple VDRs" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/peer/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-permashift/Manifest b/media-plugins/vdr-permashift/Manifest new file mode 100644 index 000000000000..3a603ed73a0f --- /dev/null +++ b/media-plugins/vdr-permashift/Manifest @@ -0,0 +1,5 @@ +DIST permashift-0.5.1.tar.gz 11621 SHA256 50d23f315533914ce373e2a6bce706972e20b26428d33c1cf8435e3a7cbb68ab SHA512 ff2cfa0d453b2a0b2fb2446f1d089633b57e62e124e4b2f1b6493865375ea37ebbde9b2f92c797dabf967f52db7bf440bddc749740be8fad81f61e067a62e19c WHIRLPOOL a5683d93e054383acefd5608761fc75e576c97f5b61992b685f526646676718640930b1a112bf91dab4b0d1f4d1302fe154022a370a4ba414383b9979fc2bdb2 +DIST vdr-permashift-0.5.2.tgz 12927 SHA256 e881d6b494f68463475ee07a12f64482154fa35b30c17930e45a8cc969a251d2 SHA512 4879203ea797f40992efa4b21dc5bd47137e7f171a73051cfbb8721c53a68fb2d93235b91be64c65a56c473dffc51abf6e68d33dff5f6793c05426e31f49038f WHIRLPOOL 4a41f39c17aa0a8445151732c9268b0df6d97642f6be176ea42d3bf00196d985c6c526926e7797f32d3fcae71296f87415a2d4223e3e118ba4deb41011d09e56 +DIST vdr-permashift-0.5.4.tgz 13109 SHA256 8f829bddfdc4e378c5337d79e93f7f29c2163abe191b24920adfd6e890647741 SHA512 4798dc60106ca35b0657764b636325ee48ca3a266cf8145c5e3acbd6a779efdc7215feb4158af333f87ae0fa658063cb40e7b11eb631babd5163881a6e55b7fe WHIRLPOOL 4caf192efe25faa2cf7ce123cbdd6c1d65ee930c62515c3fff8f8458e3fc121065256cfeb17c54447707e6ddb2e4f796439de59092b5d171f843dc87d6d7162a +DIST vdr-permashift-1.0.0.tgz 42520 SHA256 c6d75c2e68014a81a7631a7b372bba16ef1f5c8bca1463f5dc0a7b18206f92b7 SHA512 fee1eaa7f58f266d29844d0285fc34a9796dd3d3fc2a7a0d7c6591f1298abb0c305cc221125b47f5d16af46c51bb794638a2b3c440a6da86be385fd290723b7f WHIRLPOOL 0feade861baf5614349ae4482adf268affc614e51342d10e8d27a5bf6e55ae2bc45292a5c2dd072de7fae51e3759e4fcc1d21e8142faf054e4924031b14cca6c +DIST vdr-permashift-1.0.1.tgz 49184 SHA256 ca9fae214e30da365b0dec42e93e13e0933fade6ea35b344c40891489cd8a51c SHA512 b69e492e42f9ba2123f45e5ea1de8db937c3569a35da53429a4c97222e8a1aff0d4a5ab22920e65796d173e2963a9feda02a5a558309784b6296cd041352f252 WHIRLPOOL 038e33fdc258a21614a58952ffc223d9235f1a997e85421584eecebbe95d06eb1a0287b3fafcfc48b829601a3a6ee36078df94124dbacef20f6b858ae142d2c6 diff --git a/media-plugins/vdr-permashift/files/permashift.mk b/media-plugins/vdr-permashift/files/permashift.mk new file mode 100644 index 000000000000..2e1f0e2276b9 --- /dev/null +++ b/media-plugins/vdr-permashift/files/permashift.mk @@ -0,0 +1,125 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +# add the name of the plugin, next edit the OBJS line, +PLUGIN = permashift + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +### The object files (add further files here): + +OBJS = $(PLUGIN).o + +### The main target: + +all: $(SOFILE) +# i18n + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<# + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib +# install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-permashift/metadata.xml b/media-plugins/vdr-permashift/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-permashift/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-permashift/vdr-permashift-0.5.1.ebuild b/media-plugins/vdr-permashift/vdr-permashift-0.5.1.ebuild new file mode 100644 index 000000000000..c703f79738d7 --- /dev/null +++ b/media-plugins/vdr-permashift/vdr-permashift-0.5.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: permanent timeshift by recording live TV on hard disk" +HOMEPAGE="http://ein-eike.de/vdr-plugin-permashift-english/" +SRC_URI="http://ein-eike.de/wordpress/wp-content/uploads/2013/01/permashift-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.38[permashift]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}" + +src_prepare() { + cp "${FILESDIR}/${VDRPLUGIN}.mk" "${S}"/Makefile + + vdr-plugin-2_src_prepare +} diff --git a/media-plugins/vdr-permashift/vdr-permashift-0.5.2.ebuild b/media-plugins/vdr-permashift/vdr-permashift-0.5.2.ebuild new file mode 100644 index 000000000000..b9ec6945449c --- /dev/null +++ b/media-plugins/vdr-permashift/vdr-permashift-0.5.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: permanent timeshift by recording live TV on hard disk" +HOMEPAGE="http://ein-eike.de/vdr-plugin-permashift-english/" +SRC_URI="http://ein-eike.de/wordpress/wp-content/uploads/2013/03/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.38[permashift]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}" diff --git a/media-plugins/vdr-permashift/vdr-permashift-0.5.4.ebuild b/media-plugins/vdr-permashift/vdr-permashift-0.5.4.ebuild new file mode 100644 index 000000000000..d9b42795e79f --- /dev/null +++ b/media-plugins/vdr-permashift/vdr-permashift-0.5.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: permanent timeshift by recording live TV on hard disk" +HOMEPAGE="http://ein-eike.de/vdr-plugin-permashift-english/" +SRC_URI="http://ein-eike.de/wordpress/wp-content/uploads/2013/05/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.2-r1[permashift]" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-permashift/vdr-permashift-1.0.0.ebuild b/media-plugins/vdr-permashift/vdr-permashift-1.0.0.ebuild new file mode 100644 index 000000000000..cd7c50b30bb6 --- /dev/null +++ b/media-plugins/vdr-permashift/vdr-permashift-1.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: permanent timeshift by recording live TV on RAM" +HOMEPAGE="http://ein-eike.de/vdr-plugin-permashift-english/" +SRC_URI="http://ein-eike.de/wordpress/wp-content/uploads/2014/08/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.6[permashift_v1]" +RDEPEND="" diff --git a/media-plugins/vdr-permashift/vdr-permashift-1.0.1.ebuild b/media-plugins/vdr-permashift/vdr-permashift-1.0.1.ebuild new file mode 100644 index 000000000000..a691a17066d0 --- /dev/null +++ b/media-plugins/vdr-permashift/vdr-permashift-1.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: permanent timeshift by recording live TV on RAM" +HOMEPAGE="http://ein-eike.de/vdr-plugin-permashift-english/" +SRC_URI="http://ein-eike.de/wordpress/wp-content/uploads/2014/11/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.6[permashift_v1]" +RDEPEND="" diff --git a/media-plugins/vdr-picselshow/Manifest b/media-plugins/vdr-picselshow/Manifest new file mode 100644 index 000000000000..d1ed91e83873 --- /dev/null +++ b/media-plugins/vdr-picselshow/Manifest @@ -0,0 +1 @@ +DIST vdr-picselshow-0.0.2.tar.gz 97365 SHA256 48cb37a10e9fe946b2a97b986c96fc943f89fb67e2fe5535df98bab1f4802ac7 diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff new file mode 100644 index 000000000000..de72e9e5b31e --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff @@ -0,0 +1,23 @@ +diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c +--- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200 ++++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200 +@@ -453,7 +453,7 @@ + + bool cFileSource::Action(eAction act) + { +- static char *str[] = { "mount", "unmount", "eject", "status" }; ++ static const char *str[] = { "mount", "unmount", "eject", "status" }; + + char *cmd = 0; + asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir); +diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h +--- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200 ++++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200 +@@ -5,6 +5,7 @@ + #ifndef VDR_IMAGECACHE_HPP + #define VDR_IMAGECACHE_HPP + ++#include <sys/types.h> + #include <map> + #include <vector> + #include <string> diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff new file mode 100644 index 000000000000..a7f50817e069 --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff @@ -0,0 +1,11 @@ +--- picselshow-0.0.2-orig/picselshow.c 2007-05-17 23:25:57.000000000 +0200 ++++ picselshow-0.0.2/picselshow.c 2007-08-01 08:52:36.000000000 +0200 +@@ -58,7 +58,7 @@ + return ImageSetup.SetupParse(szName,szValue); + } + +-const char *g_szConfigDirectory = NULL; ++const char *g_szConfigDirectory = "picselshow"; + + const char *cPluginImage::CommandLineHelp(void) + { diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff new file mode 100644 index 000000000000..f6c112f36b0b --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff @@ -0,0 +1,51 @@ +--- control-image.c~ 2007-05-18 12:00:59.000000000 +0200 ++++ control-image.c 2007-06-11 15:38:54.000000000 +0200 +@@ -194,7 +194,11 @@ + + void cImageControl::FadeIn(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 0; + +@@ -237,13 +241,21 @@ + fd--; + } + +-needsFastResponse = false; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else ++ needsFastResponse = false; ++#endif + } + + + void cImageControl::FadeOut(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 255; + int fd = 16; +@@ -283,7 +295,11 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + diff --git a/media-plugins/vdr-picselshow/metadata.xml b/media-plugins/vdr-picselshow/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-picselshow/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild new file mode 100644 index 000000000000..86ae00c88260 --- /dev/null +++ b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: picselshow for vdr-music" +HOMEPAGE="http://www.vdr.glaserei-franz.de/" +SRC_URI="http://www.kost.sh/vdr/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +PATCHES=("${FILESDIR}/${P}-vdr-1.5.x.diff" + "${FILESDIR}/${P}-gcc-4.4.diff" + "${FILESDIR}/${P}-gentoo.diff") + +DEPEND="imagemagick? ( media-gfx/imagemagick ) + !imagemagick? ( media-libs/imlib2 )" + +RDEPEND="media-plugins/vdr-image + media-plugins/vdr-music" + +src_prepare() { + vdr-plugin-2_src_prepare + + use imagemagick && sed -i Makefile -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:" + + sed -i example/imagesources.conf -e "s:/media/vdrdaten/bilder:/mnt/images:" + + sed -i example/imagesources.conf -e \ + "s:/VDR/etc/plugins/music/downloads/music_cover:/etc/vdr/plugins/music/downloads/music_cover:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/picselshow + doins -r picselshow/* + doins example/* +} diff --git a/media-plugins/vdr-pilot/Manifest b/media-plugins/vdr-pilot/Manifest new file mode 100644 index 000000000000..76c3b6afa40e --- /dev/null +++ b/media-plugins/vdr-pilot/Manifest @@ -0,0 +1 @@ +DIST vdr-pilot-0.0.9.tgz 20533 SHA256 ea02062352b41f6b65793d4725372917a7118912f1387dccd515ab83f5486b11 SHA512 7dd1c7467a9ed3654c4169f76ca08f6a1253cf614ba6541077f506ef821d57a02285b5ab149c322cc7fbc76f463b4d7443b51b0ef00fc49cfe1117c096cf9c52 WHIRLPOOL b0bddc9178b9a1eb26839e267d7ace63d0c019abc574cad744a538ffd8cd355ade0fcba3a60efe3bfe400e5027d4df9993906079c17052929ebf488de59922cc diff --git a/media-plugins/vdr-pilot/files/vdr-pilot-0.0.8-includes.diff b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.8-includes.diff new file mode 100644 index 000000000000..9a6123d9db9d --- /dev/null +++ b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.8-includes.diff @@ -0,0 +1,11 @@ +diff -ru pilot-0.0.8-orig/pilotosd.h pilot-0.0.8/pilotosd.h +--- pilot-0.0.8-orig/pilotosd.h 2005-10-17 13:01:27.000000000 +0200 ++++ pilot-0.0.8/pilotosd.h 2005-10-17 13:01:53.000000000 +0200 +@@ -2,6 +2,7 @@ + #define __PILOTOSD_H + + #include <vdr/osd.h> ++#include <vdr/device.h> + #include <vdr/menuitems.h> + #include <ctype.h> + #include "pilotbmp.h" diff --git a/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-gcc-4.1.diff b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-gcc-4.1.diff new file mode 100644 index 000000000000..4079e0aa4490 --- /dev/null +++ b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-gcc-4.1.diff @@ -0,0 +1,44 @@ +diff -ru pilot-0.0.9-orig/pilotosd.c pilot-0.0.9/pilotosd.c +--- pilot-0.0.9-orig/pilotosd.c 2008-04-02 15:45:18.597448151 +0200 ++++ pilot-0.0.9/pilotosd.c 2008-04-02 15:46:45.507442460 +0200 +@@ -34,7 +34,7 @@ + { + delete osd; + } +-void cPilotOsd::DrawSymbol(int x, int y, char *SymbolName[], tColor ColorFg) ++void cPilotOsd::DrawSymbol(int x, int y, const char *SymbolName[], tColor ColorFg) + { + cBitmap bm(SymbolName); + osd->DrawBitmap(x, y, bm, ColorFg, pal[0]); +diff -ru pilot-0.0.9-orig/pilotosd.h pilot-0.0.9/pilotosd.h +--- pilot-0.0.9-orig/pilotosd.h 2008-04-02 15:45:18.597448151 +0200 ++++ pilot-0.0.9/pilotosd.h 2008-04-02 15:46:30.908163317 +0200 +@@ -11,7 +11,7 @@ + + class cPilotOsd : public cOsdObject { + private: +- void DrawSymbol(int x, int y, char *SymbolName[], tColor color); ++ void DrawSymbol(int x, int y, const char *SymbolName[], tColor color); + cOsd *osd; + int pal[16]; + int lastTime; +diff -ru pilot-0.0.9-orig/symbols/down.xpm pilot-0.0.9/symbols/down.xpm +--- pilot-0.0.9-orig/symbols/down.xpm 2008-04-02 15:45:18.597448151 +0200 ++++ pilot-0.0.9/symbols/down.xpm 2008-04-02 15:45:47.057442667 +0200 +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * down_xpm[] = { ++static const char * down_xpm[] = { + "22 26 2 1", + ". c #FFFFFF", + "* c #000000", +diff -ru pilot-0.0.9-orig/symbols/up.xpm pilot-0.0.9/symbols/up.xpm +--- pilot-0.0.9-orig/symbols/up.xpm 2008-04-02 15:45:18.597448151 +0200 ++++ pilot-0.0.9/symbols/up.xpm 2008-04-02 15:45:53.807442292 +0200 +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * up_xpm[] = { ++static const char * up_xpm[] = { + "22 26 2 1", + ". c #FFFFFF", + "* c #000000", diff --git a/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-german.diff b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-german.diff new file mode 100644 index 000000000000..b1862254074d --- /dev/null +++ b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-german.diff @@ -0,0 +1,147 @@ +diff -ru pilot-0.0.9-orig/i18n.h pilot-0.0.9/i18n.h +--- pilot-0.0.9-orig/i18n.h 2006-11-16 13:39:10.000000000 +0100 ++++ pilot-0.0.9/i18n.h 2006-11-16 14:00:19.000000000 +0100 +@@ -38,7 +38,7 @@ + * French translations provided by Maxime Guilbot <maxime.guilbot@orange.fr> + */ + { "Pilot", // ENGLISH +- "", // TODO ++ "Pilot", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -60,7 +60,7 @@ + "", // TODO + }, + { "A zapping co-pilot", // ENGLISH +- "", // TODO ++ "Ein Zap-Copilot", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -82,7 +82,7 @@ + "", // TODO + }, + { "Red", // ENGLISH +- "", // TODO ++ "Rot", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -104,7 +104,7 @@ + "", // TODO + }, + { "Green", // ENGLISH +- "", // TODO ++ "Grn", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -126,7 +126,7 @@ + "", // TODO + }, + { "Blue", // ENGLISH +- "", // TODO ++ "Blau", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -258,7 +258,7 @@ + "", // TODO + }, + { "RemoveChannel", +- "Kanal lschen", // GER ++ "Kanal lschen", // GERMAN + "", // TODO + "Rimuovi Canale", // ITALIAN + "Kanaal wegneemen", // NL +@@ -280,7 +280,7 @@ + "", // TODO + }, + { "Background opacity", +- "Rand transparenz", // TODO ++ "Hintergrund-Deckkraft", // GERMAN + "", // TODO + "Alpha Bordo 1", // ITALIAN + "", // TODO +@@ -302,7 +302,7 @@ + "", // TODO + }, + { "Text opacity", +- "", // TODO ++ "Text-Deckkraft", // GERMAN + "", // TODO + "Alpha Bordo 2", // ITALIAN + "", // TODO +@@ -324,7 +324,7 @@ + "", // TODO + }, + { "Border opacity", +- "Alpha Rand", // GER ++ "Rand-Deckkraft", // GER + "", // TODO + "AlphaBordo", // ITALIAN + "Alpha kant", // NL +@@ -346,7 +346,7 @@ + "", // TODO + }, + { "Sort by", +- "", // TODO ++ "Sortieren nach", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -368,7 +368,7 @@ + "", // TODO + }, + { "None", +- "", // TODO ++ "Nichts", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -390,7 +390,7 @@ + "", // TODO + }, + { "Name", +- "", // TODO ++ "Name", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -412,7 +412,7 @@ + "", // TODO + }, + { "As entered", +- "", // TODO ++ "Wie eingegeben", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -434,7 +434,7 @@ + "", // TODO + }, + { "Close on OK", +- "", // TODO ++ "Schlieen mit OK", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -456,7 +456,7 @@ + "", // TODO + }, + { "Number of channels", +- "", // TODO ++ "Anzahl der Kanle", // GERMAN + "", // TODO + "", // TODO + "", // TODO +@@ -478,7 +478,7 @@ + "", // TODO + }, + { "Use DXR3", +- "", // TODO ++ "DXR3 benutzen", // TODO + "", // TODO + "", // TODO + "", // TODO diff --git a/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-vdr-1.6.0.diff b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-vdr-1.6.0.diff new file mode 100644 index 000000000000..e13a1392c540 --- /dev/null +++ b/media-plugins/vdr-pilot/files/vdr-pilot-0.0.9-vdr-1.6.0.diff @@ -0,0 +1,25 @@ +diff -ru pilot-0.0.9-orig/Makefile pilot-0.0.9/Makefile +--- pilot-0.0.9-orig/Makefile 2008-04-02 15:37:55.657442868 +0200 ++++ pilot-0.0.9/Makefile 2008-04-02 15:38:27.187445656 +0200 +@@ -47,7 +47,7 @@ + + ### The object files (add further files here): + +-OBJS = $(PLUGIN).o pilotosd.o pilotbmp.o pilotsetup.o ++OBJS = $(PLUGIN).o pilotosd.o pilotsetup.o + + ### Implicit rules: + +Dateien pilot-0.0.9-orig/pilot.o und pilot-0.0.9/pilot.o sind verschieden. +diff -ru pilot-0.0.9-orig/pilotosd.h pilot-0.0.9/pilotosd.h +--- pilot-0.0.9-orig/pilotosd.h 2008-04-02 15:37:55.657442868 +0200 ++++ pilot-0.0.9/pilotosd.h 2008-04-02 15:38:32.497447004 +0200 +@@ -4,7 +4,6 @@ + #include <vdr/osd.h> + #include <vdr/menuitems.h> + #include <ctype.h> +-#include "pilotbmp.h" + + static const cFont *font = cFont::GetFont(fontOsd); + static const int LINEHEIGHT = font->Height(); + diff --git a/media-plugins/vdr-pilot/metadata.xml b/media-plugins/vdr-pilot/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-pilot/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-pilot/vdr-pilot-0.0.9-r1.ebuild b/media-plugins/vdr-pilot/vdr-pilot-0.0.9-r1.ebuild new file mode 100644 index 000000000000..dfb751555373 --- /dev/null +++ b/media-plugins/vdr-pilot/vdr-pilot-0.0.9-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Another way for viewing EPG and zap to channels" +HOMEPAGE="http://famillejacques.free.fr/vdr/" +SRC_URI="http://famillejacques.free.fr/vdr/pilot/${P}.tgz" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.1" + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}-german.diff" + epatch "${FILESDIR}/${P}-gcc-4.1.diff" + + if has_version ">=media-video/vdr-1.6.0"; then + epatch "${FILESDIR}/${P}-vdr-1.6.0.diff" + fi + + sed -i pilot.c -e "s:RegisterI18n://RegisterI18n:" + remove_i18n_include pilot.c +} diff --git a/media-plugins/vdr-pilotskin/Manifest b/media-plugins/vdr-pilotskin/Manifest new file mode 100644 index 000000000000..193c4bc1cbf5 --- /dev/null +++ b/media-plugins/vdr-pilotskin/Manifest @@ -0,0 +1 @@ +DIST vdr-pilotskin-0.0.2.tgz 15871 SHA256 1f12bc9f40c0c4b6317a3dcf8a9d13f9ad162fb9d41344cb173c31a8a39a02f2 SHA512 2a15525900147a541968df6f49a206ee410c0e3e5079adcb2ebbc932f96a1539c62b1fa110d211a6b7215c1312ccfcf0b0a4c1a998c2f3fd65c0b9735d02cf87 WHIRLPOOL de3c6aa15b606f9f9ab59099ef18cc6dec362a57558d6b0442aa74d6818638df6cc1aa2ef2c67332a1a9c10813238be16245d4904ec14ef7aee975948459964e diff --git a/media-plugins/vdr-pilotskin/files/vdr-pilotskin-0.0.2-vdr-1.5.diff b/media-plugins/vdr-pilotskin/files/vdr-pilotskin-0.0.2-vdr-1.5.diff new file mode 100644 index 000000000000..d782363f5f4b --- /dev/null +++ b/media-plugins/vdr-pilotskin/files/vdr-pilotskin-0.0.2-vdr-1.5.diff @@ -0,0 +1,13 @@ +Index: pilotskin-0.0.2/pilotskinosd.h +=================================================================== +--- pilotskin-0.0.2.orig/pilotskinosd.h ++++ pilotskin-0.0.2/pilotskinosd.h +@@ -12,8 +12,6 @@ + #include "config.h" + + +-static const cFont *font = cFont::GetFont(fontOsd); +-static const int LINEHEIGHT = font->Height(); + #define NBLINES 4 + + class cPilotskinOsd : public cOsdObject { diff --git a/media-plugins/vdr-pilotskin/metadata.xml b/media-plugins/vdr-pilotskin/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-pilotskin/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-pilotskin/vdr-pilotskin-0.0.2-r1.ebuild b/media-plugins/vdr-pilotskin/vdr-pilotskin-0.0.2-r1.ebuild new file mode 100644 index 000000000000..a1fd5a29dc2e --- /dev/null +++ b/media-plugins/vdr-pilotskin/vdr-pilotskin-0.0.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: fork of vdr-pilot - navigate through channels with skinnable design" +HOMEPAGE="http://vdrwiki.free.fr/vdr/pilotskin/" +SRC_URI="http://vdrwiki.free.fr/vdr/pilotskin/files/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.36" + +PATCHES=("${FILESDIR}/${P}-vdr-1.5.diff") + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i pilotskin.c -e "s:RegisterI18n://RegisterI18n:" + remove_i18n_include pilotskin.c +} diff --git a/media-plugins/vdr-pin/Manifest b/media-plugins/vdr-pin/Manifest new file mode 100644 index 000000000000..5ce2f593c8f5 --- /dev/null +++ b/media-plugins/vdr-pin/Manifest @@ -0,0 +1,2 @@ +DIST vdr-pin-0.1.14.tgz 48771 SHA256 4eebfb75b3c591ea1aedf0ee62607cf466828a0d9cb5e3cd1dc2ff47da008ef2 SHA512 0eb2f6f7587ec6e3d5731e48b5b37687900d8698f698c745ccacf2e41fc59c71277e020c195db77342ca997331fbf0c629bd178db734e45098844529b9e5430a WHIRLPOOL 73d90d0f08af812c0e6a8558d79a2757ba6e3d37faa575fce9443de21351b2bd8f7a243555c4fe1dd5b24814f28ea8d562f58a9a3e73e4a6b0d96bd74438db5f +DIST vdr-pin-0.1.9.tgz 42006 SHA256 15410df9dcb1e3c0c0734c83b19d309278d72b2cfb56dc81967d5bc3b0dc777c diff --git a/media-plugins/vdr-pin/files/reccmds.pin.conf b/media-plugins/vdr-pin/files/reccmds.pin.conf new file mode 100644 index 000000000000..7591c0c8e705 --- /dev/null +++ b/media-plugins/vdr-pin/files/reccmds.pin.conf @@ -0,0 +1,6 @@ +# +# protects / unprotects records by a PIN +# + +Set PIN protection: /usr/share/vdr/plugins/pin/fskprotect.sh protect +Unset PIN protection: /usr/share/vdr/plugins/pin/fskprotect.sh unprotect diff --git a/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16 b/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16 new file mode 100644 index 000000000000..483e62cffec9 --- /dev/null +++ b/media-plugins/vdr-pin/files/reccmds.pin.conf-0.0.16 @@ -0,0 +1,6 @@ +# $Id$ +# +# creats protected records, only visibly with the right pin +# +FSK Schutz hinzufügen: /usr/share/vdr/pin/bin/fskprotect.sh protect +FSK Schutz entfernen: /usr/share/vdr/pin/bin/fskprotect.sh unprotect diff --git a/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff b/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff new file mode 100644 index 000000000000..54e0b6cb16db --- /dev/null +++ b/media-plugins/vdr-pin/files/vdr-pin-0.1.9.diff @@ -0,0 +1,13 @@ +diff -Naur pin-0.1.9.orig/Makefile pin-0.1.9/Makefile +--- pin-0.1.9.orig/Makefile 2010-12-02 17:01:55.000000000 +0100 ++++ pin-0.1.9/Makefile 2010-12-02 17:02:50.000000000 +0100 +@@ -104,8 +104,7 @@ + plugin: libvdr-$(PLUGIN).so + + fskcheck: $(CMDOBJS) +- $(CXX) $(CXXFLAGS) $(CMDOBJS) -o $@ +- @cp $@ $(FSKCHKDIR) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(CMDOBJS) -o $@ + + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ diff --git a/media-plugins/vdr-pin/files/vdr-pin.sh b/media-plugins/vdr-pin/files/vdr-pin.sh new file mode 100644 index 000000000000..4ab92bd2f146 --- /dev/null +++ b/media-plugins/vdr-pin/files/vdr-pin.sh @@ -0,0 +1,5 @@ +# $Id$ +# +# protect the record... +touch $1/protection.fsk +echo "Die Aufzeichnung $1 wurde geschützt..." diff --git a/media-plugins/vdr-pin/metadata.xml b/media-plugins/vdr-pin/metadata.xml new file mode 100644 index 000000000000..c07666634ae5 --- /dev/null +++ b/media-plugins/vdr-pin/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + With this Plugin one knows records with a pin code before the access by children protected + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild new file mode 100644 index 000000000000..5aaf0e603045 --- /dev/null +++ b/media-plugins/vdr-pin/vdr-pin-0.1.14.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="1379" # every bump, new version + +DESCRIPTION="VDR plugin: enable/disable parentalrating in records" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-${VDRPLUGIN}" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" +KEYWORDS="~amd64 ~x86" + +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.2-r1[pinplugin]" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile +} + +src_install() { + vdr-plugin-2_src_install + + dobin fskcheck + + insinto /usr/share/vdr/plugins/${VDRPLUGIN} + doins "${S}"/scripts/fskprotect.sh + + insinto /usr/share/vdr/record + newins "${S}"/scripts/cut.sh 20-preserve-pin-after-cut.sh + + insinto /etc/vdr/reccmds + doins "${FILESDIR}"/reccmds.pin.conf +} diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild new file mode 100644 index 000000000000..b266d51a2396 --- /dev/null +++ b/media-plugins/vdr-pin/vdr-pin-0.1.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: pin PlugIn" +HOMEPAGE="http://www.jwendel.de" +SRC_URI="http://www.jwendel.de/vdr/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0[pinplugin]" + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}.diff" +} + +src_install() { + vdr-plugin-2_src_install + + dobin fskcheck + + into /usr/share/vdr/pin + dobin "${S}"/scripts/*.sh + + insinto /etc/vdr/reccmds + newins "${FILESDIR}"/reccmds.pin.conf-0.0.16 reccmds.pin.conf +} diff --git a/media-plugins/vdr-powermate/Manifest b/media-plugins/vdr-powermate/Manifest new file mode 100644 index 000000000000..ff9a253b1c95 --- /dev/null +++ b/media-plugins/vdr-powermate/Manifest @@ -0,0 +1 @@ +DIST vdr-powermate-0.0.5.tgz 14579 SHA256 c75d8f08a79e5778978c4e04245ab91502cd77b2746672eeaf7f189e51bc7110 diff --git a/media-plugins/vdr-powermate/files/confd b/media-plugins/vdr-powermate/files/confd new file mode 100644 index 000000000000..03ecc4a1d417 --- /dev/null +++ b/media-plugins/vdr-powermate/files/confd @@ -0,0 +1,8 @@ +# /etc/conf.d/vdr.powermate: +# $Id$ + +# Set to powermat device (/dev/input/event?) +# Only needed to change if autodetect fails. +# allowed values: /dev/input/eventX (with X a number) +# default value: auto +#POWERMATE_DEVICE="auto" diff --git a/media-plugins/vdr-powermate/files/rc-addon.sh b/media-plugins/vdr-powermate/files/rc-addon.sh new file mode 100755 index 000000000000..f7d3c52eb09b --- /dev/null +++ b/media-plugins/vdr-powermate/files/rc-addon.sh @@ -0,0 +1,45 @@ +# plugin-startup-skript for powermate-plugin +# $Id$ + +# try to autodetect device for powermate + +detect_powermate() { + POWERMATE_DEVICE="" + + local devfile + local base + local sysfile + local linkdest + + for devfile in /dev/input/event*; do + # check if devile is device + [ -c "${devfile}" ] || continue + + # and for corresponding sysfs-entry + base=${devfile/\/dev\/input\//} + sysfile=/sys/class/input/${base}/device/driver + [ -L "${sysfile}" ] || continue + + # if driver-link contains powermate + linkdest=$(readlink ${sysfile}) + [ "${linkdest}" != "${linkdest#*powermate}" ] || continue + + # the we are done + POWERMATE_DEVICE="${devfile}" + break + done +} + +plugin_pre_vdr_start() { + if [ "${POWERMATE_DEVICE:-auto}" = "auto" ]; then + detect_powermate + fi + + if [ -c "${POWERMATE_DEVICE}" ]; then + chown vdr:vdr "${POWERMATE_DEVICE}" + add_plugin_param "--device=${POWERMATE_DEVICE}" + else + ewarn "No powermate-device found." + fi +} + diff --git a/media-plugins/vdr-powermate/metadata.xml b/media-plugins/vdr-powermate/metadata.xml new file mode 100644 index 000000000000..20b21cfa6df8 --- /dev/null +++ b/media-plugins/vdr-powermate/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription lang="en"> + The Plugin knows is used the + PowerMate of Griffin to the VDR to bind. + </longdescription> + <longdescription lang="de"> + Das Plugin kann benutzt werden den PowerMate von Griffin + an den VDR zu binden. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-powermate/vdr-powermate-0.0.5.ebuild b/media-plugins/vdr-powermate/vdr-powermate-0.0.5.ebuild new file mode 100644 index 000000000000..8a274be32e73 --- /dev/null +++ b/media-plugins/vdr-powermate/vdr-powermate-0.0.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR PLUGIN: support the Powermate device" +HOMEPAGE="http://home.arcor.de/andreas.regel/vdr_plugins.htm" +SRC_URI="http://home.arcor.de/andreas.regel/files/powermate/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-video/vdr-1.5.8" +DEPEND="${RDEPEND}" diff --git a/media-plugins/vdr-prefermenu/Manifest b/media-plugins/vdr-prefermenu/Manifest new file mode 100644 index 000000000000..e3ad13e04ae3 --- /dev/null +++ b/media-plugins/vdr-prefermenu/Manifest @@ -0,0 +1 @@ +DIST vdr-prefermenu-0.6.6.tgz 19617 SHA256 0b9338d1fff19e5ccf1f4e9f352e7bdf5b4f5e129007aa147d7ee4ab1034a6e8 SHA512 bc5e11757979a60f408c59d4d0f1d713899013d4a3485ff85e7bf139fb8f436ddd80799673c3d7a718a3d9cc0e75c216f73f1eccc3c2350826c5f8d6145157f6 WHIRLPOOL 5af73e6a2a7ceebdc733abdd16000521007f6fd046cfcfd4fac0909d572982342b780ba754e97e1e4f6a674f04446db2cdbf6ed220d40a82a4f8ad8eca23bc95 diff --git a/media-plugins/vdr-prefermenu/files/prefermenu.mk b/media-plugins/vdr-prefermenu/files/prefermenu.mk new file mode 100644 index 000000000000..8021b75536a0 --- /dev/null +++ b/media-plugins/vdr-prefermenu/files/prefermenu.mk @@ -0,0 +1,124 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = prefermenu + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +#INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +### The object files (add further files here): + +OBJS = $(PLUGIN).o preferosd.o prefersetup.o preferchannel.o + +### The main target: + +all: $(SOFILE) +#i18n + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib +#install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: +# @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff b/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff new file mode 100644 index 000000000000..0c0239d2ac48 --- /dev/null +++ b/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff @@ -0,0 +1,73 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 90_prefermenu-0.6.6-1.5.3.dpatch by Thomas Gnther <tom@toms-cafe.de> +## http://toms-cafe.de/vdr/download/prefermenu-0.6.6-1.5.3.diff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes for VDR >= 1.5.3. + +@DPATCH@ +--- prefermenu-0.6.6/prefermenu.c ++++ prefermenu-0.6.6/prefermenu.c +@@ -75,6 +75,7 @@ + } + // Clean up the file with current VDR channels.conf + PreferedChannelsList.Save(); ++ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height(); + config.height= (config.lines * (LINEHEIGHT+BORDERSIZE+2))+BORDERSIZE; + return new cPreferOsd; + } +--- prefermenu-0.6.6/preferosd.c ++++ prefermenu-0.6.6/preferosd.c +@@ -60,6 +60,7 @@ + } + osd=cOsdProvider::NewOsd(config.originx, config.originy); + if (osd) { ++ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height(); + tArea Area = { 0, 0, config.width+LINEHEIGHT, config.height-1, 4}; + osd->SetAreas(&Area, 1); + DrawPreferMenu(0,0); +@@ -168,6 +169,7 @@ + { + if (current > 1) { + current -= 1; ++ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height(); + DrawPreferMenu(-LINEHEIGHT,1); + DisplayPreferMenu(); + //DrawPreferMneu(-10,1); +@@ -181,6 +183,7 @@ + { + if (current < number) { + current += 1; ++ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height(); + DrawPreferMenu(+LINEHEIGHT,-1); + DisplayPreferMenu(); + //DrawPreferMenu(+10,-1); +@@ -315,6 +318,8 @@ + + void cPreferOsd::DrawPreferMenu(int delta, int highlight) + { ++ const cFont *font = cFont::GetFont(fontOsd); ++ const int LINEHEIGHT = font->Height(); + + int middle = int(config.height/2) + config.height%2; + +@@ -390,6 +395,8 @@ + + void cPreferOsd::DrawChannelsNames(int delta) + { ++ const cFont *font = cFont::GetFont(fontOsd); ++ const int LINEHEIGHT = font->Height(); + + // XXX The margin is hardcoded for now + // TODO: make it more flexible +--- prefermenu-0.6.6/preferosd.h ++++ prefermenu-0.6.6/preferosd.h +@@ -4,8 +4,6 @@ + #include <vdr/plugin.h> + + static const int BORDERSIZE = 2; +-static const cFont *font = cFont::GetFont(fontOsd); +-static const int LINEHEIGHT = font->Height(); + + + class cPreferOsd : public cOsdObject { diff --git a/media-plugins/vdr-prefermenu/metadata.xml b/media-plugins/vdr-prefermenu/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-prefermenu/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild b/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild new file mode 100644 index 000000000000..7e533a61c281 --- /dev/null +++ b/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: presents a favourites channels menu" +HOMEPAGE="http://www.olivierjacques.com/vdr/prefermenu/" +SRC_URI="http://famillejacques.free.fr/vdr/prefermenu/vdr-${VDRPLUGIN}-${PV}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0" + +PATCHES=("${FILESDIR}/${P}-no-static-getfont.diff") + +src_prepare() { + cp "${FILESDIR}/${VDRPLUGIN}.mk" Makefile + + vdr-plugin-2_src_prepare + + sed -e "s:RegisterI18n://RegisterI18n:" -i prefermenu.c +} + +src_install() { + vdr-plugin-2_src_install + + touch prefermenu.conf + + insopts -m0644 -gvdr -ovdr + insinto /etc/vdr/plugins/prefermenu + doins prefermenu.conf +} diff --git a/media-plugins/vdr-proxy/Manifest b/media-plugins/vdr-proxy/Manifest new file mode 100644 index 000000000000..e88212b14eef --- /dev/null +++ b/media-plugins/vdr-proxy/Manifest @@ -0,0 +1 @@ +DIST vdr-proxy-0.1.4.tgz 20391 SHA256 638271fcd71fbb0448a54c0d04455398d9c1253ce6f90a5f073c7ab9510afb28 diff --git a/media-plugins/vdr-proxy/metadata.xml b/media-plugins/vdr-proxy/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-proxy/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-proxy/vdr-proxy-0.1.4-r1.ebuild b/media-plugins/vdr-proxy/vdr-proxy-0.1.4-r1.ebuild new file mode 100644 index 000000000000..cbb0abc3e713 --- /dev/null +++ b/media-plugins/vdr-proxy/vdr-proxy-0.1.4-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +IUSE="" +SLOT="0" + +DESCRIPTION="VDR Plugin: enable grouping of menu entries, online load/unload" +HOMEPAGE="http://urichter.cjb.net/vdr/?h=proxy" +SRC_URI="http://www.mathematik.uni-kassel.de/~urichter/vdr/files/${P}.tgz" +LICENSE="GPL-2" + +KEYWORDS="x86" + +DEPEND=">=media-video/vdr-1.3.23" diff --git a/media-plugins/vdr-pvr350/Manifest b/media-plugins/vdr-pvr350/Manifest new file mode 100644 index 000000000000..68e53efc063c --- /dev/null +++ b/media-plugins/vdr-pvr350/Manifest @@ -0,0 +1,3 @@ +DIST vdr-pvr350-1.7.3.tgz 54099 SHA256 d91e7f58b62b4ea541636582e964a67ab5973e14b0ef1097364a8684a66d37a5 +DIST vdr-pvr350-1.7.4.tgz 52592 SHA256 a1bbe68a9b44c38a146bc5d018235adad25d8d480c7a9f97199bc096fc872e01 +DIST vdr-pvr350-1.7.5.tgz 48676 SHA256 3ebc602cc53e3f4508d08c53b29f392ea66cf05c8f5bbd14da8c1e641f88bfb9 SHA512 dd29836afe4e56b6ec083210920964645568c2680c170d435b379593f7f8fc1a5420e10af53126cfb82be4764aee47d2233b8fca3efece0ccb221c1a94445d05 WHIRLPOOL 3575eddb312ec32b4744d2aa3a8f655cdaae7b726a66cc0fd0c3a13e300e1663a4ff43ef5e5a1dcb9da9e500dd5c801d06237ccfcf780aba22094a582aab23b6 diff --git a/media-plugins/vdr-pvr350/metadata.xml b/media-plugins/vdr-pvr350/metadata.xml new file mode 100644 index 000000000000..520eec87836e --- /dev/null +++ b/media-plugins/vdr-pvr350/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<use> + <flag name='yaepg'>Enables full support for the output format of + <pkg>media-plugins/vdr-yaepg</pkg></flag> +</use> +</pkgmetadata> + diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-1.7.3.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.3.ebuild new file mode 100644 index 000000000000..cd77393a7151 --- /dev/null +++ b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.3.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 vdr-plugin-2 + +VERSION="995" + +DESCRIPTION="VDR plugin: use a PVR350 as output device" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-pvr350" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="yaepg" + +DEPEND=">=media-video/vdr-1.6.0 + media-sound/mpg123 + media-sound/twolame + media-libs/a52dec + yaepg? ( >=media-video/vdr-1.6.0[yaepg] )" +RDEPEND="${DEPEND}" + +DEPEND="${DEPEND} + || ( >=sys-kernel/linux-headers-2.6.38 )" + +S="${WORKDIR}/${P#vdr-}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use yaepg; then + BUILD_PARAMS="SET_VIDEO_WINDOW=1" + fi +} diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-1.7.4.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.4.ebuild new file mode 100644 index 000000000000..c67844aac9e6 --- /dev/null +++ b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.4.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 vdr-plugin-2 + +VERSION="996" + +DESCRIPTION="VDR plugin: use a PVR350 as output device" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-pvr350" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="yaepg" + +DEPEND=">=media-video/vdr-1.6.0 + media-sound/mpg123 + media-sound/twolame + media-libs/a52dec + yaepg? ( >=media-video/vdr-1.6.0[yaepg] )" +RDEPEND="${DEPEND}" + +DEPEND="${DEPEND} + || ( >=sys-kernel/linux-headers-2.6.38 )" + +S="${WORKDIR}/${P#vdr-}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use yaepg; then + BUILD_PARAMS="SET_VIDEO_WINDOW=1" + fi +} diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-1.7.5.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.5.ebuild new file mode 100644 index 000000000000..d2a8d738e152 --- /dev/null +++ b/media-plugins/vdr-pvr350/vdr-pvr350-1.7.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1657" # every bump, new version + +DESCRIPTION="VDR plugin: use a PVR350 as output device" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-pvr350" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="yaepg" + +DEPEND=">=media-video/vdr-2 + media-sound/mpg123 + media-sound/twolame + media-libs/a52dec + yaepg? ( >=media-video/vdr-2[yaepg] )" +RDEPEND="${DEPEND}" + +DEPEND="${DEPEND} + || ( >=sys-kernel/linux-headers-2.6.38 )" + +S="${WORKDIR}/${P#vdr-}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use yaepg; then + BUILD_PARAMS="SET_VIDEO_WINDOW=1" + fi +} + +src_prepare() { + # remove empty language files + rm po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare +} diff --git a/media-plugins/vdr-pvrinput/Manifest b/media-plugins/vdr-pvrinput/Manifest new file mode 100644 index 000000000000..c77dba874f3e --- /dev/null +++ b/media-plugins/vdr-pvrinput/Manifest @@ -0,0 +1 @@ +DIST vdr-pvrinput-2011.09.17.tgz 70255 SHA256 cdad3eb2996df94ad342dd8461b4e9652c879f2eacd3971ce59e8c5bdf796273 SHA512 890ffbc1254b6c70f022dca6dbf0c09ba5689809fb95c1e40817f130f62f92383572dee61dcaaa44c515f05d9991a3031d4451e6be6fd1ae0640404f6a3a0e5e WHIRLPOOL 6c5fdcf7b454366b1cf4ee45f06c06d18d44158c6de0062537e10ba5bbcb87b07702f1c186662adba769e63f0745f71c2b37d9e19c4937adf59caa1b5052574e diff --git a/media-plugins/vdr-pvrinput/files/missing-include.diff b/media-plugins/vdr-pvrinput/files/missing-include.diff new file mode 100644 index 000000000000..18e9213de8be --- /dev/null +++ b/media-plugins/vdr-pvrinput/files/missing-include.diff @@ -0,0 +1,12 @@ +diff -ur pvrinput-2011-08-18.orig/common.h pvrinput-2011-08-18/common.h +--- pvrinput-2011-08-18.orig/common.h 2011-03-29 21:59:42.000000000 +0200 ++++ pvrinput-2011-08-18/common.h 2012-04-11 23:05:24.870618177 +0200 +@@ -7,6 +7,7 @@ + #include <sys/ioctl.h> + #include <stdarg.h> + ++#include <vdr/device.h> + #include <vdr/plugin.h> + #if VDRVERSNUM > 10712 + #include <vdr/sourceparams.h> + diff --git a/media-plugins/vdr-pvrinput/metadata.xml b/media-plugins/vdr-pvrinput/metadata.xml new file mode 100644 index 000000000000..bb6229e6c20f --- /dev/null +++ b/media-plugins/vdr-pvrinput/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription lang="en"> + Plugin to use a PVR* card as input device for VDR + </longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-pvrinput/vdr-pvrinput-2011.09.17.ebuild b/media-plugins/vdr-pvrinput/vdr-pvrinput-2011.09.17.ebuild new file mode 100644 index 000000000000..78553b17a44a --- /dev/null +++ b/media-plugins/vdr-pvrinput/vdr-pvrinput-2011.09.17.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Use a PVR* card as input device" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-pvrinput" +SRC_URI="mirror://gentoo/vdr-pvrinput-2011.09.17.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/vdr-plugin-pvrinput-3ee6b964382f38715f4a4fe57bd4760044f9a58a" + +src_prepare() { + # remove untranslated po files, i18n fix + rm "${S}"/po2i18n.pl "${S}"/po/{i18n-template.c,i18n.h} \ + "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI}.po + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include reader.c + + epatch "${FILESDIR}/missing-include.diff" +} + +src_install() { + vdr-plugin-2_src_install + + dodoc TODO FAQ example/channels.conf_* +} diff --git a/media-plugins/vdr-quicktimer/Manifest b/media-plugins/vdr-quicktimer/Manifest new file mode 100644 index 000000000000..709506973a5c --- /dev/null +++ b/media-plugins/vdr-quicktimer/Manifest @@ -0,0 +1 @@ +DIST vdr-quicktimer-0.1.1.tgz 10991 RMD160 f6cee18584c45dde9283942681f991e7e0d66eea SHA1 6bdaec9507abaeaba9bef6354116604f2ac8c7ce SHA256 6d0dcc95d6f0b0812781ea4cc71c47e5be4ef008ae854a6d3061d6ecf7bf2785 diff --git a/media-plugins/vdr-quicktimer/metadata.xml b/media-plugins/vdr-quicktimer/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-quicktimer/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-quicktimer/vdr-quicktimer-0.1.1.ebuild b/media-plugins/vdr-quicktimer/vdr-quicktimer-0.1.1.ebuild new file mode 100644 index 000000000000..7228a2534fef --- /dev/null +++ b/media-plugins/vdr-quicktimer/vdr-quicktimer-0.1.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Fast generate timers with just entering Channel, Day and start time" +HOMEPAGE="http://users.tkk.fi/~phintuka/vdr/vdr-quicktimer/" +SRC_URI="mirror://gentoo/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.36" diff --git a/media-plugins/vdr-radio/Manifest b/media-plugins/vdr-radio/Manifest new file mode 100644 index 000000000000..e44aca1bb92d --- /dev/null +++ b/media-plugins/vdr-radio/Manifest @@ -0,0 +1,2 @@ +DIST vdr-radio-0.9.0.tgz 354038 SHA256 05cb1c16b4aa24e2958680889ac5c38caa71f2a2c878fa447b65953252bf5ca8 +DIST vdr-radio-0.9.1.tgz 353414 SHA256 9b446ac3b3004749bc2e3e4d502c049c285215909aff5cf575773c1eb41395bb SHA512 81ab0d92ee390eecbbce73bc035714dda6157dc1f0781b6f8765603f65707e1711af64a48168923e2a78b77e0d869471fa313656d517cba27a3104e483085f43 WHIRLPOOL ce7a2369b54435d5c7f4ba7420b871acd36780974bd0d3aaf3ceba82dbda9065b9cd10959b6bdd90acef64c71a375a2fea771af81f0d82457a9272938ea11667 diff --git a/media-plugins/vdr-radio/files/rc-addon.sh b/media-plugins/vdr-radio/files/rc-addon.sh new file mode 100644 index 000000000000..30e76f8b93c4 --- /dev/null +++ b/media-plugins/vdr-radio/files/rc-addon.sh @@ -0,0 +1,14 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-radio +# +# This sript is called by gentoo-vdr-scripts on start of VDR + +# Set default DIR to the background picture +RADIO_BACKGROUND_DIR=/usr/share/vdr/radio + +plugin_pre_vdr_start() { + + add_plugin_param "-f ${RADIO_BACKGROUND_DIR}" + +} diff --git a/media-plugins/vdr-radio/files/rc-addon.sh-0.2.0 b/media-plugins/vdr-radio/files/rc-addon.sh-0.2.0 new file mode 100644 index 000000000000..bf45b0319a5e --- /dev/null +++ b/media-plugins/vdr-radio/files/rc-addon.sh-0.2.0 @@ -0,0 +1,16 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-radio +# +# This sript is called by gentoo-vdr-scripts on start of VDR + +# Set default DIR to the background picture +RADIO_BACKGROUND_DIR=/usr/share/vdr/radio +RADIO_TMP_DIR=/var/cache/vdr-radio + +plugin_pre_vdr_start() { + + add_plugin_param "-f ${RADIO_BACKGROUND_DIR}" + add_plugin_param "-d ${RADIO_TMP_DIR}" + +} diff --git a/media-plugins/vdr-radio/metadata.xml b/media-plugins/vdr-radio/metadata.xml new file mode 100644 index 000000000000..c6c589a5443d --- /dev/null +++ b/media-plugins/vdr-radio/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + This Plugin display a background image while the vdr is switcht to radio channels. + Also it supports RDS on radio channels. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-radio/vdr-radio-0.9.0.ebuild b/media-plugins/vdr-radio/vdr-radio-0.9.0.ebuild new file mode 100644 index 000000000000..ae670355e091 --- /dev/null +++ b/media-plugins/vdr-radio/vdr-radio-0.9.0.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 vdr-plugin-2 + +DESCRIPTION="VDR plugin: show background image for radio and decode RDS Text" +HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=58795" +SRC_URI="http://www.egal-vdr.de/plugins/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-video/vdr-1.6.0" +DEPEND="${RDEPEND}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh-0.2.0" + +src_install() { + vdr-plugin-2_src_install + + cd "${S}"/config + + insinto /usr/share/vdr/radio + doins mpegstill/rtext* + dosym rtextOben-kleo2-live.mpg /usr/share/vdr/radio/radio.mpg + dosym rtextOben-kleo2-replay.mpg /usr/share/vdr/radio/replay.mpg + + exeinto /usr/share/vdr/radio + doexe scripts/radioinfo* + + diropts -m 755 -o vdr -g vdr + keepdir "/var/cache/vdr-radio" +} diff --git a/media-plugins/vdr-radio/vdr-radio-0.9.1.ebuild b/media-plugins/vdr-radio/vdr-radio-0.9.1.ebuild new file mode 100644 index 000000000000..20aac821b0d0 --- /dev/null +++ b/media-plugins/vdr-radio/vdr-radio-0.9.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: show background image for radio and decode RDS Text" +HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=58795" +SRC_URI="http://www.egal-vdr.de/plugins/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=media-video/vdr-1.7.34" +DEPEND="${RDEPEND}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh-0.2.0" + +src_install() { + vdr-plugin-2_src_install + + cd "${S}"/config + + insinto /usr/share/vdr/radio + doins mpegstill/rtext* + dosym rtextOben-kleo2-live.mpg /usr/share/vdr/radio/radio.mpg + dosym rtextOben-kleo2-replay.mpg /usr/share/vdr/radio/replay.mpg + + exeinto /usr/share/vdr/radio + doexe scripts/radioinfo* + + diropts -m 755 -o vdr -g vdr + keepdir "/var/cache/vdr-radio" +} diff --git a/media-plugins/vdr-radiolist/Manifest b/media-plugins/vdr-radiolist/Manifest new file mode 100644 index 000000000000..561e1f7964db --- /dev/null +++ b/media-plugins/vdr-radiolist/Manifest @@ -0,0 +1 @@ +DIST vdr-radiolist-0.0.2.tgz 11338 SHA256 f0d95119aa6ea8fd9db6f3222c66107dae57a3b752a514382828af015115f1c5 diff --git a/media-plugins/vdr-radiolist/metadata.xml b/media-plugins/vdr-radiolist/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-radiolist/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-radiolist/vdr-radiolist-0.0.2.ebuild b/media-plugins/vdr-radiolist/vdr-radiolist-0.0.2.ebuild new file mode 100644 index 000000000000..c400bff0e0f9 --- /dev/null +++ b/media-plugins/vdr-radiolist/vdr-radiolist-0.0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Filters channel list and only show the radio channels" +HOMEPAGE="http://vaasa.wi-bw.tfh-wildau.de/~pjuszack/digicam/#radiolist" +SRC_URI="http://194.95.44.38/~pjuszack/digicam/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.18" diff --git a/media-plugins/vdr-rcu/Manifest b/media-plugins/vdr-rcu/Manifest new file mode 100644 index 000000000000..25c7c923be34 --- /dev/null +++ b/media-plugins/vdr-rcu/Manifest @@ -0,0 +1,2 @@ +DIST vdr-rcu-2.0.0.tar.gz 11982 SHA256 f4f01e7351ca425effc76d9c558a9fd7283e67bac311fa071207879265a37880 SHA512 db3bca0a9300b6ee0fb1a0035f4b9847a5f946b73e0e33938e5bc756ab5f990d768e0873ade5dff2b4ad15f378428ce77a77172263a97d69648a39c9e177b1a5 WHIRLPOOL 7a91fa73f7629378670a24122d9616ffd863d96cbfa110f583899564a995a81cc2ce9e330bcda77ff0856f03669a31b910b27235215eb448529c699a4fda7e5d +DIST vdr-rcu-2.2.0.tar.gz 12121 SHA256 2c9a5cf5afcf2ae4950437f7899935b6fa8fa7b4b31d06534e5cdacae7a94270 SHA512 78c93a2c9eeb3bd82ddc74dd616753b82841a396a7db75476f86e55911528a29aaeb9a3bae900035b91f7ec886a59828c54aa27d5785ec103c160dc8cff4e5fc WHIRLPOOL 3a1a840503ac4ee29c67fca46b6ca95b535612e3a2065b90b9b16de2f728b12648bdbf3726e2a70f01d7978a04c50b7625849e17a5c854dcc7ed5a71917a740c diff --git a/media-plugins/vdr-rcu/metadata.xml b/media-plugins/vdr-rcu/metadata.xml new file mode 100644 index 000000000000..94d2eca26f15 --- /dev/null +++ b/media-plugins/vdr-rcu/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-rcu/vdr-rcu-2.0.0.ebuild b/media-plugins/vdr-rcu/vdr-rcu-2.0.0.ebuild new file mode 100644 index 000000000000..f891b272b05b --- /dev/null +++ b/media-plugins/vdr-rcu/vdr-rcu-2.0.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Remote Control Unit consists mainly of an infrared receiver, controlled by a PIC 16C84" +HOMEPAGE="http://www.tvdr.de/remote.htm" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-rcu/vdr-rcu-2.2.0.ebuild b/media-plugins/vdr-rcu/vdr-rcu-2.2.0.ebuild new file mode 100644 index 000000000000..25fe8fa8863a --- /dev/null +++ b/media-plugins/vdr-rcu/vdr-rcu-2.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Remote Control Unit consists mainly of an infrared receiver, controlled by a PIC 16C84" +HOMEPAGE="http://www.tvdr.de/remote.htm" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0" diff --git a/media-plugins/vdr-recsearch/Manifest b/media-plugins/vdr-recsearch/Manifest new file mode 100644 index 000000000000..89ea57a640ee --- /dev/null +++ b/media-plugins/vdr-recsearch/Manifest @@ -0,0 +1 @@ +DIST vdr-recsearch-0.3.5.tar.gz 23920 SHA256 61324315baebcb0b3bc141751c1cbe36f93ab989dbdfabbd9110624fc61ab2b1 SHA512 97cac7ffd231b732ae91b2e86c74bf307c5901b718d23bbb9f2fec4da25cd80e23a41c9e35a88caf8c9bd190c07662fa64057b20fd760bbed9c2b94687f730b6 WHIRLPOOL 8ef728f68fe4522983d77ca8f2da3ff95bf90cd4c7c0bee7eb290cc4fedf2eec55b9bc2656a3a0052dbb0821a0d854211974f671a67c79e997c16871b32de296 diff --git a/media-plugins/vdr-recsearch/metadata.xml b/media-plugins/vdr-recsearch/metadata.xml new file mode 100644 index 000000000000..da5ebae71107 --- /dev/null +++ b/media-plugins/vdr-recsearch/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="github">flensrocker/vdr-plugin-recsearch</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-recsearch/vdr-recsearch-0.3.5.ebuild b/media-plugins/vdr-recsearch/vdr-recsearch-0.3.5.ebuild new file mode 100644 index 000000000000..1f6f88ae018c --- /dev/null +++ b/media-plugins/vdr-recsearch/vdr-recsearch-0.3.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Search through your recordings and find the one you are looking for..." +HOMEPAGE="https://github.com/flensrocker/vdr-plugin-recsearch" +SRC_URI="https://github.com/flensrocker/vdr-plugin-recsearch/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/vdr-plugin-recsearch-${PV}" + +src_install() { + vdr-plugin-2_src_install + + touch last.conf + touch searches.conf + insopts -m0644 -ovdr -gvdr + insinto /etc/vdr/plugins/${VDRPLUGIN} + doins last.conf searches.conf +} diff --git a/media-plugins/vdr-recstatus/Manifest b/media-plugins/vdr-recstatus/Manifest new file mode 100644 index 000000000000..f93389693e30 --- /dev/null +++ b/media-plugins/vdr-recstatus/Manifest @@ -0,0 +1 @@ +DIST vdr-recstatus-0.0.8.tgz 17586 SHA256 43beb5d708122e52e103867efd22ea10d0a5270cff13889a7ff94aa48a1fcd7b diff --git a/media-plugins/vdr-recstatus/metadata.xml b/media-plugins/vdr-recstatus/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-recstatus/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild b/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild new file mode 100644 index 000000000000..185b3c2a28e1 --- /dev/null +++ b/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: displays the recording status of the available devices" +HOMEPAGE="http://www.constabel.net/projects/recstatus/wiki" +SRC_URI="https://www.constabel.net/files/vdr/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.28"; then + sed -i "s:SetRecording(\([^,]*\),[^)]*)):SetRecording(\1\):" recstatus.c + fi +} diff --git a/media-plugins/vdr-remote/Manifest b/media-plugins/vdr-remote/Manifest new file mode 100644 index 000000000000..8ead859cf4bd --- /dev/null +++ b/media-plugins/vdr-remote/Manifest @@ -0,0 +1,2 @@ +DIST vdr-remote-0.5.0.tgz 31615 SHA256 d643e7c55857daf675474905803b5561ea81c2ff39522916c8c3d25b890ac4a5 SHA512 60575803d5d54a76f01fa4ceee0f9214d245f50f51c998c8aad7b28a0dc969ff12f083c147dd977a82372474e77dea9e625c509939e8b6367ac7548b61fbdc7f WHIRLPOOL 64e4edd9b062e846e729aa7c1155802e4657fdd46271f95910b120d1090af314d6d3ac24b60a3aafb74aafff68cd41d904f75f95f50ddba826a7c128c104674b +DIST vdr-remote-0.6.0.tgz 32869 SHA256 c05d17f207bd2723ae6c079bc8961ba0badfcced149afbea63a5c52c807de254 SHA512 1836255d40c9a491d1f0dcab7779a3f75d125b4d28bce00954c2d774c83172e4d69763e34e3f7d9540a951faeead0c12d4a44b0a367a92caae3b22bb3f8c524d WHIRLPOOL f9e3c28e68cb75ea068596e470a5da92d843ff7b89c9b1c800fb8a6fc1fa7ddceaf9e44043755cc81d0d34efc70e19454f0ebb58ab60c6b4e4c51dc49f61736e diff --git a/media-plugins/vdr-remote/files/confd b/media-plugins/vdr-remote/files/confd new file mode 100644 index 000000000000..d34513c6d230 --- /dev/null +++ b/media-plugins/vdr-remote/files/confd @@ -0,0 +1,43 @@ +# /etc/conf.d/vdr.remote: + +# Config-file for vdr plugin remote + +# +# Read keypresses from linux-kernel input-devices +# for example IR-Input on DVB-cards +# allowed values: no, autodetect or list of devices /dev/input/eventX (X=0,1,...) +# default: autodetect +# +#REMOTE_PLUGIN_INPUT_DEVICE="no" +# + +# +# Connect to lirc-daemon on this socket +# allowed values: list of sockets, example: /dev/lircd +# default: do not use any lirc-daemon from inside this plugin +# +#REMOTE_PLUGIN_LIRC="" + +# +# Listen on these tcp-ports for connections which get OSD and +# can send keypresses to vdr +# allowed values: List of portnumbers (>1024) +# default: do not open any tcp-port +# +#REMOTE_PLUGIN_TCP_PORTS="" + +# +# Listen on these tty-device for keypresses, do not show osd there +# allowed values: List of tty-device names (/dev/ttyX) +# default: do not open any tty-devices +# +#REMOTE_PLUGIN_TTY_ONLY_INPUT="" + +# +# Listen on these tty-device for keypresses and show the +# osd there +# allowed values: List of tty-device names (/dev/ttyX) +# default: do not open any tty-devices +# +#REMOTE_PLUGIN_TTY_WITH_OSD="" + diff --git a/media-plugins/vdr-remote/files/rc-addon.sh b/media-plugins/vdr-remote/files/rc-addon.sh new file mode 100644 index 000000000000..5b5bdff49d18 --- /dev/null +++ b/media-plugins/vdr-remote/files/rc-addon.sh @@ -0,0 +1,97 @@ +# +# rc-addon-script for plugin remote +# + +check_device() { + local handlers="${1}" + local name="${2}" + local eventdev="" + [ "${handlers}" = "" ] && return + + local handler + for handler in ${handlers}; do + case "${handler}" in + event*) + eventdev=${handler} + ;; + esac + done + + if [ "${eventdev}" = "" ]; then + if [ "${evdev_warning_showed}" != "1" ]; then + echo "you need to load module evdev for autodetect input-devices to work" + evdev_warning_showed=1 + fi + return + fi + + case "${name}" in + *dvb*|*DVB*) + einfo_level1 "Autodetect Input Device ${eventdev} (Name: ${name})" + REMOTE_PLUGIN_INPUT_DEVICE="${REMOTE_PLUGIN_INPUT_DEVICE} /dev/input/${eventdev}" + ;; + esac +} + +autodetect_input_devices() { + [ -e /proc/bus/input/devices ] || return + exec 3</proc/bus/input/devices + while read -u 3 line; do + case ${line} in + I:*) check_device "${device}" "${name}" + device="" + ;; + H:*) device=${line#H: Handlers=} + ;; + N:*) name=${line#N: Name=\"} + name=${name%\"} + ;; + esac + done + check_device "${device}" "${name}" + exec 3<&- +} + +plugin_pre_vdr_start() { + if [ "${REMOTE_PLUGIN_INPUT_DEVICE:-autodetect}" = "autodetect" ]; then + REMOTE_PLUGIN_INPUT_DEVICE="" + autodetect_input_devices + fi + if [ -n "${REMOTE_PLUGIN_INPUT_DEVICE}" ] && [ "${REMOTE_PLUGIN_INPUT_DEVICE}" != "no" ]; then + [ -e /proc/av7110_ir ] && chown vdr:vdr /proc/av7110_ir + for dev in ${REMOTE_PLUGIN_INPUT_DEVICE}; do + [ -e "${dev}" ] || continue + chown vdr:vdr ${dev} + add_plugin_param "--input=${dev}" + done + fi + + if [ -n "${REMOTE_PLUGIN_LIRC}" ]; then + for dev in ${REMOTE_PLUGIN_LIRC}; do + [ -e "${dev}" ] || continue + add_plugin_param "--lirc=${dev}" + done + fi + + if [ -n "${REMOTE_PLUGIN_TCP_PORTS}" ]; then + for tcpport in ${REMOTE_PLUGIN_TCP_PORTS}; do + add_plugin_param "--port=tcp:${tcpport}" + done + fi + + if [ -n "${REMOTE_PLUGIN_TTY_ONLY_INPUT}" ]; then + for tty in ${REMOTE_PLUGIN_TTY_ONLY_INPUT}; do + [ -e "${tty}" ] || continue + chown vdr:vdr ${tty} + add_plugin_param "--tty=${tty}" + done + fi + + if [ -n "${REMOTE_PLUGIN_TTY_WITH_OSD}" ]; then + for tty in ${REMOTE_PLUGIN_TTY_WITH_OSD}; do + [ -e "${tty}" ] || continue + chown vdr:vdr ${tty} + add_plugin_param "--TTY=${tty}" + done + fi +} diff --git a/media-plugins/vdr-remote/metadata.xml b/media-plugins/vdr-remote/metadata.xml new file mode 100644 index 000000000000..12de1a6a6a17 --- /dev/null +++ b/media-plugins/vdr-remote/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-remote/vdr-remote-0.5.0-r1.ebuild b/media-plugins/vdr-remote/vdr-remote-0.5.0-r1.ebuild new file mode 100644 index 000000000000..2ec9a48f2eba --- /dev/null +++ b/media-plugins/vdr-remote/vdr-remote-0.5.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)" +HOMEPAGE="http://www.escape-edv.de/endriss/vdr/" +SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="systemd" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use systemd; then + if ! getent group input | grep -q vdr; then + einfo "add user 'vdr' to group 'input' for full access to remote control device" + gpasswd -a vdr input + fi + fi +} diff --git a/media-plugins/vdr-remote/vdr-remote-0.5.0.ebuild b/media-plugins/vdr-remote/vdr-remote-0.5.0.ebuild new file mode 100644 index 000000000000..936d96188487 --- /dev/null +++ b/media-plugins/vdr-remote/vdr-remote-0.5.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)" +HOMEPAGE="http://www.escape-edv.de/endriss/vdr/" +SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.35" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-remote/vdr-remote-0.6.0.ebuild b/media-plugins/vdr-remote/vdr-remote-0.6.0.ebuild new file mode 100644 index 000000000000..8a00ddcc714a --- /dev/null +++ b/media-plugins/vdr-remote/vdr-remote-0.6.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)" +HOMEPAGE="http://www.escape-edv.de/endriss/vdr/" +SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="systemd" + +DEPEND=">=media-video/vdr-2.2.0" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use systemd; then + if ! getent group input | grep -q vdr; then + einfo "add user 'vdr' to group 'input' for full access to remote control device" + gpasswd -a vdr input + fi + fi +} diff --git a/media-plugins/vdr-remoteosd/Manifest b/media-plugins/vdr-remoteosd/Manifest new file mode 100644 index 000000000000..0be2a73b98b4 --- /dev/null +++ b/media-plugins/vdr-remoteosd/Manifest @@ -0,0 +1 @@ +DIST vdr-remoteosd-1.0.0.tgz 20154 SHA256 12b7d74b37917dca616842ec36998cd737594b65bbe711e48e5fc5d48210f46c SHA512 c5af72ac82e41af7d753f20230cf511cb95abad07906be96b14f26aacce3c461ef3b552a1f28dceecfa5b50023268bbf9bf41b71e66326af610ba113295e9056 WHIRLPOOL c60cfb9943189d6c80be9dc7e6a41ac4e7d8bd59c6680e00cf72c9a8913308e78924a1a5904412eacad6011ac5ce92c8bd567e9fbe6c1758369f8d0c11ee8297 diff --git a/media-plugins/vdr-remoteosd/metadata.xml b/media-plugins/vdr-remoteosd/metadata.xml new file mode 100644 index 000000000000..57cbe8aa99b6 --- /dev/null +++ b/media-plugins/vdr-remoteosd/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0.ebuild b/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0.ebuild new file mode 100644 index 000000000000..5e742ad42b48 --- /dev/null +++ b/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: server/client remoteosd" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/remoteosd/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-remotetimers/Manifest b/media-plugins/vdr-remotetimers/Manifest new file mode 100644 index 000000000000..e932e3b3216d --- /dev/null +++ b/media-plugins/vdr-remotetimers/Manifest @@ -0,0 +1,3 @@ +DIST vdr-remotetimers-1.0.0.tgz 56861 SHA256 41757ced5cece7650596808778b83d06264bc9ee2156691c522dae7c259649ae SHA512 7b1bd1f57f7f150b92fa026d7120ecf6018e0a4f084980474fe3d1e439cd88779460deeb55393f2f986753c93ac1914db93d4104767103a616b16589a7417733 WHIRLPOOL 2ead7bbac480706cd214bae7485d979643d880efc70523e50ff07ae44114caf78554b62be597f37d911a2aefab62e490cc00ee9030a2b395a7f276d882d277ce +DIST vdr-remotetimers-1.0.1.tgz 62505 SHA256 c87fc8eabd70f42de57d6b0eb813487496f7ff809aedbcc492766fa6f1d06c17 SHA512 8eb404d7125b387bf33283f9dff2100f9bfbaa7c7a5b2dba649be20712ed468f4dcb7b3c2a2514046b3dd31fdc49fde493da53e97086f761a7b4784f50aab015 WHIRLPOOL 107a41ecb96d8785a8737053ce435cc40539f813fc0ce27d3ca32251f96e1b0b77b10c4da48195706cd4b606822727007a7b9bdb54ec548b3b212d79d0de4964 +DIST vdr-remotetimers-1.0.2.tgz 62750 SHA256 cc8916695819f4bb9c02417a31f726e61f2e27da284a70ccefb50ee1e10242f1 SHA512 37a93600e11c21b0ab5d18b0e0631b527db96b4a19967b34fb7f912607f803ca8872efdbd642dfcde0953129b7a1a8fe971459deab6d8c78449f94505d8674de WHIRLPOOL e141f59b4cc5ffd5b439db9551ec8288633ed290314d5abc3663bb1b128a643547da1fe55fe0748ff8a678f65a6e82351fa06b432ce9fc50461662a2e0d70d8f diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-1.0.1_vdr-2.1.2.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-1.0.1_vdr-2.1.2.diff new file mode 100644 index 000000000000..287c8c2e6ec4 --- /dev/null +++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-1.0.1_vdr-2.1.2.diff @@ -0,0 +1,137 @@ +diff -Naur remotetimers-1.0.1.orig/menu.c remotetimers-1.0.1/menu.c +--- remotetimers-1.0.1.orig/menu.c 2014-12-26 18:41:16.359719486 +0100 ++++ remotetimers-1.0.1/menu.c 2014-12-26 18:42:58.843051214 +0100 +@@ -189,14 +189,23 @@ + bool cFreeDiskSpace::HasChanged(const char *SubDir, bool ForceCheck) + { + cString path(ExchangeChars(strdup(SubDir ? SubDir : ""), true), true); ++#if APIVERSNUM > 20101 ++ path = cString::sprintf("%s/%s", cVideoDirectory::Name(), *path); ++#else + path = cString::sprintf("%s/%s", VideoDirectory, *path); ++#endif + if (ForceCheck || time(NULL) - lastDiskSpaceCheck > DISKSPACECHEK || !EntriesOnSameFileSystem(path, lastPath)) { + int FreeMB; + int Percent; + int MBperMinute = -1; + lastPath = path; ++#if APIVERSNUM > 20101 ++ if (cVideoDirectory::IsOnVideoDirectoryFileSystem(path)) { ++ Percent = cVideoDirectory::VideoDiskSpace(&FreeMB); ++#else + if (IsOnVideoDirectoryFileSystem(path)) { + Percent = ::VideoDiskSpace(&FreeMB); ++#endif + MBperMinute = Recordings.MBperMinute(); + } + else { +@@ -1758,8 +1767,13 @@ + int len = strlen(RemoteTimersSetup.serverDir); + bool remote = len == 0 || (strstr(name, RemoteTimersSetup.serverDir) == name && name[len] == FOLDERDELIMCHAR); + if (!remote) { ++#if APIVERSNUM > 20101 ++ if (RecordingsHandler.GetUsage(*fileName) == ruNone) { ++ if (RecordingsHandler.Add(ruCut, *fileName)) ++#else + if (!cCutter::Active()) { + if (cCutter::Start(*fileName)) ++#endif + Skins.Message(mtInfo, tr("Editing process started")); + else + Skins.Message(mtError, tr("Can't start editing process!")); +@@ -1898,7 +1912,11 @@ + name[len] = '\0'; + } + cString newName(ExchangeChars(strdup(name), true), true); ++#if APIVERSNUM > 20101 ++ newName = cString::sprintf("%s/%s%s", cVideoDirectory::Name(), *newName, p); ++#else + newName = cString::sprintf("%s/%s%s", VideoDirectory, *newName, p); ++#endif + bool wasMoving = cMoveRec::IsMoving(); + if (Rename(Recording, newName)) { + // keep old name when moving recording in background +@@ -2215,7 +2233,11 @@ + + cString cMenuRecordings::DirectoryName(void) + { ++#if APIVERSNUM > 20101 ++ cString d(cVideoDirectory::Name()); ++#else + cString d(VideoDirectory); ++#endif + if (base) { + char *s = ExchangeChars(strdup(base), true); + d = AddDirectory(d, s); +@@ -2312,9 +2334,17 @@ + } + cRecording *recording = ri->Recording(); + cString FileName = recording->FileName(); ++#if APIVERSNUM > 20101 ++ if (RecordingsHandler.GetUsage(*FileName) != ruNone) { ++#else + if (cCutter::Active(ri->Recording()->FileName())) { ++#endif + if (Interface->Confirm(tr("Recording is being edited - really delete?"))) { ++#if APIVERSNUM > 20101 ++ RecordingsHandler.Del(*FileName); ++#else + cCutter::Stop(); ++#endif + recording = Recordings.GetByName(FileName); // cCutter::Stop() might have deleted it if it was the edited version + // we continue with the code below even if recording is NULL, + // in order to have the menu updated etc. +diff -Naur remotetimers-1.0.1.orig/remotetimers.c remotetimers-1.0.1/remotetimers.c +--- remotetimers-1.0.1.orig/remotetimers.c 2014-12-26 18:41:16.363052819 +0100 ++++ remotetimers-1.0.1/remotetimers.c 2014-12-26 18:42:58.846384548 +0100 +@@ -172,11 +172,23 @@ + if (*RemoteTimersSetup.serverDir) { + ir->name = cString::sprintf("%s~%s", RemoteTimersSetup.serverDir, recording.Name()); + ++#if APIVERSNUM > 20101 ++ int len = strlen(cVideoDirectory::Name()); ++#else + int len = strlen(VideoDirectory); ++#endif + ir->fileName = recording.FileName(); ++#if APIVERSNUM > 20101 ++ if (strncmp(ir->fileName, cVideoDirectory::Name(), strlen(cVideoDirectory::Name())) == 0 && ir->fileName[len] == '/') { ++#else + if (strncmp(ir->fileName, VideoDirectory, strlen(VideoDirectory)) == 0 && ir->fileName[len] == '/') { ++#endif + char *serverDir = ExchangeChars(strdup(RemoteTimersSetup.serverDir), true); ++#if APIVERSNUM > 20101 ++ ir->fileName = cString::sprintf("%s/%s%s", cVideoDirectory::Name(), serverDir, ir->fileName + len); ++#else + ir->fileName = cString::sprintf("%s/%s%s", VideoDirectory, serverDir, ir->fileName + len); ++#endif + free(serverDir); + } + else { +diff -Naur remotetimers-1.0.1.orig/watcher.c remotetimers-1.0.1/watcher.c +--- remotetimers-1.0.1.orig/watcher.c 2014-12-26 18:41:16.363052819 +0100 ++++ remotetimers-1.0.1/watcher.c 2014-12-26 18:42:58.846384548 +0100 +@@ -44,7 +44,11 @@ + cUpdateWatcher::cUpdateWatcher(): cThread("remotetimers update file watcher") + { + serverLastModifiedTime = 0; ++#if APIVERSNUM > 20101 ++ clientUpdateFile = AddDirectory(cVideoDirectory::Name(), ".update"); ++#else + clientUpdateFile = AddDirectory(VideoDirectory, ".update"); ++#endif + clientLastDev = 0; + inSubDir = false; + } +@@ -63,7 +67,11 @@ + // server recordings in subdir: check mtime of subdir/.update + char *tmpDir = strdup(RemoteTimersSetup.serverDir); + tmpDir = ExchangeChars(tmpDir, true); ++#if APIVERSNUM > 20101 ++ serverUpdateFile = AddDirectory(cVideoDirectory::Name(), AddDirectory(tmpDir, ".update")); ++#else + serverUpdateFile = AddDirectory(VideoDirectory, AddDirectory(tmpDir, ".update")); ++#endif + serverLastModifiedTime = LastModifiedTime(serverUpdateFile); + free(tmpDir); + } diff --git a/media-plugins/vdr-remotetimers/metadata.xml b/media-plugins/vdr-remotetimers/metadata.xml new file mode 100644 index 000000000000..57cbe8aa99b6 --- /dev/null +++ b/media-plugins/vdr-remotetimers/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.0.ebuild b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.0.ebuild new file mode 100644 index 000000000000..aa11243c1a6a --- /dev/null +++ b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: edit timers on remote vdr instances" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/${PN#vdr-}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.1.ebuild b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.1.ebuild new file mode 100644 index 000000000000..205f5bc07c0e --- /dev/null +++ b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: edit timers on remote vdr instances" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/${PN#vdr-}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_vdr-2.1.2.diff" ) diff --git a/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.2.ebuild b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.2.ebuild new file mode 100644 index 000000000000..91062b475826 --- /dev/null +++ b/media-plugins/vdr-remotetimers/vdr-remotetimers-1.0.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: edit timers on remote vdr instances" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/${PN#vdr-}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-rotor/Manifest b/media-plugins/vdr-rotor/Manifest new file mode 100644 index 000000000000..7ebe9f343dde --- /dev/null +++ b/media-plugins/vdr-rotor/Manifest @@ -0,0 +1 @@ +DIST vdr-rotor-0.1.5.tgz 40027 RMD160 89806b83fe0d37e661401425890524b49fc7e49e SHA1 8da30583b3d5ff06422c7d3a522325af5de9ab68 SHA256 fa13b710a1d547d9df841b881c40c9fb301aaf969fca9e71f50360a9edfabab6 diff --git a/media-plugins/vdr-rotor/files/vdr-rotor-0.1.5_vdr-1.7.13.diff b/media-plugins/vdr-rotor/files/vdr-rotor-0.1.5_vdr-1.7.13.diff new file mode 100644 index 000000000000..7e24f08d2e53 --- /dev/null +++ b/media-plugins/vdr-rotor/files/vdr-rotor-0.1.5_vdr-1.7.13.diff @@ -0,0 +1,30 @@ +http://www.forum.free-x.de/wbb/index.php?page=Thread&postID=13727#post13727 + +fix compile problems vdr up 1.7.13 +diff -u orig/rotor-0.1.5/menu.c rotor-0.1.5/menu.c +--- orig/rotor-0.1.5/menu.c 2009-10-04 14:54:22.000000000 +0300 ++++ rotor-0.1.5/menu.c 2010-03-06 22:42:23.000000000 +0200 +@@ -139,7 +139,8 @@ + RotorPos=RotorPositions.GetfromSource(OldChannel->Source()); + Position=RotorPos->GetPos(); + Frequenz=OldChannel->Frequency(); +- if ((*OldChannel).Polarization() == 'v' || (*OldChannel).Polarization() == 'V') ++ cDvbTransponderParameters dtp((*OldChannel).Parameters()); ++ if (dtp.Polarization() == 'v' || dtp.Polarization() == 'V') + Pol='V'; + else + Pol='H'; +Общие подкаталоги: orig/rotor-0.1.5/patches и rotor-0.1.5/patches +Общие подкаталоги: orig/rotor-0.1.5/po и rotor-0.1.5/po +diff -u orig/rotor-0.1.5/rotor.c rotor-0.1.5/rotor.c +--- orig/rotor-0.1.5/rotor.c 2009-10-04 15:10:26.000000000 +0300 ++++ rotor-0.1.5/rotor.c 2010-03-05 23:07:52.000000000 +0200 +@@ -93,7 +93,7 @@ + { + if ((source->Code() & 0xC000) != 0x8000) + continue; +- if ((diseqc=Diseqcs.Get(source->Code(),12000,'h')) || (diseqc=Diseqcs.Get(source->Code(),12000,'v')) || (diseqc=Diseqcs.Get(source->Code(),12000,'l')) || (diseqc=Diseqcs.Get(source->Code(),12000,'r'))) ++ if ((diseqc=Diseqcs.Get(0,source->Code(),12000,'h')) || (diseqc=Diseqcs.Get(0,source->Code(),12000,'v')) || (diseqc=Diseqcs.Get(0,source->Code(),12000,'l')) || (diseqc=Diseqcs.Get(0,source->Code(),12000,'r'))) + { + char *c=strdup(diseqc->Commands()); + while (c = strchr(c, '[')) diff --git a/media-plugins/vdr-rotor/metadata.xml b/media-plugins/vdr-rotor/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-rotor/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-rotor/vdr-rotor-0.1.5.ebuild b/media-plugins/vdr-rotor/vdr-rotor-0.1.5.ebuild new file mode 100644 index 000000000000..882a7e0b90b5 --- /dev/null +++ b/media-plugins/vdr-rotor/vdr-rotor-0.1.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Add support for dishes with rotation control engine" +HOMEPAGE="http://home.vrweb.de/~bergwinkl.thomas/" +SRC_URI="http://home.vrweb.de/~bergwinkl.thomas/downro/${P}.tgz" +LICENSE="GPL-2" + +KEYWORDS="x86 amd64" +SLOT="0" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0[rotor]" +RDEPEND="${DEPEND}" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + elog "Checking for patched vdr" + if ! grep -q SendDiseqcCmd /usr/include/vdr/device.h; then + ewarn "You need to emerge vdr with use-flag rotor set!" + die "Unpatched vdr detected!" + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.13"; then + epatch "${FILESDIR}/${P}_vdr-1.7.13.diff" + fi +} diff --git a/media-plugins/vdr-rpihddevice/Manifest b/media-plugins/vdr-rpihddevice/Manifest new file mode 100644 index 000000000000..ce7417b22588 --- /dev/null +++ b/media-plugins/vdr-rpihddevice/Manifest @@ -0,0 +1,2 @@ +DIST vdr-rpihddevice-0.0.10.tgz 70150 SHA256 3f6d9165e702d03e836e34531d5012825918613110f9e9215b8c48b9f5333e2e SHA512 7265d00044f9a9a5c27076009e0cda47fdca480d01302997c7759df9d39595f8a3cab9e3eb86dfefd373967b8c8f9800644e01f0a418b6326957cbbc40f27432 WHIRLPOOL 4b24f71ad03437d6118c63cb61a6d07440208591494c593ec3e70e6c688f9c135962894797d9213f41501140692f1d863d2a4ea6984923b41b6a2f87d3bf94a5 +DIST vdr-rpihddevice-0.0.11.tgz 77778 SHA256 f2dd9d392ab5585fbdcc55ea3c22612f2becaf878db4b96b69bd603dc145d05b SHA512 2930baa25805fff0f238fda5a4fafb5803f9551d8caa79d5368c0ecb0e38a401184b8976e8ef07c8e3fbdba3ffa45f84b636a137f4d9a21accb7a1676c418644 WHIRLPOOL 1e75bf4a7ada63c8929f7923cc89dd85867eb467bada3f5b149f1988fa74c5fd347cd346adb74949e446ca7520070dc5b98e353c02d6b69f04e35709ca55847c diff --git a/media-plugins/vdr-rpihddevice/metadata.xml b/media-plugins/vdr-rpihddevice/metadata.xml new file mode 100644 index 000000000000..94d2eca26f15 --- /dev/null +++ b/media-plugins/vdr-rpihddevice/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.10.ebuild b/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.10.ebuild new file mode 100644 index 000000000000..33a2b8cb3092 --- /dev/null +++ b/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.10.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1817" #every bump, new version + +DESCRIPTION="VDR Plugin: Output Device for Raspberry Pi" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-rpihddevice" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~arm" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2 + >=media-libs/raspberrypi-userland-0_pre20140117 + virtual/ffmpeg" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.11.ebuild b/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.11.ebuild new file mode 100644 index 000000000000..b9d535edf644 --- /dev/null +++ b/media-plugins/vdr-rpihddevice/vdr-rpihddevice-0.0.11.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1861" #every bump, new version + +DESCRIPTION="VDR Plugin: Output Device for Raspberry Pi" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-rpihddevice" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="~arm" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2 + >=media-libs/raspberrypi-userland-0_pre20140117 + virtual/ffmpeg" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-rssreader/Manifest b/media-plugins/vdr-rssreader/Manifest new file mode 100644 index 000000000000..1b1d347b7573 --- /dev/null +++ b/media-plugins/vdr-rssreader/Manifest @@ -0,0 +1,3 @@ +DIST vdr-rssreader-2.0.0.tgz 25348 SHA256 e330eb2f07df279090b8acf088cf248e6e1636de1a9b9f114dc63fee1e291bda SHA512 8b99ae9712198bfce09e33541eb02d5737af3d64cfda8933f05b306a7bf99c14cd15404f26c792e1a4740c1afcceafa9db578999089b0059d945c0cda5f8ea33 WHIRLPOOL 1c3304da229028cadca31b1a5472384dce875fc753980380d2c29eb2d1686762ae81d312c3ac3fe21409b959ac8dab1c58dcc2fead7180f7164afdb40fc06124 +DIST vdr-rssreader-2.0.1.tgz 25385 SHA256 5ad67fb98f33ef1a50164a70728307e36a3a1c52a0e499a5cdd5882f61e73858 SHA512 44d6e66f9350c0460b15c7148efcca84008f1030ad58223a734d60080015d488b08af2d094066a9623e5056537d9d2b970177f740a296c48bc0fe7cba62447c0 WHIRLPOOL 3050316a1183bdee523a2b68cda52702fefc3f5bc75f6a301052b856e3e273bc84d8a6a84357cdcd6c8bb099fb292ceaca33cbd4b1f79d60b4c48441e79a5aca +DIST vdr-rssreader-2.2.0.tgz 24854 SHA256 77e6dac56aab2862a9631ad475279b7e3f5382511587a5ea400e3ae2202f3702 SHA512 0073843b432d2698a6ca289761123a80346e82e45b5d3d2946b59988bc047111dde26af6f67b536bb9f1b2d1c9fd1c387961cc54d497ff09bbbd2a5de0a6d53f WHIRLPOOL db5b9d23aac5d00ccf3f4cfac15041d6002d6f0a4bab63d50fbbfea4d82ae70a9f53ce05e0472feb4a4c25f75ea49bd7beed49c0343a0ddc1a0676f10bd00266 diff --git a/media-plugins/vdr-rssreader/files/vdr-rssreader-2.0.0-gentoo.diff b/media-plugins/vdr-rssreader/files/vdr-rssreader-2.0.0-gentoo.diff new file mode 100644 index 000000000000..da31469f761b --- /dev/null +++ b/media-plugins/vdr-rssreader/files/vdr-rssreader-2.0.0-gentoo.diff @@ -0,0 +1,18 @@ +diff -Naur rssreader-1.7.2.orig/rssreader/rssreader.conf rssreader-1.7.2/rssreader/rssreader.conf +--- rssreader-1.7.2.orig/rssreader/rssreader.conf 2012-09-30 13:43:33.000000000 +0200 ++++ rssreader-1.7.2/rssreader/rssreader.conf 2012-09-30 13:46:57.000000000 +0200 +@@ -1,10 +1,14 @@ + # Configuration file for RssReader plugin (VDR) + # "Label" : # Comment + # "Title" : "URL" ++-- Gentoo : # Label ++VDR Project Overlay : http://overlays.gentoo.org/proj/vdr/timeline?changeset=on&wiki=on&max=50&daysback=90&format=rss ++Gentoo : http://www.gentoo.org/rdf/en/gentoo-news.rdf + -- VDR : # Label + Linuxtv.fi foorumi : http://www.linuxtv.fi/feed.php + VDR Releases : http://projects.vdr-developer.org/projects/vdr/news.atom + VDR Developer : http://projects.vdr-developer.org/projects.atom ++PizakBlog : http://pizzak.wordpress.com/feed/ + -- Kotimaiset : # Label + Lehti : http://lehtilehti.fi/feed/ + Salakuunneltua : http://www.salakuunneltua.fi/rss.php diff --git a/media-plugins/vdr-rssreader/metadata.xml b/media-plugins/vdr-rssreader/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-rssreader/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-rssreader/vdr-rssreader-2.0.0.ebuild b/media-plugins/vdr-rssreader/vdr-rssreader-2.0.0.ebuild new file mode 100644 index 000000000000..83c763cf5aba --- /dev/null +++ b/media-plugins/vdr-rssreader/vdr-rssreader-2.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: RSS reader" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0 + >=dev-libs/expat-1.95.8 + >=net-misc/curl-7.15.1-r1" + +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-gentoo.diff") + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/rssreader + doins "${S}/rssreader/rssreader.conf" +} diff --git a/media-plugins/vdr-rssreader/vdr-rssreader-2.0.1.ebuild b/media-plugins/vdr-rssreader/vdr-rssreader-2.0.1.ebuild new file mode 100644 index 000000000000..3c718461ef74 --- /dev/null +++ b/media-plugins/vdr-rssreader/vdr-rssreader-2.0.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: RSS reader" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0 + >=dev-libs/expat-1.95.8 + >=net-misc/curl-7.15.1-r1" + +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${PN}-2.0.0-gentoo.diff") + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/rssreader + doins "${S}/rssreader/rssreader.conf" +} diff --git a/media-plugins/vdr-rssreader/vdr-rssreader-2.2.0.ebuild b/media-plugins/vdr-rssreader/vdr-rssreader-2.2.0.ebuild new file mode 100644 index 000000000000..8327dc4148e8 --- /dev/null +++ b/media-plugins/vdr-rssreader/vdr-rssreader-2.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: RSS reader" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0 + >=dev-libs/expat-1.95.8 + >=net-misc/curl-7.15.1-r1" + +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${PN}-2.0.0-gentoo.diff") + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/rssreader + doins "${S}/rssreader/rssreader.conf" +} diff --git a/media-plugins/vdr-satip/Manifest b/media-plugins/vdr-satip/Manifest new file mode 100644 index 000000000000..e0e411260dbb --- /dev/null +++ b/media-plugins/vdr-satip/Manifest @@ -0,0 +1,2 @@ +DIST vdr-satip-1.0.2.tgz 59480 SHA256 a7ab27fbd0857301ecc9cbccf4fd0d0000ba2a7ad1710dff3059d2f952f62af2 SHA512 a8630c1ebfbbe74eb7f78d350bd487bf67256d2d01ee05c631351d5a0891fd0ea5dcd1bbf8a2c26be806ee6dfbb1415bf8616914a6bb9a46a3fac213a6c60c94 WHIRLPOOL 2638d0300aa33d347cf53ffd7d4d5436d7b91e5a4cc8e4e1c5ab378d6ec7b9c7b21af488fc2b4ded0ac4a5f2b48cee580c47425e908bc37f240d2fa4ad615622 +DIST vdr-satip-2.2.0.tgz 60496 SHA256 07c9ec9d438965ab09d17b00f32fbc1c28354771745db1fb21a421b5a61d268a SHA512 9a32297c48650ee6ce22aebc0e6f59774a39aba7b1c75942833bba6e65b518c0bc6b50d3deba95fecec34dbfcb092e905a04eade92ce7658f2ca452131e9210e WHIRLPOOL daf054dbccfbacba6768eb917b80914e0f438e92bacfcecad17aeb63207a53c4182fddbaa98519d43850824977f42345e7570efbf6f23a9355ab09f30a614e6a diff --git a/media-plugins/vdr-satip/files/confd b/media-plugins/vdr-satip/files/confd new file mode 100644 index 000000000000..c40b2699eb1e --- /dev/null +++ b/media-plugins/vdr-satip/files/confd @@ -0,0 +1,25 @@ +# /etc/conf.d/vdr.satip: +# $Id$ + +#Configuration: + +#The plugin accepts a "--devices" (-d) command-line parameter defaulting +#to one. This parameter defines how many simultaneous transponders can +#be received, if there are available SAT>IP tuners. + +#The plugin accepts also a "--server" (-s) command-line parameter, that +#can be used to manually configure static SAT>IP servers if autodetection +#via UPnP somehow can't be used. The parameter string is a semicolon +#separated list of "<ipaddress>|<model>|<description>" entries. The model +#consists of a DVB system (DVBS2,DVBT2,DVBT,DVBC) and number of available +#frontends separated by a hyphen: + +#vdr -P 'satip -s <ipaddress>|<model>|<description>;...' +#vdr -P 'satip -s 192.168.0.1|DVBS2-2,DVBT2-2|Octo1' +#vdr -P 'satip -s 192.168.0.1|DVBS2-4|Octo1;192.168.0.2|DVBT2-4|Octo2' + +# no default parameters +# uncomment the next line and add your personal settings, +# depend on the infos from ahead +# +#_EXTRAOPTS"" diff --git a/media-plugins/vdr-satip/metadata.xml b/media-plugins/vdr-satip/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-satip/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-satip/vdr-satip-1.0.2-r1.ebuild b/media-plugins/vdr-satip/vdr-satip-1.0.2-r1.ebuild new file mode 100644 index 000000000000..c19158b9e766 --- /dev/null +++ b/media-plugins/vdr-satip/vdr-satip-1.0.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: integrates SAT>IP network devices seamlessly into VDR" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/satip/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/satip/files/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2 + >=net-misc/curl-7.36 + || ( dev-libs/tinyxml + dev-libs/pugixml )" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version "dev-libs/tinyxml" ; then + sed -e "s:#SATIP_USE_TINYXML:SATIP_USE_TINYXML:" -i Makefile + #BUILD_PARAMS+=" SATIP_USE_TINYXML = 1 " + fi +} diff --git a/media-plugins/vdr-satip/vdr-satip-2.2.0.ebuild b/media-plugins/vdr-satip/vdr-satip-2.2.0.ebuild new file mode 100644 index 000000000000..8f634997fe28 --- /dev/null +++ b/media-plugins/vdr-satip/vdr-satip-2.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: integrates SAT>IP network devices seamlessly into VDR" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/satip/" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/satip/files/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0 + >=net-misc/curl-7.36 + || ( dev-libs/tinyxml + dev-libs/pugixml )" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version "dev-libs/tinyxml" ; then + sed -e "s:#SATIP_USE_TINYXML:SATIP_USE_TINYXML:" -i Makefile + #BUILD_PARAMS+=" SATIP_USE_TINYXML = 1 " + fi +} diff --git a/media-plugins/vdr-scheduler/Manifest b/media-plugins/vdr-scheduler/Manifest new file mode 100644 index 000000000000..a8035436897b --- /dev/null +++ b/media-plugins/vdr-scheduler/Manifest @@ -0,0 +1 @@ +DIST vdr-scheduler-0.1.3.tgz 36556 RMD160 11705ed5c93cb36eef053aedb75ff7c99df29b8e SHA1 81675f0c6bb4b790ccecffb5747f9ae338fd06f9 SHA256 72b0806789a0d0b64af955ee09e6685c4508c2ff859a4473e6424cfcb227784a diff --git a/media-plugins/vdr-scheduler/files/confd b/media-plugins/vdr-scheduler/files/confd new file mode 100644 index 000000000000..503f238fb503 --- /dev/null +++ b/media-plugins/vdr-scheduler/files/confd @@ -0,0 +1,11 @@ +# Global config file for vdr scheduler plugin +# $Id$ + +############## Global config for vdr-scheduler ######################### +# +# Restart of VDR is needed after some changes + +# Set verbose Loglevel +# allowed values: 0..3 +# default: 0 +#SCHEDULER_LOGLEVEL="0" diff --git a/media-plugins/vdr-scheduler/files/rc-addon.sh b/media-plugins/vdr-scheduler/files/rc-addon.sh new file mode 100644 index 000000000000..9ca1de4ae828 --- /dev/null +++ b/media-plugins/vdr-scheduler/files/rc-addon.sh @@ -0,0 +1,18 @@ +# $Id$ +# +# rc-addon-script for plugin scheduler +# +# Joerg Bornkessel hd_brummy@gentoo.org + +. /etc/conf.d/vdr.scheduler + +: ${SCHEDULER_LOGFILE:=/var/log/vdr.scheduler} +: ${SCHEDULER_LOGLEVEL:=0} +: ${SCHEDULER_TASK_LOGDIR:=/var/log} + +plugin_pre_vdr_start() { + + add_plugin_param "-l ${SCHEDULER_LOGFILE}" + add_plugin_param "-v ${SCHEDULER_LOGLEVEL}" + add_plugin_param "-d ${SCHEDULER_TASK_LOGDIR}" +} diff --git a/media-plugins/vdr-scheduler/metadata.xml b/media-plugins/vdr-scheduler/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-scheduler/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-scheduler/vdr-scheduler-0.1.3.ebuild b/media-plugins/vdr-scheduler/vdr-scheduler-0.1.3.ebuild new file mode 100644 index 000000000000..a687e2cbf2a1 --- /dev/null +++ b/media-plugins/vdr-scheduler/vdr-scheduler-0.1.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: allows to control externel jobs from within VDR" +HOMEPAGE="http://winni.vdr-developer.org/scheduler/index.html" +SRC_URI="http://winni.vdr-developer.org/scheduler/downloads/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7" diff --git a/media-plugins/vdr-screenshot/Manifest b/media-plugins/vdr-screenshot/Manifest new file mode 100644 index 000000000000..14c896284a9c --- /dev/null +++ b/media-plugins/vdr-screenshot/Manifest @@ -0,0 +1 @@ +DIST vdr-screenshot-0.0.15.tgz 17586 SHA256 52f0816428710f087523261dcb934b4324e687b16fbd43b454f8f8a85de8b25b SHA512 88100bd17e8be97acfe1b28f6ded7d844e019ea948e45cd36b0f5f54d5f02a1393c24110d374a14e340403fc838100a990e258af10a92b0f62e60825af36a0e3 WHIRLPOOL e4d90bfbaa2966bc5321da9e7b5de0518d882e27fbaeb2776812e341cd5e9320bb7a01a28331f5ff469701367123e09f3e5426937e60443e43f9087352401362 diff --git a/media-plugins/vdr-screenshot/metadata.xml b/media-plugins/vdr-screenshot/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-screenshot/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-screenshot/vdr-screenshot-0.0.15.ebuild b/media-plugins/vdr-screenshot/vdr-screenshot-0.0.15.ebuild new file mode 100644 index 000000000000..bfdf457c504d --- /dev/null +++ b/media-plugins/vdr-screenshot/vdr-screenshot-0.0.15.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: takes screenshots of the current video or tv screen by one keypress on your remote" +HOMEPAGE="http://www.joachim-wilke.de/?alias=vdr-screenshot" +SRC_URI="http://www.joachim-wilke.de/downloads/${PN}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-serial/Manifest b/media-plugins/vdr-serial/Manifest new file mode 100644 index 000000000000..d73432b8713f --- /dev/null +++ b/media-plugins/vdr-serial/Manifest @@ -0,0 +1 @@ +DIST vdr-serial-0.0.6a.tgz 65883 SHA256 f38f1187be6ecaff31a00761d2297893313ec954c68298cbf69779b3bd015708 SHA512 faa1dc52849449dba3aeb3eea17f01a4be8182eb5969193e083f477354c0fad8065ee655f73573883447f836732d782041346a46dd4cd92aee8f4a7ac0c32c52 WHIRLPOOL 57c7e62a3b4ae4105eae6a644c466c789ad3aff44ffacbfe2d34743941253ca741a4d74937c7f824747767aa2864e59e66b570c74c605f3f405f0a94dc3f53e7 diff --git a/media-plugins/vdr-serial/metadata.xml b/media-plugins/vdr-serial/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-serial/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild new file mode 100644 index 000000000000..1ae47a649d2d --- /dev/null +++ b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port" +HOMEPAGE="http://www.lf-klueber.de/vdr.htm" +SRC_URI="http://www.lf-klueber.de/${P}.tgz + mirror://vdrfiles/${PN}/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if ! getent group uucp | grep -q vdr; then + echo + einfo "Add user 'vdr' to group 'uucp' for full user access to serial/ttyS* device" + echo + elog "User vdr added to group uucp" + gpasswd -a vdr uucp + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i serial.c -e "s:RegisterI18n://RegisterI18n:" + + cd "${S}"/tools + emake clean +} diff --git a/media-plugins/vdr-skincurses/Manifest b/media-plugins/vdr-skincurses/Manifest new file mode 100644 index 000000000000..b7bb14b38a9b --- /dev/null +++ b/media-plugins/vdr-skincurses/Manifest @@ -0,0 +1,2 @@ +DIST vdr-skincurses-2.0.0.tar.gz 16902 SHA256 489036b6e6d1c61f8cf4196fd13c85b739f928451d0705067f81521b08fcf273 SHA512 455c479ea450d2ffd7dbd2f6410f70d095ba7317abd21ebc55d2d1952ad675ce0d23baee6e2a56f208ae9c16e435c9f644a2a66841245154889bb96497d3489d WHIRLPOOL 0d4405cc3f2cef68fe9dce2e2484e71e65be739aa21b25b69a1e9207d89b2ca74ea0aba12e264eb12c1942cd92359c97151ce317238359f60df17cf44090cf9e +DIST vdr-skincurses-2.2.0.tar.gz 17141 SHA256 0e46374d2097395b139fe0ce88b470d8c3a3c3f12a45f0cf7f64fd04c12b319c SHA512 4b5fa7caab0bb89eed637732b005c4a3e1357624e8f73760645ffc6908c7d9595b4f95b87dac904b54b7292fc83669d6b1b0f009bb993d220392f8eb215085d5 WHIRLPOOL 01221334291603a1caf2ab3c0a18bc0ff900c5cd94f3c34f2d03b21cd394d1f26fd6ad8f57f19a2d72e788e43307474d23ad19e3cee85c68b68c789335004cad diff --git a/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch b/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch new file mode 100644 index 000000000000..883667395124 --- /dev/null +++ b/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch @@ -0,0 +1,10 @@ +--- PLUGINS/src/skincurses/skincurses.c 2008-03-14 13:57:14.000000000 +0100 ++++ PLUGINS/src/skincurses/skincurses.c 2011-05-04 13:04:53.124920860 +0200 +@@ -19,6 +19,7 @@ + + class cCursesFont : public cFont { + public: ++ cCursesFont() {}; + virtual int Width(uint c) const { return 1; } + virtual int Width(const char *s) const { return s ? Utf8StrLen(s) : 0; } + virtual int Height(void) const { return 1; } diff --git a/media-plugins/vdr-skincurses/metadata.xml b/media-plugins/vdr-skincurses/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-skincurses/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-skincurses/vdr-skincurses-2.0.0.ebuild b/media-plugins/vdr-skincurses/vdr-skincurses-2.0.0.ebuild new file mode 100644 index 000000000000..c05cf9b64621 --- /dev/null +++ b/media-plugins/vdr-skincurses/vdr-skincurses-2.0.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: show content of menu in a shell window" +HOMEPAGE="http://www.tvdr.de/" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild b/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild new file mode 100644 index 000000000000..e7b1df693ae4 --- /dev/null +++ b/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: show content of menu in a shell window" +HOMEPAGE="http://www.tvdr.de/" +SRC_URI="mirror://gentoo/${P}.tar.gz + http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0" diff --git a/media-plugins/vdr-skinelchi/Manifest b/media-plugins/vdr-skinelchi/Manifest new file mode 100644 index 000000000000..bcc84b8c1cb5 --- /dev/null +++ b/media-plugins/vdr-skinelchi/Manifest @@ -0,0 +1 @@ +DIST vdr-skinelchi-0.2.7.tar.bz2 77029 SHA256 e6db362b814ee8f5c07fed00f766c3270fadf7448d7f57c10d54539cf79633ac SHA512 6dd0f702d487127cbda4b7b6bf504772fccb1d5b097307b44599401cc13b821076c07c56f6d122a04fe969153128e71255305585aba0a8d74262acee834a25de WHIRLPOOL 08aa7c686e25e8866849724368f31295d0950485a17e8e37f92f9bd3f1ac09c5c032edff36c247f430faf832b2ebcc1c17fd158f041361dfc0087d0e762bf969 diff --git a/media-plugins/vdr-skinelchi/files/rc-addon-0.1.1_pre2-r1.sh b/media-plugins/vdr-skinelchi/files/rc-addon-0.1.1_pre2-r1.sh new file mode 100644 index 000000000000..f144437426bb --- /dev/null +++ b/media-plugins/vdr-skinelchi/files/rc-addon-0.1.1_pre2-r1.sh @@ -0,0 +1,19 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-skinelchi +# +# This sript is called by gentoo-vdr-scripts on start of VDR + +# Check on dxr-3 and set default logo DIR +plugin_pre_vdr_start() { + +# Next lines commented, not supported yet, remove this if dxr3 logo support is available +# if [ "${PLUGINS#*dxr3}" != "${PLUGINS}" ] ; then +# : ${SKINELCHI_LOGOS_DIR:=/usr/share/vdr/channel-logos/logos-dxr3} +# else + : ${SKINELCHI_LOGOS_DIR:=/usr/share/vdr/channel-logos} +# fi + + add_plugin_param "-l ${SKINELCHI_LOGOS_DIR}" + +} diff --git a/media-plugins/vdr-skinelchi/metadata.xml b/media-plugins/vdr-skinelchi/metadata.xml new file mode 100644 index 000000000000..cb4801091e1b --- /dev/null +++ b/media-plugins/vdr-skinelchi/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>media-tv</herd> +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> + <longdescription>Video Disk Recorder (VDR) skin plugin</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7-r1.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7-r1.ebuild new file mode 100644 index 000000000000..a6cdc95ace6b --- /dev/null +++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +MY_P=${P/_pre/pre} + +DESCRIPTION="VDR Skin Plugin: skinelchi" +HOMEPAGE="http://firefly.vdr-developer.org/skinelchi" +SRC_URI="http://firefly.vdr-developer.org/skinelchi/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.6 + imagemagick? ( media-gfx/imagemagick )" + +RDEPEND="x11-themes/vdr-channel-logos" + +S=${WORKDIR}/${MY_P#vdr-} + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.1.1_pre2-r1.sh" + +src_prepare() { + vdr-plugin-2_src_prepare + + if ! use imagemagick; then + einfo "Disabling imagemagick-support." + sed -i "${S}"/Makefile \ + -e '/^[[:space:]]*SKINELCHI_HAVE_IMAGEMAGICK = 1/s/^/#/' + fi + + sed -i "${S}"/DisplayChannel.c \ + -e "s:/hqlogos::" \ + -e "s:/logos::" + + if has_version ">=media-video/vdr-1.7.33"; then + sed -e "s:int TimerMatch:eTimerMatch TimerMatch:" \ + -i DisplayChannel.c + fi +} diff --git a/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7.ebuild b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7.ebuild new file mode 100644 index 000000000000..0c409e1190da --- /dev/null +++ b/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +MY_P=${P/_pre/pre} + +DESCRIPTION="VDR Skin Plugin: skinelchi" +HOMEPAGE="http://firefly.vdr-developer.org/skinelchi" +SRC_URI="http://firefly.vdr-developer.org/skinelchi/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.6 + imagemagick? ( media-gfx/imagemagick )" + +RDEPEND="x11-themes/vdr-channel-logos" + +S=${WORKDIR}/${MY_P#vdr-} + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.1.1_pre2-r1.sh" + +src_prepare() { + vdr-plugin-2_src_prepare + + if ! use imagemagick; then + einfo "Disabling imagemagick-support." + sed -i "${S}"/Makefile \ + -e '/^[[:space:]]*SKINELCHI_HAVE_IMAGEMAGICK = 1/s/^/#/' + fi + + sed -i "${S}"/DisplayChannel.c \ + -e "s:/hqlogos::" \ + -e "s:/logos::" +} diff --git a/media-plugins/vdr-skinenigmang/Manifest b/media-plugins/vdr-skinenigmang/Manifest new file mode 100644 index 000000000000..52c2e78acbfc --- /dev/null +++ b/media-plugins/vdr-skinenigmang/Manifest @@ -0,0 +1,3 @@ +DIST vdr-skinenigmang-0.1.2.tgz 92959 SHA256 b64fb69312dc92a8b45aac4ad5a3c4b3af7328af0f872da57f419bcb7f94a1ad SHA512 2ed5fef393f2256156cfbf17e3eabb2dda7bad89b479dbda468bc5cf8cca4444ff4e7f718619aafe346b88ad3b8af2000abca7d0024dcd4c8a88dd398586e613 WHIRLPOOL 236141ac5f3d2f8af75481607957085c5f54d2c77ec716fe01646c125872b12454f2c8495222144cb75ce4af843aeedca71af53c6822d01229fd4b2d1eb6b7dc +DIST vdr-skinenigmang-0.1.2_p20120618.tar.gz 92134 SHA256 f0a21664c045f8018843b1b6c47f85f20bcc2a65ec33308d32ac53a5f2504f46 SHA512 664d98bcb6107808abb08163336303dab84b06ac08b96ed0747a82121554a5931af217e4385e041f9adc6ede991b1c157212deed11354606f54a5b7e0f3b6323 WHIRLPOOL 33a491de450c84a29716f80390a36316d3e97b1ab109b61a235a59672126d0d5c4b3d4ef93e0ac7305ad80519b87ef4c170c29f4b771639c44468865287eaed3 +DIST vdr-skinenigmang-0.1.2_p20130302.tar.gz 93637 SHA256 9b937fadc95c3512d9997de40070b8fab3d7e23719046090a21ffd562dba5d44 SHA512 ebf726f02647c8f71fcc4e67967caf561fd9df366aad7d227773317ea08001b1a83697f902c02ca922973df20b1821dd46387dad3f83739e36109b741d2ba016 WHIRLPOOL d1946ce268231c76e1baf0af2a6866ac48a051ee6a91800ca68a69a8df142ae75fa4e335ec9796b090e65080d3c517c1ad16acef7703f1ee8a0d9c33090534e2 diff --git a/media-plugins/vdr-skinenigmang/files/rc-addon.sh b/media-plugins/vdr-skinenigmang/files/rc-addon.sh new file mode 100644 index 000000000000..8dd0e8bf3039 --- /dev/null +++ b/media-plugins/vdr-skinenigmang/files/rc-addon.sh @@ -0,0 +1,12 @@ +# $Id$ +# +# rc-addon-script for plugin skinenigmang +# +# Joerg Bornkessel hd_brummy@gentoo.org + +SKINENIGMANG_LOGODIR="/usr/share/vdr/skinenigmang" + +plugin_pre_vdr_start() { + + add_plugin_param "-l ${SKINENIGMANG_LOGODIR}" +} diff --git a/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff b/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff new file mode 100644 index 000000000000..e115af08f98a --- /dev/null +++ b/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff @@ -0,0 +1,43 @@ +diff -Naur skinenigmang-0.1.1.orig/enigma.c skinenigmang-0.1.1/enigma.c +--- skinenigmang-0.1.1.orig/enigma.c 2012-04-07 00:35:34.000000000 +0200 ++++ skinenigmang-0.1.1/enigma.c 2012-04-07 00:42:42.000000000 +0200 +@@ -2617,8 +2617,8 @@ + + // draw recording date string + std::stringstream sstrDate; +- sstrDate << *DateString(Recording->start) +- << " " << *TimeString(Recording->start); ++ sstrDate << *DateString(Recording->Start()) ++ << " " << *TimeString(Recording->Start()); + + unsigned long long nRecSize = -1; + unsigned long long nFileSize[1000]; +@@ -2674,14 +2674,14 @@ + bool fCutIn = true; + cMark *mark = marks.First(); + while (mark) { +- index->Get(mark->position, &FileNumber, &FileOffset); //TODO: will disc spin up? ++ index->Get(mark->Position(), &FileNumber, &FileOffset); //TODO: will disc spin up? + if (fCutIn) { +- nCutInFrame = mark->position; ++ nCutInFrame = mark->Position(); + fCutIn = false; + if (nRecSize >= 0) + nCutInOffset = nFileSize[FileNumber-1] + FileOffset; + } else { +- nCutLength += mark->position - nCutInFrame; ++ nCutLength += mark->Position() - nCutInFrame; + fCutIn = true; + if (nRecSize >= 0) + nRecSizeCut += nFileSize[FileNumber-1] + FileOffset - nCutInOffset; +@@ -2778,8 +2778,8 @@ + } + delete index; + +- sstrInfo << trVDR("Priority") << ": " << Recording->priority << std::endl +- << trVDR("Lifetime") << ": " << Recording->lifetime << std::endl; ++ sstrInfo << trVDR("Priority") << ": " << Recording->Priority() << std::endl ++ << trVDR("Lifetime") << ": " << Recording->Lifetime() << std::endl; + if (Info->Aux()) { + sstrInfo << std::endl << tr("Auxiliary information") << ":\n" + << parseaux(Info->Aux()); diff --git a/media-plugins/vdr-skinenigmang/metadata.xml b/media-plugins/vdr-skinenigmang/metadata.xml new file mode 100644 index 000000000000..4cbd0a3e5ea4 --- /dev/null +++ b/media-plugins/vdr-skinenigmang/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + The "Soppalusikka" is a standalone skin is based on "enElchi" text2skin addon. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2.ebuild b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2.ebuild new file mode 100644 index 000000000000..3e90c86825a4 --- /dev/null +++ b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR - Skin Plugin: enigma-ng" +HOMEPAGE="http://andreas.vdr-developer.org/enigmang/" +SRC_URI="http://andreas.vdr-developer.org/enigmang/download/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.5.7" + +RDEPEND="${DEPEND} + x11-themes/skinenigmang-logos + imagemagick? ( media-gfx/imagemagick[cxx] )" + +S=${WORKDIR}/skinenigmang-${PV} + +src_prepare() { + vdr-plugin-2_src_prepare + + use imagemagick && sed -i "s:#HAVE_IMAGEMAGICK:HAVE_IMAGEMAGICK:" Makefile + + # TODO: implement a clean query / extra tool vdr-config + sed -i -e '/^VDRLOCALE/d' Makefile + + if has_version ">=media-video/vdr-1.5.9"; then + sed -i -e 's/.*$(VDRLOCALE).*/ifeq (1,1)/' Makefile + fi + + sed -i -e "s:-I/usr/local/include/ImageMagick::" Makefile +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/* +} diff --git a/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20120618.ebuild b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20120618.ebuild new file mode 100644 index 000000000000..4ff88d18a716 --- /dev/null +++ b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20120618.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +HG_REVISION="44e1d4ad341963d099ccc9bc4017ae4b563892d4" +HG_REVISION_DATE="20120618" + +DESCRIPTION="VDR - Skin Plugin: enigma-ng" +HOMEPAGE="http://andreas.vdr-developer.org/enigmang/" +SRC_URI="http://vdr.websitec.de/download/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p${HG_REVISION_DATE}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.5.7" + +RDEPEND="${DEPEND} + x11-themes/skinenigmang-logos + imagemagick? ( media-gfx/imagemagick[cxx] )" + +S="${WORKDIR}/vdr-plugin-skinenigmang-${HG_REVISION}" + +src_prepare() { + vdr-plugin-2_src_prepare + + use imagemagick && sed -i "s:#HAVE_IMAGEMAGICK:HAVE_IMAGEMAGICK:" Makefile + + # TODO: implement a clean query / extra tool vdr-config + sed -i -e '/^VDRLOCALE/d' Makefile + + if has_version ">=media-video/vdr-1.5.9"; then + sed -i -e 's/.*$(VDRLOCALE).*/ifeq (1,1)/' Makefile + fi + + sed -i -e "s:-I/usr/local/include/ImageMagick::" Makefile +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/* +} diff --git a/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20130302.ebuild b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20130302.ebuild new file mode 100644 index 000000000000..89eb6df9d504 --- /dev/null +++ b/media-plugins/vdr-skinenigmang/vdr-skinenigmang-0.1.2_p20130302.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +HG_REVISION="0147c0ee6222bd10714ef36f42dcee94495bdb92" +HG_REVISION_DATE="20130302" + +DESCRIPTION="VDR - Skin Plugin: enigma-ng" +HOMEPAGE="http://andreas.vdr-developer.org/enigmang/" +SRC_URI="http://projects.vdr-developer.org/git/vdr-plugin-skinenigmang.git/snapshot/vdr-plugin-skinenigmang-${HG_REVISION}.tar.gz -> + vdr-skinenigmang-0.1.2_p${HG_REVISION_DATE}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND=">=media-video/vdr-1.5.7" + +RDEPEND="${DEPEND} + x11-themes/skinenigmang-logos + imagemagick? ( media-gfx/imagemagick[cxx] )" + +S="${WORKDIR}/vdr-plugin-skinenigmang-${HG_REVISION}" + +src_prepare() { + # remove untranslated languages files + rm po/{cs_CZ,da_DK,el_GR,et_EE,hr_HR,nn_NO,pl_PL,pt_PT,ro_RO,sl_SI,sv_SE,tr_TR}.po + + vdr-plugin-2_src_prepare + + use imagemagick && sed -i "s:#HAVE_IMAGEMAGICK:HAVE_IMAGEMAGICK:" Makefile + + sed -i Makefile \ + -e "s:-I/usr/local/include/ImageMagick:\$(shell pkg-config --cflags MagickCore):" \ + -e "s:-lMagick++:\$(shell pkg-config --libs Magick++):" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/* +} diff --git a/media-plugins/vdr-skinnopacity/Manifest b/media-plugins/vdr-skinnopacity/Manifest new file mode 100644 index 000000000000..db9b15d09073 --- /dev/null +++ b/media-plugins/vdr-skinnopacity/Manifest @@ -0,0 +1,2 @@ +DIST vdr-skinnopacity-1.1.1.tgz 13064884 SHA256 eb2528994ea3fbbb7c38594b9c90e974cbf0e6ce5bc038b7ec97725d5dc7b67a SHA512 9ad62911792a49b8384752c8965bb083898e9e4d93b9d153e3c59657dbf517bec5cdb1df02355884ce71c11fc90f41afe497b61e9b016a2fce33fef82388d91b WHIRLPOOL 1cee5449f5540fd2cddf76d647b1fd2b12651709089f9a91aa46d20a25f680938c087dadc80107ebc2150fa59d078f7d86a3a5c3e569023b4a6d2c9632cf56df +DIST vdr-skinnopacity-1.1.3.tgz 15005569 SHA256 6fde30bcc1cdf7be61c84a42a53d63dfe7efcb0997ea45b44aaec2990f70709d SHA512 4ac6c59744f2ea99a7f3b5b32e67924ae062dfb2f1f66342c358e26c928345a6416836cebc28fc2d41d999cffbad2b9640f8a5120e6f7b72353723e042390dae WHIRLPOOL bf7dffd73940c39ea622332096e838662abd80e127784f37348d7c374a07849ede88f7f07f6fa6764c0d693202979403af7fa3a10e56c2f940b66a19ac3521fb diff --git a/media-plugins/vdr-skinnopacity/files/confd b/media-plugins/vdr-skinnopacity/files/confd new file mode 100644 index 000000000000..433d9c55b7f6 --- /dev/null +++ b/media-plugins/vdr-skinnopacity/files/confd @@ -0,0 +1,12 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# /etc/conf.d/vdr.skinnopacity +# Configuration file for the VDR skin nOpacity + +#SKINNOPACITY_EPGIMAGESPATH= + +#SKINNOPACITY_ICONSPATH= + +#SKINNOPACITY_LOGOPATH= diff --git a/media-plugins/vdr-skinnopacity/files/rc-addon.sh b/media-plugins/vdr-skinnopacity/files/rc-addon.sh new file mode 100644 index 000000000000..0fbef0e75b69 --- /dev/null +++ b/media-plugins/vdr-skinnopacity/files/rc-addon.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +plugin_pre_vdr_start() { + if [ -n "${SKINNOPACITY_EPGIMAGESPATH}" ]; then + add_plugin_param "-e ${SKINNOPACITY_EPGIMAGESPATH}" + fi + + if [ -n "${SKINNOPACITY_ICONSPATH}" ]; then + add_plugin_param "-i ${SKINNOPACITY_ICONSPATH}" + fi + + if [ -n "${SKINNOPACITY_LOGOPATH}" ]; then + add_plugin_param "-l ${SKINNOPACITY_LOGOPATH}" + fi +} diff --git a/media-plugins/vdr-skinnopacity/metadata.xml b/media-plugins/vdr-skinnopacity/metadata.xml new file mode 100644 index 000000000000..ceb45da48f62 --- /dev/null +++ b/media-plugins/vdr-skinnopacity/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>idl0r@gentoo.org</email> + <name>Christian Ruppert</name> + </maintainer> + <herd>media-tv</herd> +</pkgmetadata> diff --git a/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.1.ebuild b/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.1.ebuild new file mode 100644 index 000000000000..0d41598e5aea --- /dev/null +++ b/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${P/vdr-}" +VERSION="1671" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Skin Plugin: highly customizable native true color skin for +the Video Disc Recorder" +HOMEPAGE="http://projects.vdr-developer.org/projects/skin-nopacity/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-misc/curl + dev-libs/libxml2 + || ( media-gfx/imagemagick media-gfx/graphicsmagick ) + media-plugins/vdr-epgsearch" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version media-gfx/graphicsmagick; then + sed -i -e 's:^IMAGELIB =.*:IMAGELIB = graphicsmagick:' Makefile + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "See http://projects.vdr-developer.org/projects/skin-nopacity/wiki" + einfo "for more information about how to use channel logos" +} diff --git a/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.3.ebuild b/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.3.ebuild new file mode 100644 index 000000000000..50b0000dd24e --- /dev/null +++ b/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${P/vdr-}" +VERSION="1743" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Skin Plugin: highly customizable native true color skin for +the Video Disc Recorder" +HOMEPAGE="http://projects.vdr-developer.org/projects/skin-nopacity/" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="net-misc/curl + dev-libs/libxml2 + || ( media-gfx/imagemagick media-gfx/graphicsmagick ) + media-plugins/vdr-epgsearch" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version media-gfx/graphicsmagick; then + sed -i -e 's:^IMAGELIB =.*:IMAGELIB = graphicsmagick:' Makefile + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "See http://projects.vdr-developer.org/projects/skin-nopacity/wiki" + einfo "for more information about how to use channel logos" +} diff --git a/media-plugins/vdr-skinsoppalusikka/Manifest b/media-plugins/vdr-skinsoppalusikka/Manifest new file mode 100644 index 000000000000..8028c53ff226 --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/Manifest @@ -0,0 +1,3 @@ +DIST vdr-skinsoppalusikka-2.0.0.tgz 41584 SHA256 4176f6f27cefd45d9c3dc547bf46c938a96732208bfd70789f957f8608cd8d82 SHA512 93e9716479b274d30477b0adef15d1b804670d3fd4667cb62cc481030078b82071ddee80b0c1c8ae30c608c30ca69dfa43423e0439abed18e71c0fa8b8594cc0 WHIRLPOOL 77ef946a11ad47f4ce06ebc2c12d1698002742f7121bef8ec3f47d18185b79076407a69a46da271cd5895515c84dcbf627470e9b7a5bf413560a38e6fcb8f713 +DIST vdr-skinsoppalusikka-2.0.3.tgz 42514 SHA256 356e262feb2a8d6cf8a46848568fc7cd3582db7df28562e1e5417239ea0b6c83 SHA512 6c47ca11bf97cfcca67f0daa8806243e7a9f9e852f412f0c470ba32bf63461df3a0154c156f7588e4d6adaa9a85b66781a6a7c75544fb8ff17e26e71522b4010 WHIRLPOOL ee0042b43f4859f15e96073fa37f816a4d00606df0247b43447e3b44ca9dc7f5458746e1b3c29d3d4a583ebf4e5a66923fde99dba1143360eb5186c24e644813 +DIST vdr-skinsoppalusikka-2.2.0.tgz 42981 SHA256 22a48e228962970f256ae1afe869d5f823be9c4370eaca7eb00db73dcaa98948 SHA512 c3ebbe2bd2936a1023d38f02a03c959e2af9e750a7bfda93dd053981cda445b9db9320a0e0fc82b67f2bd35950280747ebd32ab01bf13f8223b1ccb294c03f91 WHIRLPOOL ecacf66702a1dcf0006d8e855574c8efc5464fa0c79b250b8f4405b54b737bd46a74b91505eba1c1c2ec4bdeacfdecb51fa18211777a5bbf2ee6b717ff91ca9e diff --git a/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh b/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh new file mode 100644 index 000000000000..6b3cb9bb3536 --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh @@ -0,0 +1,20 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-skinsoppalusikka +# +# This sript is called by gentoo-vdr-scripts on start of VDR + +# Check if dxr3 plugin in /etc/conf.d/vdr Plugins="" +# and set default logo DIR + +plugin_pre_vdr_start() { + + if [ "${PLUGINS}" != "${PLUGINS#*dxr3}" ] ; then + : ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/skinsoppalusikka/logos-dxr3} + else + : ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/channel-logos} + fi + + add_plugin_param "-l ${SKINSOPPALUSIKKA_LOGOS_DIR}" + +} diff --git a/media-plugins/vdr-skinsoppalusikka/metadata.xml b/media-plugins/vdr-skinsoppalusikka/metadata.xml new file mode 100644 index 000000000000..4cbd0a3e5ea4 --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + The "Soppalusikka" is a standalone skin is based on "enElchi" text2skin addon. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.0.ebuild b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.0.ebuild new file mode 100644 index 000000000000..7ae9639debf5 --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Skin Plugin: soppalusikka" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND} + x11-themes/vdr-channel-logos" + +S="${WORKDIR}/skinsoppalusikka-${PV}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-1.0.2.sh" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/*.theme + + chown vdr:vdr -R "${D}"/etc/vdr +} diff --git a/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.3.ebuild b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.3.ebuild new file mode 100644 index 000000000000..cc10b06134eb --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.0.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Skin Plugin: soppalusikka" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND} + x11-themes/vdr-channel-logos" + +S="${WORKDIR}/skinsoppalusikka-${PV}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-1.0.2.sh" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/*.theme + + chown vdr:vdr -R "${D}"/etc/vdr +} diff --git a/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.2.0.ebuild b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.2.0.ebuild new file mode 100644 index 000000000000..275e91975acc --- /dev/null +++ b/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-2.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Skin Plugin: soppalusikka" +HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka" +SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka/files/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.2.0" +RDEPEND="${DEPEND} + x11-themes/vdr-channel-logos" + +S="${WORKDIR}/skinsoppalusikka-${PV}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-1.0.2.sh" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/themes + doins "${S}"/themes/*.theme + + chown vdr:vdr -R "${D}"/etc/vdr +} diff --git a/media-plugins/vdr-sleeptimer/Manifest b/media-plugins/vdr-sleeptimer/Manifest new file mode 100644 index 000000000000..675525b025b5 --- /dev/null +++ b/media-plugins/vdr-sleeptimer/Manifest @@ -0,0 +1 @@ +DIST sleeptimer-0.6.tar.gz 11708 SHA256 8e024aa93a58be5c77e79ae494a891f2bdb94f3b9a0eeaee5f41459e5f87fdab SHA512 dbe0fef681c47190948532615f1108d06f61f6ffd1f2eea3c606a38b813c745686cab7115bc3336957936855e6e911c502273fdd0eef8a07ae5256ead734795e WHIRLPOOL e38af0f68094ed7248e95134e31c0b8efa2af0fbb2aa25ecde64649650397c11fe6f7b2148d9eb4ef436f4933bcfde1b024aad4c4b19f20e8d585703169f4b05 diff --git a/media-plugins/vdr-sleeptimer/files/vdr-sleeptimer-0.6-includes.diff b/media-plugins/vdr-sleeptimer/files/vdr-sleeptimer-0.6-includes.diff new file mode 100644 index 000000000000..bd98e35da66e --- /dev/null +++ b/media-plugins/vdr-sleeptimer/files/vdr-sleeptimer-0.6-includes.diff @@ -0,0 +1,11 @@ +diff -ru sleeptimer-0.6-orig/sleeptimer.c sleeptimer-0.6/sleeptimer.c +--- sleeptimer-0.6-orig/sleeptimer.c 2005-10-24 20:15:18.000000000 +0200 ++++ sleeptimer-0.6/sleeptimer.c 2005-10-24 20:15:30.000000000 +0200 +@@ -8,6 +8,7 @@ + + #include <vdr/plugin.h> + #include <vdr/interface.h> ++#include <vdr/device.h> + #include "i18n.h" + + static const char *VERSION = "0.6"; diff --git a/media-plugins/vdr-sleeptimer/metadata.xml b/media-plugins/vdr-sleeptimer/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-sleeptimer/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6.ebuild b/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6.ebuild new file mode 100644 index 000000000000..395efd6c6e96 --- /dev/null +++ b/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Sleeptimer" +HOMEPAGE="http://linvdr.org/download/vdr-sleeptimer" +SRC_URI="http://linvdr.org/download/vdr-sleeptimer/${VDRPLUGIN}-${PV}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +PATCHES=( "${FILESDIR}/${P}-includes.diff" ) + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i sleeptimer.c -e "s:RegisterI18n://RegisterI18n:" +} diff --git a/media-plugins/vdr-sndctl/Manifest b/media-plugins/vdr-sndctl/Manifest new file mode 100644 index 000000000000..c1c5be56007a --- /dev/null +++ b/media-plugins/vdr-sndctl/Manifest @@ -0,0 +1 @@ +DIST vdr-sndctl-0.1.5.1.tar.gz 36332 SHA256 124276cf576e7973de5f50fd62f3b1164993864781562b6727171d6f35a28ac8 SHA512 64bc893cf4fff68008267339cbccd48321022da1cbe8b7f277b794d1e264045793432c23b860045f3fc79c968a1e8d41470f7ae0014bbcacd358da5a16fcb842 WHIRLPOOL 7226ea9217c14f37a2f45dfac7ed354e0a990b436476c26cc57e4168501d478263bb4db49d0ba59406fd48a2a0cf8ff6971a31f6046c743bb8d748ed3f1a8531 diff --git a/media-plugins/vdr-sndctl/metadata.xml b/media-plugins/vdr-sndctl/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-sndctl/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-sndctl/vdr-sndctl-0.1.5.1.ebuild b/media-plugins/vdr-sndctl/vdr-sndctl-0.1.5.1.ebuild new file mode 100644 index 000000000000..e68a89518a87 --- /dev/null +++ b/media-plugins/vdr-sndctl/vdr-sndctl-0.1.5.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Control the vol level of diff controls of your sound- +card according to the settings of VDR" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-sndctl" +SRC_URI="http://www.vdr-portal.de/board/attachment.php?attachmentid=25497 -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.1 + media-libs/alsa-lib" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VDRPLUGIN}-0.1.5-1" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i sndctl.c -e "s:RegisterI18n://RegisterI18n:" +} diff --git a/media-plugins/vdr-solitaire/Manifest b/media-plugins/vdr-solitaire/Manifest new file mode 100644 index 000000000000..8cdab6208d7f --- /dev/null +++ b/media-plugins/vdr-solitaire/Manifest @@ -0,0 +1 @@ +DIST vdr-solitaire-0.0.3.tbz2 284862 SHA256 1b6714a5afb1b402cc968307bc6491c786521eb5b4db0bbd55458c31c1315ab7 SHA512 508d3d52d799defc7e2ca9ddbd4f91c89860d0146926a1ffe388651b922c8c9835fae2416fcbf13d171df12e493d8b4ed8d00660f5cfa8662c45f12a8d7d7729 WHIRLPOOL d5946299eb86fafefa26e65c5abdd7e4e97e2ea40c3ad7bae64430a3d0166da0ca250c6afd258ad991a816cd515c1de1554e9cd9873009636f1ef60972ded157 diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff new file mode 100644 index 000000000000..431e6d353fa6 --- /dev/null +++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff @@ -0,0 +1,12 @@ +diff -ru solitaire-0.0.2-orig/tools/list.h solitaire-0.0.2/tools/list.h +--- solitaire-0.0.2-orig/tools/list.h 2007-06-26 22:43:49.559179067 +0200 ++++ solitaire-0.0.2/tools/list.h 2007-06-26 22:44:10.561050626 +0200 +@@ -523,7 +523,7 @@ + return neu;
+ }
+
+-typedef class cTBList<cTBString> cStringList;
++// typedef class cTBList<cTBString> cStringList;
+ typedef class cTBList<void*> cPtrList;
+
+ // Special Overrides for String lists
diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch new file mode 100644 index 000000000000..83db65b01351 --- /dev/null +++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch @@ -0,0 +1,129 @@ +diff -ruN solitaire-0.0.2.org/tools/list.h solitaire-0.0.2/tools/list.h +--- solitaire-0.0.2.org/tools/list.h 2004-08-24 00:49:04.000000000 +0200 ++++ solitaire-0.0.2/tools/list.h 2006-02-03 11:35:36.000000000 +0100 +@@ -90,22 +90,22 @@ + T &SetNextCurrent ();
+ T &SetPrevCurrent ();
+
+- friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
+
+- friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
+- friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
+
+ /*friend cSource &operator<< <> (cSource &dest, const cTBList<T> &list);
+- friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
++// friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
+ };
+
+ // Template Implementation (inline funcs)
+
+ template<class T>
+ inline int cTBList<T>::Find (const T & i) {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+ int index = 0;
+
+ while (item && (item->Data != i)) {
+@@ -203,7 +203,7 @@ +
+ template<class T>
+ typename cTBList<T>::cItem *cTBList<T>::NewItem (cTBList<T>::cItem *pBefore, cTBList<T>::cItem *pAfter) const {
+- cTBList<T>::cItem *item = new cTBList<T>::cItem;
++ typename cTBList<T>::cItem *item = new typename cTBList<T>::cItem;
+
+ item->Next = pAfter;
+ item->Prev = pBefore;
+@@ -235,7 +235,7 @@ + if ((int)idx == m_CurPos)
+ return m_Current;
+
+- cTBList<T>::cItem *item;
++ typename cTBList<T>::cItem *item;
+ int dist = idx - m_CurPos;
+ bool direct;
+
+@@ -271,7 +271,7 @@ +
+ template<class T>
+ T &cTBList<T>::Prepend () {
+- cTBList<T>::cItem *item = NewItem(NULL, m_First);
++ typename cTBList<T>::cItem *item = NewItem(NULL, m_First);
+
+ m_First = m_Current = item;
+ if (!m_Last)
+@@ -285,7 +285,7 @@ +
+ template<class T>
+ T &cTBList<T>::Append () {
+- cTBList<T>::cItem *item = NewItem(m_Last, NULL);
++ typename cTBList<T>::cItem *item = NewItem(m_Last, NULL);
+
+ m_Last = m_Current = item;
+ if (!m_First)
+@@ -317,13 +317,13 @@ + return true;
+ }
+
+- cTBList<T>::cItem *nextItem = Locate(idx);
++ typename cTBList<T>::cItem *nextItem = Locate(idx);
+ if (!nextItem)
+ return false;
+
+- cTBList<T>::cItem *prevItem = nextItem->Prev;
++ typename cTBList<T>::cItem *prevItem = nextItem->Prev;
+
+- cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
++ typename cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
+ item->Data = i;
+
+ m_CurPos = idx;
+@@ -338,7 +338,7 @@ + if (!m_Current)
+ return NULL;
+
+- cTBList<T>::cItem *item = m_Current;
++ typename cTBList<T>::cItem *item = m_Current;
+ if (item == m_First) {
+ if (m_First = item->Next)
+ m_First->Prev = NULL;
+@@ -370,7 +370,7 @@ + if (Find(i) == -1)
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -383,7 +383,7 @@ + if (!Locate(idx))
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -412,13 +412,13 @@ +
+ template<class T>
+ void cTBList<T>::Clear () {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+
+ m_First = m_Last = m_Current = NULL;
+ m_Count = 0;
+ m_CurPos = -1;
+
+- cTBList<T>::cItem *Prev;
++ typename cTBList<T>::cItem *Prev;
+ while (item) {
+ Prev = item;
+ item = item->Next;
diff --git a/media-plugins/vdr-solitaire/metadata.xml b/media-plugins/vdr-solitaire/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-solitaire/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild new file mode 100644 index 000000000000..67d036adb19e --- /dev/null +++ b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Solitaire game" +HOMEPAGE="http://www.djdagobert.com/vdr/solitaire/index.html" +SRC_URI="http://www.djdagobert.com/vdr/solitaire/${P}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.25" + +SOLITAIRE_DATA_DIR="/usr/share/vdr/solitaire" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i cards.c cursor.c \ + -e 's#cPlugin::ConfigDirectory("solitaire")#"'${SOLITAIRE_DATA_DIR}'"#' + + sed -i solitaire.c -e "s:RegisterI18n://RegisterI18n:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto "${SOLITAIRE_DATA_DIR}" + doins "${S}"/solitaire/*.xpm +} diff --git a/media-plugins/vdr-span/Manifest b/media-plugins/vdr-span/Manifest new file mode 100644 index 000000000000..2a4cb4aa0e2f --- /dev/null +++ b/media-plugins/vdr-span/Manifest @@ -0,0 +1 @@ +DIST vdr-span-0.0.7.tar.bz2 50942 RMD160 f972dfdf4d439cda0df48b01a68da7ca7de47748 SHA1 dd820487baa2878937d117e6af2f376ddcfbb95f SHA256 505a1c014f52933227943b6dd6e66b5d42b5752de43a6acc10f8650a4f19e01f diff --git a/media-plugins/vdr-span/metadata.xml b/media-plugins/vdr-span/metadata.xml new file mode 100644 index 000000000000..04664717a4f1 --- /dev/null +++ b/media-plugins/vdr-span/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>media-tv</herd> +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-span/vdr-span-0.0.7.ebuild b/media-plugins/vdr-span/vdr-span-0.0.7.ebuild new file mode 100644 index 000000000000..fb7102c8bf88 --- /dev/null +++ b/media-plugins/vdr-span/vdr-span-0.0.7.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Spectrum Analyzer (SpAn)" +HOMEPAGE="http://lcr.vdr-developer.org/" +SRC_URI="http://lcr.vdr-developer.org/downloads/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7 + >=sci-libs/fftw-3.0.1" +RDEPEND="${DEPEND}" + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog + elog "This plugin is meant as middleware, you need appropiate" + elog "data-provider- as well as visualization-plugins." +} diff --git a/media-plugins/vdr-spider/Manifest b/media-plugins/vdr-spider/Manifest new file mode 100644 index 000000000000..77b0dc429851 --- /dev/null +++ b/media-plugins/vdr-spider/Manifest @@ -0,0 +1 @@ +DIST vdr-spider-0.2.2.tgz 53527 RMD160 71e387d59b3b5d99f74b03dc503b3081ebe6dbc2 SHA1 d88199de4b245622af6f6e54bd924c0b9f9d61ba SHA256 25349edfdf0c79a392c8b25258bcbac494968294adf99c8cea90ce3c27cedd7a diff --git a/media-plugins/vdr-spider/metadata.xml b/media-plugins/vdr-spider/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-spider/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-spider/vdr-spider-0.2.2.ebuild b/media-plugins/vdr-spider/vdr-spider-0.2.2.ebuild new file mode 100644 index 000000000000..530e96178106 --- /dev/null +++ b/media-plugins/vdr-spider/vdr-spider-0.2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Spider patience game" +HOMEPAGE="http://toms-cafe.de/vdr/spider/" +SRC_URI="http://toms-cafe.de/vdr/spider/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.47" + +SPIDER_DATA_DIR="/usr/share/vdr/spider" + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i spider.cpp -e 's:ConfigDirectory(Name()):"'${SPIDER_DATA_DIR}'":' +} + +src_install() { + vdr-plugin-2_src_install + + insinto "${SPIDER_DATA_DIR}" + doins "${S}"/spider/*.xpm +} diff --git a/media-plugins/vdr-streamdev/Manifest b/media-plugins/vdr-streamdev/Manifest new file mode 100644 index 000000000000..5ec1b4a3f4f4 --- /dev/null +++ b/media-plugins/vdr-streamdev/Manifest @@ -0,0 +1 @@ +DIST vdr-streamdev-0.6.1.tgz 186546 SHA256 b3ea814a572eb17699df4ae2a90a1ad6c22c0a68a8235e7f7ccf299d1ed43955 SHA512 bbe6231bd8e69e299c8d94173e7ed4b1f49e5b17b7bcadf2d1e827b5e8dd57c6b975c8c409fd44f252110099b3565a7d4d8c2f7d03636fc2d2e3580d0050d971 WHIRLPOOL e226ddbec680bb43857f96ae1553b71d218f87593cf179c65919444c19aa26392e42ef9dbe8607ddffc81ce781cb5a8b60123650a14be7c0997bc605b066c9f7 diff --git a/media-plugins/vdr-streamdev/files/confd-0.6.0 b/media-plugins/vdr-streamdev/files/confd-0.6.0 new file mode 100644 index 000000000000..1cb42eff3836 --- /dev/null +++ b/media-plugins/vdr-streamdev/files/confd-0.6.0 @@ -0,0 +1,34 @@ +# /etc/conf.d/vdr.streamdev-server + +# Use your own remux script +# +# default: streamdevserver remux script is used +# take a look at the README for handling +# +# allowed values: full path to your replacement script +# +#STREAMDEV_REMUX_SCRIPT="/full/path/to/your/own/remux-script" + +# You can configure optional authentication credentials +# for the http protocol here +# +# ATTENTION: the colon character ":" is not allowed in +# both the login and password ! +# +# enable http_auth +# allowed values: yes | no +# default: no +# +#STREAMDEV_HTTP_AUTH_ENABLE="yes" + +# Set the user for http_auth +# allowed values: your_user +# default: +# +STREAMDEV_HTTP_LOGIN="" + +# Set the password for http_auth +# allowed values: your_password +# default: +# +STREAMDEV_HTTP_PASSWORD="" diff --git a/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh b/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh new file mode 100644 index 000000000000..35b961aa9871 --- /dev/null +++ b/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh @@ -0,0 +1,26 @@ +# $Id$ +# +# rc-addon-script for plugin streamdev-server +# +# Joerg Bornkessel <hd_brummy@g.o> + +plugin_pre_vdr_start() { + + : ${STREAMDEV_REMUX_SCRIPT:=/usr/share/vdr/streamdev/externremux.sh} + add_plugin_param "-r ${STREAMDEV_REMUX_SCRIPT}" + + if yesno ${STREAMDEV_HTTP_AUTH_ENABLE:-no}; then + + if [[ -z ${STREAMDEV_HTTP_LOGIN} ]]; then + eerror "No user in /etc/conf.d/vdr.streamdev-server" + logger -t vdr "ERROR: need password for plugin vdr-streamdev-server" + fi + + if [[ -z ${STREAMDEV_HTTP_PASSWORD} ]]; then + eerror "No password in /etc/conf.d/vdr.streamdev-server" + logger -t vdr "ERROR: need password for plugin vdr-streamdev-server" + fi + + add_plugin_param "-a ${STREAMDEV_HTTP_LOGIN}:${STREAMDEV_HTTP_PASSWORD}" + fi +} diff --git a/media-plugins/vdr-streamdev/metadata.xml b/media-plugins/vdr-streamdev/metadata.xml new file mode 100644 index 000000000000..afdf685c26ad --- /dev/null +++ b/media-plugins/vdr-streamdev/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <use> + <flag name="client"> + Compile the VDR plugin vdr-streamdev-client + that acts like a dvb-budget card + </flag> + <flag name="server"> + Compile the VDR plugin vdr-streamdev-server + that allows remote systems to access the + DVB cards used for the local VDR + </flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1.ebuild new file mode 100644 index 000000000000..ab17d2851054 --- /dev/null +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1580" # every bump, new version ! + +DESCRIPTION="VDR Plugin: Client/Server and http streaming plugin" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-streamdev" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="client +server" + +DEPEND=">=media-video/vdr-1.7.25" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( client server )" + +# vdr-plugin-2.eclass changes +PO_SUBDIR="client server" + +src_prepare() { + # make detection in vdr-plugin-2.eclass for new Makefile handling happy + echo "# SOFILE" >> Makefile + + # rm unneeded entry + sed -i Makefile -e "s:-I\$(VDRDIR)/include::" + + vdr-plugin-2_src_prepare + + for flag in client server; do + if ! use ${flag}; then + sed -i Makefile \ + -e '/^.PHONY:/s/'${flag}'//' \ + -e '/^.PHONY:/s/'install-${flag}'//' \ + -e '/^all:/s/'${flag}'//' \ + -e '/^install:/s/'install-${flag}'//' + fi + done + + fix_vdr_libsi_include server/livestreamer.c +} + +src_install() { + vdr-plugin-2_src_install + + if use server; then + insinto /usr/share/vdr/streamdev + doins streamdev-server/externremux.sh + + insinto /usr/share/vdr/rcscript + newins "${FILESDIR}"/rc-addon-0.6.0.sh plugin-streamdev-server.sh + + insinto /etc/conf.d + newins "${FILESDIR}"/confd-0.6.0 vdr.streamdev-server + + insinto /etc/vdr/plugins/streamdev-server + newins streamdev-server/streamdevhosts.conf streamdevhosts.conf + fowners vdr:vdr /etc/vdr -R + fi +} + +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-0.6.0" + previous_less_than_0_6_0=$? +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + if [[ -e "${ROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf ]]; then + einfo "move config file to new config DIR ${ROOT}/etc/vdr/plugins/streamdev-server/" + mv "${ROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf "${ROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf + fi + + if [[ $previous_less_than_0_6_0 = 0 ]]; then + einfo "The server-side setting \"Suspend behaviour\" has been dropped in 0.6.0 in favour" + einfo "of priority based precedence. A priority of 0 and above means that clients" + einfo "have precedence. A negative priority gives precedence to local live TV on the" + einfo "server. So if \"Suspend behaviour\" was previously set to \"Client may suspend\" or" + einfo "\"Never suspended\", you will have to configure a negative priority. If the" + einfo "\"Suspend behaviour\" was set to \"Always suspended\", the default values should do." + einfo "" + einfo "Configure the desired priorities for HTTP and IGMP Multicast streaming in the" + einfo "settings of streamdev-server. If you haven't updated all your streamdev-clients" + einfo "to at least 0.5.2, configure \"Legacy Client Priority\", too." + einfo "" + einfo "In streamdev-client, you should set \"Minimum Priority\" to -99. Adjust \"Live TV" + einfo "Priority\" if necessary." + fi +} diff --git a/media-plugins/vdr-sudoku/Manifest b/media-plugins/vdr-sudoku/Manifest new file mode 100644 index 000000000000..f6613bcfe89a --- /dev/null +++ b/media-plugins/vdr-sudoku/Manifest @@ -0,0 +1 @@ +DIST vdr-sudoku-0.3.5.tgz 56706 SHA256 37e2c77c15579f5a8dde928f96a68553b18c2182413891f66ebc34f7b93e5b71 diff --git a/media-plugins/vdr-sudoku/metadata.xml b/media-plugins/vdr-sudoku/metadata.xml new file mode 100644 index 000000000000..4c210f4c475c --- /dev/null +++ b/media-plugins/vdr-sudoku/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + <description> + Please contacts maintainer before you something change + </description> + </maintainer> + <longdescription> + Sudoku is a VDR plugin to generate and solve Number Place puzzles, + so called Sudokus. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-sudoku/vdr-sudoku-0.3.5.ebuild b/media-plugins/vdr-sudoku/vdr-sudoku-0.3.5.ebuild new file mode 100644 index 000000000000..aabb17615845 --- /dev/null +++ b/media-plugins/vdr-sudoku/vdr-sudoku-0.3.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="280" # every bump, new version + +DESCRIPTION="VDR plugin: to generate and solve Number Place puzzles, so called Sudokus" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-sudoku" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-suspendoutput/Manifest b/media-plugins/vdr-suspendoutput/Manifest new file mode 100644 index 000000000000..cdb02e64981b --- /dev/null +++ b/media-plugins/vdr-suspendoutput/Manifest @@ -0,0 +1 @@ +DIST vdr-suspendoutput-1.0.1.tgz 33489 RMD160 8ea180eae9fb6a956bf04073182663d86eec8f2a SHA1 4eb540f443cde9e9406303a03cd6c4ebb66dfc5e SHA256 70ff2f8a4d12a85ea290da3245ede76979c722120cd1e9b9d44c9e8be454f88f diff --git a/media-plugins/vdr-suspendoutput/metadata.xml b/media-plugins/vdr-suspendoutput/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-suspendoutput/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-suspendoutput/vdr-suspendoutput-1.0.1.ebuild b/media-plugins/vdr-suspendoutput/vdr-suspendoutput-1.0.1.ebuild new file mode 100644 index 000000000000..490c1f3c1eef --- /dev/null +++ b/media-plugins/vdr-suspendoutput/vdr-suspendoutput-1.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Show still image instead of live tv to safe cpu" +HOMEPAGE="http://phivdr.dyndns.org/vdr/vdr-suspendoutput/" +SRC_URI="http://phivdr.dyndns.org/vdr/vdr-suspendoutput/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="media-video/vdr" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-svdrposd/Manifest b/media-plugins/vdr-svdrposd/Manifest new file mode 100644 index 000000000000..58d8259103c8 --- /dev/null +++ b/media-plugins/vdr-svdrposd/Manifest @@ -0,0 +1 @@ +DIST vdr-svdrposd-1.0.0.tgz 12470 SHA256 1e84dcd1ff54a3967c6e2e552789b8e7878e278ef302306f012af9ef2631c81a SHA512 77e624c666ad6fe0a2afce0d2ca421af19a1310f5d65fb5cf9f289e28bbaaecb36c5efc542416c13edf5278859cb6b08ee6467dec9ef4b3daeb4f43915a82aa6 WHIRLPOOL 1d0580a462bb1b24a0a16eaa3e7c77ae00692164736faa7f6844ef0c855d49b3da5639cbbeee6a42674e547e677054773267c12bfc64c7d79c3f16573bb5fbb1 diff --git a/media-plugins/vdr-svdrposd/metadata.xml b/media-plugins/vdr-svdrposd/metadata.xml new file mode 100644 index 000000000000..57cbe8aa99b6 --- /dev/null +++ b/media-plugins/vdr-svdrposd/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-svdrposd/vdr-svdrposd-1.0.0.ebuild b/media-plugins/vdr-svdrposd/vdr-svdrposd-1.0.0.ebuild new file mode 100644 index 000000000000..30c5e6649e05 --- /dev/null +++ b/media-plugins/vdr-svdrposd/vdr-svdrposd-1.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: export OSD via TCP to vdr-remoteosd" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/svdrpext/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-svdrpservice/Manifest b/media-plugins/vdr-svdrpservice/Manifest new file mode 100644 index 000000000000..2c99fffa0ecf --- /dev/null +++ b/media-plugins/vdr-svdrpservice/Manifest @@ -0,0 +1 @@ +DIST vdr-svdrpservice-1.0.0.tgz 16979 SHA256 c25147163c7abf864ca99d9d4c1a821242f3c4eddb658d8b691edb3f543818d8 SHA512 2395aed428a072b568ed790e0ee8b3e1d17be62fb28a21bc030c021cef778ba00d7e17451eccf26f09da63c8d5b7786fd12e377d904b23ca1b24c040dc5ce429 WHIRLPOOL 34bdd4b806ac6b9b47051fa5985c9ea7d4e0aab231c8560935a9acfe1f91b661634b05b03f13ee4d2a1006e6da4c3b8986f3e48c6e556fbba5c6610474796049 diff --git a/media-plugins/vdr-svdrpservice/metadata.xml b/media-plugins/vdr-svdrpservice/metadata.xml new file mode 100644 index 000000000000..57cbe8aa99b6 --- /dev/null +++ b/media-plugins/vdr-svdrpservice/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-svdrpservice/vdr-svdrpservice-1.0.0.ebuild b/media-plugins/vdr-svdrpservice/vdr-svdrpservice-1.0.0.ebuild new file mode 100644 index 000000000000..ffd387083c8e --- /dev/null +++ b/media-plugins/vdr-svdrpservice/vdr-svdrpservice-1.0.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: offers SVDRP connections as a service to other plugins" +HOMEPAGE="http://vdr.schmirler.de/" +SRC_URI="http://vdr.schmirler.de/svdrpservice/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-systeminfo/Manifest b/media-plugins/vdr-systeminfo/Manifest new file mode 100644 index 000000000000..a473bc796fe4 --- /dev/null +++ b/media-plugins/vdr-systeminfo/Manifest @@ -0,0 +1 @@ +DIST vdr-systeminfo-0.1.1.tar.bz2 16816 SHA256 2764e88c07a84e4d42ab318e0cd7ad186b549c9843c6fed8e6aa964658685cc1 diff --git a/media-plugins/vdr-systeminfo/files/confd b/media-plugins/vdr-systeminfo/files/confd new file mode 100644 index 000000000000..06819d29b433 --- /dev/null +++ b/media-plugins/vdr-systeminfo/files/confd @@ -0,0 +1,20 @@ +# Global config file for VDR systeminfo plugin +# $Id$ + +# I most cases here is no user activity needed +# Yust if you get wrong or no output in OSD of plugin +# you have something to change on next parameter +# Get right parameter by run 'sensors' on Konsole + +CPU_TEMP="temp2" + +MOBO_TEMP="temp1" + +FAN_1="fan2" + +FAN_2="fan1" + +DISK_1="/dev/hda" + +#DISK_2="/dev/hdc" + diff --git a/media-plugins/vdr-systeminfo/files/rc-addon.sh b/media-plugins/vdr-systeminfo/files/rc-addon.sh new file mode 100644 index 000000000000..1f4dab2ff7b7 --- /dev/null +++ b/media-plugins/vdr-systeminfo/files/rc-addon.sh @@ -0,0 +1,13 @@ +# $Id$ +# +# rc-addon-script for plugin systeminfo +# +# Joerg Bornkessel <hd_brummy@gentoo.org> + +: ${SYSTEMINFO_SCRIPT:=/usr/share/vdr/systeminfo/systeminfo.sh} + +plugin_pre_vdr_start() { + +add_plugin_param "-s ${SYSTEMINFO_SCRIPT}" + +}
\ No newline at end of file diff --git a/media-plugins/vdr-systeminfo/files/systeminfo.sh b/media-plugins/vdr-systeminfo/files/systeminfo.sh new file mode 100644 index 000000000000..48760e0b2ddc --- /dev/null +++ b/media-plugins/vdr-systeminfo/files/systeminfo.sh @@ -0,0 +1,116 @@ +#!/bin/bash +# systeminfo.sh: external data collection script +# This file belongs to the VDR plugin systeminfo +# +# See the main source file 'systeminfo.c' for copyright information and +# how to reach the author. +# +# $Id$ +# +# possible output formats: +# (blanks around tabs only for better reading) +# 1) Name \t Value displays Name and Value +# 2) Name \t Value1 \t Value2 displays Name, Value1 and Value2 +# 3) Name \t total used displays an additional progress bar (percentage) after the values +# 4) s \t Name \t ... defines a static value, this line is only requested during the first cycle +# +# special keywords (they are replaced by the plugin with the actual value): +# CPU% CPU usage in percent +# +# test with: for i in $(seq 1 16); do systeminfo.sh $i;echo;done +# + +PATH=/usr/bin:/bin:/sbin:/usr/sbin + +source /etc/conf.d/vdr.systeminfo + +case "$1" in + 1) # kernel version (static) + KERNEL=$(uname -rm) + echo -ne "s\tLinux Kernel:\t"$KERNEL + ;; + + 2) # distribution release (static) + if test -f /etc/gentoo-release; then + DISTRI="Gentoo" + RELEASE=$(head -n 1 /etc/gentoo-release) + fi + echo -ne "s\tDistribution:\t"$RELEASE + exit + ;; + + 3) # CPU type (static) + CPUTYPE=$(grep 'model name' /proc/cpuinfo | cut -d':' -f 2 | cut -d' ' -f2- | uniq) + echo -ne "s\tCPU Type:\t"$CPUTYPE + ;; + + 4) # current CPU speed + VAR=$(grep 'cpu MHz' /proc/cpuinfo | sed 's/.*: *\([0-9]*\)\.[0-9]*/\1 MHz/') + echo -ne "CPU speed:\t"$VAR + exit + ;; + + 5) # hostname and IP (static) + hostname=$(hostname) + dnsname=$(dnsdomainname) + IP=$(ifconfig eth0 | grep inet | cut -d: -f2 | cut -d' ' -f1) + echo -ne "s\tHostname:\t"${hostname:-<unknown>}"."${dnsname:-<unknown>}"\tIP: "${IP:-N/A} + exit + ;; + + 6) # fan speeds + CPU=$( sensors | grep -i ${FAN_1:=FAN1} | tr -s ' ' | cut -d' ' -f 2) + CASE=$(sensors | grep -i ${FAN_2:=Fan2} | tr -s ' ' | cut -d' ' -f 2) + echo -ne "Fans:\tCPU: "$CPU" rpm\tCase: "$CASE" rpm" + exit + ;; + + 7) # temperature of CPU and mainboard + CPU=$(sensors | grep -i ${CPU_TEMP:=CPU Temp} | tr -s ' ' | cut -d' ' -f 2) + MB=$( sensors | grep -i ${MOBO_TEMP:=M/B Temp} | tr -s ' ' | cut -d' ' -f 2) + echo -ne "Temperatures:\tCPU: "$CPU"\tMB: "$MB + exit + ;; + + 8) # temperature of hard disks + DISK1=$(hddtemp ${DISK_1:=/dev/sda} | cut -d: -f1,3) + DISK2=$(hddtemp ${DISK_2} | cut -d: -f1,3) + echo -ne "\t"$DISK1"\t"$DISK2 + exit + ;; + + 9) # CPU usage + echo -e "CPU time:\tCPU%" + exit + ;; + + 10) # header (static) + echo -ne "s\t\ttotal / free" + exit + ;; + + 11) # video disk usage + VAR=$(df -h | grep hd | grep video | tail -n 1 | tr -s ' ' | cut -d' ' -f 2,4) + echo -ne "Video Disk:\t"$VAR + exit + ;; + + 12) # memory usage + VAR=$( grep -E 'MemTotal|MemFree' /proc/meminfo | cut -d: -f2 | tr -d ' ') + echo -ne "Memory:\t"$VAR + exit + ;; + + 13) # swap usage + VAR=$(grep -E 'SwapTotal|SwapFree' /proc/meminfo | cut -d: -f2 | tr -d ' ') + echo -ne "Swap:\t"$VAR + exit + ;; + test) + echo "" + echo "Usage: systeminfo.sh {1|2|3|4|...}" + echo "" + exit 1 + ;; +esac +exit diff --git a/media-plugins/vdr-systeminfo/metadata.xml b/media-plugins/vdr-systeminfo/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-systeminfo/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-systeminfo/vdr-systeminfo-0.1.1.ebuild b/media-plugins/vdr-systeminfo/vdr-systeminfo-0.1.1.ebuild new file mode 100644 index 000000000000..0914ffddeddb --- /dev/null +++ b/media-plugins/vdr-systeminfo/vdr-systeminfo-0.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: systeminfo" +HOMEPAGE="http://firefly.vdr-developer.org/systeminfo/" +SRC_URI="http://firefly.vdr-developer.org/systeminfo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.7" + +RDEPEND="sys-apps/lm_sensors + app-admin/hddtemp" + +src_install() { + vdr-plugin-2_src_install + + insinto /usr/share/vdr/systeminfo/ + insopts -m0755 + doins "${FILESDIR}"/systeminfo.sh +} diff --git a/media-plugins/vdr-text2skin/Manifest b/media-plugins/vdr-text2skin/Manifest new file mode 100644 index 000000000000..9c3907365e3f --- /dev/null +++ b/media-plugins/vdr-text2skin/Manifest @@ -0,0 +1 @@ +DIST vdr-text2skin-1.3.2.tgz 94476 SHA256 32d3e17cdf3a3b796b4ed7eae1ca8d2c6d56dcc901f4ed71daaf95dd6d2d6331 SHA512 418339f7132ddf854f1c7fbaa3b11aac5eb7aba0f15d427bb946d4175b6540199ac079fd895f9cebdccb4797dcf96b0681cee4db93a5e4c817abae04a08bdea9 WHIRLPOOL 6b0635a31a308d949c1abb4769cb759a34f787150442aa1f29b53fa923261ae2b898699ad21aff87c84bbdade2a530409bb31657ad445c29167e6bf8b5aedea7 diff --git a/media-plugins/vdr-text2skin/files/vdr-1.7.27.diff b/media-plugins/vdr-text2skin/files/vdr-1.7.27.diff new file mode 100644 index 000000000000..9d3280cf5849 --- /dev/null +++ b/media-plugins/vdr-text2skin/files/vdr-1.7.27.diff @@ -0,0 +1,94 @@ +diff -Naur text2skin-1.3.2.orig/display.c text2skin-1.3.2/display.c +--- text2skin-1.3.2.orig/display.c 2012-04-07 20:45:11.000000000 +0200 ++++ text2skin-1.3.2/display.c 2012-04-07 20:45:47.000000000 +0200 +@@ -1233,17 +1233,17 @@ + + case tRecordingPriority: + return mRecording != NULL +- ? (cxType)mRecording->priority ++ ? (cxType)mRecording->Priority() + : (cxType)false; + + case tRecordingLifetime: + return mRecording != NULL +- ? (cxType)mRecording->lifetime ++ ? (cxType)mRecording->Lifetime() + : (cxType)false; + + case tRecordingDateTime: + return mRecording != NULL +- ? (cxType)TimeType(mRecording->start, Token.Attrib.Text) ++ ? (cxType)TimeType(mRecording->Start(), Token.Attrib.Text) + : (cxType)false; + + case tRecordingTitle: +diff -Naur text2skin-1.3.2.orig/render.c text2skin-1.3.2/render.c +--- text2skin-1.3.2.orig/render.c 2012-04-07 20:45:11.000000000 +0200 ++++ text2skin-1.3.2/render.c 2012-04-07 20:48:29.000000000 +0200 +@@ -597,14 +597,14 @@ + if (Marks) { + bool start = true; + for (const cMark *m = Marks->First(); m; m = Marks->Next(m)) { +- txPoint pt(Pos.x + m->position * Size.w / Total, Pos.y); ++ txPoint pt(Pos.x + m->Position() * Size.w / Total, Pos.y); + if (Selected && start) { + const cMark *m2 = Marks->Next(m); + DrawRectangle(txPoint(pt.x, Pos.y + Size.h / 3), +- txSize(((m2 ? m2->position : Total) - m->position) ++ txSize(((m2 ? m2->Position() : Total) - m->Position()) + * Size.w / Total + 1, Size.h - Size.h * 2 / 3 + 1), Selected); + } +- DrawMark(pt, Size, start, m->position == Current, false, Mark, Cur); ++ DrawMark(pt, Size, start, m->Position() == Current, false, Mark, Cur); + start = !start; + } + } +@@ -614,15 +614,15 @@ + if (Marks) { + bool start = true; + for (const cMark *m = Marks->First(); m; m = Marks->Next(m)) { +- txPoint pt(Pos.x, Pos.y + m->position * Size.h / Total); ++ txPoint pt(Pos.x, Pos.y + m->Position() * Size.h / Total); + if (Selected && start) { + const cMark *m2 = Marks->Next(m); + DrawRectangle(txPoint(Pos.x + Size.w / 3, pt.y), + txSize(Size.w - Size.w * 2 / 3 + 1, +- ((m2 ? m2->position : Total) - m->position) ++ ((m2 ? m2->Position() : Total) - m->Position()) + * Size.h / Total + 1), Selected); + } +- DrawMark(pt, Size, start, m->position == Current, true, Mark, Cur); ++ DrawMark(pt, Size, start, m->Position() == Current, true, Mark, Cur); + start = !start; + } + } +diff -Naur text2skin-1.3.2.orig/common.c text2skin-1.3.2/common.c +--- text2skin-1.3.2.orig/common.c 2012-04-07 20:54:59.000000000 +0200 ++++ text2skin-1.3.2/common.c 2012-04-07 20:56:00.000000000 +0200 +@@ -255,11 +255,11 @@ + int start = 1; // first frame + bool isStart = true; + +- for (cMark *m = marks.First(); m; m = marks.GetNext(m->position)) { ++ for (cMark *m = marks.First(); m; m = marks.GetNext(m->Position())) { + if (isStart) +- start = m->position; ++ start = m->Position(); + else +- length += (double)(m->position - start + 1 + diffIFrame) / (60 * FramesPerSecond); // [min] ++ length += (double)(m->Position() - start + 1 + diffIFrame) / (60 * FramesPerSecond); // [min] + + isStart = !isStart; + } +diff -Naur text2skin-1.3.2.orig/status.c text2skin-1.3.2/status.c +--- text2skin-1.3.2.orig/status.c 2012-04-07 20:59:39.000000000 +0200 ++++ text2skin-1.3.2/status.c 2012-04-07 21:01:12.000000000 +0200 +@@ -314,7 +314,7 @@ + + case tReplayDateTime: + return mReplay != NULL +- ? (cxType)TimeType(mReplay->start, Token.Attrib.Text) ++ ? (cxType)TimeType(mReplay->Start(), Token.Attrib.Text) + : (cxType)false; + + case tReplayShortText: diff --git a/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2-Makefile.patch b/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2-Makefile.patch new file mode 100644 index 000000000000..cce51d79febc --- /dev/null +++ b/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2-Makefile.patch @@ -0,0 +1,71 @@ +diff --git a/Makefile b/Makefile +index daa54d7..1163a8d 100644 +--- a/Makefile ++++ b/Makefile +@@ -9,6 +9,7 @@ STRIP=strip + # External image lib to use: imagemagick, graphicsmagick, imlib2 or none + IMAGELIB = imagemagick + ++# + + # DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU'RE DOING + # ------------------------------------------------------------- +@@ -29,13 +30,18 @@ VERSION = $(shell grep 'const char \*cText2SkinPlugin::VERSION *=' $(PLUGIN).c | + ### The C++ compiler and options: + + CXX ?= g++ +-CXXFLAGS ?= -fPIC -Wall -Woverloaded-virtual ++ifdef DEBUG ++CXXFLAGS ?= -Wall -Woverloaded-virtual ++else ++CXXFLAGS ?= -Wall -Woverloaded-virtual -O3 ++endif ++CXXFLAGS += -fPIC + + ### The directory environment: + +-VDRDIR = ../../.. +-LIBDIR = ../../lib +-TMPDIR = /tmp ++VDRDIR ?= ../../.. ++LIBDIR ?= ../../lib ++TMPDIR ?= /tmp + + ### Make sure that necessary options are included (VDR >= 1.7.13): + +@@ -88,8 +94,7 @@ endif + ifdef DEBUG + CXXFLAGS += -g -fno-inline + DEFINES += -DDEBUG +-else +- CXXFLAGS += -O3 ++ STRIP= + ifdef BENCH + DEFINES += -DBENCH + endif +@@ -118,7 +123,7 @@ $(DEPFILE): Makefile + -include $(DEPFILE) + + ### Internationalization (I18N): +- ++# + PODIR = po + LOCALEDIR = $(VDRDIR)/locale + I18Npo = $(notdir $(wildcard $(PODIR)/*.po)) +@@ -134,6 +139,7 @@ $(I18Npot): $(wildcard *.c) + $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.po + @mkdir -p $(dir $@) + msgfmt -c -o $@ $< ++# + + .PHONY: i18n + i18n: $(I18Npo:%.po=$(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo) +@@ -143,7 +149,7 @@ i18n: $(I18Npo:%.po=$(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo) + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ + @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) +-ifndef DEBUG ++ifdef STRIP + $(STRIP) $(LIBDIR)/$@.$(APIVERSION) + endif + diff --git a/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2_vdr-2.1.2.diff b/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2_vdr-2.1.2.diff new file mode 100644 index 000000000000..7a4873db751d --- /dev/null +++ b/media-plugins/vdr-text2skin/files/vdr-text2skin-1.3.2_vdr-2.1.2.diff @@ -0,0 +1,15 @@ +diff -Naur text2skin-1.3.2.orig/render.c text2skin-1.3.2/render.c +--- text2skin-1.3.2.orig/render.c 2013-10-26 22:29:16.000000000 +0200 ++++ text2skin-1.3.2/render.c 2013-10-26 22:33:19.000000000 +0200 +@@ -813,7 +813,11 @@ + switch (Token.Type) { + case tFreeDiskSpace: { + int FreeMB; ++#if APIVERSNUM > 20101 ++ cVideoDirectory::VideoDiskSpace(&FreeMB); ++#else + VideoDiskSpace(&FreeMB); ++#endif + Dprintf("FreeMB: %d, attrib type is %d\n", FreeMB,Token.Attrib.Type); + return Token.Attrib.Type == aString && Token.Attrib.Text.length() > 0 + ? (cxType)DurationType(FreeMB * 60 / MB_PER_MINUTE, diff --git a/media-plugins/vdr-text2skin/metadata.xml b/media-plugins/vdr-text2skin/metadata.xml new file mode 100644 index 000000000000..bbdf85da384b --- /dev/null +++ b/media-plugins/vdr-text2skin/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <use> + <flag name="contrib">Install user contributed scripts</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-text2skin/vdr-text2skin-1.3.2.ebuild b/media-plugins/vdr-text2skin/vdr-text2skin-1.3.2.ebuild new file mode 100644 index 000000000000..b072c9c4955d --- /dev/null +++ b/media-plugins/vdr-text2skin/vdr-text2skin-1.3.2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +VERSION="783" # changes with every version / new file :-( + +DESCRIPTION="VDR text2skin PlugIn" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-text2skin" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="contrib doc +imagemagick imlib" + +REQUIRED_USE="imagemagick? ( !imlib ) + imlib? ( !imagemagick )" + +RDEPEND=">=media-video/vdr-1.6.0 + imagemagick? ( || ( media-gfx/imagemagick[cxx] media-gfx/graphicsmagick[cxx] ) ) + imlib? ( media-libs/imlib2 >=media-video/vdr-1.6.0[-graphtft] )" +DEPEND="${RDEPEND} + imagemagick? ( virtual/pkgconfig ) + imlib? ( virtual/pkgconfig ) + sys-devel/gettext" + +KEEP_I18NOBJECT="yes" + +src_prepare() { + local imagelib= + + epatch "${FILESDIR}/${P}-Makefile.patch" + + sed -i common.c -e 's#cPlugin::ConfigDirectory(PLUGIN_NAME_I18N)#"/usr/share/vdr/"PLUGIN_NAME_I18N#' + + if ! has_version ">=media-video/vdr-1.7.13"; then + sed -i "s:-include \$(VDRDIR)/Make.global:#-include \$(VDRDIR)/Make.global:" Makefile + fi + + if use imagemagick; then + # Prefer imagemagick over graphicsmagick + if has_version "media-gfx/imagemagick"; then + imagelib="imagemagick" + elif has_version "media-gfx/graphicsmagick"; then + imagelib="graphicsmagick" + fi + elif use imlib; then + imagelib="imlib2" + else + imagelib="none" + fi + sed -i -e "s:\(IMAGELIB[[:space:]]*=\) .*:\1 ${imagelib}:" Makefile || die + + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.27"; then + epatch "${FILESDIR}/vdr-1.7.27.diff" + fi + + epatch "${FILESDIR}/${P}_vdr-2.1.2.diff" +} + +src_install() { + vdr-plugin-2_src_install + + keepdir "/usr/share/vdr/${VDRPLUGIN}" + + dodoc CONTRIBUTORS + + if use doc; then + dodoc Docs/{Reference,Tutorial}.txt + fi + + if use contrib; then + dodoc -r contrib/ + fi +} diff --git a/media-plugins/vdr-ttxtsubs/Manifest b/media-plugins/vdr-ttxtsubs/Manifest new file mode 100644 index 000000000000..7f6436da12c3 --- /dev/null +++ b/media-plugins/vdr-ttxtsubs/Manifest @@ -0,0 +1 @@ +DIST vdr-ttxtsubs-0.3.0.tar.gz 58956 SHA256 93015b1260b6094a2c6a5a5643dfc1ca3ffd7a51c165e47a0bb009ca4e0c2d8b SHA512 60edbbc152e4c168dbc91f67f2105f9e9536f108ba0210a8834d950659a0923bc7bc23f44dcfa484135d5d9a6f89abb4e90f0ad39db826ad41c8f1192446bc56 WHIRLPOOL 016525ef7c671110d5f960ceeddec65e13336e68bfb927097b5c3ca14d5af36880f87d10e39db43b4f6bdb4bcfabd5a10516acac87e8fa2ddecc7a1ea3af8d99 diff --git a/media-plugins/vdr-ttxtsubs/metadata.xml b/media-plugins/vdr-ttxtsubs/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-ttxtsubs/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0.ebuild b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0.ebuild new file mode 100644 index 000000000000..8c1994a7ef84 --- /dev/null +++ b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1281" # every bump, new version! + +DESCRIPTION="VDR Plugin: displaying, recording and replaying teletext based subtitles" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-ttxtsubs" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.38[ttxtsubs]" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-tvguide/Manifest b/media-plugins/vdr-tvguide/Manifest new file mode 100644 index 000000000000..89fa2686a740 --- /dev/null +++ b/media-plugins/vdr-tvguide/Manifest @@ -0,0 +1,2 @@ +DIST vdr-tvguide-1.2.1.tgz 3858723 SHA256 24fe835be9d7883248af11e9516f7d65933c47bfa7716002e5824e6f14ae9642 SHA512 ef57d1c6a65f0dae1af161c8012a23cfbb9a32d72507b5cd1cabaa96554ef089994e7f23211927569d12b4da9c9b16f1745c861b89243f3e2a0aa3dcbf96f433 WHIRLPOOL 50e39369ce5a94f224ecad25ee4913c78e8f61f6c762f6d0a6d71558f705d768a85a25620cea41bdf2d12fe81754fb1df82f74e3cf56d5b33103f4322b0e626e +DIST vdr-tvguide-1.2.2.tgz 3862840 SHA256 d2a1d8fdc1f4baeddd3cf4b240584acb8f8c148b261287c0ce32686724602f75 SHA512 53b57a34a8816235366754b0e12bc574188c5602f302b68b09cc9c13c369b22799738f28e0d50dab66d485c7591bcc8b2c168c4cf5ad15cd822479148f4bd5d9 WHIRLPOOL e645b9dbb3640dc0dec742feb35bde157f19150cd42b3001ab2ad02cca547f639e4b56d79a50d4c48caf28b78feef08fd7adf533ae6a5dd6c5037ca3cd2d02b1 diff --git a/media-plugins/vdr-tvguide/files/confd b/media-plugins/vdr-tvguide/files/confd new file mode 100644 index 000000000000..da32e1adb22d --- /dev/null +++ b/media-plugins/vdr-tvguide/files/confd @@ -0,0 +1,12 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# /etc/conf.d/vdr.tvguide +# Configuration file for the VDR skin nOpacity + +#TVGUIDE_EPGIMAGESPATH= + +#TVGUIDE_ICONSPATH= + +#TVGUIDE_LOGOPATH= diff --git a/media-plugins/vdr-tvguide/files/rc-addon.sh b/media-plugins/vdr-tvguide/files/rc-addon.sh new file mode 100644 index 000000000000..6af48aed41d1 --- /dev/null +++ b/media-plugins/vdr-tvguide/files/rc-addon.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +plugin_pre_vdr_start() { + if [ -n "${TVGUIDE_EPGIMAGESPATH}" ]; then + add_plugin_param "-e ${TVGUIDE_EPGIMAGESPATH}" + fi + + if [ -n "${TVGUIDE_ICONSPATH}" ]; then + add_plugin_param "-i ${TVGUIDE_ICONSPATH}" + fi + + if [ -n "${TVGUIDE_LOGOPATH}" ]; then + add_plugin_param "-l ${TVGUIDE_LOGOPATH}" + fi +} diff --git a/media-plugins/vdr-tvguide/metadata.xml b/media-plugins/vdr-tvguide/metadata.xml new file mode 100644 index 000000000000..ceb45da48f62 --- /dev/null +++ b/media-plugins/vdr-tvguide/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>idl0r@gentoo.org</email> + <name>Christian Ruppert</name> + </maintainer> + <herd>media-tv</herd> +</pkgmetadata> diff --git a/media-plugins/vdr-tvguide/vdr-tvguide-1.2.1.ebuild b/media-plugins/vdr-tvguide/vdr-tvguide-1.2.1.ebuild new file mode 100644 index 000000000000..ac87247c922c --- /dev/null +++ b/media-plugins/vdr-tvguide/vdr-tvguide-1.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${P/vdr-}" + +VERSION="1627" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: highly customizable 2D EPG viewer" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-tvguide" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick ) + media-plugins/vdr-epgsearch" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version media-gfx/graphicsmagick; then + sed -i -e 's:^IMAGELIB =.*:IMAGELIB = graphicsmagick:' Makefile + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "See http://projects.vdr-developer.org/projects/skin-nopacity/wiki" + einfo "for more information about how to use channel logos" +} diff --git a/media-plugins/vdr-tvguide/vdr-tvguide-1.2.2.ebuild b/media-plugins/vdr-tvguide/vdr-tvguide-1.2.2.ebuild new file mode 100644 index 000000000000..d9bf26ed5291 --- /dev/null +++ b/media-plugins/vdr-tvguide/vdr-tvguide-1.2.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${P/vdr-}" + +VERSION="1701" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: highly customizable 2D EPG viewer" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-tvguide" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick ) + media-plugins/vdr-epgsearch" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version media-gfx/graphicsmagick; then + sed -i -e 's:^IMAGELIB =.*:IMAGELIB = graphicsmagick:' Makefile + fi +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "See http://projects.vdr-developer.org/projects/skin-nopacity/wiki" + einfo "for more information about how to use channel logos" +} diff --git a/media-plugins/vdr-undelete/Manifest b/media-plugins/vdr-undelete/Manifest new file mode 100644 index 000000000000..a328889d8714 --- /dev/null +++ b/media-plugins/vdr-undelete/Manifest @@ -0,0 +1 @@ +DIST vdr-undelete-0.0.7.tgz 34655 SHA256 f77e2eaa298d005c475ab37cba1efc71b04888af4061d4b8edf29938e2e9a991 SHA512 c4d634580d91c3d3601767bb29cfe12e0bd13f9d8fd5bab31a3388db1f8724544b371b4ba333cd524aa5243554015517f487f6e8f2de31bd747f1094ba1c84ff WHIRLPOOL 884e1b19836d021ca6c922997e8cee466e513ae9acdd7527274e8d831a3a13aefe92281477d2fc0207b19fa503f3a1234686381dde0c71b655b07b6767997b32 diff --git a/media-plugins/vdr-undelete/files/undelete-0.0.6-info.diff b/media-plugins/vdr-undelete/files/undelete-0.0.6-info.diff new file mode 100644 index 000000000000..af4314706c30 --- /dev/null +++ b/media-plugins/vdr-undelete/files/undelete-0.0.6-info.diff @@ -0,0 +1,25 @@ +--- undelete-0.0.6/menuundelete.c.orig 2006-03-22 01:18:57.000000000 -0800 ++++ undelete-0.0.6/menuundelete.c 2006-03-22 01:19:54.000000000 -0800 +@@ -422,7 +422,7 @@ + case 7: recording = GetRecording(item); + #if VDRVERSNUM >= 10325 + if (recording && recording->Info() && recording->Info()->Description() && *recording->Info()->Description()) +- state = AddSubMenu(new cMenuText(tr("Summary"), recording->Info()->Description())); ++ state = AddSubMenu(new cMenuText(tr("Info"), recording->Info()->Description())); + #else + if (recording && recording->Summary() && *recording->Summary()) + state = AddSubMenu(new cMenuText(tr("Summary"), recording->Summary())); +--- undelete-0.0.6/undelete.c.orig 2006-03-22 01:20:06.000000000 -0800 ++++ undelete-0.0.6/undelete.c 2006-03-22 01:23:58.000000000 -0800 +@@ -282,7 +282,11 @@ + FunctionHotKey[4] = tr("Display$purge all"); + FunctionHotKey[5] = tr("Display$salvage all"); + FunctionHotKey[6] = tr("Open"); ++#if VDRVERSNUM >= 10325 ++ FunctionHotKey[7] = tr("Info"); ++#else + FunctionHotKey[7] = tr("Summary"); ++#endif + FunctionHotKey[8] = tr("Display$<--1"); + FunctionHotKey[9] = tr("Display$2-->"); + FunctionHotKey[10] = tr("Display$disp. keys"); diff --git a/media-plugins/vdr-undelete/files/undelete-0.0.6-vdr-1.5.7.diff b/media-plugins/vdr-undelete/files/undelete-0.0.6-vdr-1.5.7.diff new file mode 100644 index 000000000000..91f69f6dc96e --- /dev/null +++ b/media-plugins/vdr-undelete/files/undelete-0.0.6-vdr-1.5.7.diff @@ -0,0 +1,14 @@ +--- undelete-0.0.6/undelete.c.orig 2007-08-13 06:46:16.000000000 -0700 ++++ undelete-0.0.6/undelete.c 2007-08-13 06:59:10.000000000 -0700 +@@ -198,7 +198,11 @@ + private: + // Add any member variables or functions you may need here. + void FreeKeyNames(void); ++#if VDRVERSNUM >= 10507 ++ char* OSDLanguage; ++#else + int OSDLanguage; ++#endif + void TestAndSetOSDLanguage(void); + bool ProcessArg(int argc, char *argv[]); + #ifdef UND_Debug diff --git a/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch new file mode 100644 index 000000000000..5a87bd23f009 --- /dev/null +++ b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur undelete-0.0.6.orig/undelete.c undelete-0.0.6/undelete.c +--- undelete-0.0.6.orig/undelete.c 2006-03-15 23:12:06.000000000 +0200 ++++ undelete-0.0.6/undelete.c 2009-08-09 22:08:26.000000000 +0300 +@@ -934,7 +934,7 @@ + if (verbose.u) + isyslog("%s: undelete recording (%s)", plugin_name, recording->FileName()); + cString NewName = recording->FileName(); +- char *ext = strrchr(NewName, '.'); ++ char *ext = const_cast<char*> (strrchr(NewName, '.')); + if (!strcmp(ext, DELEXT)) + { + strncpy(ext, RECEXT, strlen(ext)); diff --git a/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6_vdr-1.7.3.diff b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6_vdr-1.7.3.diff new file mode 100644 index 000000000000..fc5941d4fbdc --- /dev/null +++ b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6_vdr-1.7.3.diff @@ -0,0 +1,76 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 92_undelete-0.0.6-1.7.3.dpatch by Thomas Gnther <tom@toms-cafe.de> +## http://toms-cafe.de/vdr/download/undelete-0.0.6-1.7.3.diff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes for VDR >= 1.7.3. + +@DPATCH@ +--- undelete-0.0.6/menuundelete.c ++++ undelete-0.0.6/menuundelete.c +@@ -672,11 +672,20 @@ eOSState cMenuUndelete::ProcessKey(eKeys + processerror = true; + } + SalvageRecording = true; ++#if VDRVERSNUM >= 10703 ++ cIndexFile *index = new cIndexFile(NewName, false, recording->IsPesRecording()); ++#else + cIndexFile *index = new cIndexFile(NewName, false); ++#endif + int LastFrame = index->Last() - 1; + if (LastFrame > 0) { ++#if VDRVERSNUM >= 10703 ++ uint16_t FileNumber = 0; ++ off_t FileOffset = 0; ++#else + uchar FileNumber = 0; + int FileOffset = 0; ++#endif + index->Get(LastFrame, &FileNumber, &FileOffset); + delete index; + if (FileNumber == 0) { +@@ -686,7 +695,11 @@ eOSState cMenuUndelete::ProcessKey(eKeys + } else { + for (int i = 1; i <= FileNumber; i++) { + char *temp; ++#if VDRVERSNUM >= 10703 ++ asprintf(&temp, recording->IsPesRecording() ? "%s/%03d.vdr" : "%s/%05d.ts", (const char *)NewName, i); ++#else + asprintf(&temp, "%s/%03d.vdr", (const char *)NewName, i); ++#endif + if (access(temp, R_OK) != 0) { + i = FileNumber; + if (verbose.u) +--- undelete-0.0.6/undelete.c ++++ undelete-0.0.6/undelete.c +@@ -956,17 +956,30 @@ cString cPluginUndelete::SVDRPCommand(co + asprintf(&temp, "%sS#%d#", SVDRP_Process ? SVDRP_Process : "", recnumber); + free(SVDRP_Process); + SVDRP_Process = temp; ++#if VDRVERSNUM >= 10703 ++ cIndexFile *index = new cIndexFile(NewName, false, recording->IsPesRecording()); ++#else + cIndexFile *index = new cIndexFile(NewName, false); ++#endif + int LastFrame = index->Last() - 1; + if (LastFrame > 0) { ++#if VDRVERSNUM >= 10703 ++ uint16_t FileNumber = 0; ++ off_t FileOffset = 0; ++#else + uchar FileNumber = 0; + int FileOffset = 0; ++#endif + index->Get(LastFrame, &FileNumber, &FileOffset); + delete index; + if (FileNumber == 0) + return cString::sprintf("error while read last filenumber for \"%s\" [%s]", Option, recording->Title()); + for (int i = 1; i <= FileNumber; i++) { ++#if VDRVERSNUM >= 10703 ++ asprintf(&temp, recording->IsPesRecording() ? "%s/%03d.vdr" : "%s/%05d.ts", (const char *)NewName, i); ++#else + asprintf(&temp, "%s/%03d.vdr", (const char *)NewName, i); ++#endif + if (access(temp, R_OK) != 0) { + free(temp); + return cString::sprintf("error accessing vdrfile %03d for \"%s\" [%s]", i, Option, recording->Title()); diff --git a/media-plugins/vdr-undelete/metadata.xml b/media-plugins/vdr-undelete/metadata.xml new file mode 100644 index 000000000000..7b718b6f9765 --- /dev/null +++ b/media-plugins/vdr-undelete/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-undelete/vdr-undelete-0.0.7-r1.ebuild b/media-plugins/vdr-undelete/vdr-undelete-0.0.7-r1.ebuild new file mode 100644 index 000000000000..d252452bb5bb --- /dev/null +++ b/media-plugins/vdr-undelete/vdr-undelete-0.0.7-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1060" # every bump, new version! + +DESCRIPTION="VDR Plugin: Recover deleted recordings of VDR" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-undelete" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.2"; then + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ + -i menuundelete.c + + sed -e "s#RemoveVideoFile#cVideoDirectory::RemoveVideoFile#" \ + -i undelete.c menuundelete.c + + sed -e "s#RenameVideoFile#cVideoDirectory::RenameVideoFile#" \ + -i undelete.c menuundelete.c + + sed -e "s#RemoveEmptyVideoDirectories#cVideoDirectory::RemoveEmptyVideoDirectories#" \ + -i undelete.c + fi +} diff --git a/media-plugins/vdr-undelete/vdr-undelete-0.0.7.ebuild b/media-plugins/vdr-undelete/vdr-undelete-0.0.7.ebuild new file mode 100644 index 000000000000..08abb4d1be7c --- /dev/null +++ b/media-plugins/vdr-undelete/vdr-undelete-0.0.7.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="1060" # every bump, new version! + +DESCRIPTION="VDR Plugin: Recover deleted recordings of VDR" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-undelete" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.7" +RDEPEND="${DEPEND}" diff --git a/media-plugins/vdr-vcd/Manifest b/media-plugins/vdr-vcd/Manifest new file mode 100644 index 000000000000..95700243ed8e --- /dev/null +++ b/media-plugins/vdr-vcd/Manifest @@ -0,0 +1 @@ +DIST vdr-vcd-0.9.tgz 33687 SHA256 2bd719062db928f9193127a0936c1892cb8cb19b3c88e32a41cd9c25e411c37e SHA512 d1d58a5395877da38ee16f6b338e957781a4369497b9a3f92b80ce8b3577eb4a2387108d1da8889c3195b49c3b0f0e6baebc9c1868a35d7727de0c2b6e81469b WHIRLPOOL f47d7bfe21157168d4236431fcc9536b697e4f96cc58898ced746b62617115d5e91bed3137270832b4a42345571347bb10b1e90755f23ddb678fccaeb32c9929 diff --git a/media-plugins/vdr-vcd/files/confd b/media-plugins/vdr-vcd/files/confd new file mode 100644 index 000000000000..f7a429d1a283 --- /dev/null +++ b/media-plugins/vdr-vcd/files/confd @@ -0,0 +1,11 @@ +# /etc/conf.d/vdr.vcd: +# $Id$ + +# Config file for vdr plugin vcd + +#Device to read VCDs from +# allowed values: cdrom-device names +# default: VDR_CDREADER from /etc/conf.d/vdr.cd-dvd +# (or if file does not exist /dev/cdrom) +#VCD_DEVICE="/dev/cdrom" + diff --git a/media-plugins/vdr-vcd/files/rc-addon.sh b/media-plugins/vdr-vcd/files/rc-addon.sh new file mode 100755 index 000000000000..ba0bcca6e041 --- /dev/null +++ b/media-plugins/vdr-vcd/files/rc-addon.sh @@ -0,0 +1,8 @@ +# plugin-startup-skript for vcd-plugin + +plugin_pre_vdr_start() { + [ -e /etc/conf.d/vdr.cd-dvd ] && . /etc/conf.d/vdr.cd-dvd + : ${VDR_CDREADER:=/dev/cdrom} + : ${VCD_DEVICE:=${VDR_CDREADER}} + add_plugin_param "--vcd ${VCD_DEVICE}" +} diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.7-vdr-1.5.diff b/media-plugins/vdr-vcd/files/vdr-vcd-0.7-vdr-1.5.diff new file mode 100644 index 000000000000..1daefefd2431 --- /dev/null +++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.7-vdr-1.5.diff @@ -0,0 +1,33 @@ +diff -NaurwB vcd-0.7-1.4.5/menucontrol.c vcd-0.7-1.5.0/menucontrol.c +--- vcd-0.7-1.4.5/menucontrol.c 2006-07-05 15:09:23.000000000 +0200 ++++ vcd-0.7-1.5.0/menucontrol.c 2007-01-19 11:10:51.000000000 +0100 +@@ -63,7 +63,8 @@ + { + if (visible) { + delete displayReplay; +- needsFastResponse = visible = false; ++ visible = false; ++ SetNeedsFastResponse(visible); + modeOnly = false; + } + } +@@ -170,7 +171,8 @@ + { + if (visible) { + delete displayReplay; +- needsFastResponse = visible = false; ++ visible = false; ++ SetNeedsFastResponse(visible); + modeOnly = false; + lastPlay = lastForward = false; + lastSpeed = -1; +@@ -210,7 +212,8 @@ + if (GetIndex(Current, Total) && Total > 0) { + if (!visible) { + displayReplay = Skins.Current()->DisplayReplay(modeOnly); +- needsFastResponse = visible = true; ++ visible = true; ++ SetNeedsFastResponse(visible); + } + if (Initial) { + lastCurrent = lastTotal = -1; diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch new file mode 100644 index 000000000000..69aefba987a7 --- /dev/null +++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/show_bug.cgi?id=503452 +patch provided by E.Seifert + +--- vcd-0.9/player.c 2008-01-16 13:26:38.000000000 +0100 ++++ vcd-0.9/player.c 2014-03-04 22:07:39.374281971 +0100 +@@ -161,7 +161,11 @@ + int sp = (Speeds[nts] > 0) ? Mult / Speeds[nts] : -Speeds[nts] * Mult; + if (sp > MAX_VIDEO_SLOWMOTION) + sp = MAX_VIDEO_SLOWMOTION; ++#if VDRVERSNUM >= 20103 ++ DeviceTrickSpeed(sp,true); ++#else + DeviceTrickSpeed(sp); ++#endif + } + } + diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff new file mode 100644 index 000000000000..b9da87923edd --- /dev/null +++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_vdr-1.7.2.diff @@ -0,0 +1,17 @@ +compile fix for >=vdr-1.7.2 +Joerg Bornkessel <hd_brummy@gentoo.org> 07 May 2009 +diff -Naur vcd-0.9.orig/player.h vcd-0.9/player.h +--- vcd-0.9.orig/player.h 2009-05-07 17:10:46.839425275 +0200 ++++ vcd-0.9/player.h 2009-05-07 17:12:55.446843178 +0200 +@@ -42,6 +42,11 @@ + #define VIDEO_STREAM_SC 0xE0 + #define SC_MASK 0xE0 + ++#if VDRVERSNUM > 10701 ++#define I_FRAME 1 ++#define FRAMESPERSEC 25 ++#endif ++ + class cVcdPlayer; + + class cVcdPlayerControl : public cControl { diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.9_xgettext.diff b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_xgettext.diff new file mode 100644 index 000000000000..6228cc7319fe --- /dev/null +++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_xgettext.diff @@ -0,0 +1,271 @@ +https://bugs.gentoo.org/show_bug.cgi?id=414247 +fixed missing xgettext +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> ( 2012/11/02 ) +diff -Naur vcd-0.9.old/Makefile vcd-0.9/Makefile +--- vcd-0.9.old/Makefile 2008-01-16 16:29:39.000000000 +0100 ++++ vcd-0.9/Makefile 2012-10-30 14:06:02.163762996 +0100 +@@ -53,7 +53,7 @@ + + ### The object files (add further files here): + +-OBJS = $(PLUGIN).o functions.o i18n.o menu.o player.o viewer.o setup.o menucontrol.o psd.o psdcontrol.o ++OBJS = $(PLUGIN).o functions.o menu.o player.o viewer.o setup.o menucontrol.o psd.o psdcontrol.o + + ### Implicit rules: + +@@ -69,9 +69,34 @@ + + -include $(DEPFILE) + ++### Internationalization (I18N): ++ ++PODIR = po ++LOCALEDIR = $(VDRDIR)/locale ++I18Npo = $(wildcard $(PODIR)/*.po) ++I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) ++I18Npot = $(PODIR)/$(PLUGIN).pot ++ ++%.mo: %.po ++ msgfmt -c -o $@ $< ++ ++$(I18Npot): $(wildcard *.c) ++ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<dev@erichseifert.de>' -o $@ $^ ++ ++%.po: $(I18Npot) ++ msgmerge -U --no-wrap --no-location --backup=none -q $@ $< ++ @touch $@ ++ ++$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo ++ @mkdir -p $(dir $@) ++ cp $< $@ ++ ++.PHONY: i18n ++i18n: $(I18Nmsgs) ++ + ### Targets: + +-all: libvdr-$(PLUGIN).so ++all: libvdr-$(PLUGIN).so i18n + + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ +@@ -86,4 +111,5 @@ + @echo Distribution package created as $(PACKAGE).tgz + + clean: ++ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ +diff -Naur vcd-0.9.old/menu.c vcd-0.9/menu.c +--- vcd-0.9.old/menu.c 2008-01-20 17:59:46.000000000 +0100 ++++ vcd-0.9/menu.c 2012-10-30 14:04:10.837681821 +0100 +@@ -26,7 +26,7 @@ + + #include <vdr/interface.h> + #include <vdr/status.h> +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "menu.h" + #include "functions.h" + #include "setup.h" +diff -Naur vcd-0.9.old/menucontrol.c vcd-0.9/menucontrol.c +--- vcd-0.9.old/menucontrol.c 2008-01-16 13:43:39.000000000 +0100 ++++ vcd-0.9/menucontrol.c 2012-10-30 14:03:43.051660837 +0100 +@@ -26,7 +26,7 @@ + + #include <vdr/interface.h> + #include <vdr/status.h> +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "menu.h" + #include "functions.h" + #include "setup.h" +diff -Naur vcd-0.9.old/po/de_DE.po vcd-0.9/po/de_DE.po +--- vcd-0.9.old/po/de_DE.po 1970-01-01 01:00:00.000000000 +0100 ++++ vcd-0.9/po/de_DE.po 2012-10-30 14:08:28.409871746 +0100 +@@ -0,0 +1,62 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@tvdr.de> ++# This file is distributed under the same license as the VDR package. ++# Klaus Schmidinger <kls@tvdr.de>, 2000 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: <dev@erichseifert.de>\n" ++"POT-Creation-Date: 2012-10-30 14:10+0200\n" ++"PO-Revision-Date: 2012-10-30 14:10+0200\n" ++"Last-Translator: Klaus Schmidinger <kls@tvdr.de>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-15\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++msgid "VideoCD" ++msgstr "VideoCD" ++ ++msgid "No VideoCD detected" ++msgstr "Keine VideoCD erkannt" ++ ++msgid "Eject" ++msgstr "Auswerfen" ++ ++msgid "Key$Play" ++msgstr "" ++ ++msgid "Tracks" ++msgstr "Tracks" ++ ++msgid "SPI" ++msgstr "SPI" ++ ++msgid "Jump: " ++msgstr "" ++ ++msgid "VCD" ++msgstr "VCD" ++ ++msgid "Setup.VCD$Drive speed" ++msgstr "Laufwerkgeschwindigkeit" ++ ++msgid "Setup.VCD$Broken mode" ++msgstr "Nicht standardkonform" ++ ++msgid "Setup.VCD$Hide main menu entry" ++msgstr "Hauptmeneintrag ausblenden" ++ ++msgid "Setup.VCD$Play tracks continuously" ++msgstr "Tracks nacheinander abspielen" ++ ++msgid "Setup.VCD$Autostart replay" ++msgstr "Wiedergabe automatisch starten" ++ ++msgid "Setup.VCD$Play sequence replay" ++msgstr "Wiedergabe nach Sequenz" ++ ++msgid "No disc inserted" ++msgstr "Keine CD eingelegt" +diff -Naur vcd-0.9.old/po/it_IT.po vcd-0.9/po/it_IT.po +--- vcd-0.9.old/po/it_IT.po 1970-01-01 01:00:00.000000000 +0100 ++++ vcd-0.9/po/it_IT.po 2012-10-30 14:08:28.414871756 +0100 +@@ -0,0 +1,64 @@ ++# VDR plugin language source file. ++# Copyright (C) 2007 Klaus Schmidinger <kls@tvdr.de> ++# This file is distributed under the same license as the VDR package. ++# Alberto Carraro <bertocar@tin.it>, 2001 ++# Antonio Ospite <ospite@studenti.unina.it>, 2003 ++# Sean Carlos <seanc@libero.it>, 2005 ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: VDR 1.7.27\n" ++"Report-Msgid-Bugs-To: <dev@erichseifert.de>\n" ++"POT-Creation-Date: 2012-10-30 14:10+0200\n" ++"PO-Revision-Date: 2012-10-30 14:10+0200\n" ++"Last-Translator: Sean Carlos <seanc@libero.it>\n" ++"Language-Team: <vdr@linuxtv.org>\n" ++"Language: \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=ISO-8859-15\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++msgid "VideoCD" ++msgstr "VideoCD" ++ ++msgid "No VideoCD detected" ++msgstr "Nessun VideoCD trovato" ++ ++msgid "Eject" ++msgstr "Eject" ++ ++msgid "Key$Play" ++msgstr "" ++ ++msgid "Tracks" ++msgstr "Tracce" ++ ++msgid "SPI" ++msgstr "SPI" ++ ++msgid "Jump: " ++msgstr "" ++ ++msgid "VCD" ++msgstr "VCD" ++ ++msgid "Setup.VCD$Drive speed" ++msgstr "Velocit lettore" ++ ++msgid "Setup.VCD$Broken mode" ++msgstr "Mod. non standard" ++ ++msgid "Setup.VCD$Hide main menu entry" ++msgstr "Nascondi voce nel menu principale" ++ ++msgid "Setup.VCD$Play tracks continuously" ++msgstr "Riproduci tracce in modo continuo" ++ ++msgid "Setup.VCD$Autostart replay" ++msgstr "Riproduzione automatica all'avvio" ++ ++msgid "Setup.VCD$Play sequence replay" ++msgstr "Riproduci in sequenza" ++ ++msgid "No disc inserted" ++msgstr "Nessun disco inserito" +diff -Naur vcd-0.9.old/psd.c vcd-0.9/psd.c +--- vcd-0.9.old/psd.c 2008-01-20 17:59:59.000000000 +0100 ++++ vcd-0.9/psd.c 2012-10-30 14:02:55.840626223 +0100 +@@ -21,7 +21,7 @@ + */ + + +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "psd.h" + #include "psdcontrol.h" + +diff -Naur vcd-0.9.old/psdcontrol.c vcd-0.9/psdcontrol.c +--- vcd-0.9.old/psdcontrol.c 2008-01-16 13:30:53.000000000 +0100 ++++ vcd-0.9/psdcontrol.c 2012-10-30 14:02:42.015616358 +0100 +@@ -27,7 +27,7 @@ + + #include <vdr/interface.h> + #include <vdr/status.h> +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "functions.h" + #include "setup.h" + #include "psdcontrol.h" +diff -Naur vcd-0.9.old/setup.c vcd-0.9/setup.c +--- vcd-0.9.old/setup.c 2008-01-15 16:27:44.000000000 +0100 ++++ vcd-0.9/setup.c 2012-10-30 14:02:26.782605650 +0100 +@@ -22,7 +22,7 @@ + + #include <vdr/menuitems.h> + #include "setup.h" +-#include "i18n.h" ++#include <vdr/i18n.h> + + cVcdSetupData VcdSetupData; + +diff -Naur vcd-0.9.old/vcd.c vcd-0.9/vcd.c +--- vcd-0.9.old/vcd.c 2008-01-16 13:33:17.000000000 +0100 ++++ vcd-0.9/vcd.c 2012-10-30 14:01:52.628580657 +0100 +@@ -25,7 +25,7 @@ + #include <vdr/interface.h> + #include <vdr/plugin.h> + #include "functions.h" +-#include "i18n.h" ++#include <vdr/i18n.h> + #include "menu.h" + #include "menucontrol.h" + #include "psdcontrol.h" +@@ -100,7 +100,6 @@ + + bool cPluginVcd::Start(void) + { +- RegisterI18n(Phrases); + if (option_vcd) + vcd = new cVcd(option_vcd); + else diff --git a/media-plugins/vdr-vcd/metadata.xml b/media-plugins/vdr-vcd/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-vcd/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-vcd/vdr-vcd-0.9-r1.ebuild b/media-plugins/vdr-vcd/vdr-vcd-0.9-r1.ebuild new file mode 100644 index 000000000000..cd5f05287278 --- /dev/null +++ b/media-plugins/vdr-vcd/vdr-vcd-0.9-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: play video cds" + +HOMEPAGE="http://www.heiligenmann.de/" +SRC_URI=" http://www.heiligenmann.de/vdr/download/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.9" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_xgettext.diff" + "${FILESDIR}/${P}_vdr-1.7.2.diff" ) + +src_prepare() { + vdr-plugin-2_src_prepare + + # Patch Makefile, as VDRDIR is no well known variable name + # to stop spare -I in gcc cmdline + sed -e 's:$(VDRINC):$(VDRDIR)/include:' -i Makefile +} diff --git a/media-plugins/vdr-vcd/vdr-vcd-0.9-r2.ebuild b/media-plugins/vdr-vcd/vdr-vcd-0.9-r2.ebuild new file mode 100644 index 000000000000..a38ce4a329ce --- /dev/null +++ b/media-plugins/vdr-vcd/vdr-vcd-0.9-r2.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 vdr-plugin-2 + +DESCRIPTION="VDR plugin: play video cds" + +HOMEPAGE="http://www.heiligenmann.de/" +SRC_URI=" http://www.heiligenmann.de/vdr/download/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.5.9" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_xgettext.diff" + "${FILESDIR}/${P}_vdr-1.7.2.diff" + "${FILESDIR}/${P}_devicetrickspeed.patch" ) + +src_prepare() { + vdr-plugin-2_src_prepare + + # Patch Makefile, as VDRDIR is no well known variable name + # to stop spare -I in gcc cmdline + sed -e 's:$(VDRINC):$(VDRDIR)/include:' -i Makefile +} diff --git a/media-plugins/vdr-vdrmanager/Manifest b/media-plugins/vdr-vdrmanager/Manifest new file mode 100644 index 000000000000..2a74e5246989 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/Manifest @@ -0,0 +1 @@ +DIST vdr-vdrmanager-0.12.tar.gz 34404 SHA256 33afac8cc07b47ad3cd689ece82b086761eb57a27bb6084dfcef178ba40337ca SHA512 a5b962c53c636c899f2ce62a4f20bc123fb5d4603d506c51b6450fde86348bc5192697876e03bf22952197846f7cf828d743727de0c9903420a05c0c07172265 WHIRLPOOL 8e007ffc94cfc6fb32cda6dfbad7962f977dd3f8aff49860e7825d26c79bb02efa08729e4b1e53af2ed58c4b0c88490ffe38cb69d4d421a043945e626a73e93b diff --git a/media-plugins/vdr-vdrmanager/files/confd b/media-plugins/vdr-vdrmanager/files/confd new file mode 100644 index 000000000000..121ec45f229d --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/confd @@ -0,0 +1,29 @@ +# $Id$ +# /etc/conf.d/vdr.vdrmanager + +# Parameters for vdr-plugin-vdrmanager +# +# For more details see: +# http://projects.vdr-developer.org/projects/vdr-manager/wiki + +# Set the port where the plugin is listen on +# allowed values: port number +# default: 6420 +# +#VDRMANAGER_PORT="6420" + +# Set the password where the plugin/app is listen on +# allowed values: your_password +# default: +# +VDRMANAGER_PASS="" + +# Force check against svdrphosts.conf +# change this to yes, if you have added a static IP +# for access outside from your LAN +# +# allowed values: yes | no +# default: no +# +#SVDRPHOSTS_CHECK="no" + diff --git a/media-plugins/vdr-vdrmanager/files/confd-0.12 b/media-plugins/vdr-vdrmanager/files/confd-0.12 new file mode 100644 index 000000000000..1e95ed5bbd4e --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/confd-0.12 @@ -0,0 +1,42 @@ +# $Id$ +# /etc/conf.d/vdr.vdrmanager + +# Parameters for vdr-plugin-vdrmanager +# +# For more details see: +# http://projects.vdr-developer.org/projects/vdr-manager/wiki + +# Set the port where the plugin is listen on +# allowed values: port number +# default: 6420 +# default port on ssl connection is always VDRMANAGER_PORT +1 +# this means, if you enable ssl support on your android vdrmanager app +# add +1 in the app port setup, else it will still the non ssl connection be used +# try to remember on this ;) +# +#VDRMANAGER_PORT="6420" + +# Set the password where the plugin/app is listen on +# allowed values: your_password +# default: +# +VDRMANAGER_PASS="" + +# Force check against svdrphosts.conf +# change this to yes, if you have added a static IP +# for access outside from your LAN +# +# allowed values: yes | no +# default: no +# +#SVDRPHOSTS_CHECK="no" + +# Compressionsmode for data transfer +# 'g' for gzip, if you has use-flag gzip enabled on plugin install +# 'z' for zlib, if you has use-flag zlib enabled on plugin install +# 'n' for none, if you would like to disable compression +# +# allowed values: g | z | n +# default: unset +# +#VDRMANAGER_COMPRESSION="" diff --git a/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh b/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh new file mode 100644 index 000000000000..0ee192398af8 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/rc-addon-0.12.sh @@ -0,0 +1,29 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-vdrmanager +# + +: ${VDRMANAGER_PORT:=6420} + +# default path from ebuild merge; no option in config file to overwrite +: ${VDRMANAGER_CERTFILE:=/etc/vdr/plugins/vdrmanager/vdrmanager.pem} + +if [[ -z ${VDRMANAGER_PASS} ]]; then + eerror "Empty password in /etc/conf.d/vdr.vdrmanager" + logger -t vdr "ERROR: need password for plugin vdr-manager" +fi + +plugin_pre_vdr_start() { + + add_plugin_param "-p${VDRMANAGER_PORT}" + add_plugin_param "-P${VDRMANAGER_PASS}" + + if yesno ${SVDRPHOSTS_CHECK:-no}; then + add_plugin_param "-s" + fi + + add_plugin_param "-k ${VDRMANAGER_CERTFILE}" + + # vdrmanager_compression + add_plugin_param "-c ${VDRMANAGER_COMPRESSION}" +} diff --git a/media-plugins/vdr-vdrmanager/files/rc-addon.sh b/media-plugins/vdr-vdrmanager/files/rc-addon.sh new file mode 100644 index 000000000000..2effc5efa559 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/rc-addon.sh @@ -0,0 +1,22 @@ +# $Id$ +# +# rc-addon plugin-startup-skript for vdr-vdrmanager +# + +: ${VDRMANAGER_PORT:=6420} + +if [[ -z ${VDRMANAGER_PASS} ]]; then + eerror "Empty password in /etc/conf.d/vdr.vdrmanager" + logger -t vdr "ERROR: need password for plugin vdr-manager" +fi + +plugin_pre_vdr_start() { + + add_plugin_param "-p${VDRMANAGER_PORT}" + add_plugin_param "-P${VDRMANAGER_PASS}" + + if yesno ${SVDRPHOSTS_CHECK:-no}; then + add_plugin_param "-s" + fi +} + diff --git a/media-plugins/vdr-vdrmanager/metadata.xml b/media-plugins/vdr-vdrmanager/metadata.xml new file mode 100644 index 000000000000..2eaf32514317 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <use> + <flag name="stream">Add support for streaming Video to Android client</flag> + </use> +</pkgmetadata> + diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild new file mode 100644 index 000000000000..058bf8c1c98f --- /dev/null +++ b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.12.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 ssl-cert + +VERSION="1747" # every bump, new version + +DESCRIPTION="VDR Plugin: allows remote programming VDR using VDR-Manager running on Android devices" +HOMEPAGE="http://projects.vdr-developer.org/projects/vdr-manager/wiki" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="gzip +ssl -stream zlib" + +DEPEND=">=media-video/vdr-2 + ssl? ( dev-libs/openssl )" +RDEPEND="stream? ( media-plugins/vdr-streamdev[server] ) + zlib? ( sys-libs/zlib )" + +S="${WORKDIR}/${P}" + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.12.sh" +VDR_CONFD_FILE="${FILESDIR}/confd-0.12" + +VDRMANAGER_SSL_KEY_DIR="/etc/vdr/plugins/vdrmanager" +VDRMANAGER_SSL_KEY_FILE="${VDRMANAGER_SSL_KEY_DIR}/vdrmanager" + +make_vdrmanager_cert() { + SSL_COUNTRY="${SSL_COUNTRY:-}" + SSL_STATE="${SSL_STATE:-Unknown}" + SSL_LOCALITY="${VDRMANAGER_SSL_LOCALITY:-Unkown}" + SSL_ORGANIZATION="${VDRMNAGER_SSL_ORGANIZATION:-VDR-Manager Plugin}" + SSL_UNIT="${VDRMANAGER_SSL_UNIT:-VDR Server}" + SSL_COMMONNAME="${VDRMANAGER_SSL_COMMONNAME:-`hostname -f`}" + SSL_EMAIL="${VDRMANAGER_SSL_EMAIL:-Unknown}" + SSL_BITS="${VDRMANAGER_SSL_BITS:-1024}" + SSL_DAYS="${VDRMANAGER_SSL_DAYS:-720}" + + rm -f "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.* + + install_cert ${VDRMANAGER_SSL_KEY_FILE} + + rm -f "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.{crt,csr,key} + chown vdr:vdr "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.pem + chmod 0400 "${ROOT}"${VDRMANAGER_SSL_KEY_FILE}.pem +} + +src_prepare() { + vdr-plugin-2_src_prepare + + BUILD_PARAMS+=" VDRMANAGER_USE_GZIP=$(usex gzip 1 0)" + BUILD_PARAMS+=" VDRMANAGER_USE_SSL=$(usex ssl 1 0)" + BUILD_PARAMS+=" VDRMANAGER_USE_ZLIB=$(usex zlib 1 0)" +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + einfo "Add a password to /etc/conf.d/vdr.vdrmanager" + + if use ssl ; then + if path_exists -a "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"; then + einfo "found an existing SSL cert, to create a new SSL cert, run:\n" + einfo "emerge --config ${PN}" + else + einfo "No SSL cert found, creating a default one now" + make_vdrmanager_cert + fi + fi +} + +pkg_config() { + make_vdrmanager_cert +} diff --git a/media-plugins/vdr-videosystem/Manifest b/media-plugins/vdr-videosystem/Manifest new file mode 100644 index 000000000000..2bffa22f718f --- /dev/null +++ b/media-plugins/vdr-videosystem/Manifest @@ -0,0 +1 @@ +DIST vdr-videosystem-0.0.1.tgz 10578 RMD160 f0d49889607e7e463402441c7d158edf5e47f0b0 SHA1 84d49587dfa4a65b2e86032b4edfdbd681c5b8fe SHA256 7f2178a5e181a4c50a7dfed27a7421020b1ac6c83726d4168b531a0151f69e80 diff --git a/media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff b/media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff new file mode 100644 index 000000000000..81ec8773c675 --- /dev/null +++ b/media-plugins/vdr-videosystem/files/vdr-videosystem-0.0.1-uint64.diff @@ -0,0 +1,12 @@ +diff -ru videosystem-0.0.1-orig/videosystem.c videosystem-0.0.1/videosystem.c +--- videosystem-0.0.1-orig/videosystem.c 2006-12-03 16:03:23.386105568 +0100 ++++ videosystem-0.0.1/videosystem.c 2006-12-03 16:03:31.716095700 +0100 +@@ -45,7 +45,7 @@ + eVideoSystem GetVideoSystem(void); + + bool doexit; +- uint64 time; ++ uint64_t time; + eVideoSystem curVidSys; + bool initialized; + tOsdSettings pal; diff --git a/media-plugins/vdr-videosystem/metadata.xml b/media-plugins/vdr-videosystem/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-videosystem/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-videosystem/vdr-videosystem-0.0.1.ebuild b/media-plugins/vdr-videosystem/vdr-videosystem-0.0.1.ebuild new file mode 100644 index 000000000000..ff24121c815f --- /dev/null +++ b/media-plugins/vdr-videosystem/vdr-videosystem-0.0.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Switch OSD resolution depending on signal-videosystem (PAL/NTSC)" +HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=43516" +SRC_URI="mirror://gentoo/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.18" + +PATCHES=("${FILESDIR}/${P}-uint64.diff") diff --git a/media-plugins/vdr-vodcatcher/Manifest b/media-plugins/vdr-vodcatcher/Manifest new file mode 100644 index 000000000000..cb999b73969e --- /dev/null +++ b/media-plugins/vdr-vodcatcher/Manifest @@ -0,0 +1 @@ +DIST vdr-vodcatcher-0.2.2.tar.gz 126612 SHA256 85f728a5eecc5845d3bb18c97ff96c65ec2cb5653dcf24fb8be604d8c02adf32 SHA512 05a8188888caed5bd656d0ff65b718debdc889e82373b6e00aed4b2ffb942f822f8b6cbff4811d5f4c9b271e1ff8d8ec5874d34081b5ef3c8fc95ac215ce2a22 WHIRLPOOL 27e81685a588892e8f9b36573240ed4f3954c4617aceec6d8d2305f68669ff075da759d1b950802744b188dec41ee43e49841f3b137d8274f4ca4dc8d24d4cb8 diff --git a/media-plugins/vdr-vodcatcher/files/rc-addon.sh b/media-plugins/vdr-vodcatcher/files/rc-addon.sh new file mode 100644 index 000000000000..2072cb268fe4 --- /dev/null +++ b/media-plugins/vdr-vodcatcher/files/rc-addon.sh @@ -0,0 +1,15 @@ +# $Id$ +# +# rc-addon-script for plugin vodcatcher +# +# Joerg Bornkessel <hd_brummy@gentoo.org> + +VODCATCHER_CACHE_DIR=var/cache/vdr-plugin-vodcatcher + +# depends on QA, create paths in /var/cache on the fly at runtime as needed +init_cache_dir() { + if [ ! -d "${VODCATCHER_CACHE_DIR}" ]; then + mkdir -p ${VODCATCHER_CACHE_DIR} + chown vdr:vdr ${VODCATCHER_CACHE_DIR} + fi +} diff --git a/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_gcc-4.7.patch b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_gcc-4.7.patch new file mode 100644 index 000000000000..8472764a8631 --- /dev/null +++ b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_gcc-4.7.patch @@ -0,0 +1,15 @@ +compilefix for gcc-4.7 +https://bugs.gentoo.org/show_bug.cgi?id=514128 +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> 22/Jun/2014 + +diff -Naur vodcatcher-0.2.2.orig/src/LocalFileCache.cc vodcatcher-0.2.2/src/LocalFileCache.cc +--- vodcatcher-0.2.2.orig/src/LocalFileCache.cc 2014-06-22 00:34:55.448489644 +0200 ++++ vodcatcher-0.2.2/src/LocalFileCache.cc 2014-06-22 00:36:11.090546002 +0200 +@@ -24,6 +24,7 @@ + #include "LocalFileCache.h" + #include "SdbmHashCalculator.h" + #include <values.h> ++#include <unistd.h> + + using namespace std; + diff --git a/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_unbundle-tinyxml2.diff b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_unbundle-tinyxml2.diff new file mode 100644 index 000000000000..0f79116cb346 --- /dev/null +++ b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.2_unbundle-tinyxml2.diff @@ -0,0 +1,50 @@ +diff -Naur vodcatcher-0.2.2.orig/Makefile vodcatcher-0.2.2/Makefile +--- vodcatcher-0.2.2.orig/Makefile 2010-09-22 21:51:06.000000000 +0200 ++++ vodcatcher-0.2.2/Makefile 2010-09-22 21:53:11.000000000 +0200 +@@ -50,8 +50,7 @@ + ### Includes and Defines (add further entries here): + + INCLUDES += -I. -I$(VDRDIR)/include -I$(DVBDIR)/include +-INCLUDES += `curl-config --cflags` +-INCLUDES += -I./tinyxml ++INCLUDES += $(shell curl-config --cflags) + + DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + DEFINES += -DCXXTEST_ABORT_TEST_ON_FAIL +@@ -66,7 +65,8 @@ + endif + + # libcurl, libxml, libxml++ +-LIBS += `curl-config --libs` ++LIBS += -lcurl ++LIBS += -ltinyxml + + ### The source files (add further files here): + +diff -Naur vodcatcher-0.2.2.orig/sources.mk vodcatcher-0.2.2/sources.mk +--- vodcatcher-0.2.2.orig/sources.mk 2010-09-22 21:51:06.000000000 +0200 ++++ vodcatcher-0.2.2/sources.mk 2010-09-22 21:53:22.000000000 +0200 +@@ -34,11 +34,6 @@ + src/StreamType.cc \ + src/SynchedDownloadPool.cc \ + src/ThreadsafeDownloadPool.cc \ +- tinyxml/tinystr.cpp \ +- tinyxml/tinyxml.cpp \ +- tinyxml/tinyxmlerror.cpp \ +- tinyxml/tinyxmlparser.cpp \ +- + + SRCS_TESTONLY = \ + src/DownloadCacheMock.cc \ +diff -Naur vodcatcher-0.2.2.orig/src/RssFeedParser.cc vodcatcher-0.2.2/src/RssFeedParser.cc +--- vodcatcher-0.2.2.orig/src/RssFeedParser.cc 2010-09-22 21:51:06.000000000 +0200 ++++ vodcatcher-0.2.2/src/RssFeedParser.cc 2010-09-22 21:53:44.000000000 +0200 +@@ -22,7 +22,7 @@ + #include "HtmlToText.h" + #include "Feed.h" + #include "IDownloadCache.h" +-#include "tinyxml.h" ++#include <tinyxml.h> + #include "Item.h" + + using namespace std; diff --git a/media-plugins/vdr-vodcatcher/metadata.xml b/media-plugins/vdr-vodcatcher/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-vodcatcher/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.2.ebuild b/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.2.ebuild new file mode 100644 index 000000000000..a9b8b5b01eae --- /dev/null +++ b/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: Downloads rss-feeds and passes video enclosures to the mplayer plugin" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-vodcatcher" +SRC_URI="mirror://vdr-developerorg/154/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-misc/curl + >=dev-libs/tinyxml-2.6.1[stl] + media-video/vdr" +RDEPEND="${DEPEND} + || ( media-plugins/vdr-mplayer media-plugins/vdr-xineliboutput )" + +PATCHES=( "${FILESDIR}/${P}_unbundle-tinyxml2.diff" + "${FILESDIR}/${P}_gcc-4.7.patch" ) + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -e "s:ConfigDirectory():ConfigDirectory( \"vodcatcher\" ):" -i src/VodcatcherPlugin.cc +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/vodcatcher/ + doins examples/vodcatchersources.conf +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "! IMPORTEND" + elog "In order to allow the MPlayer plug-in to play back the streams passed in by the" + elog "Vodcatcher, you must add the following entry to the mplayersources.conf file:" + echo + elog "/tmp;Vodcatcher;0" + echo +} diff --git a/media-plugins/vdr-vompserver/Manifest b/media-plugins/vdr-vompserver/Manifest new file mode 100644 index 000000000000..7b5125a9e68f --- /dev/null +++ b/media-plugins/vdr-vompserver/Manifest @@ -0,0 +1,3 @@ +DIST vdr-vompserver-0.3.1.tgz 84183 SHA256 bb9838b1139926bc0bd35e87a750a5aaf937015d78b351361c8611a7610488bd +DIST vdr-vompserver-0.4.0.tgz 87166 SHA256 21437dfaa0a5cec57e211ea5819a96d1b2b56a700bd3e76033a1fb1bd8702b06 SHA512 027b3b63fc8fa34da11cc1841602e89fb48a7345717c22cf796cb24134504991b3056354b459358deb983da93fd6a3e74ddd965e894afcd6ba2bf69c37d058fa WHIRLPOOL 780ee9dd51692456d6b5a8d67c4d273baf77a9c549650416dc7307c0a4386fbf83b2e4df00856008b445875cc21ee665fe06349bf2cf691bae2e7ed91cbbbff2 +DIST vdr-vompserver-0.4.1.tgz 87056 SHA256 c5d2ba4d48c230de1223dcee6edff3a8cdc574a47779569136b39f4f810fdbd9 SHA512 79fbc311b48a752206842f21ec8d864df67aa7614f092b4e6a6623d732d4e053c2e35af7981aaed7d392f6510ebaac59f60640acae540e13c4f38cce04ddd1bd WHIRLPOOL 89ff2f8472a3dae695685417e85b6eef07a993c52ce81b4fee3ed4461b6f9394bf3ee04e41d74bfbc65da2ccb2cf8fff7e66010e083fff9320195a098817372f diff --git a/media-plugins/vdr-vompserver/files/rrprocstart.patch b/media-plugins/vdr-vompserver/files/rrprocstart.patch new file mode 100644 index 000000000000..bccdc9d5700d --- /dev/null +++ b/media-plugins/vdr-vompserver/files/rrprocstart.patch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10-rrprocstart.dpatch by <marten.richter@freenet.de> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Backport of a bug in rrproc + +fix a message overrun when MediaMVP boots +The topic is documented in http://forum.loggytronic.com/index.php?topic=528.0 + +@DPATCH@ +diff -u vdr-plugin-vompserver-new/vompclientrrproc.c vdr-plugin-vompserver-0.3.1/vompclientrrproc.c +--- vdr-plugin-vompserver-new/vompclientrrproc.c 2010-07-05 19:20:11.000000000 +0200 ++++ vdr-plugin-vompserver-0.3.1/vompclientrrproc.c 2010-07-05 19:24:05.000000000 +0200 +@@ -87,9 +87,25 @@ + + if (req_queue.size() != 0) + { +- log->log("RRProc", Log::ERR, "threadMethod err 1"); +- threadUnlock(); +- return; ++ log->log("RRProc", Log::ERR, "threadMethod startup with already queued packets"); ++ while (req_queue.size()) ++ { ++ //log->log("RRProc", Log::DEBUG, "thread while"); ++ req = req_queue.front(); ++ req_queue.pop(); ++ ++ threadUnlock(); // allow recvRequest to be queuing packets while we are working on this one ++ ++ if (!processPacket()) ++ { ++ log->log("RRProc", Log::ERR, "processPacket exited with fail"); ++ return; ++ } ++ ++ threadLock(); ++ } ++ log->log("RRProc", Log::ERR, "threadMethod startup with already queued packets done."); ++ + } + + while(1) + diff --git a/media-plugins/vdr-vompserver/files/vdr-1.7.27.diff b/media-plugins/vdr-vompserver/files/vdr-1.7.27.diff new file mode 100644 index 000000000000..f98b75c124f4 --- /dev/null +++ b/media-plugins/vdr-vompserver/files/vdr-1.7.27.diff @@ -0,0 +1,36 @@ +diff -Naur vompserver-0.3.1.orig/mvpreceiver.c vompserver-0.3.1/mvpreceiver.c +--- vompserver-0.3.1.orig/mvpreceiver.c 2012-05-01 14:35:39.000000000 +0200 ++++ vompserver-0.3.1/mvpreceiver.c 2012-05-01 14:49:08.000000000 +0200 +@@ -40,7 +40,7 @@ + #elif VDRVERSNUM < 10500 + : cReceiver(channel->Ca(), 0, channel->Vpid(), channel->Apids(), channel->Dpids(), mergeSpidsTpid(channel->Spids(),channel->Tpid())) + #else +-: cReceiver(channel->GetChannelID(), 0, channel->Vpid(), channel->Apids(), channel->Dpids(), mergeSpidsTpid(channel->Spids(),channel->Tpid())) ++: cReceiver(channel, 0) + #endif + { + logger = Log::getInstance(); +diff -Naur vompserver-0.3.1.orig/vompclientrrproc.c vompserver-0.3.1/vompclientrrproc.c +--- vompserver-0.3.1.orig/vompclientrrproc.c 2012-05-01 14:35:39.000000000 +0200 ++++ vompserver-0.3.1/vompclientrrproc.c 2012-05-01 14:46:41.000000000 +0200 +@@ -615,7 +615,7 @@ + + for (cRecording *recording = Recordings.First(); recording; recording = Recordings.Next(recording)) + { +- resp->addULONG(recording->start); ++ resp->addULONG(recording->Start()); + resp->addString(recording->Name()); + resp->addString(recording->FileName()); + } +@@ -1770,9 +1770,9 @@ + { + for (const cMark *m = Marks.First(); m; m = Marks.Next(m)) + { +- log->log("RRProc", Log::DEBUG, "found Mark %i", m->position); ++ log->log("RRProc", Log::DEBUG, "found Mark %i", m->Position()); + +- resp->addULONG(m->position); ++ resp->addULONG(m->Position()); + } + } + else diff --git a/media-plugins/vdr-vompserver/files/vompserver.mk b/media-plugins/vdr-vompserver/files/vompserver.mk new file mode 100644 index 000000000000..1ea9ac3871ba --- /dev/null +++ b/media-plugins/vdr-vompserver/files/vompserver.mk @@ -0,0 +1,150 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +# add the name of the plugin, next edit the OBJS line, +PLUGIN = vompserver + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -DVOMPSERVER + +### The object files (add further files here): + +OBJS = $(PLUGIN).o + +OBJS += dsock.o mvpserver.o udpreplier.o bootpd.o tftpd.o i18n.o vompclient.o tcp.o \ + ringbuffer.o mvprelay.o vompclientrrproc.o \ + config.o log.o thread.o tftpclient.o \ + media.o responsepacket.o \ + mediafile.o mediaplayer.o servermediafile.o serialize.o medialauncher.o + +OBJS2 = recplayer.o mvpreceiver.o + +### The main target: + +all: allbase $(SOFILE) +#i18n +standalone: standalonebase vompserver-standalone + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +objectsstandalone: $(OBJS) +objects: $(OBJS) $(OBJS2) + +allbase: + ( if [ -f .standalone ] ; then ( rm -f .standalone; make clean ; make objects ) ; else exit 0 ;fi ) +standalonebase: + ( if [ ! -f .standalone ] ; then ( make clean; echo "DEFINES+=-DVOMPSTANDALONE" > .standalone; echo "DEFINES+=-D_FILE_OFFSET_BITS=64" >> .standalone; make objectsstandalone ) ; else exit 0 ;fi ) + +$(SOFILE): objects + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(OBJS2) -o $@ + @if [ -n "$(DOOLDINSTALL)" ]; then \ +cp $@ $(LIBDIR)/$@.$(APIVERSION) ; \ +echo "done manual copy"; \ +fi + +vompserver-standalone: objectsstandalone + $(CXX) $(CXXFLAGS) $(OBJS) -lpthread -o $@ + chmod u+x $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-vompserver/metadata.xml b/media-plugins/vdr-vompserver/metadata.xml new file mode 100644 index 000000000000..9942f60ccf48 --- /dev/null +++ b/media-plugins/vdr-vompserver/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<herd>proxy-maintainers</herd> + +<maintainer> + <email>pfrank@gmx.de</email> + <name>Petric Frank</name> + <description>Proxied maintainer</description> +</maintainer> + +<maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-vompserver/vdr-vompserver-0.3.1-r1.ebuild b/media-plugins/vdr-vompserver/vdr-vompserver-0.3.1-r1.ebuild new file mode 100644 index 000000000000..8f135d968e50 --- /dev/null +++ b/media-plugins/vdr-vompserver/vdr-vompserver-0.3.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: server part for MediaMVP device" +HOMEPAGE="http://www.loggytronic.com/vomp.php" +SRC_URI="http://www.loggytronic.com/dl/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/rrprocstart.patch") + +src_prepare() { + vdr-plugin-2_src_prepare + + sed -i "s:vompserver:vomp:" vompserver.c + sed -i "s:char b:// char b:" mediafile.c + + if has_version ">=media-video/vdr-1.7.27"; then + epatch "${FILESDIR}/vdr-1.7.27.diff" + fi +} + +src_install() { + vdr-plugin-2_src_install + + dodoc README + + insinto /etc/vdr/plugins/vomp + newins vomp.conf.sample vomp.conf + newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "Have a look to the VOMP sample files in /etc/vdr/plugins." + echo + elog "You have to download the dongle file (i.e. firmware) and adapt" + elog "the vomp configuration files accordingly." + echo +} diff --git a/media-plugins/vdr-vompserver/vdr-vompserver-0.4.0.ebuild b/media-plugins/vdr-vompserver/vdr-vompserver-0.4.0.ebuild new file mode 100644 index 000000000000..7de4173faea6 --- /dev/null +++ b/media-plugins/vdr-vompserver/vdr-vompserver-0.4.0.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 vdr-plugin-2 + +DESCRIPTION="VDR Plugin: server part for MediaMVP device" +HOMEPAGE="http://www.loggytronic.com/vomp.php" +SRC_URI="http://www.loggytronic.com/dl/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.36-r1" +RDEPEND="${DEPEND}" + +KEEP_I18NOBJECT="yes" + +src_prepare() { + cp "${FILESDIR}/${VDRPLUGIN}.mk" "${S}/Makefile" + + vdr-plugin-2_src_prepare +} + +src_install() { + vdr-plugin-2_src_install + + dodoc README + + insinto /etc/vdr/plugins/vompserver + newins vomp.conf.sample vomp.conf + newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "\nHave a look to the VOMP sample files in /etc/vdr/plugins.\n" + + elog "You have to download the dongle file (i.e. firmware) and adapt" + elog "the vomp configuration files accordingly." +} diff --git a/media-plugins/vdr-vompserver/vdr-vompserver-0.4.1.ebuild b/media-plugins/vdr-vompserver/vdr-vompserver-0.4.1.ebuild new file mode 100644 index 000000000000..8cce67252ca2 --- /dev/null +++ b/media-plugins/vdr-vompserver/vdr-vompserver-0.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: server part for MediaMVP device" +HOMEPAGE="http://www.loggytronic.com/vomp.php" +SRC_URI="http://www.loggytronic.com/dl/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.36-r1" +RDEPEND="${DEPEND}" + +KEEP_I18NOBJECT="yes" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/vompserver + newins vomp.conf.sample vomp.conf + newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + elog "\nHave a look to the VOMP sample files in /etc/vdr/plugins.\n" + + elog "You have to download the dongle file (i.e. firmware) and adapt" + elog "the vomp configuration files accordingly." +} diff --git a/media-plugins/vdr-wapd/Manifest b/media-plugins/vdr-wapd/Manifest new file mode 100644 index 000000000000..0dc4b442b7bb --- /dev/null +++ b/media-plugins/vdr-wapd/Manifest @@ -0,0 +1,2 @@ +DIST vdr-wapd-0.9.tgz 31975 SHA256 6d901dd352f2eb142dd070e11726cd74b05bb66f70b169e612b181dde738145e SHA512 787bc433896e01efb482507251f4a6cb878ce40b869625ff5b7177f64f4dba4b4dcffa648c39d1d8c1930da5fb98db9155ebc40ed349bf2093a5e10f7314f1dd WHIRLPOOL 71cbc3269ceddd582ac62207ff3a48d8df6a824da4fb3300aec4894278f75d41bcea9103be1f27a1f352ce06478b4b1a4f481524775ee0734e05b5b41f097fbe +DIST wapd-0.9-patch1.diff.gz 3091 SHA256 e54d67c5090a40fcf1acc6ee4b4999950ecee8714c8db9823af1be59fcbd1931 SHA512 16dd9225bd0f40f668317ee8a957c0b113a261fe779931b546634fa8e09de3431359d7b8d3846b4781021438bcc660fc714bf17699dacc94af1fd16885a00450 WHIRLPOOL 613a0cabd994c1d38b3f0dde848543cdddeb65b895e856a93daf647ad9a7737498f6fe89ed3af9fe699acf8b6f39ace3be5aac6d82de6c03e44a831cbfbd1289 diff --git a/media-plugins/vdr-wapd/files/confd b/media-plugins/vdr-wapd/files/confd new file mode 100644 index 000000000000..3521d7f590b9 --- /dev/null +++ b/media-plugins/vdr-wapd/files/confd @@ -0,0 +1,9 @@ +# Global config file for vdr wapd plugin +# $Id$ + +# Set the port where the plugin is listen on +# allowed values: port number +# default: 8888 +# +#WAPD_PORT="8888" + diff --git a/media-plugins/vdr-wapd/files/rc-addon.sh b/media-plugins/vdr-wapd/files/rc-addon.sh new file mode 100644 index 000000000000..95401bee6138 --- /dev/null +++ b/media-plugins/vdr-wapd/files/rc-addon.sh @@ -0,0 +1,10 @@ +# $Id$ +# +# rc-addon-script for plugin wapd +# +# Joerg Bornkessel hd_brummy@gentoo.org + +plugin_pre_vdr_start() { + + add_plugin_param "-p ${WAPD_PORT:=8888}" +} diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch new file mode 100644 index 000000000000..f37032064ab6 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch @@ -0,0 +1,16 @@ +--- wapd-0.9.orig/Makefile 2008-01-16 16:29:10.000000000 +0100 ++++ wapd-0.9/Makefile 2009-10-20 11:32:24.494591965 +0200 +@@ -76,11 +76,11 @@ + all: libvdr-$(PLUGIN).so wappasswd + + libvdr-$(PLUGIN).so: $(OBJS) +- $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ ++ $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) + + wappasswd: wappasswd.c +- $(CXX) $(CXXFLAGS) $(LIBS) -o wappasswd wappasswd.c ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o wappasswd wappasswd.c $(LIBS) + + dist: clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff new file mode 100644 index 000000000000..70f7d733f045 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9-gentoo.diff @@ -0,0 +1,14 @@ +diff -Naur wapd-0.9.orig/wapd.c wapd-0.9/wapd.c +--- wapd-0.9.orig/wapd.c 2008-01-27 17:38:18.000000000 +0100 ++++ wapd-0.9/wapd.c 2008-01-27 17:40:45.000000000 +0100 +@@ -85,8 +85,8 @@ + bool cPluginWapd::Start(void) + { + RegisterI18n(Phrases); +- if (WapHosts.Load(AddDirectory(ConfigDirectory(), "waphosts"), true) +- && WapAccess.Load(AddDirectory(ConfigDirectory(), "wapaccess"), true) ++ if (WapHosts.Load(AddDirectory(ConfigDirectory( "wapd" ), "waphosts"), true) ++ && WapAccess.Load(AddDirectory(ConfigDirectory( "wapd" ), "wapaccess"), true) + && (server = new cWapServer(tcpport))) + return true; + return false; diff --git a/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff new file mode 100644 index 000000000000..1fe4e9245061 --- /dev/null +++ b/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff @@ -0,0 +1,12 @@ +diff -Naur wapd-0.9.orig/wappasswd.c wapd-0.9/wappasswd.c +--- wapd-0.9.orig/wappasswd.c 2008-01-27 16:09:43.000000000 +0100 ++++ wapd-0.9/wappasswd.c 2008-01-27 16:12:11.000000000 +0100 +@@ -30,7 +30,7 @@ + { + if (argc != 3) exit(EXIT_FAILURE); + +- char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; ++ const char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; + char salt[3] = "AA"; + + srand((int) time((time_t *) NULL));
\ No newline at end of file diff --git a/media-plugins/vdr-wapd/files/wapaccess b/media-plugins/vdr-wapd/files/wapaccess new file mode 100644 index 000000000000..ca53653a9a5f --- /dev/null +++ b/media-plugins/vdr-wapd/files/wapaccess @@ -0,0 +1,5 @@ +# To create a new ''wapaccess'' file with a new user simply type: +# wappasswd username password >> /etc/vdr/plugins/wapd/wapaccess + +# To delete a user from ''wapaccess'' use your favourite text editor +# and remove the line ''username:passwordhash''. diff --git a/media-plugins/vdr-wapd/files/wapd.mk b/media-plugins/vdr-wapd/files/wapd.mk new file mode 100644 index 000000000000..7e8d21301417 --- /dev/null +++ b/media-plugins/vdr-wapd/files/wapd.mk @@ -0,0 +1,109 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = wapd + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +### Enable this for debugging + +# DEFINES += -DWAPD_DEBUG + +### Enable this to replace WML output with HTML + +# DEFINES += -DWAPD_HTML + +### The object files (add further files here): + +OBJS = $(PLUGIN).o server.o tools.o access.o + +LIBS += -lcrypt + +### The main target: + +all: $(SOFILE) wappasswd + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ $(LIBS) + +wappasswd: wappasswd.c + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o wappasswd wappasswd.c $(LIBS) + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ wappasswd diff --git a/media-plugins/vdr-wapd/files/waphosts b/media-plugins/vdr-wapd/files/waphosts new file mode 100644 index 000000000000..9fea92a0f571 --- /dev/null +++ b/media-plugins/vdr-wapd/files/waphosts @@ -0,0 +1,10 @@ +# +# waphosts This file describes a number of host addresses that +# are allowed to connect to the port of the vdr-wapd +# plugin running on this system. +# Syntax: +# +# IP-Address[/Netmask] +# + +127.0.0.1 # always accept localhost diff --git a/media-plugins/vdr-wapd/metadata.xml b/media-plugins/vdr-wapd/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-wapd/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild new file mode 100644 index 000000000000..1854ed314923 --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers" +HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html" +SRC_URI="http://www.heiligenmann.de/vdr/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES=("${FILESDIR}/${P}_gcc-4.1.x.diff" + "${FILESDIR}/${P}-gentoo.diff") + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild new file mode 100644 index 000000000000..2d76d72a3fdd --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P="${PN}-${PV%_p*}" + +DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers" +HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html" +SRC_URI="http://www.heiligenmann.de/vdr/download/${MY_P}.tgz + http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff" + "${FILESDIR}/${MY_P}-gentoo.diff" + "${WORKDIR}/${MY_P#vdr-}-patch1.diff") + +S="${WORKDIR}/${MY_P#vdr-}" + +src_prepare() { + cp "${FILESDIR}/wapd.mk" "${S}/Makefile" + + vdr-plugin-2_src_prepare + + sed -e "s:RegisterI18n://RegisterI18n:" -i wapd.c + remove_i18n_include server.c wapd.c +} + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} diff --git a/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild new file mode 100644 index 000000000000..81b43d533435 --- /dev/null +++ b/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_P="${PN}-${PV%_p*}" + +DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers" +HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html" +SRC_URI="http://www.heiligenmann.de/vdr/download/${MY_P}.tgz + http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff" + "${FILESDIR}/${MY_P}-gentoo.diff" + "${WORKDIR}/${MY_P#vdr-}-patch1.diff" + "${FILESDIR}/${MY_P}-as-needed.patch") + +S="${WORKDIR}/${MY_P#vdr-}" + +src_install() { + vdr-plugin-2_src_install + + dobin "${S}/wappasswd" + + insinto /etc/vdr/plugins/wapd + doins "${FILESDIR}"/{waphosts,wapaccess} +} diff --git a/media-plugins/vdr-weatherng/Manifest b/media-plugins/vdr-weatherng/Manifest new file mode 100644 index 000000000000..27c2cc5cf021 --- /dev/null +++ b/media-plugins/vdr-weatherng/Manifest @@ -0,0 +1 @@ +DIST vdr-weatherng-0.0.8-pre3.tgz 177242 SHA256 e9edd9ae745ce45274a436f29a0f3a408cd4d218dc9d16e19e4a25e39be2bd0b SHA512 065ee8ac99ce706fe16d3a6e45ac302d6f75c2cddacf8ba0c591a2ca7720278a219735a7a14e486e5b44c113d064d9c8d348322a129fab99d373cfcef0a14172 WHIRLPOOL b80276d4e75317bfe71b2d764f27cbf46e71a8eda37246d33ea9f98773c5e9d58bb3ddcc88751945ba1af6896984353496b21aa42ec07574109907e2e111cb79 diff --git a/media-plugins/vdr-weatherng/files/confd-0.0.8 b/media-plugins/vdr-weatherng/files/confd-0.0.8 new file mode 100644 index 000000000000..69573e4f95d9 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/confd-0.0.8 @@ -0,0 +1,41 @@ +# /etc/conf.d/vdr.weatherng +# $Id$ + +# ================================================================================= +# Before you use the examples of URLs in weatherng.sh , +# you agree with the "Terms of Use" from "The Weather Channel" , +# short TWC , which you can found at http://www.weather.com +# and that you have the permission to use the downloaded files. +# The same for copyrighted radarmaps. +# Take a look in /var/vdr/weatherng/weatherng.sh or read the README.(DE) +# ================================================================================= +# +# To get your Station Id move with your internetbrowser to : +# +# http://uk.weather.com/search/drilldown/ +# +# Type in the name of your town (e.g. "London" and hit enter. +# Now have a look at the link for your town which you hopefully got after you hit return. +# If you dont got one , try with a bigger town next to you. +# For "Herne, Germany" you get something like ....GMXX0056.... . +# so GMXX0056 is the StationId for you if you live in "Herne,Germany" ;) + +WEATHERNG_STATIONID1="GMXX0007" # example for Berlin, Germany +WEATHERNG_STATIONID2="GRXX0068" # example for Corfu, Greece +WEATHERNG_STATIONID3="USNY0996" # example for New York, USA + +## Next are default settings; should not be changed ! +# +# Directory to the /image DIR where the images are placed +# allowed values: pathes +# default: /usr/share/vdr/weatherng +#WEATHERNG_IMAGE_DIR="/usr/share/vdr/weatherng" + +# +# Directory to store downloaded weather data +# +# allowed values: pathes +# default: /var/vdr/weatherng +#WEATHERNG_DATA_DIR="/var/vdr/weatherng" + + diff --git a/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh new file mode 100644 index 000000000000..82d35b2bdbe7 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh @@ -0,0 +1,24 @@ +# $Id$ +# +# rc-addon-script for plugin weatherng +# +# Joerg Borrnkessel <hd_brummy@gentoo.org> + +# set default image DIR +: ${WEATHERNG_IMAGE_DIR:=/usr/share/vdr/weatherng} + +# set default date DIR +: ${WEATHERNG_DATA_DIR:=/var/vdr/weatherng} + +# set default path to weatherng.sh +WEATHERNG_BIN_DIR=/var/vdr/weatherng + +plugin_pre_vdr_start() { + + add_plugin_param "-D ${WEATHERNG_DATA_DIR}" + + add_plugin_param "-I ${WEATHERNG_IMAGE_DIR}" + + add_plugin_param "-S ${WEATHERNG_BIN_DIR}" +} + diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff new file mode 100644 index 000000000000..f77a9ef3810a --- /dev/null +++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff @@ -0,0 +1,17 @@ +fix OSD Problems on dxr3 cards +http://www.vdr-portal.de/board/thread.php?postid=517188#post517188 + +Joerg Bornkessel <hd_brummy@gentoo.org> 24 Oct 2006 + +diff -Naur weatherng-0.0.8-pre3.orig/OsdWeather.c weatherng-0.0.8-pre3/OsdWeather.c +--- weatherng-0.0.8-pre3.orig/OsdWeather.c 2006-10-24 13:46:22.850099968 +0200 ++++ weatherng-0.0.8-pre3/OsdWeather.c 2006-10-24 13:57:12.446697218 +0200 +@@ -379,7 +379,7 @@ + + #endif + */ +- colordepth = 16; ++ colordepth = 7; + areadepth = 4; + + tArea Area[] = { diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch new file mode 100644 index 000000000000..e11e004ebbde --- /dev/null +++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch @@ -0,0 +1,15 @@ +fix compile problems with gcc-4.3.x +bug 227133 +diff -ruN weatherng-0.0.8-pre3_orig/imagecache.h weatherng-0.0.8-pre3/imagecache.h +--- weatherng-0.0.8-pre3_orig/imagecache.h 2006-03-11 19:14:49.000000000 +0100 ++++ weatherng-0.0.8-pre3/imagecache.h 2008-06-15 12:54:10.000000000 +0200 +@@ -5,6 +5,8 @@ + #ifndef VDR_IMAGECACHE_HPP + #define VDR_IMAGECACHE_HPP + ++#include <sys/types.h> ++ + #include <map> + #include <vector> + #include <string> + diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff new file mode 100644 index 000000000000..67c62e25ab66 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff @@ -0,0 +1,56 @@ +Joerg Bornkessel <hd_brummy@gentoo.org> +Version 1 ( 24 Oct 2006 ) + +diff -Naur weatherng-0.0.8-pre2.orig/examples/weatherng.sh weatherng-0.0.8-pre2/examples/weatherng.sh +--- weatherng-0.0.8-pre2.orig/examples/weatherng.sh 2006-03-19 18:35:48.897789250 +0100 ++++ weatherng-0.0.8-pre2/examples/weatherng.sh 2006-03-19 18:46:43.290686250 +0100 +@@ -8,6 +8,11 @@ + # To use this examples of urls , you must have the permission of owner to download and + # use them. Otherwise you must change the URLs. See README or README.DE. + ++source /etc/conf.d/vdr.weatherng ++ ++SCRIPT_API=2 ++source /usr/share/vdr/rcscript/plugin-weatherng.sh ++ + # Change SETUPDIR if you need. + SETUPDIR=/etc/vdr + +@@ -16,11 +21,11 @@ + case "${LANGUAGE[2]}" in + 1) MESG='Download abgeschlossen und Radarmaps aktualisiert' + URLS=(\ +-# http://www.dwd.de/scripts/getimg.php?src=/wundk/Wetter.jpg \ +-# http://www.wetter24.de/automatic/brd_tag_n+ww00002.jpg \ +-# http://www.wetter24.de/automatic/brd_tag_dd00002.jpg \ +-# http://www.wetter24.de/automatic/brd_tag_tt00002.jpg \ +-# http://www.wetter24.de/automatic/brd_tag_rr00002.jpg \ ++ http://www.dwd.de/bvbw/generator/Sites/DWDWWW/Content/Oeffentlichkeit/WV/WV11/Wetterkarten/Wetter__Deutschland__teaser__Bild,property=default.jpg \ ++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,337,00.jpg \ ++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,261,00.jpg \ ++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,258,00.jpg \ ++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,346,00.jpg \ + ) + ;; + 7) MESG='Tlchargement des donnes Mto OK' +@@ -53,7 +58,7 @@ + esac + + for i in $(seq 0 10) ; do +- eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "$SETUPDIR/plugins/weatherng/pic${i}"} ++ eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"} + done + + # Dont change or uncomment this and the following 5 lines. ;) +@@ -63,8 +68,8 @@ + # Example for Herne,Germany [GMXX0057]with a permission from The weather channel: + # e.g : wget -t 4 -T 20 "http://xoap.weather.com/weather/local/GMXX0057?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data1.xml" + +-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID1?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data1.xml" +-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID2?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data2.xml" +-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID3?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data3.xml" ++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID1}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data1.xml" ++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID2}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data2.xml" ++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID3}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data3.xml" + + echo $MESG diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff new file mode 100644 index 000000000000..f42673f8db09 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff @@ -0,0 +1,32 @@ +remove unused translation, compile problems up from vdr-1.5.8 + +Joerg Bornkessel 19 Sep 2007 <hd_brummy@gentoo.org> + +diff -Naur weatherng-0.0.8-pre3.orig/i18n.c weatherng-0.0.8-pre3/i18n.c +--- weatherng-0.0.8-pre3.orig/i18n.c 2007-09-19 12:03:01.884552652 +0200 ++++ weatherng-0.0.8-pre3/i18n.c 2007-09-19 12:03:21.786518169 +0200 +@@ -369,24 +369,6 @@ + "",// TODO + "!", + }, +- { "C", +- "C", +- "",// TODO +- "",// TODO +- "",// TODO +- "",// TODO +- "C", +- "",// TODO +- "C", +- "",// TODO +- "",// TODO +- "",// TODO +- "",// TODO +- "",// TODO +- "",// TODO +- "",// TODO +- "!", +- }, + { "Update data on start", + "Update von Daten bei Start", + "",// TODO diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff new file mode 100644 index 000000000000..a44c70a63212 --- /dev/null +++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff @@ -0,0 +1,25 @@ +diff -Naur weatherng-0.0.8-pre3.orig/examples/weatherng.sh weatherng-0.0.8-pre3/examples/weatherng.sh +--- weatherng-0.0.8-pre3.orig/examples/weatherng.sh 2006-10-29 16:12:51.885610489 +0100 ++++ weatherng-0.0.8-pre3/examples/weatherng.sh 2006-10-29 16:13:22.559358488 +0100 +@@ -57,9 +57,11 @@ + ;; + esac + +-for i in $(seq 0 10) ; do +- eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"} +-done ++if ping -c2 83.97.42.2 > /dev/null ; then ++ ++ for i in $(seq 0 10) ; do ++ eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"} ++ done + + # Dont change or uncomment this and the following 5 lines. ;) + # Uncomment download only if you have a permission from The Weather Channel (see README). +@@ -72,4 +74,6 @@ + wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID2}?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data2.xml" + wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID3}?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data3.xml" + ++fi ++ + echo $MESG diff --git a/media-plugins/vdr-weatherng/metadata.xml b/media-plugins/vdr-weatherng/metadata.xml new file mode 100644 index 000000000000..0e65e6e7d330 --- /dev/null +++ b/media-plugins/vdr-weatherng/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <longdescription> + Plugin weatherng for the Video Disk Recorder (VDR) + Show weahter data for your City. + </longdescription> + <use> + <flag name='dxr3'>enables lower osd color depth for dxr3 cards</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3-r1.ebuild b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3-r1.ebuild new file mode 100644 index 000000000000..67726def6d01 --- /dev/null +++ b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre3-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="VDR plugin: show weather for specified place" +HOMEPAGE="http://www.vdr.glaserei-franz.de/vdrplugins.htm" +SRC_URI="mirror://vdrfiles/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2 stardock-images" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dxr3" + +DEPEND="media-libs/imlib2[jpeg,gif] + >=media-video/vdr-1.3.34" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/weatherng-${MY_PV}" + +VDR_CONFD_FILE="${FILESDIR}/confd-0.0.8" +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.0.8.sh" + +PATCHES=("${FILESDIR}/${P}-i18n-fix.diff") + +src_prepare() { + vdr-plugin-2_src_prepare + + epatch "${FILESDIR}/${P}-gentoo.diff" + epatch "${FILESDIR}/${P}-timeout.diff" + epatch "${FILESDIR}/${P}-gcc43.patch" + + use dxr3 && epatch "${FILESDIR}/${P}-dxr3.diff" + + # /bin/sh is not necessaryly bash, so explicitly use /bin/bash + sed -e 's#/bin/sh#/bin/bash#' -i examples/weatherng.sh + + sed -i weatherng.c -e "s:RegisterI18n://RegisterI18n:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /usr/share/vdr/weatherng/images + doins "${S}"/images/*.png + + diropts -m0755 -ovdr -gvdr + dodir /var/vdr/${VDRPLUGIN} + + insinto /var/vdr/${VDRPLUGIN} + insopts -m755 -ovdr -gvdr + doins "${S}"/examples/weatherng.sh +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + echo + elog "To display the weather for your location" + elog "you have to find out its ID on weather.com" + elog + elog "Go to http://uk.weather.com/search/drilldown/ and search for your city (i.e. Herne)" + elog "in the list of results click on the right one and then look at its URL" + elog + elog "It contains a code for your city" + elog "For Herne this is GMXX0056" + elog + elog "Now you have to enter this code in /etc/conf.d/vdr.weatherng WEATHERNG_STATIONID(x)" + echo +} diff --git a/media-plugins/vdr-wirbelscan/Manifest b/media-plugins/vdr-wirbelscan/Manifest new file mode 100644 index 000000000000..ec5bf2fcb841 --- /dev/null +++ b/media-plugins/vdr-wirbelscan/Manifest @@ -0,0 +1 @@ +DIST vdr-wirbelscan-0.0.7.tgz 149949 SHA256 42ffc3da1efd2ec6e40e233e4750f9b19ba04aa6e887d9cac960b758e4371dd2 SHA512 754b3089b1a8536b501fd8b62ddafedaf8304518856152a49b97149113929b47d6c6299b8eb4b78b2d3dc5aba147a3e21c00554ad02d2dc5018c296f6c55d6a5 WHIRLPOOL e986d16224cc7e1cefbf08daa32f595dfc7d3d2901bf324480bb61f44b79e417ac727c5f5573a839c7ab760aab020a73509cd05dffbc47daa5d47f7e801afef3 diff --git a/media-plugins/vdr-wirbelscan/files/receiver-api-fixes.patch b/media-plugins/vdr-wirbelscan/files/receiver-api-fixes.patch new file mode 100644 index 000000000000..b801803afc9d --- /dev/null +++ b/media-plugins/vdr-wirbelscan/files/receiver-api-fixes.patch @@ -0,0 +1,46 @@ +Index: vdr-plugin-wirbelscan-0.0.7/statemachine.c +=================================================================== +--- vdr-plugin-wirbelscan-0.0.7.orig/statemachine.c 2011-03-24 16:48:43.000000000 +0100 ++++ vdr-plugin-wirbelscan-0.0.7/statemachine.c 2012-04-03 19:51:08.813786243 +0200 +@@ -36,12 +36,12 @@ + while (Running()) cCondWait::SleepMs(5); + }; /*TODO: check here periodically for lock and wether we got any data!*/ + public: +- cScanReceiver(tChannelID ChannelID, int AnyPid); ++ cScanReceiver(const cChannel* chan, int AnyPid); + virtual ~cScanReceiver() {cReceiver::Detach(); }; + }; + +-cScanReceiver::cScanReceiver(tChannelID ChannelID, int AnyPid) : +- cReceiver(ChannelID, 99, AnyPid), cThread("dummy receiver") { } ++cScanReceiver::cScanReceiver(const cChannel* chan, int AnyPid) : ++ cReceiver(chan, 99), cThread("dummy receiver") { SetPids(NULL); AddPid(AnyPid); } + + ///!----------------------------------------------------------------- + ///! v 0.0.5, store state in lastState if different and print state +@@ -144,7 +144,7 @@ + ScannedTransponders.Add(ScannedTransponder); + + dev->SwitchChannel(Transponder, false); +- aReceiver = new cScanReceiver(Transponder->GetChannelID(), 99); ++ aReceiver = new cScanReceiver(Transponder, 99); + dev->AttachReceiver(aReceiver); + + cCondWait::SleepMs(1000); +Index: vdr-plugin-wirbelscan-0.0.7/ttext.c +=================================================================== +--- vdr-plugin-wirbelscan-0.0.7.orig/ttext.c 2011-03-24 19:29:59.000000000 +0100 ++++ vdr-plugin-wirbelscan-0.0.7/ttext.c 2012-04-03 20:03:06.903786678 +0200 +@@ -374,9 +374,10 @@ + } + } + +-cSwReceiver::cSwReceiver(cChannel * Channel) : cReceiver(Channel->GetChannelID(), +- 100, Channel->Tpid()), cThread("ttext") { ++cSwReceiver::cSwReceiver(cChannel * Channel) : cReceiver(Channel, 100), cThread("ttext") { + ++ SetPids(NULL); ++ AddPid(Channel->Tpid()); + stopped = fuzzy = false; + channel = Channel; + buffer = new cRingBufferLinear(MEGABYTE(1),184); diff --git a/media-plugins/vdr-wirbelscan/files/wirbelscan.mk b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk new file mode 100644 index 000000000000..1c777717e25f --- /dev/null +++ b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk @@ -0,0 +1,123 @@ +# +# Makefile for a Video Disk Recorder plugin +# +# $Id$ + +# The official name of this plugin. +# This name will be used in the '-P...' option of VDR to load the plugin. +# By default the main source file also carries this name. + +PLUGIN = wirbelscan + +### The version number of this plugin (taken from the main source file): + +VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') + +### The directory environment: + +# Use package data if installed...otherwise assume we're under the VDR source directory: +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +LIBDIR = $(call PKGCFG,libdir) +LOCDIR = $(call PKGCFG,locdir) +PLGCFG = $(call PKGCFG,plgcfg) +# +TMPDIR ?= /tmp + +### The compiler options: + +export CFLAGS = $(call PKGCFG,cflags) +export CXXFLAGS = $(call PKGCFG,cxxflags) + +### The version number of VDR's plugin API: + +APIVERSION = $(call PKGCFG,apiversion) + +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + +### The name of the distribution archive: + +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) + +### The name of the shared object file: + +SOFILE = libvdr-$(PLUGIN).so + +### Includes and Defines (add further entries here): + +INCLUDES += + +DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' + +### The object files (add further files here): + +OBJS = $(PLUGIN).o common.o frequencies.o menusetup.o satellites.o scanner.o dvb_wrapper.o +OBJS += scanfilter.o caDescriptor.o statemachine.o countries.o ext_math.o ttext.o + +### The main target: + +all: $(SOFILE) i18n + +### Implicit rules: + +%.o: %.c + $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< + +### Dependencies: + +MAKEDEP = $(CXX) -MM -MG +DEPFILE = .dependencies +$(DEPFILE): Makefile + @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ + +-include $(DEPFILE) + +### Internationalization (I18N): + +PODIR = po +I18Npo = $(wildcard $(PODIR)/*.po) +I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) +I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) +I18Npot = $(PODIR)/$(PLUGIN).pot + +%.mo: %.po + msgfmt -c -o $@ $< + +$(I18Npot): $(wildcard *.c) + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` + +%.po: $(I18Npot) + msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< + @touch $@ + +$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + install -D -m644 $< $@ + +.PHONY: i18n +i18n: $(I18Nmo) $(I18Npot) + +install-i18n: $(I18Nmsgs) + +### Targets: + +$(SOFILE): $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ + +install-lib: $(SOFILE) + install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) + +install: install-lib install-i18n + +dist: $(I18Npo) clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @mkdir $(TMPDIR)/$(ARCHIVE) + @cp -a * $(TMPDIR)/$(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tgz + +clean: + @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ diff --git a/media-plugins/vdr-wirbelscan/metadata.xml b/media-plugins/vdr-wirbelscan/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-wirbelscan/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild new file mode 100644 index 000000000000..bfed30146c22 --- /dev/null +++ b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Scan for channels on DVB-? and on PVR*-Cards" +HOMEPAGE="http://wirbel.htpc-forum.de/wirbelscan/index2.html" +SRC_URI="http://wirbel.htpc-forum.de/wirbelscan/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-2" +RDEPEND="${DEPEND}" + +src_prepare() { + # remove untranslated po files + rm "${S}"/po/{ca_ES,cs_CZ,da_DK,es_ES,el_GR,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po + + # new Makefile handling + cp "${FILESDIR}/wirbelscan.mk" "${S}/Makefile" + + epatch "${FILESDIR}/receiver-api-fixes.patch" + + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include scanfilter.h + fix_vdr_libsi_include scanfilter.c + fix_vdr_libsi_include caDescriptor.h +} diff --git a/media-plugins/vdr-xine/Manifest b/media-plugins/vdr-xine/Manifest new file mode 100644 index 000000000000..83be19de4625 --- /dev/null +++ b/media-plugins/vdr-xine/Manifest @@ -0,0 +1 @@ +DIST vdr-xine-0.9.4.tgz 339879 SHA256 e17bc3e88d1f95b8256e6fde5edc1b3e6f143d5f2bf52c921d2d8ff572862fbe SHA512 0a7bbff21b5a35360aeb68ed62a0ada5fc107453cd63231da2a48d2cc7ea4b6a333cac86164f3e6edcdcda5e9bc73d0e7fd51f6b45c149477a3acb86ffad9ae4 WHIRLPOOL 9af3cee70b96f72b2c8fd01dbc61251070c8a7d3206b1d6c9f7c4f8f970b4f589f6b70fd52e0d92618fd394f10df3d79772d793803513d98fdc34b7bc802b697 diff --git a/media-plugins/vdr-xine/files/confd b/media-plugins/vdr-xine/files/confd new file mode 100644 index 000000000000..d728819e0041 --- /dev/null +++ b/media-plugins/vdr-xine/files/confd @@ -0,0 +1,8 @@ +# /etc/conf.d/vdr.xine: + +# Global config file for vdr rc-scripts + +# -r: +# Enable xine to send keys to vdr-process + +_EXTRAOPTS="-r" diff --git a/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch new file mode 100644 index 000000000000..9ebaffb93c6b --- /dev/null +++ b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch @@ -0,0 +1,59 @@ +From 537ad5fa86305cf55f37dd9c87a9ec3260668049 Mon Sep 17 00:00:00 2001 +From: Christian Ruppert <idl0r@gentoo.org> +Date: Tue, 10 Jan 2012 13:58:40 +0100 +Subject: [PATCH] patch 1 + +--- + Makefile | 14 ++++++++------ + 1 files changed, 8 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index 674f4fb..e1fdba2 100644 +--- a/Makefile ++++ b/Makefile +@@ -25,9 +25,9 @@ CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual + + ### The directory environment: + +-VDRDIR = ../../.. +-LIBDIR = ../../lib +-TMPDIR = /tmp ++VDRDIR ?= ../../.. ++LIBDIR ?= ../../lib ++TMPDIR ?= /tmp + + ### Make sure that necessary options are included: + +@@ -37,7 +37,7 @@ TMPDIR = /tmp + + -include $(VDRDIR)/Make.config + +-INCLUDES += `pkg-config --cflags libxine` ++INCLUDES += `pkg-config --cflags libxine` + + # where to create fifos (xine expects them at /tmp/vdr-xine) + VDR_XINE_FIFO_DIR ?= /tmp/vdr-xine +@@ -114,9 +114,9 @@ $(DEPFILE): Makefile + -include $(DEPFILE) + + ### Internationalization (I18N): +- ++ifeq ($(ENABLE_I18N), yes) + PODIR = po +-LOCALEDIR = $(VDRDIR)/locale ++LOCALEDIR = $(DESTDIR)$(VDRDIR)/locale + I18Npo = $(wildcard $(PODIR)/*.po) + I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) + I18Npot = $(PODIR)/$(PLUGIN).pot +@@ -135,6 +135,8 @@ $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo + @mkdir -p $(dir $@) + cp $< $@ + ++endif ++ + .PHONY: i18n + i18n: $(I18Nmsgs) $(I18Npot) + +-- +1.7.3.4 + diff --git a/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff new file mode 100644 index 000000000000..581dba287372 --- /dev/null +++ b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff @@ -0,0 +1,12 @@ +diff -ru xine-0.9.0-orig/xineLib.c xine-0.9.0/xineLib.c +--- xine-0.9.0-orig/xineLib.c 2009-01-18 17:40:13.228935882 +0100 ++++ xine-0.9.0/xineLib.c 2009-01-18 17:41:28.815595331 +0100 +@@ -2118,7 +2118,7 @@ + + bool cXineLib::readNoSignalStream(const int index, const string &suffix) + { +- string noSignalFileName = m_plugin->ConfigDirectory(PLUGIN_NAME_I18N); ++ string noSignalFileName = "/usr/share/vdr/xine"; + // noSignalFileName += "/noSignal.pes"; + noSignalFileName += "/noSignal" + suffix + ".mpg"; + diff --git a/media-plugins/vdr-xine/metadata.xml b/media-plugins/vdr-xine/metadata.xml new file mode 100644 index 000000000000..6c98ab766c2d --- /dev/null +++ b/media-plugins/vdr-xine/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>media-tv</herd> + <use> + <flag name="yaepg">Enables support for the plugin vdr-yaepg (showing scaled video besides OSD)</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild b/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild new file mode 100644 index 000000000000..8fb0e4c9e477 --- /dev/null +++ b/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: for 'software only' playback using xine" +HOMEPAGE="http://home.vr-web.de/~rnissl/" +SRC_URI="http://home.vr-web.de/~rnissl/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="yaepg" + +COMMON_DEP=">=media-video/vdr-1.5.7 + >=media-libs/xine-lib-1.1.8[vdr]" +DEPEND="${COMMON_DEP}" +RDEPEND="${COMMON_DEP} + >=media-video/mjpegtools-2.1.0 + media-libs/netpbm" + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo.diff" + epatch "${FILESDIR}/${P}-build-system.patch" + + use yaepg && sed -i Makefile -e "s:#VDR_XINE_SET_VIDEO_WINDOW:VDR_XINE_SET_VIDEO_WINDOW:" + + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.33"; then + sed -e "s:pid == patPmtParser.PmtPid():patPmtParser.IsPmtPid(pid):" \ + -i xineDevice.c + fi + + # remove i18n crap + sed -e "s:^#include[[:space:]]*\"xineI18n.h\"::" -i xine.c + + BUILD_PARAMS="VDR_XINE_FIFO_DIR=/var/vdr/xine" +} + +src_install() { + vdr-plugin-2_src_install + + dobin xineplayer || die + + insinto /usr/share/vdr/xine + doins data/* || die + + dodoc MANUAL +} + +pkg_postinst() { + vdr-plugin-2_pkg_postinst + + if [[ -d ${ROOT}/etc/vdr/plugins/xine ]]; then + ewarn "You have a leftover directory of vdr-xine." + ewarn "You can safely remove it with:" + ewarn "# rm -rf /etc/vdr/plugins/xine" + fi +} diff --git a/media-plugins/vdr-xineliboutput/Manifest b/media-plugins/vdr-xineliboutput/Manifest new file mode 100644 index 000000000000..96e6f45f3b61 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/Manifest @@ -0,0 +1,3 @@ +DIST vdr-xineliboutput-1.1.0.tgz 404820 SHA256 bddebfbf77e956a50faea1baa44513a31122961357bc502b588c521358da77d3 SHA512 255ae698c1dc9d9098847e62c386a6bd24ec1dc822fb695600ef944e18d0febfac0d5b487de57a17ea9f9bd3935d1d11763a06a5daa527ce95f9557a408c264d WHIRLPOOL be47aeb039bb69e85a0f964940b3173f4371ae911d58df76c6e0135b9843471cd21b27efdfc95001216a508c0bbdc1e4957cb0d50da1a3c49e7c4ba7dd24e55c +DIST vdr-xineliboutput-2.0.0_p20150220.tar.xz 326520 SHA256 5fac9ed279ab2d5a9a4697a1745560901887fd60a9b1dbdd04f6d8ee5d2dccbf SHA512 8e3a6fe4dad4875b1e2d2c6667e1c5d8f4542742fb74c40148aa5dc403b86743c32a49e1fb0979a59c312aaff4c038347f934105b0ca8d3097b61c59021966f3 WHIRLPOOL cb8958ec5bc2ff76544791e2362b3f89ed9cb4f9e905052fb6b7f42f341399d8ed112694a69205c1759b49f23b1416892e7f70a73816f9d630004d7aebf6fcfa +DIST xineliboutput-2.0.0_p20130821.tar.bz2 356633 SHA256 3ccff26c1112267e12858bbacd1d9081c999881da77c0da91f1fcc525cc225e9 SHA512 ee25447749dc5b8fe93da3c021823f8dd552619d64575525918c15447135af0d6684e613b20a1aa99a1fd8bd5334344ea03962ab75bbbffb0204d92adf36f9ed WHIRLPOOL 1feabc1f333593fb194065d1a62a0da80374a6c9714c8e1af4623e047ed4f0ef6c5433e8401f072e7c4a460830c2d1b902ce2a78f7ecad5e8533b159eda6db00 diff --git a/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6 b/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6 new file mode 100644 index 000000000000..b4fab7ff9690 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6 @@ -0,0 +1,27 @@ +# +# Usage examples (VDR plugin) +# +# If no arguments are given, both X11 and framebuffer frontends are tried. +# First working frontend is used with best available video driver. +# Complete list of available command-line arguments can be obtained +# with "vdr --help". +# +# Only local frontend, X11/Xv video, alsa audio: +# _EXTRAOPTS="--local=sxfe --video=xv --audio=alsa --noremote" +# +# Only local frontend, (slow) X11 video, oss audio: +# _EXTRAOPTS="--local=sxfe --video=x11 --audio=oss --noremote" +# +# Only local frontend, DirectFB: +# _EXTRAOPTS="--local=fbfe --video=DirectFB --noremote" +# +# Only remote frontend(s): +# _EXTRAOPTS="--local=none --remote=37890" +# +# Local and remote frontends: +# _EXTRAOPTS="--local=sxfe --remote=37890" +# or +# _EXTRAOPTS="--local=fbfe --remote=37890" +# +# +_EXTRAOPTS="--local=none --remote=37890" diff --git a/media-plugins/vdr-xineliboutput/files/confd-2.0.0 b/media-plugins/vdr-xineliboutput/files/confd-2.0.0 new file mode 100644 index 000000000000..07da46ff5d21 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/confd-2.0.0 @@ -0,0 +1,50 @@ +# +# Usage examples (VDR plugin) +# +# If no arguments are given, both X11 and framebuffer frontends are tried. +# First working frontend is used with best available video driver. +# Complete list of available command-line arguments can be obtained +# with "vdr --help". +# +# Only local frontend, X11/Xv video, alsa audio: +# _EXTRAOPTS="--local=sxfe --video=xv --audio=alsa --noremote" +# +# Only local frontend, (slow) X11 video, oss audio: +# _EXTRAOPTS="--local=sxfe --video=x11 --audio=oss --noremote" +# +# Only local frontend, DirectFB: +# _EXTRAOPTS="--local=fbfe --video=DirectFB --noremote" +# +# Only remote frontend(s): +# _EXTRAOPTS="--local=none --remote=37890" +# +# Local and remote frontends: +# _EXTRAOPTS="--local=sxfe --remote=37890" +# or +# _EXTRAOPTS="--local=fbfe --remote=37890" +# +# +_EXTRAOPTS="--local=none --remote=37890" + +################################################### +# start sxfe remote frontend # +################################################### +# +# We do not add any start up paramaters by default +# Please refer for detailed info to +# media-plugins/vdr-xineliboutput README +# --> Using remote frontends +# +# Example: +# --display=:1.0 --silent --fullscreen --syslog --reconnect xvdr://localhost &>/dev/null +# +# init script --> vdr-frontend +# +# DEBUG REQUEST: do we need sxfb support? feedback please! +# +# sxfe start parameter +# allowed values: see README +# default: no paramters given +# +#REMOTE_FRONTEND="" + diff --git a/media-plugins/vdr-xineliboutput/files/vdr-frontend b/media-plugins/vdr-xineliboutput/files/vdr-frontend new file mode 100644 index 000000000000..f5b604bc6e3d --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/vdr-frontend @@ -0,0 +1,13 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="Start xineliboutput sxfe/sxfb remote frontend" + +source /etc/conf.d/vdr.xineliboutput + +command="/usr/bin/vdr-sxfe" +command_args="${REMOTE_FRONTEND}" +pidfile="/var/run/vdr-frontend.pid" +start_stop_daemon_args="--user vdr --group vdr --make-pidfile --background" diff --git a/media-plugins/vdr-xineliboutput/metadata.xml b/media-plugins/vdr-xineliboutput/metadata.xml new file mode 100644 index 000000000000..7f1a7dfe852a --- /dev/null +++ b/media-plugins/vdr-xineliboutput/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>idl0r@gentoo.org</email> + <name>Christian Ruppert</name> + </maintainer> + <longdescription> + Video Disk Recorder Xinelib PlugIn ( VDR ) + </longdescription> + <use> + <flag name="cec">Enable CEC support through <pkg>dev-libs/libcec</pkg></flag> + <flag name="bluray">Enable BluRay metadata support through <pkg>media-libs/libbluray</pkg></flag> + <flag name="libextractor">Use <pkg>media-libs/libextract</pkg> to gather + files' metadata in media-player</flag> + <flag name="vdr">Compile the vdr output plugin to use local or remote xine as output</flag> + <flag name="xine">Compile the xine input plugin for displaying vdr video and OSD</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild new file mode 100644 index 000000000000..5295a63e9434 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +GENTOO_VDR_CONDITIONAL=yes + +DESCRIPTION="Video Disk Recorder Xinelib PlugIn" +HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" +SRC_URI="mirror://sourceforge/${PN#vdr-}/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" + +COMMON_DEPEND=" + vdr? ( + >=media-video/vdr-1.6.0 + libextractor? ( >=media-libs/libextractor-0.5.20 ) + caps? ( sys-libs/libcap ) + ) + + xine? ( + ( >=media-libs/xine-lib-1.2 + virtual/ffmpeg ) + fbcon? ( jpeg? ( virtual/jpeg:* ) ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) + vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) + jpeg? ( virtual/jpeg:* ) + bluray? ( media-libs/libbluray ) + opengl? ( virtual/opengl ) + ) + )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-kernel/linux-headers + nls? ( sys-devel/gettext ) + xine? ( + X? ( + x11-proto/xproto + x11-libs/libXxf86vm + ) + )" +RDEPEND="${COMMON_DEPEND}" + +REQUIRED_USE=" || ( vdr xine )" + +VDR_CONFD_FILE="${FILESDIR}/confd-1.0.0_pre6" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use xine; then + XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.2"; then + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \ + -i config.c menu.c tools/udp_pes_scheduler.c + fi +} + +src_configure() { + local myconf + + if has_version ">=media-libs/xine-lib-1.2"; then + myconf="${myconf} --enable-libavutil" + else + myconf="${myconf} --disable-libavutil" + fi + + # No autotools based configure script + ./configure \ + --cc=$(tc-getCC) \ + --cxx=$(tc-getCXX) \ + $(use_enable X x11) \ + $(use_enable X xshm) \ + $(use_enable X xdpms) \ + $(use_enable X xshape) \ + $(use_enable X xrender) \ + $(use_enable fbcon fb) \ + $(use_enable vdr) \ + $(use_enable xine libxine) \ + $(use_enable libextractor) \ + $(use_enable caps libcap) \ + $(use_enable jpeg libjpeg) \ + $(use_enable xinerama) \ + $(use_enable vdpau) \ + $(use_enable dbus dbus-glib-1) \ + $(use_enable nls i18n) \ + $(use_enable bluray libbluray) \ + $(use_enable opengl) \ + ${myconf} \ + || die + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS +} + +src_install() { + if use vdr; then + vdr-plugin-2_src_install + + # bug 346989 + insinto /etc/vdr/plugins/xineliboutput/ + doins examples/allowed_hosts.conf + fowners -R vdr:vdr /etc/vdr/ + + if use nls; then + emake DESTDIR="${D}" i18n + fi + + if use xine; then + insinto $XINE_PLUGIN_DIR + doins xineplug_inp_xvdr.so + + insinto $XINE_PLUGIN_DIR/post + doins xineplug_post_*.so + + if use fbcon; then + dobin vdr-fbfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-fbfe.so.* + fi + + if use X; then + dobin vdr-sxfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-sxfe.so.* + fi + fi + else + emake DESTDIR="${D}" install + + dodoc HISTORY README + fi +} diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20130821.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20130821.ebuild new file mode 100644 index 000000000000..98efcd1d66ea --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20130821.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +GENTOO_VDR_CONDITIONAL=yes + +DESCRIPTION="VDR Plugin: Xinelib PlugIn" +HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" +SRC_URI="http://vdr.websitec.de/download/${PN}/xineliboutput-2.0.0_p20130821.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" + +COMMON_DEPEND=" + vdr? ( + >=media-video/vdr-1.6.0 + libextractor? ( >=media-libs/libextractor-0.5.20 ) + caps? ( sys-libs/libcap ) + ) + + xine? ( + ( >=media-libs/xine-lib-1.2 + virtual/ffmpeg ) + fbcon? ( jpeg? ( virtual/jpeg:* ) ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) + vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) + jpeg? ( virtual/jpeg:* ) + bluray? ( media-libs/libbluray ) + opengl? ( virtual/opengl ) + ) + )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-kernel/linux-headers + nls? ( sys-devel/gettext ) + xine? ( + X? ( + x11-proto/xproto + x11-libs/libXxf86vm + ) + )" +RDEPEND="${COMMON_DEPEND}" + +REQUIRED_USE=" || ( vdr xine )" + +VDR_CONFD_FILE="${FILESDIR}/confd-2.0.0" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use xine; then + XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" + fi +} + +src_prepare() { + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-2.1.10"; then + sed -e "s:pm = RenderPixmaps():pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()):"\ + -e "s:delete pm;:DestroyPixmap(pm);:"\ + -i osd.c + fi +} + +src_configure() { + local myconf + + if has_version ">=media-libs/xine-lib-1.2"; then + myconf="${myconf} --enable-libavutil" + else + myconf="${myconf} --disable-libavutil" + fi + + # No autotools based configure script + ./configure \ + --cc=$(tc-getCC) \ + --cxx=$(tc-getCXX) \ + $(use_enable X x11) \ + $(use_enable X xshm) \ + $(use_enable X xdpms) \ + $(use_enable X xshape) \ + $(use_enable X xrender) \ + $(use_enable fbcon fb) \ + $(use_enable vdr) \ + $(use_enable xine libxine) \ + $(use_enable libextractor) \ + $(use_enable caps libcap) \ + $(use_enable jpeg libjpeg) \ + $(use_enable xinerama) \ + $(use_enable vdpau) \ + $(use_enable dbus dbus-glib-1) \ + $(use_enable nls i18n) \ + $(use_enable bluray libbluray) \ + $(use_enable opengl) \ + ${myconf} \ + || die + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS +} + +src_install() { + if use vdr; then + vdr-plugin-2_src_install + + # bug 346989 + insinto /etc/vdr/plugins/xineliboutput/ + doins examples/allowed_hosts.conf + fowners -R vdr:vdr /etc/vdr/ + + if use nls; then + emake DESTDIR="${D}" i18n + fi + + if use xine; then + doinit "${FILESDIR}"/vdr-frontend + + insinto $XINE_PLUGIN_DIR + doins xineplug_inp_xvdr.so + + insinto $XINE_PLUGIN_DIR/post + doins xineplug_post_*.so + + if use fbcon; then + dobin vdr-fbfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-fbfe.so.* + fi + + if use X; then + dobin vdr-sxfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-sxfe.so.* + fi + fi + else + emake DESTDIR="${D}" install + + dodoc HISTORY README + fi +} diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20150220.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20150220.ebuild new file mode 100644 index 000000000000..a64f98db5291 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0_p20150220.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +GENTOO_VDR_CONDITIONAL=yes + +DESCRIPTION="VDR Plugin: Xinelib PlugIn" +HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" +SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.xz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" + +COMMON_DEPEND=" + vdr? ( + >=media-video/vdr-1.6.0 + libextractor? ( >=media-libs/libextractor-0.5.20 ) + caps? ( sys-libs/libcap ) + ) + + xine? ( + ( >=media-libs/xine-lib-1.2 + virtual/ffmpeg ) + fbcon? ( jpeg? ( virtual/jpeg:* ) ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) + vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) + jpeg? ( virtual/jpeg:* ) + bluray? ( media-libs/libbluray ) + opengl? ( virtual/opengl ) + ) + )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-kernel/linux-headers + nls? ( sys-devel/gettext ) + xine? ( + X? ( + x11-proto/xproto + x11-libs/libXxf86vm + ) + )" +RDEPEND="${COMMON_DEPEND}" + +REQUIRED_USE=" || ( vdr xine )" + +VDR_CONFD_FILE="${FILESDIR}/confd-2.0.0" + +pkg_setup() { + vdr-plugin-2_pkg_setup + + if use xine; then + XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" + fi +} + +src_configure() { + local myconf + + if has_version ">=media-libs/xine-lib-1.2"; then + myconf="${myconf} --enable-libavutil" + else + myconf="${myconf} --disable-libavutil" + fi + + # No autotools based configure script + ./configure \ + --cc=$(tc-getCC) \ + --cxx=$(tc-getCXX) \ + $(use_enable X x11) \ + $(use_enable X xshm) \ + $(use_enable X xdpms) \ + $(use_enable X xshape) \ + $(use_enable X xrender) \ + $(use_enable fbcon fb) \ + $(use_enable vdr) \ + $(use_enable xine libxine) \ + $(use_enable libextractor) \ + $(use_enable caps libcap) \ + $(use_enable jpeg libjpeg) \ + $(use_enable xinerama) \ + $(use_enable vdpau) \ + $(use_enable dbus dbus-glib-1) \ + $(use_enable nls i18n) \ + $(use_enable bluray libbluray) \ + $(use_enable opengl) \ + ${myconf} \ + || die + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS +} + +src_install() { + if use vdr; then + vdr-plugin-2_src_install + + # bug 346989 + insinto /etc/vdr/plugins/xineliboutput/ + doins examples/allowed_hosts.conf + fowners -R vdr:vdr /etc/vdr/ + + if use nls; then + emake DESTDIR="${D}" i18n + fi + + if use xine; then + doinit "${FILESDIR}"/vdr-frontend + + insinto $XINE_PLUGIN_DIR + doins xineplug_inp_xvdr.so + + insinto $XINE_PLUGIN_DIR/post + doins xineplug_post_*.so + + if use fbcon; then + dobin vdr-fbfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-fbfe.so.* + fi + + if use X; then + dobin vdr-sxfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-sxfe.so.* + fi + fi + else + emake DESTDIR="${D}" install + + dodoc HISTORY README + fi +} diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild new file mode 100644 index 000000000000..98116335b2f1 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GENTOO_VDR_CONDITIONAL=yes + +inherit vdr-plugin-2 cvs toolchain-funcs + +DESCRIPTION="Video Disk Recorder Xinelib PlugIn" +HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" + +ECVS_SERVER="xineliboutput.cvs.sourceforge.net:/cvsroot/xineliboutput" +ECVS_MODULE="${PN}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="" +IUSE="bluray caps cec dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" + +COMMON_DEPEND=" + vdr? ( + >=media-video/vdr-1.6.0 + libextractor? ( >=media-libs/libextractor-0.5.20 ) + caps? ( sys-libs/libcap ) + ) + + xine? ( + ( >=media-libs/xine-lib-1.2 + virtual/ffmpeg ) + fbcon? ( jpeg? ( virtual/jpeg:* ) ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) + vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) + jpeg? ( virtual/jpeg:* ) + bluray? ( media-libs/libbluray ) + opengl? ( virtual/opengl ) + ) + ) + + cec? ( dev-libs/libcec )" + +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + sys-kernel/linux-headers + nls? ( sys-devel/gettext ) + xine? ( + X? ( + x11-proto/xproto + x11-libs/libXxf86vm + ) + )" +RDEPEND="${COMMON_DEPEND}" + +S=${WORKDIR}/${PN} +VDR_CONFD_FILE="${FILESDIR}/confd-2.0.0" + +pkg_setup() { + if ! use vdr && ! use xine; then + die "You either need at least one of these flags: vdr xine" + fi + + vdr-plugin-2_pkg_setup + + if use xine; then + XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" + fi +} + +src_prepare() { + # Allow user patches to be applied without modifyfing the ebuild + epatch_user + + vdr-plugin-2_src_prepare + + # UINT64_C is needed by ffmpeg headers + append-cxxflags -D__STDC_CONSTANT_MACROS +} + +src_configure() { + local myconf + + if has_version ">=media-libs/xine-lib-1.2"; then + myconf="${myconf} --enable-libavutil" + else + myconf="${myconf} --disable-libavutil" + fi + + # No autotools based configure script + ./configure \ + --cc=$(tc-getCC) \ + --cxx=$(tc-getCXX) \ + $(use_enable X x11) \ + $(use_enable X xshm) \ + $(use_enable X xdpms) \ + $(use_enable X xshape) \ + $(use_enable X xrender) \ + $(use_enable fbcon fb) \ + $(use_enable vdr) \ + $(use_enable xine libxine) \ + $(use_enable libextractor) \ + $(use_enable caps libcap) \ + $(use_enable jpeg libjpeg) \ + $(use_enable xinerama) \ + $(use_enable vdpau) \ + $(use_enable dbus dbus-glib-1) \ + $(use_enable nls i18n) \ + $(use_enable bluray libbluray) \ + $(use_enable opengl) \ + $(use_enable cec libcec) \ + ${myconf} \ + || die +} + +src_install() { + if use vdr; then + vdr-plugin-2_src_install + + # bug 346989 + insinto /etc/vdr/plugins/xineliboutput/ + doins examples/allowed_hosts.conf + fowners -R vdr:vdr /etc/vdr/ + + if use nls; then + emake DESTDIR="${D}" i18n + fi + + if use xine; then + doinit "${FILESDIR}"/vdr-frontend + + insinto $XINE_PLUGIN_DIR + doins xineplug_inp_xvdr.so + + insinto $XINE_PLUGIN_DIR/post + doins xineplug_post_*.so + + if use fbcon; then + dobin vdr-fbfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-fbfe.so.* + fi + + if use X; then + dobin vdr-sxfe + + insinto $VDR_PLUGIN_DIR + doins libxineliboutput-sxfe.so.* + fi + fi + else + emake DESTDIR="${D}" install + + dodoc HISTORY README + fi +} diff --git a/media-plugins/vdr-xvdr/metadata.xml b/media-plugins/vdr-xvdr/metadata.xml new file mode 100644 index 000000000000..d7ad70b1cd82 --- /dev/null +++ b/media-plugins/vdr-xvdr/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="github">pipelka/vdr-plugin-xvdr</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/vdr-xvdr/vdr-xvdr-9999.ebuild b/media-plugins/vdr-xvdr/vdr-xvdr-9999.ebuild new file mode 100644 index 000000000000..8237c72fae8d --- /dev/null +++ b/media-plugins/vdr-xvdr/vdr-xvdr-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit vdr-plugin-2 git-2 + +EGIT_REPO_URI="git://github.com/pipelka/vdr-plugin-xvdr.git" + +DESCRIPTION="VDR plugin: XVDR Streamserver Plugin" +HOMEPAGE="https://github.com/pipelka/vdr-plugin-xvdr" +SRC_URI="" +KEYWORDS="" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=">=media-video/vdr-1.6" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-plugin + +src_prepare() { + vdr-plugin-2_src_prepare + + fix_vdr_libsi_include "${S}"/src/live/livepatfilter.h +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/xvdr + doins xvdr/*.conf + diropts -gvdr -ovdr +} diff --git a/media-plugins/vdr-zaphistory/Manifest b/media-plugins/vdr-zaphistory/Manifest new file mode 100644 index 000000000000..21e02d695355 --- /dev/null +++ b/media-plugins/vdr-zaphistory/Manifest @@ -0,0 +1 @@ +DIST zaphistory-0.9.6.tar.gz 19874 SHA256 e7650ed7d4693576a10a5185f1676130221680490b2a69b0d3effd2030a8a9ec SHA512 7be51da0917f183edd5b74e240a7eca0a07d06df0d63b3194765f2744182fd9548b869f134f968ae30360272e199065a3500a194dc61a4c015fb22daaf54c18f WHIRLPOOL 2e5c2ac8bfa4f66002a6566f3a116ee9852895fea600e6d3ddb7e2189e9bd0280a807ca6079649f6c91ac3955dae8bff8b6a01e00b674f7ee1b4551cdcb9f408 diff --git a/media-plugins/vdr-zaphistory/files/vdr-zaphistory-0.9.6-fix-crash-no-info.diff b/media-plugins/vdr-zaphistory/files/vdr-zaphistory-0.9.6-fix-crash-no-info.diff new file mode 100644 index 000000000000..274012d731e4 --- /dev/null +++ b/media-plugins/vdr-zaphistory/files/vdr-zaphistory-0.9.6-fix-crash-no-info.diff @@ -0,0 +1,15 @@ +diff -Naur zaphistory-0.9.6.orig/zaphistoryosd.c zaphistory-0.9.6/zaphistoryosd.c +--- zaphistory-0.9.6.orig/zaphistoryosd.c 2013-09-15 15:22:41.000000000 +0200 ++++ zaphistory-0.9.6/zaphistoryosd.c 2013-09-15 15:24:42.000000000 +0200 +@@ -217,6 +217,11 @@ + + return AddSubMenu( new cMenuEvent(schedule->GetEventAround(time(NULL)) ) ); + ++ const cEvent *event = schedule->GetEventAround(time(NULL)); ++ if (event) ++ return AddSubMenu( new cMenuEvent(event) ); ++ else ++ return osUnknown; + } + + eOSState cMenuZappedChannels::ProcessKey(eKeys Key) diff --git a/media-plugins/vdr-zaphistory/metadata.xml b/media-plugins/vdr-zaphistory/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-zaphistory/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-zaphistory/vdr-zaphistory-0.9.6.ebuild b/media-plugins/vdr-zaphistory/vdr-zaphistory-0.9.6.ebuild new file mode 100644 index 000000000000..70dbba1411db --- /dev/null +++ b/media-plugins/vdr-zaphistory/vdr-zaphistory-0.9.6.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1437" # every bump, new Version + +DESCRIPTION="VDR Plugin: Shows the least recently used channels" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-zaphistory" +SRC_URI="mirror://vdr-developerorg/${VERSION}/zaphistory-${PV}.tar.gz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-2.0.0" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-fix-crash-no-info.diff") diff --git a/media-plugins/vdr-zappilot/Manifest b/media-plugins/vdr-zappilot/Manifest new file mode 100644 index 000000000000..503a7c5debfc --- /dev/null +++ b/media-plugins/vdr-zappilot/Manifest @@ -0,0 +1 @@ +DIST vdr-zappilot-0.0.5.tgz 17061 SHA256 d177520269499d8e2c68f99b9325f8b8823d9d4f5cc24e98fada742c76dff4e0 SHA512 9f1dfd3ecb38c5a4afdcad963f2680fe3c5e8dbe4610de0ccc8967811e51ca5e4ad268b9d01a5e4dd392ffa275bf896dd03225bc6568a72d92063a1dfa576222 WHIRLPOOL 650edd19153fa9299662bfb8f5560c9e1e8b687857bc0894b838d7397eacd2bcb740de8252d7ccba1cd667bdae35bb3636d7f57c719e94739847876bd795a9cb diff --git a/media-plugins/vdr-zappilot/metadata.xml b/media-plugins/vdr-zappilot/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-plugins/vdr-zappilot/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>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-zappilot/vdr-zappilot-0.0.5.ebuild b/media-plugins/vdr-zappilot/vdr-zappilot-0.0.5.ebuild new file mode 100644 index 000000000000..a631142c2e58 --- /dev/null +++ b/media-plugins/vdr-zappilot/vdr-zappilot-0.0.5.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +VERSION="1318" # every bump new version + +DESCRIPTION="VDR Plugin: browse fast the EPG information without being forced to switch to a channel" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-zappilot" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.7.34" +RDEPEND="${DEPEND}" diff --git a/media-plugins/xbmc-addon-xvdr/metadata.xml b/media-plugins/xbmc-addon-xvdr/metadata.xml new file mode 100644 index 000000000000..33b9b3faab28 --- /dev/null +++ b/media-plugins/xbmc-addon-xvdr/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>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <upstream> + <remote-id type="github">pipelka/xbmc-addon-xvdr</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/xbmc-addon-xvdr/xbmc-addon-xvdr-9999.ebuild b/media-plugins/xbmc-addon-xvdr/xbmc-addon-xvdr-9999.ebuild new file mode 100644 index 000000000000..95a4cead0e2c --- /dev/null +++ b/media-plugins/xbmc-addon-xvdr/xbmc-addon-xvdr-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit git-2 autotools multilib + +EGIT_REPO_URI="git://github.com/pipelka/xbmc-addon-xvdr.git" + +DESCRIPTION="XBMC addon: add VDR (http://www.tvdr.de/) as a TV/PVR Backend" +HOMEPAGE="https://github.com/pipelka/xbmc-addon-xvdr" +SRC_URI="" +KEYWORDS="" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + eautoreconf +} + +src_configure() { + econf --prefix=/usr/$(get_libdir)/xbmc +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} + +pkg_info() { + einfo "This add-on requires the installed "media-lugins/vdr-xvdr" plugin on the VDR server." + einfo "VDR itself dosn't need any patches or modification to use all the current features." + einfo "IMPORTANT:" + einfo "Please disable *all* PVR addons *before* running the XVDR addon!" +} diff --git a/media-plugins/xsynth-dssi/Manifest b/media-plugins/xsynth-dssi/Manifest new file mode 100644 index 000000000000..2e3e7da59109 --- /dev/null +++ b/media-plugins/xsynth-dssi/Manifest @@ -0,0 +1,2 @@ +DIST xsynth-dssi-0.9.2.tar.gz 451758 SHA256 81a2178a601ea0724aab7ea14ad41ce07b9a28a1c432d8e1758d37234d7140af +DIST xsynth-dssi-0.9.4.tar.gz 465783 SHA256 d3d24941a509c6193eac2b2ee3c9a6057c832565a0b66e58c3bd2e89afd8dc02 diff --git a/media-plugins/xsynth-dssi/metadata.xml b/media-plugins/xsynth-dssi/metadata.xml new file mode 100644 index 000000000000..ecc06c7ce1db --- /dev/null +++ b/media-plugins/xsynth-dssi/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="sourceforge">dssi</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-plugins/xsynth-dssi/xsynth-dssi-0.9.2.ebuild b/media-plugins/xsynth-dssi/xsynth-dssi-0.9.2.ebuild new file mode 100644 index 000000000000..7429be3362a8 --- /dev/null +++ b/media-plugins/xsynth-dssi/xsynth-dssi-0.9.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A software synthesizer plugin for the DSSI Soft Synth Interface" +HOMEPAGE="http://dssi.sourceforge.net/download.html#Xsynth-DSSI" +SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND="=x11-libs/gtk+-2* + media-libs/alsa-lib + >=media-libs/dssi-0.9 + >=media-libs/liblo-0.12" +DEPEND="${RDEPEND} + media-libs/ladspa-sdk + virtual/pkgconfig" + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog README TODO +} diff --git a/media-plugins/xsynth-dssi/xsynth-dssi-0.9.4.ebuild b/media-plugins/xsynth-dssi/xsynth-dssi-0.9.4.ebuild new file mode 100644 index 000000000000..cdbddc696bb3 --- /dev/null +++ b/media-plugins/xsynth-dssi/xsynth-dssi-0.9.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A software synthesizer plugin for the DSSI Soft Synth Interface" +HOMEPAGE="http://dssi.sourceforge.net/download.html#Xsynth-DSSI" +SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="=x11-libs/gtk+-2* + media-libs/alsa-lib + >=media-libs/dssi-0.9 + >=media-libs/liblo-0.12" +DEPEND="${RDEPEND} + media-libs/ladspa-sdk + virtual/pkgconfig" + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog README TODO +} |