public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/noad: ChangeLog noad-0.7.2-r2.ebuild noad-0.7.2-r1.ebuild
@ 2011-02-02 21:36 Joerg Bornkessel (hd_brummy)
  0 siblings, 0 replies; only message in thread
From: Joerg Bornkessel (hd_brummy) @ 2011-02-02 21:36 UTC (permalink / raw
  To: gentoo-commits

hd_brummy    11/02/02 21:36:15

  Modified:             ChangeLog
  Added:                noad-0.7.2-r2.ebuild
  Removed:              noad-0.7.2-r1.ebuild
  Log:
  fixed wrong vdr version detection for new svdrpport
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.47                 media-video/noad/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.47&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.47&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?r1=1.46&r2=1.47

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ChangeLog	25 Jan 2011 23:10:29 -0000	1.46
+++ ChangeLog	2 Feb 2011 21:36:15 -0000	1.47
@@ -1,6 +1,12 @@
 # ChangeLog for media-video/noad
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.46 2011/01/25 23:10:29 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.47 2011/02/02 21:36:15 hd_brummy Exp $
+
+*noad-0.7.2-r2 (02 Feb 2011)
+
+  02 Feb 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
+  -noad-0.7.2-r1.ebuild, +noad-0.7.2-r2.ebuild:
+  fixed wrong vdr version detection for new svdrpport
 
   25 Jan 2011; Joerg Bornkessel <hd_brummy@gentoo.org> -noad-0.7.2.ebuild,
   noad-0.7.2-r1.ebuild:



1.1                  media-video/noad/noad-0.7.2-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.2-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.2-r2.ebuild?rev=1.1&content-type=text/plain

Index: noad-0.7.2-r2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.7.2-r2.ebuild,v 1.1 2011/02/02 21:36:15 hd_brummy Exp $

EAPI="3"

inherit eutils flag-o-matic autotools

DESCRIPTION="Mark commercial Breaks in VDR records"
HOMEPAGE="http://noad.heliohost.org/"
SRC_URI="http://noad.heliohost.org/${P}.tar.bz2"

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

DEPEND="media-libs/libmpeg2
	ffmpeg? ( >=media-video/ffmpeg-0.4.8 )
	imagemagick? ( >=media-gfx/imagemagick-6.2.4.2-r1 )
	!media-plugins/vdr-markad"
RDEPEND="${DEPEND}"

src_prepare() {

	epatch "${FILESDIR}"/patches-0.7.x/"${P}"-hangcheck.diff
	epatch "${FILESDIR}"/patches-0.7.x/"${P}"-cflags.patch
	eautoreconf
	# UINT64_C is needed by ffmpeg headers
	append-flags -D__STDC_CONSTANT_MACROS

	if has_version ">=media-video/vdr-1.7.15"; then
		sed -e "s:2001:6419:" -i svdrpc.cpp
	fi
}

src_configure() {

	local=myconf
	use ffmpeg && myconf="--with-ffmpeg --with-ffmpeginclude=/usr/include"

	econf \
	${myconf} \
	$(use_with imagemagick magick) \
	--with-mpeginclude=/usr/include/mpeg2dec
#	--with-tools # fails on showindex, marcpics compile
}

src_install() {

	dobin noad
#       fix me later!
#       dobin noad showindex
#	use imagemagick && dobin markpics

	dodoc README INSTALL
	# example scripts are installed as dokumentation
	dodoc allnewnoad allnoad allnoadnice clearlogos noadifnew stat2html

	CONF_SOURCE="${FILESDIR}/0.7.1"
	newconfd "${CONF_SOURCE}"/confd_vdraddon.noad vdraddon.noad

	insinto /usr/share/vdr/record
	doins "${CONF_SOURCE}"/record-50-noad.sh

	insinto /usr/share/vdr/shutdown
	doins "${FILESDIR}"/pre-shutdown-15-noad.sh

	insinto /etc/vdr/reccmds
	doins "${CONF_SOURCE}"/reccmds.noad.conf

	exeinto /usr/share/vdr/bin
	doexe "${CONF_SOURCE}"/noad-reccmd
}

pkg_postinst() {

	elog
	elog "Congratulations, you have just installed noad!,"
	elog "To integrate noad in VDR you should do this:"
	elog
	elog "start and set Parameter in /etc/conf.d/vdraddon.noad"
	elog
	elog "Note: You can use here all pararmeters for noad,"
	elog "please look in the documentation of noad."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-02 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 21:36 [gentoo-commits] gentoo-x86 commit in media-video/noad: ChangeLog noad-0.7.2-r2.ebuild noad-0.7.2-r1.ebuild Joerg Bornkessel (hd_brummy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox