diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-xine | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-xine')
-rw-r--r-- | media-plugins/vdr-xine/Manifest | 1 | ||||
-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 | 8 | ||||
-rw-r--r-- | media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild | 63 |
6 files changed, 151 insertions, 0 deletions
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 +} |