diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-04-18 20:34:54 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-04-18 20:34:54 +0000 |
commit | 57332a12a74c1568e159dd36e878056e76f4c20a (patch) | |
tree | 63007e57251d4eb353c9950bc6adcf5418512d61 /media-plugins/vdr-softdevice | |
parent | Re-enable fix for nvidia-cards, closes bug #214953, again (diff) | |
download | historical-57332a12a74c1568e159dd36e878056e76f4c20a.tar.gz historical-57332a12a74c1568e159dd36e878056e76f4c20a.tar.bz2 historical-57332a12a74c1568e159dd36e878056e76f4c20a.zip |
Version bumped.
Package-Manager: portage-2.1.5_rc4
Diffstat (limited to 'media-plugins/vdr-softdevice')
-rw-r--r-- | media-plugins/vdr-softdevice/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-softdevice/Manifest | 14 | ||||
-rw-r--r-- | media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild | 132 |
3 files changed, 152 insertions, 2 deletions
diff --git a/media-plugins/vdr-softdevice/ChangeLog b/media-plugins/vdr-softdevice/ChangeLog index a8614ff35659..6563c981a1da 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.53 2008/01/20 21:54:37 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softdevice/ChangeLog,v 1.54 2008/04/18 20:34:54 zzam Exp $ + +*vdr-softdevice-0.5.0 (18 Apr 2008) + + 18 Apr 2008; Matthias Schwarzott <zzam@gentoo.org> + +vdr-softdevice-0.5.0.ebuild: + Version bumped. 20 Jan 2008; Matthias Schwarzott <zzam@gentoo.org> vdr-softdevice-0.4.0.ebuild, vdr-softdevice-0.4.0.20070711.ebuild, diff --git a/media-plugins/vdr-softdevice/Manifest b/media-plugins/vdr-softdevice/Manifest index ffc8e17dd1ed..9b45bf998958 100644 --- a/media-plugins/vdr-softdevice/Manifest +++ b/media-plugins/vdr-softdevice/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX confd 431 RMD160 14e9370497da9ff23e81a315dd92985e4fb861c3 SHA1 f58d4504300662d6a00324091c5d2e22f9f1feb2 SHA256 5a82e32365ff3c77dfdad50884be7ae6f7d5f54e249c69308fc041cdce61290e AUX patches-0.4.0/new-ffmpeg-extern-c.diff 1526 RMD160 ff074327176d72b3e65b7f5f61c615c196d95d6d SHA1 0293a877b0c03012be2e246e1f91fd06c1cb17ec SHA256 4840b91d58672a9f98a04d84fa68e5e74baab9728f31907ab47a55cdfd9d06b0 AUX patches-0.4.0/series 76 RMD160 01bec4d6bd0cb5f0d7b357cbd316ee7809b65162 SHA1 8b5e5e9bb9679308a4ecfeba1d4e2456d9c27758 SHA256 c3e0c3e9bd003abfea03fff629e339c95a9bd3a9ddeb1e29a6fbacd532c5b1ed @@ -10,11 +13,20 @@ AUX vdr-softdevice-0.3.1-osdmode-software-default.diff 537 RMD160 b6266883351086 AUX vdr-softdevice-0.4.0-xinerama-configure-opts.patch 787 RMD160 13bfd161b68372ccc3a5ea3b777d0d5e4a59da9f SHA1 ab65432f810ddd2fa3b9251f5a565c7937fc0be1 SHA256 541d3ff037d2c8ebcfca5873d551ff91e2618e8d551317a0497b6138c8b8af1d AUX vdr-softdevice-20070711-vdr-1.5.9.diff 1902 RMD160 0f92a226eb7c176bd799bbbf933a657c5e3a1222 SHA1 0679b5738f3680f51f4081c5a4189a7753ae2d17 SHA256 d4380a425d79068f50b9acf81c7c1e187274b405e1c8f43cba3fafbb2d159027 DIST vdr-softdevice-0.4.0.tgz 190505 RMD160 78c49568776b71d3b892de8cdc7406f31fd90115 SHA1 0949d6727011ebd0ed0947d9906d081bbe4d2162 SHA256 4a43426e03a36771bce272123d2b3a0a7dc5aac05b98277a985ba277e3c0b9c9 +DIST vdr-softdevice-0.5.0.tgz 200049 RMD160 de854f35173e0ecea21ce73613b5f6e58293d9fa SHA1 e92ef0d6bf71ea6a2c7e2c84dfef07a1c3e81708 SHA256 8b1eec4f5b7cd9a051439830408c1209d5583a5979551b28b69649f1e3381bc3 DIST vdr-softdevice-cvs-20070711.tar.bz2 152000 RMD160 23be2f95bbb3e4d649a3ade799c443c579f80b84 SHA1 07ee85a8168bea9a9aace5018910f9672802dfb6 SHA256 6c869ae0c86fe42a24f767c40f538d07f70806474d7851643870b3a778b68c1a DIST vdr-softdevice-cvs-20080120.tar.bz2 154349 RMD160 0b9b69aafb5855757c199e04852ccde5a7c43529 SHA1 aff47780abc6e2ff3093e4c165ee525f10306e39 SHA256 267c7ded33944902f495012de04020ee6df209e661cba9e640a36460f6b6ca73 EBUILD vdr-softdevice-0.4.0.20070711-r1.ebuild 3805 RMD160 c1a94052f9e6e8dcfb3cf4de4df7eec565ac9aed SHA1 368bba0b0fb3bf4309b72cb9d838f9e64d1316d6 SHA256 a005e52323aad477987a613d9b812508dda2903e8a71650fdd9f15e00b76cba2 EBUILD vdr-softdevice-0.4.0.20070711.ebuild 3550 RMD160 cf4ca212a829d960102777a3b35e790b67f5381a SHA1 13eaab21da3aaac4abb10c7e04f541341bed9c3e SHA256 7f60ef21394ca9e01801062ec6eb6a4f65928015f33af4b00e3e0ae8d2a1741a EBUILD vdr-softdevice-0.4.0.20080120.ebuild 3546 RMD160 81266266b38b032bf39b64ee708bafa4f5390503 SHA1 88bc411fa07ee43918cc161661801b9a4f933898 SHA256 5b8b1077ed16cfd166460a1de649937d911e7e98c174e6dd6b2de5352c99bfe7 EBUILD vdr-softdevice-0.4.0.ebuild 3587 RMD160 e716fe032ba49013921428d2a6b6a749777c7f17 SHA1 76c3369ae123b27becd8a5604c60113fef8d3477 SHA256 05c2d060e19f0e10b9f8e0864a777a869936406a9e2eb8c0b094a5f1bbc749c0 -MISC ChangeLog 12772 RMD160 d2c435df3e11dd623814dd3e993f8a23bb9888db SHA1 cad1a502e3fd9c3b83536d8c8559ac0b6af83a34 SHA256 427b4e9e6ed7f7850bcd7570870c105900f1454c9f9618b838a5b225f0a2676d +EBUILD vdr-softdevice-0.5.0.ebuild 3487 RMD160 3b61c650f425dcb50697fcabaedd43f9d135b94e SHA1 1a4bdfc8070018d76f96b13e37475ac4345c5975 SHA256 caae055cbcfdc31391ec1014ca54b9ee6224bb13bfd2f34071c917c8179a66c6 +MISC ChangeLog 12913 RMD160 2a7d0079950941aa364d6d774722a2c09626eaff SHA1 30e914a768a30d227cced881ef929ab56d767cb6 SHA256 da258621a429fe37ff13af99b8bef3723e75deb7887722ac44c921bc405bf849 MISC metadata.xml 298 RMD160 7e0a2f2a14c259d83aeca27b96f53bde893cc3cf SHA1 909d564739e5ee061ef40e6b09c6a48c6578269f SHA256 50a4a1a273a8415774ef522ac281cd664bd217c04bcbfa16e13b53649b9a9581 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkgJBfcACgkQt2vP6XvVdOcHYACgw8ntHjvKavy1ootqvFwGAJP3 +C9sAoNCE3S7rA68gBqe4/8w9KExVyZP+ +=SWdo +-----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild b/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild new file mode 100644 index 000000000000..70a5e5a602f6 --- /dev/null +++ b/media-plugins/vdr-softdevice/vdr-softdevice-0.5.0.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2008 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.ebuild,v 1.1 2008/04/18 20:34:54 zzam Exp $ + +inherit 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 + http://dev.gentoo.org/~zzam/distfiles/${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" + + if use !mmx && use !mmxext; then + ewarn "${PN}"' does not compile with USE="-mmx -mmxext".' + ewarn 'Please enable at least one of these two use-flags.' + die "${PN}"' does not compile with USE="-mmx -mmxext".' + fi + + 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 + fi + + insinto /usr/include/vdr-softdevice + doins *.h +} |