diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-01-10 14:30:02 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-01-10 14:30:02 +0000 |
commit | 795dcce1ff132428cb20a1420db84d4c38774b1f (patch) | |
tree | 05d84e7b56257905d546b979c833ce97e58d5518 /media-plugins/vdr-xine | |
parent | Version bump. (diff) | |
download | gentoo-2-795dcce1ff132428cb20a1420db84d4c38774b1f.tar.gz gentoo-2-795dcce1ff132428cb20a1420db84d4c38774b1f.tar.bz2 gentoo-2-795dcce1ff132428cb20a1420db84d4c38774b1f.zip |
Initial import.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-xine')
-rw-r--r-- | media-plugins/vdr-xine/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-xine/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/vdr-xine/files/confd | 8 | ||||
-rw-r--r-- | media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch | 59 | ||||
-rw-r--r-- | media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff | 12 | ||||
-rw-r--r-- | media-plugins/vdr-xine/metadata.xml | 11 | ||||
-rw-r--r-- | media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild | 63 |
7 files changed, 171 insertions, 0 deletions
diff --git a/media-plugins/vdr-xine/ChangeLog b/media-plugins/vdr-xine/ChangeLog new file mode 100644 index 000000000000..6f50d02620e8 --- /dev/null +++ b/media-plugins/vdr-xine/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-xine +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xine/ChangeLog,v 1.1 2012/01/10 14:30:02 idl0r Exp $ + +*vdr-xine-0.9.4 (10 Jan 2012) + + 10 Jan 2012; Christian Ruppert <idl0r@gentoo.org> +vdr-xine-0.9.4.ebuild, + +files/vdr-xine-0.9.4-build-system.patch, +files/vdr-xine-0.9.4-gentoo.diff, + +files/confd, +metadata.xml: + Initial import. + diff --git a/media-plugins/vdr-xine/Manifest b/media-plugins/vdr-xine/Manifest new file mode 100644 index 000000000000..32875e56c5b4 --- /dev/null +++ b/media-plugins/vdr-xine/Manifest @@ -0,0 +1,7 @@ +AUX confd 133 RMD160 7acd7828a918e636097e340c1b88c2fdaa40f0d0 SHA1 549c83d6ed682f0f01d3be9fe1ab39649123c521 SHA256 126756249851995101f27e9bbc0a87a011f5c7a5f1cd480ac6638b8c0722868b +AUX vdr-xine-0.9.4-build-system.patch 1507 RMD160 cd69b9cc59508b5abc20fe617c60e9273d3528a0 SHA1 f40827e9a99f3eb3e01224e0c46b9e119249cca4 SHA256 9fa0570e43e4cdfc41efd2ec0fb5b745a8906ceeea2b303dd4a6cd20a0342066 +AUX vdr-xine-0.9.4-gentoo.diff 520 RMD160 c553418c577548a4754ca936ff02ba3b1a16d8ab SHA1 60da5839fbd384a553322adb71ba5d26074df7e9 SHA256 f520451d4e15be2859320170b97f20996bc8040130e2a2605152f523b43af751 +DIST vdr-xine-0.9.4.tgz 339879 RMD160 494b3d9219be2a9a73ab7f93cc8dad4567e1de5f SHA1 3eb108032bca149b632cd0bbb42d118367713971 SHA256 e17bc3e88d1f95b8256e6fde5edc1b3e6f143d5f2bf52c921d2d8ff572862fbe +EBUILD vdr-xine-0.9.4.ebuild 1309 RMD160 40928fd935397966cb396c287c5bdd37206e786a SHA1 71b19080736365cfb6f90321c799ec5f65842fe7 SHA256 923f2d2b38f00de09d3250a837539e65c73cf398b9ebc22e188516bbc4188c0e +MISC ChangeLog 359 RMD160 2466d0ab6d7283a0cbb5ea1bda6fd001a5dfa420 SHA1 7a4887330ae1462234d69db7dd444d394873bbcd SHA256 974fda4c577a95b2f5db46385b43654b9ccb5d57202d07dd6cd55f55b71055cb +MISC metadata.xml 338 RMD160 24fbaf6263eca6a0088e1456732bae8f290948fc SHA1 6db9888abd8ff2c7cee0f2d2689f570f2c69b741 SHA256 3246629b3f552bd20d1861a07feea148bfee2eaec4a1dcbac0952bf96f0eccbd 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..f0beaa0eb698 --- /dev/null +++ b/media-plugins/vdr-xine/metadata.xml @@ -0,0 +1,11 @@ +<!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> + <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.ebuild b/media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild new file mode 100644 index 000000000000..a2df1b9def1e --- /dev/null +++ b/media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild,v 1.1 2012/01/10 14:30:02 idl0r Exp $ + +EAPI=3 + +inherit vdr-plugin + +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="nls yaepg" + +COMMON_DEP=">=media-video/vdr-1.3.9 + >=media-libs/xine-lib-1.1.8[vdr]" +DEPEND="${COMMON_DEP} + nls? ( sys-devel/gettext )" +RDEPEND="${COMMON_DEP} + media-video/mjpegtools + media-libs/netpbm + media-video/y4mscaler" + +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_src_prepare +} + +src_compile() { + BUILD_PARAMS="VDR_XINE_FIFO_DIR=/var/vdr/xine" + + if use nls; then + BUILD_PARAMS+=" ENABLE_I18N=yes" + fi + + vdr-plugin_src_compile +} + +src_install() { + vdr-plugin_src_install + + dobin xineplayer || die + + insinto /usr/share/vdr/xine + doins data/* || die +} + +pkg_postinst() { + vdr-plugin_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 +} |