summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-02-20 15:32:00 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-02-20 15:32:00 +0000
commitd684024a18c51f584662455c7220874a808dbd37 (patch)
treedb747370058d411c806611803dc15316b10a6774 /media-plugins/vdr-epgsearch
parentMarked ~hppa (bug #184563). (diff)
downloadgentoo-2-d684024a18c51f584662455c7220874a808dbd37.tar.gz
gentoo-2-d684024a18c51f584662455c7220874a808dbd37.tar.bz2
gentoo-2-d684024a18c51f584662455c7220874a808dbd37.zip
Added beta-version. This should support vdr-1.5.15
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-epgsearch')
-rw-r--r--media-plugins/vdr-epgsearch/ChangeLog8
-rw-r--r--media-plugins/vdr-epgsearch/vdr-epgsearch-0.9.24_beta19.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/media-plugins/vdr-epgsearch/ChangeLog b/media-plugins/vdr-epgsearch/ChangeLog
index 8708fbf1d470..95acd67dc8f1 100644
--- a/media-plugins/vdr-epgsearch/ChangeLog
+++ b/media-plugins/vdr-epgsearch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-epgsearch
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-epgsearch/ChangeLog,v 1.26 2008/01/12 12:01:36 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-epgsearch/ChangeLog,v 1.27 2008/02/20 15:32:00 zzam Exp $
+
+*vdr-epgsearch-0.9.24_beta19 (20 Feb 2008)
+
+ 20 Feb 2008; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-epgsearch-0.9.24_beta19.ebuild:
+ Added beta-version. This should support vdr-1.5.15
12 Jan 2008; Matthias Schwarzott <zzam@gentoo.org>
vdr-epgsearch-0.9.23.ebuild:
diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-0.9.24_beta19.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-0.9.24_beta19.ebuild
new file mode 100644
index 000000000000..bf52b8217678
--- /dev/null
+++ b/media-plugins/vdr-epgsearch/vdr-epgsearch-0.9.24_beta19.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-epgsearch/vdr-epgsearch-0.9.24_beta19.ebuild,v 1.1 2008/02/20 15:32:00 zzam Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder epgsearch plugin"
+HOMEPAGE="http://winni.vdr-developer.org/epgsearch"
+
+if [[ ${P/beta/} != ${P} ]]; then
+ MY_P="${P/_/.}"
+ SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/beta/${MY_P}.tgz"
+ S="${WORKDIR}/${MY_P#vdr-}"
+else
+ SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/${P}.tgz"
+fi
+
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pcre"
+
+DEPEND=">=media-video/vdr-1.3.45
+ pcre? ( dev-libs/libpcre )"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd "${S}"
+ fix_vdr_libsi_include conflictcheck.c
+
+ use pcre && sed -i Makefile -e 's/^#HAVE_PCREPOSIX/HAVE_PCREPOSIX/'
+}
+
+src_install() {
+ vdr-plugin_src_install
+ diropts "-m755 -o vdr -g vdr"
+ keepdir /etc/vdr/plugins/epgsearch
+
+ cd "${S}"
+ emake install-doc MANDIR="${D}/usr/share/man"
+ dodoc MANUAL
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+ if has_version "<media-plugins/vdr-epgsearch-0.9.18"; 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
+}