public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-softdevice: vdr-softdevice-0.5.0.20110417.ebuild ChangeLog
@ 2012-11-04 19:17 Joerg Bornkessel (hd_brummy)
  0 siblings, 0 replies; only message in thread
From: Joerg Bornkessel (hd_brummy) @ 2012-11-04 19:17 UTC (permalink / raw
  To: gentoo-commits

hd_brummy    12/11/04 19:17:59

  Modified:             ChangeLog
  Added:                vdr-softdevice-0.5.0.20110417.ebuild
  Log:
  latest snapshot, compilefix ffmpeg-0.10.2, thanks to ? on bug 422505
  
  (Portage version: 2.1.11.9/cvs/Linux i686)

Revision  Changes    Path
1.70                 media-plugins/vdr-softdevice/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?rev=1.70&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?rev=1.70&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog?r1=1.69&r2=1.70

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog	5 May 2012 08:27:15 -0000	1.69
+++ ChangeLog	4 Nov 2012 19:17:59 -0000	1.70
@@ -1,6 +1,13 @@
 # ChangeLog for media-plugins/vdr-softdevice
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.69 2012/05/05 08:27:15 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.70 2012/11/04 19:17:59 hd_brummy Exp $
+
+*vdr-softdevice-0.5.0.20110417 (04 Nov 2012)
+
+  04 Nov 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+  +vdr-softdevice-0.5.0.20110417.ebuild,
+  +files/softdevice-cvs-20110417_ffmpeg-0.10.2.diff:
+  latest snapshot, compilefix ffmpeg-0.10.2, thanks to ? on bug 422505
 
   05 May 2012; Jeff Horelick <jdhore@gentoo.org>
   vdr-softdevice-0.5.0.20080922.ebuild, vdr-softdevice-0.5.0.20090218.ebuild,



1.1                  media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20110417.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20110417.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20110417.ebuild?rev=1.1&content-type=text/plain

Index: vdr-softdevice-0.5.0.20110417.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20110417.ebuild,v 1.1 2012/11/04 19:17:59 hd_brummy Exp $

EAPI="4"

inherit vdr-plugin-2 versionator

DESCRIPTION="VDR Plugin: Software output-Device"
HOMEPAGE="http://softdevice.berlios.de/"

# Detect snapshots
SNAP_V="$(get_version_component_range 4)"
if [[ "$SNAP_V" ]]; then
	MY_P="${PN}-cvs-${SNAP_V}"
	S="${WORKDIR}/${MY_P#vdr-}"
	SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
else
	SRC_URI="mirror://berlios/${PN#vdr-}/${P}.tgz"
fi

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+xv fbcon directfb mmx mmxext xinerama"

# converted from built_with_use that had this comment:
# Check for ffmpeg relying on libtheora without pkg-config-file
# Bug #142250
RDEPEND=">=media-video/vdr-1.5.9
	|| (
		>=virtual/ffmpeg-0.10.2[-theora]
		(
			>=virtual/ffmpeg-0.10.2[theora]
			>=media-libs/libtheora-1.1.1
		)
	)
	directfb? (
		dev-libs/DirectFB
		dev-libs/DFB++
	)
	media-libs/alsa-lib
	xv? ( x11-libs/libX11
				x11-libs/libXext
				x11-libs/libXi
				x11-libs/libXv
				xinerama? ( x11-libs/libXinerama )
	)"

DEPEND="${RDEPEND}
	xv? ( x11-proto/xproto
				x11-proto/xextproto
				x11-libs/libXv
				xinerama? ( x11-proto/xineramaproto )
			)
	fbcon? ( sys-kernel/linux-headers )
	virtual/pkgconfig"
# Make sure the assembler USE flags are unmasked on amd64
# Remove this once default-linux/amd64/2006.1 is deprecated
DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )"

PATCHES=("${FILESDIR}/patches-0.4.0/shm-fullscreen-parameter.diff"
		"${FILESDIR}/softdevice-cvs-20110417_ffmpeg-0.10.2.diff")

REQUIRED_USE="^^ ( xv fbcon directfb )"

pkg_setup() {
	vdr-plugin-2_pkg_setup

	COMPILE_SHM=0

	if use xv; then
		COMPILE_SHM=1
	else
		elog "SHM does only support xv at the moment"
	fi

	case ${COMPILE_SHM} in
		0)	elog "SHM support will not be compiled." ;;
		1)	elog "SHM support will be compiled." ;;
	esac
}

src_prepare() {
	vdr-plugin-2_src_prepare

	sed -e "s:RegisterI18n://RegisterI18n:" -i softdevice.c

	# UINT64_C is needed by ffmpeg headers
	append-flags -D__STDC_CONSTANT_MACROS
}

src_configure() {
	local MYOPTS=""
	MYOPTS="${MYOPTS} --disable-vidix"
	use xv || MYOPTS="${MYOPTS} --disable-xv"
	use fbcon || MYOPTS="${MYOPTS} --disable-fb"
	use directfb || MYOPTS="${MYOPTS} --disable-dfb"

	use mmx || MYOPTS="${MYOPTS} --disable-mmx"
	use mmxext || MYOPTS="${MYOPTS} --disable-mmx2"

	use xinerama || MYOPTS="${MYOPTS} --disable-xinerama"

	[[ ${COMPILE_SHM} == 1 ]] || MYOPTS="${MYOPTS} --disable-shm"

	cd "${S}"
	elog configure ${MYOPTS}
	./configure ${MYOPTS} || die "configure failed"
}

src_install() {
	vdr-plugin-2_src_install

	cd "${S}"

	insinto "${VDR_PLUGIN_DIR}"
	doins libsoftdevice-*.so.*

	if [[ "${COMPILE_SHM}" = "1" ]]; then
		exeinto "/usr/bin"
		doexe ShmClient
		make_desktop_entry ShmClient "VDR softdevice Client" "" "AudioVideo;TV"
	fi

	# do we need this includes really in system?
	insinto /usr/include/vdr-softdevice
	doins *.h
}





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

only message in thread, other threads:[~2012-11-04 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 19:17 [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-softdevice: vdr-softdevice-0.5.0.20110417.ebuild ChangeLog 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