diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-04-27 12:56:09 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-04-27 12:56:09 +0000 |
commit | b78532385c85ff33df342f6c100f02b1a99c7083 (patch) | |
tree | 638b99adff29bc8843f3e559b0d7ab5a627b1d7a | |
parent | Fixing SHA256 digest, pass two. (diff) | |
download | gentoo-2-b78532385c85ff33df342f6c100f02b1a99c7083.tar.gz gentoo-2-b78532385c85ff33df342f6c100f02b1a99c7083.tar.bz2 gentoo-2-b78532385c85ff33df342f6c100f02b1a99c7083.zip |
initial ebuild; thanks to cyberface, mvdbeek on http://www.vdr-portal.de/board/thread.php?postid=457992
(Portage version: 2.0.54)
7 files changed, 134 insertions, 0 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog new file mode 100644 index 000000000000..0b5d5004c828 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for media-plugins/vdr-xineliboutput +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.1 2006/04/27 12:56:09 hd_brummy Exp $ + +*vdr-xineliboutput-0.99 (27 Apr 2006) + + 27 Apr 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/xineliboutput-0.99-makefile-gentoo.diff, + +files/xineliboutput-0.99rc-amd64.patch, +metadata.xml, + +vdr-xineliboutput-0.99.ebuild: + initial ebuild; thanks to cyberface, mvdbeek on + http://www.vdr-portal.de/board/thread.php?postid=457992 + diff --git a/media-plugins/vdr-xineliboutput/Manifest b/media-plugins/vdr-xineliboutput/Manifest new file mode 100644 index 000000000000..c1bc03ed5d7f --- /dev/null +++ b/media-plugins/vdr-xineliboutput/Manifest @@ -0,0 +1,6 @@ +MD5 7cba5884e2b1077d015a55ea9d9289e5 ChangeLog 227 +MD5 45a8b9bbac0ceb7665568f0f41884ffd files/digest-vdr-xineliboutput-0.99 73 +MD5 aeb0f61690efb76b6e486675a8cee08e files/xineliboutput-0.99-makefile-gentoo.diff 617 +MD5 3a5f0ef497426cd72d01f4aaeb9e1c7e files/xineliboutput-0.99rc-amd64.patch 904 +MD5 fd52223add8035539d3ba20d36b3701c metadata.xml 455 +MD5 48c4342e4ecfbe4911e6b5757d026770 vdr-xineliboutput-0.99.ebuild 985 diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99 new file mode 100644 index 000000000000..1280b9ecfada --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99 @@ -0,0 +1 @@ +MD5 1224cf92f47c46dd1a43974d45d34695 vdr-xineliboutput-0.99rc.tgz 156202 diff --git a/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99-makefile-gentoo.diff b/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99-makefile-gentoo.diff new file mode 100644 index 000000000000..4986ddfffb0b --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99-makefile-gentoo.diff @@ -0,0 +1,17 @@ +fix an ACCESS_VIOLATION Error on compile +hd_brummy@gentoo.org ( 26 Apr 2006 ) + +diff -Naur xineliboutput-0.99rc.orig/Makefile xineliboutput-0.99rc/Makefile +--- xineliboutput-0.99rc.orig/Makefile 2006-04-26 12:35:31.285513162 +0000 ++++ xineliboutput-0.99rc/Makefile 2006-04-26 12:36:27.582975659 +0000 +@@ -330,8 +330,8 @@ + ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1) + $(XINEINPUTVDR_SO): xine_input_vdr.o + $(CC) -g -shared xine_input_vdr.o $(LIBS_XINE) -o $@ +- @-rm -rf $(XINEPLUGINDIR)/$@ +- @cp $@ $(XINEPLUGINDIR)/ ++# @-rm -rf $(XINEPLUGINDIR)/$@ ++# @cp $@ $(XINEPLUGINDIR)/ + endif + + ifeq ($(ENABLE_TEST_POSTPLUGINS), 1) diff --git a/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99rc-amd64.patch b/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99rc-amd64.patch new file mode 100644 index 000000000000..4a86823d3ac2 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/xineliboutput-0.99rc-amd64.patch @@ -0,0 +1,38 @@ +patch from http://users.tkk.fi/~phintuka/vdr/vdr-xineliboutput/ + +--- xineliboutput-0.99rc/xine_sxfe_frontend.c 2006-04-08 23:42:13.000000000 +0300 ++++ xineliboutput/xine_sxfe_frontend.c 2006-04-09 00:27:02.000000000 +0300 +@@ -23,16 +23,10 @@ + #include <pthread.h> + #include <sched.h> + #include <poll.h> + #include <linux/unistd.h> /* gettid() */ + +-#ifdef boolean +-# define HAVE_BOOLEAN +-#endif +-#include <jpeglib.h> +-#undef boolean +- + #include <X11/Xlib.h> + #include <X11/keysym.h> + #include <X11/extensions/XShm.h> + #include <X11/Xutil.h> + #ifdef HAVE_XF86VIDMODE +@@ -43,10 +37,16 @@ + #endif + #ifdef HAVE_XV_FIELD_ORDER + # include <X11/extensions/Xvlib.h> + #endif + ++#ifdef boolean ++# define HAVE_BOOLEAN ++#endif ++#include <jpeglib.h> ++#undef boolean ++ + #include <xine.h> + #ifndef XINE_ENGINE_INTERNAL + # define XINE_ENGINE_INTERNAL + # include <xine/xine_internal.h> + # undef XINE_ENGINE_INTERNAL diff --git a/media-plugins/vdr-xineliboutput/metadata.xml b/media-plugins/vdr-xineliboutput/metadata.xml new file mode 100644 index 000000000000..8d1fd8515cd6 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + </maintainer> + <maintainer> + <email>zzam@gentoo.org</email> + <name>Matthias Schwarzott</name> + </maintainer> + <longdescription> + Video Disk Recorder Xinelib PlugIn ( VDR ) + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99.ebuild new file mode 100644 index 000000000000..4d05d2f59c4d --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99.ebuild,v 1.1 2006/04/27 12:56:09 hd_brummy Exp $ + +inherit vdr-plugin eutils + +MY_PV=${PV}rc +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Video Disk Recorder Xinelib PlugIn" +HOMEPAGE="http://users.tkk.fi/~phintuka/vdr/${PN}/" +SRC_URI="http://users.tkk.fi/~phintuka/vdr/${PN}/${MY_P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.42 + >=media-libs/xine-lib-1.1.1" + +S=${WORKDIR}/xineliboutput-${MY_PV} + +PATCHES="${FILESDIR}/xineliboutput-0.99-makefile-gentoo.diff \ + ${FILESDIR}/xineliboutput-0.99rc-amd64.patch" + +pkg_setup() { + vdr-plugin_pkg_setup + + XINE_LIB_VERSION=$(awk -F'"' '/XINE_VERSION/ {print $2}' /usr/include/xine.h) +} + +src_install() { + vdr-plugin_src_install + + dobin vdr-fbfe vdr-sxfe + + insinto ${VDR_PLUGIN_DIR} + doins xineliboutput-fbfe.so.${MY_PV} xineliboutput-sxfe.so.${MY_PV} + + insinto /usr/lib/xine/plugins/${XINE_LIB_VERSION} + doins xineplug_inp_xvdr.so +} |