summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-decruft
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-decruft
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-decruft')
-rw-r--r--media-plugins/vdr-decruft/Manifest7
-rw-r--r--media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff17
-rw-r--r--media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch24
-rw-r--r--media-plugins/vdr-decruft/metadata.xml8
-rw-r--r--media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild27
5 files changed, 83 insertions, 0 deletions
diff --git a/media-plugins/vdr-decruft/Manifest b/media-plugins/vdr-decruft/Manifest
new file mode 100644
index 000000000000..dead7a4ee2db
--- /dev/null
+++ b/media-plugins/vdr-decruft/Manifest
@@ -0,0 +1,7 @@
+AUX vdr-decruft-0.0.4-avoid-vdr-patch.diff 748 SHA256 6e53cfed31521941291e88153bcbbfd9542b1e60f4d036a9797bf0cfd5b4d281 SHA512 0b5496b3a0e450fd020c4ea542645786c7bdebf088379dfdbc1724da5bc3bd9538aa6dea56a4380363b6d08f4b1ff5b97ef63067d9bce4410f67a724b97585cb WHIRLPOOL d51523b574284639e58d373a148478a3d04195a5e4b0505a99ac288a9cdd65cb58226c7440e358b65ee47dca9f1872264b2450e649672d7f2bc7b86ac89c61fc
+AUX vdr-decruft-0.0.4_compile.patch 783 SHA256 a4231a76aa452f5fc19ae115acf077336a6c6c82308370a1013c4dc85bc19c87 SHA512 5b0cf0e59bf9f8b1e881ec3defadf8f95f9e7fb218e4efa12590376946679ac1bc21304d35fd7c33ba6e39e816a02c06de591b2371f03de74b1768422ffa067c WHIRLPOOL d0fd1c329378499f537743997daa05942fef05bbe56f8fbca2ccafbef6a1008d2ca867d4ae27a8c9bd4d8126782da0890c99370f8c33dbd8248084da761d3a52
+DIST vdr-decruft-0.0.4.tgz 15921 SHA256 957b0d5ada79e69595424615df94da0b49d6b3c7af43c9d33591b82be3cd5345 SHA512 36afab0059457be83b0c6c578c91e353dd42fb6c154a8f80abc89ed6feab5ca790b24f0fb071cf719f4d94cfbfd914db015b751358e2d48ab09e8b472c715da1 WHIRLPOOL 4d518cecb47cd0abfd6b13d7d3e023fd94cc53547967443d4ebe7c5e6828362056aed8fec02de577873a55ab7e822e7451ebb222e74b6d61e4100cb72f7361a5
+EBUILD vdr-decruft-0.0.4-r1.ebuild 610 SHA256 d832ffdb301e5ac89907af52a42ced6be3c50758f43cd821c6771aeb96b7f710 SHA512 12414fa4ad65f898412839eadc66efbbf23d2335f90fac34a562014df59d68640b198c3b1b3b872102efaf979cb220efd296d4d93a2852ce48c6b1e881abcfa1 WHIRLPOOL e4abe309bc317cba2daa2323df67eb4eb2cfb05544f2deb639827c98e5ace880c0dd4069446d16b1a0933099160496330c331ebb773dd1556f1c67010cdb7546
+MISC ChangeLog 2934 SHA256 4493f563a3d769dca6f3e2045a277387464df2c8501392ff403c482555bf1b03 SHA512 6257b70800dc920d5edc4f758920272eb1372a9637a4c5317dd921ec189bdb88efc6c5703f7fe4354478a8699aac5fde2a1621e36fe466c5c65e306d91d20551 WHIRLPOOL ee6f504290c961a3d5487e8c0420e59daf91ef9f4e99d0e0c0d904fc5bb876d9284e2dd7a815e6a0ce7e486e30812c6d63e92587aeeb0aecfc04e887813b3df4
+MISC ChangeLog-2015 1527 SHA256 b01a348ad7eb0877ec85e7e034a68696d2bad55cab65ae2a3ea01c85a0cd7975 SHA512 0b7ee34a02e2a0da21ef109eebac0564a034f748ff431d3cfdfae3f64c4841f5eeacf6ee8418c828ead004673e0fa9f40cff7f2a6dc9022c2e51949f40494c59 WHIRLPOOL ea447e510c317b6bfd1c90df823e92f536566f24ec383ba50970eb784756b6919fbc97652f3b937419d35cc8668113d2d4a6739fafe6b2f7e11eb0f72435e88a
+MISC metadata.xml 243 SHA256 161359b6e9eddec137a431eea66785e070bbc25fab3ae1b57f900e411fc37fe7 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 WHIRLPOOL ebf59815181c251040396bb44206b875f6d996abcff030fdbf8355b47d6ea8c4f2669847ea1af194112de469258d7ca09ed77b682924ca495958a65f957dbf39
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..27f419c289c3
--- /dev/null
+++ b/media-plugins/vdr-decruft/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 type="project">
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+</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..fb203452c9ed
--- /dev/null
+++ b/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}