diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-06-30 20:46:34 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2009-06-30 20:46:34 +0000 |
commit | 5ada17f7fad82ced3f7b0684a22f7db23817a31a (patch) | |
tree | 68155df85757b0ca2dbd1082e2c85178b00f8457 /media-plugins/vdr-softdevice | |
parent | keyworded ~arch for x86, bug 275353 (diff) | |
download | historical-5ada17f7fad82ced3f7b0684a22f7db23817a31a.tar.gz historical-5ada17f7fad82ced3f7b0684a22f7db23817a31a.tar.bz2 historical-5ada17f7fad82ced3f7b0684a22f7db23817a31a.zip |
Added a new snapshot.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-plugins/vdr-softdevice')
-rw-r--r-- | media-plugins/vdr-softdevice/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-softdevice/Manifest | 12 | ||||
-rw-r--r-- | media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20090630.ebuild | 128 |
3 files changed, 142 insertions, 6 deletions
diff --git a/media-plugins/vdr-softdevice/ChangeLog b/media-plugins/vdr-softdevice/ChangeLog index 11d534b9c70f..48b44be4ac90 100644 --- a/media-plugins/vdr-softdevice/ChangeLog +++ b/media-plugins/vdr-softdevice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/vdr-softdevice # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.63 2009/03/03 11:56:11 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.64 2009/06/30 20:46:34 zzam Exp $ + +*vdr-softdevice-0.5.0.20090630 (30 Jun 2009) + + 30 Jun 2009; Matthias Schwarzott <zzam@gentoo.org> + +vdr-softdevice-0.5.0.20090630.ebuild: + Added a new snapshot. 03 Mar 2009; Matthias Schwarzott <zzam@gentoo.org> vdr-softdevice-0.5.0.20090218.ebuild: diff --git a/media-plugins/vdr-softdevice/Manifest b/media-plugins/vdr-softdevice/Manifest index 2494e1713c91..2d9a9a56fc86 100644 --- a/media-plugins/vdr-softdevice/Manifest +++ b/media-plugins/vdr-softdevice/Manifest @@ -9,14 +9,16 @@ AUX rc-addon.sh 321 RMD160 b236a3ce160d66fd4b25ad8fe4239cbbe5cb0843 SHA1 02c5f2e AUX vdr-softdevice-0.5.0.20080922-offsett.patch 1298 RMD160 ac28491ce13a8d06dc8bd5af6805a4fcd91c9cfd SHA1 5a8ae7cf83c737077b85213f9cfc1b789c9c028c SHA256 ccf16a8e94b6b9a0cb284b1e11595858b330f1307b2157eb1224db6b91e78661 DIST vdr-softdevice-cvs-20080922.tar.bz2 161453 RMD160 8640c1f3aaf8b0edc994247382bfbf390e514fad SHA1 6d87279fe51a04cff50b949daf32d744ca72efc4 SHA256 95588510261069c3d71f466350bb8eee524d70f2b84ba5120745f01b011c8de5 DIST vdr-softdevice-cvs-20090218.tar.bz2 161620 RMD160 273b55bd4dd551b82714724aa097a5ac2a0f0521 SHA1 059080d76529cccfe78fb4503731158622c308e5 SHA256 79f03506b40da140ad31be0849a9e33f7fb223eaa5f070fa1ade906b863548f6 +DIST vdr-softdevice-cvs-20090630.tar.bz2 162845 RMD160 2855c6e7177a770982efabd0c81fea03ce0e72de SHA1 c3930fbdefa8e15a7949745e82fa92865817f9b1 SHA256 02b6c4277bcc77df2e488bb0ba3efd59c4fcaa61ec6f3ba88ccf77c4e1d5a609 EBUILD vdr-softdevice-0.5.0.20080922.ebuild 3566 RMD160 f4fb258bf79f7969e5f4a894bc57ea0227fb02cb SHA1 8307b7065d0bc1f44ec9a9d20c99c70baec390e8 SHA256 b9443de9249cb7c12510eaba76de19c14793f5fc9451c43afb3b817d1717ef72 EBUILD vdr-softdevice-0.5.0.20090218.ebuild 3313 RMD160 734363deaaa61357aa7e6dafcf8ae40949571e9b SHA1 6ba937eed366bdc6cfdcc09b5a547ae84d1dbb7d SHA256 d58aff20d0192177e2a70e1ed8aeabbf23cc8ae4166ffa0fa9bbba848adbac7a -MISC ChangeLog 14622 RMD160 2d7ed56a4962a552f1f7526ffea32614b2b7440e SHA1 7615f4d4a18f91d86ff3cc108afe3e52ffa80b78 SHA256 b9d6d4e21de5623d517d22cc8bda9e8624cbef80eab80eb99e01905aec1a277e +EBUILD vdr-softdevice-0.5.0.20090630.ebuild 3314 RMD160 f1f5b03cf0d932ea92c5bd0e87a32607a7dce6ff SHA1 b8cbe0588707d4ffc224f53e487841b712db4082 SHA256 4a8df2c19322b78810a6be80b33270706695994e79b2c74a530f3b5a9b645e7f +MISC ChangeLog 14787 RMD160 2c31357d5132a842896683b583135f1d749f91d4 SHA1 c2a4f4a6e855abc5c54f2a5ba4707ffdce29d72f SHA256 53997fe669a79f512380bb13ae88e0b951c526c03cce89dd491fa455d4229140 MISC metadata.xml 315 RMD160 9ff61fc577af435ee1e4c8cc622a7495ee2b6932 SHA1 514ba8e35690751b2d1d8cfba2c4162152f07d0f SHA256 0e99bf3f1538b2fef87bd304d896b78a5ddfb8a75277550c261801dcd3c4e279 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.10 (GNU/Linux) +Version: GnuPG v2.0.12 (GNU/Linux) -iEYEARECAAYFAkmtGuEACgkQt2vP6XvVdOey2ACg0G1DcTcs+xW0Lv8usF9ynrkQ -Q90An1b4tnYlWrvemqgJES9KZtA4kOAM -=uces +iEYEARECAAYFAkpKebAACgkQt2vP6XvVdOco1gCfQySoaxqE8UVyqG8+4UZgLSJM +MBYAn1TQYeBAw+J7Efm4u6kBC0ib0ZyZ +=py5Z -----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20090630.ebuild b/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20090630.ebuild new file mode 100644 index 000000000000..30c0e63f2dc9 --- /dev/null +++ b/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.20090630.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2009 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.20090630.ebuild,v 1.1 2009/06/30 20:46:34 zzam Exp $ + +EAPI=1 + +inherit eutils vdr-plugin 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" + +RDEPEND=">=media-video/vdr-1.3.36 + >=media-video/ffmpeg-0.4.9_pre1 + 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 ) + dev-util/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") + +pkg_setup() { + vdr-plugin_pkg_setup + + if ! use xv && ! use fbcon && ! use directfb; then + ewarn "You need to set at least one of these use-flags: xv fbcon directfb" + die "no output-method enabled" + fi + + COMPILE_SHM=0 + if has_version ">=media-video/vdr-1.3.0"; then + if use xv; then + COMPILE_SHM=1 + else + elog "SHM does only support xv at the moment" + fi + else + elog "SHM not supported on vdr-1.2" + fi + case ${COMPILE_SHM} in + 0) elog "SHM support will not be compiled." ;; + 1) elog "SHM support will be compiled." ;; + esac + + # Check for ffmpeg relying on libtheora without pkg-config-file + # Bug #142250 + if built_with_use media-video/ffmpeg theora && \ + has_version "<media-libs/libtheora-1.0_alpha4"; then + + eerror "This package will not work when using ffmpeg with" + eerror "USE=\"theora\" combined with media-libs/libtheora" + eerror "older than version 1.0_alpha4." + eerror "Please update to at least media-libs/libtheora-1.0_alpha4." + die "Please update to at least media-libs/libtheora-1.0_alpha4." + fi +} + +src_compile() { + 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" + + vdr-plugin_src_compile +} + +src_install() { + vdr-plugin_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 + + insinto /usr/include/vdr-softdevice + doins *.h +} |