Re: [ANNOUNCE] vdr-webvideo 0.2.0 - little patch to makefile of libwebvi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26.01.2010 14:33, Rene wrote:
> Lucian Muresan wrote:
> 
>> Btw, I wrote 3 ebuilds for this plugin (media-video/rtmptdump-yle,
>> media-video/webvi and media-plugins/vdr-webvi) and already sent them to
>> Joerg from the Gentoo vdr team...
> 
> Hi Lucian!
> 
> Do you happen to have these ebuilds somewhere to download, cause i can't
> wait to test them :-)

Here you go!

Just put them in the right categories as mentioned above, and don't
forget  to place the confd to the plugin's ${FILESDIR} and the makefile
patch to that of the webvi library ${FILESDIR} before generating the
manifests...

Of course, these are just quick shots, who knows, maybe dependencies are
still not correct, but as of version 0.2.1 they work in my vdr-1.7.11.

I also have some other feedback to the author:

How could other sites like http://plus7.arte.tv or the "Mediathek" of
ZDF or 3sat be added to the templates?

Is it possible to to implement that the plugin's OSD "remembers" where
it was left when last accessed in the current VDR "session"? It's a bit
tedious to navigate through all menus again and again.

If a search did not give the desired results, it would be useful if a
new attempt would still hold the old search keywords to be able to
slightly modify them instead of "typing" them again.

Otherwise, really nice and interesting plugin which actually works with
youtube, unlike the ones I've tried with XBMC where they crash all the
time...
BTW, how does it handle multiple quality versions of youtube videos,
does it pick "HD" or "HQ" by itself?

Cheers,
Lucian
# /etc/conf.d/vdr.webwideo:

# Global config file for vdr rc-scripts

# -d dir, --downloaddir=dir  Save downloaded files to dir. The default
#                            path is the VDR video directory.
# -t dir, --templatedir=dir  Read video site templates from DIR (default
#                            /usr/local/share/webvi/templates)

_EXTRAOPTS="--templatedir=/usr/share/webvi/templates"
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

#EAPI=0

inherit eutils

DESCRIPTION="CLI program for downloading vidos from YLE Areena"

HOMEPAGE="http://users.tkk.fi/~aajanki/${PN}/index-en.html";

IUSE=""

SRC_URI="http://users.tkk.fi/~aajanki/${PN}/${P}.tar.gz";

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~amd64 ~x86"

DEPEND="dev-libs/openssl
	dev-libs/libxml2"

RDEPEND="${DEPEND}"

src_install() {
	dobin ${PN}
	dobin yle-dl
	dodoc ChangeLog README* TODO
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit vdr-plugin

DESCRIPTION="VDR Plugin: video website browser / viewer"
HOMEPAGE="http://users.tkk.fi/~aajanki/vdr/webvideo/";
SRC_URI="http://users.tkk.fi/~aajanki/vdr/webvideo/${P}.tgz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=media-video/vdr-1.6.0
	=media-video/webvi-${PV}"

S="${WORKDIR}/${VDRPLUGIN}-${PV}/src/vdr-plugin"

src_install() {
	vdr-plugin_src_install
	insinto /etc/vdr/plugins/${VDRPLUGIN}
	doins mime.types
	dodoc ${WORKDIR}/${VDRPLUGIN}-${PV}/README*
	dodoc ${WORKDIR}/${VDRPLUGIN}-${PV}/TODO
	dodoc ${WORKDIR}/${VDRPLUGIN}-${PV}/HISTORY
	dodoc ${WORKDIR}/${VDRPLUGIN}-${PV}/doc/*
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="Video website browser / viewer library needed for the VDR plugin vdr-webvideo"

HOMEPAGE="http://users.tkk.fi/~aajanki/vdr/webvideo/";

IUSE="+yle"

SRC_URI="http://users.tkk.fi/~aajanki/vdr/webvideo/vdr-webvideo-${PV}.tgz";

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~amd64 ~x86"

DEPEND="dev-lang/python
	dev-python/pycurl
	dev-libs/libxml2
	dev-libs/libxslt
	yle? (	media-video/rtmpdump-yle )
	"

RDEPEND="${DEPEND}"

S="${WORKDIR}/webvideo-${PV}"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}_prefix.diff
	if ! use yle; then
		rm -Rf templates/bin
		rm -Rf templates/yleareena
	fi
}

src_install() {
	if [ ${ARCH} = "amd64" ]; then
		dodir /usr/lib64
		dosym lib64 /usr/lib
	fi
	cd ${S}
	PREFIX=${D}/usr emake install-library || die "failed install"
	dodoc HISTORY README* TODO doc/*
	if [ ${ARCH} = "amd64" ]; then
		rm ${D}/usr/lib
	fi
}
diff -Naur webvideo-0.2.1_orig/src/libwebvi/Makefile webvideo-0.2.1/src/libwebvi/Makefile
--- webvideo-0.2.1_orig/src/libwebvi/Makefile	2010-01-17 17:57:27.000000000 +0100
+++ webvideo-0.2.1/src/libwebvi/Makefile	2010-01-21 11:28:28.000000000 +0100
@@ -1,4 +1,4 @@
-PREFIX=/usr/local
+PREFIX ?= /usr/local
 
 LIBNAME=libwebvi.so
 LIBSONAME=$(LIBNAME).0
@@ -21,6 +21,6 @@
 	rm -f *.o *~ libwebvi.so* libwebvi.a
 
 install: $(LIBMINOR)
-	cp --remove-destination libwebvi.so* $(PREFIX)/lib
+	cp --remove-destination --archive libwebvi.so* $(PREFIX)/lib
 
 .PHONY: clean install
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux