summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-permashift
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-permashift
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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-permashift')
-rw-r--r--media-plugins/vdr-permashift/Manifest5
-rw-r--r--media-plugins/vdr-permashift/files/permashift.mk125
-rw-r--r--media-plugins/vdr-permashift/metadata.xml12
-rw-r--r--media-plugins/vdr-permashift/vdr-permashift-0.5.1.ebuild27
-rw-r--r--media-plugins/vdr-permashift/vdr-permashift-0.5.2.ebuild21
-rw-r--r--media-plugins/vdr-permashift/vdr-permashift-0.5.4.ebuild19
-rw-r--r--media-plugins/vdr-permashift/vdr-permashift-1.0.0.ebuild19
-rw-r--r--media-plugins/vdr-permashift/vdr-permashift-1.0.1.ebuild19
8 files changed, 247 insertions, 0 deletions
diff --git a/media-plugins/vdr-permashift/Manifest b/media-plugins/vdr-permashift/Manifest
new file mode 100644
index 00000000000..3a603ed73a0
--- /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 00000000000..2e1f0e2276b
--- /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 00000000000..d1b88e6872a
--- /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 00000000000..c703f79738d
--- /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 00000000000..b9ec6945449
--- /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 00000000000..d9b42795e79
--- /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 00000000000..cd7c50b30bb
--- /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 00000000000..a691a17066d
--- /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=""