DIST gentoo-vdr-patchset-1.4.3-1.tar.bz2 175914 RMD160 4325ddb158834dd8208c5222d60339ef1a52b898 SHA1 f6ec90cc77bbd95c25f9ae0c59c7588d95d837e5 SHA256 e429f1e09cf416e5bb56ed8a4602e4713755e465692b4ea0a9cb604570b98e12
DIST gentoo-vdr-patchset-1.4.4-1.tar.bz2 188290 RMD160 27b7210395ddf9697b70e3f1e6065bb495093edb SHA1 97f79463374429c622f9b6ee21b6c901d9f753d0 SHA256 479153c6fc5b2b0eb7ddca17e12568c7469ad296929b874e75b4b58e59deb1cb
DIST gentoo-vdr-patchset-1.4.4_p3-1.tar.bz2 174196 RMD160 2c456191a0b32b75c7cb20d3697b8034257da657 SHA1 1e77c2d5432c5336f6509a19bca3e3b91c00e603 SHA256 8839c54f155e6a5483808794b46345c89f50d55e6d044dae36c2b61e919d6bbc
+DIST gentoo-vdr-patchset-1.4.5-1.tar.bz2 153726 RMD160 c69eefeec451dc253e49001aec9ec6fc3011ac30 SHA1 39a88c9cb2b22c76c721c744e24aed923aa041b3 SHA256 e2966e1edfdad08ede3db2ba05113c55a187c9cbb72775eb7414c3a7623ecfd7
DIST vdr-1.2.6.tar.bz2 367069 RMD160 6780bedb49676cecfcea1275d9166e88fb93b97f SHA1 31896db8b3d98c54acdbee34338fd48c067a15bf SHA256 9d969043018d9578970c5d79e048e21870207042f6041a49996aad0c679b24d5
DIST vdr-1.3.36-gentoo-patchset-0.2.tar.bz2 174683 RMD160 022c8afcd9ccea73cc8b7de2fb14f10a6ef9514a SHA1 585e62c9f57ebc8d598d8bc70b659f5d5a761238 SHA256 6a5e4d21808cc188a950f7c4bbd2edf23e65cdb5cc68871ba8c2f355550da857
DIST vdr-1.3.36.tar.bz2 513639 RMD160 3bbf1a98f81f35af1768b83b0749b4e12b47bf57 SHA1 69b62aa6f83b9ed2d417ad60ccba37ed74175a43 SHA256 bc79c9212f59127a379c7e4de5a9ff7741eaa2478a6eab0f58c93efadc11b901
DIST vdr-1.4.1.tar.bz2 553580 RMD160 d23eef3bce7e0604051633f8f93c39e7b046bd9b SHA1 fe77932dff4a92f547d9f7e3fdbd798a7ba27b67 SHA256 a4595c6a5d5f3008e93062444f8b69ca1bec2c977cc536f650c31418164722c7
DIST vdr-1.4.3.tar.bz2 557370 RMD160 15d8d8bc4d235de30b0b5fc8abd03a7b29627e75 SHA1 7a3f17c242e557fc95921e6884adc194fc4620bb SHA256 ce39b57945321757f4ae743345b4abb37867bcf9a7dba5d8de3581bd49fad247
DIST vdr-1.4.4.tar.bz2 559362 RMD160 436cbbfb09f4e31f34db4038771fa7bac11230a1 SHA1 7699291f28e63d126842c7ff79170856b2e0abb6 SHA256 d05ae4529d55ad577394239223b83d13a3d11c2c3aa0599896ccba8f67a01b36
+DIST vdr-1.4.5.tar.bz2 560509 RMD160 0c002a3a7270af20524708c5f5dba91c41b8440b SHA1 4693f6f5c9240c067de3b5f50a05dba5d2b25a41 SHA256 ca69b84ae30d7d63b2e54182c389639680ee0c88ab50b8458a994331072f89b2
EBUILD vdr-1.2.6-r1.ebuild 1226 RMD160 074ae28a3e18c317a2887738830641436ee49ee5 SHA1 27a58c4a7c34a39584e1c2c52a87f295eb96a89b SHA256 dfd58ca0e5fec3a188572eb15754459b90242ce4dd983928f7f007b718571412
MD5 454443921854ebacbe677c5c81e31022 vdr-1.2.6-r1.ebuild 1226
RMD160 074ae28a3e18c317a2887738830641436ee49ee5 vdr-1.2.6-r1.ebuild 1226
MD5 aeffbe35dc5093306b2c93cd668b1efb vdr-1.4.4_p3.ebuild 5231
RMD160 b4dcf3c9ccd558371eacda0a76e758595e3757c7 vdr-1.4.4_p3.ebuild 5231
SHA256 3aad55e9388dff300c025648cc2cd9c4fc8ab4bd413753a6835298f0a76d043f vdr-1.4.4_p3.ebuild 5231
-MISC ChangeLog 12418 RMD160 00aabf87801dd4926dd7e2b7531de3ecca5712f9 SHA1 b69d462bcc390f447616fb5e9ce9da8ca05a4889 SHA256 6316529ae1f2ffe27a802f6f15c8ba4bc2b387947cda7a45e718e79f10ffda2d
-MD5 51e9ad26947930dd51eb0bcc50eee96d ChangeLog 12418
-RMD160 00aabf87801dd4926dd7e2b7531de3ecca5712f9 ChangeLog 12418
-SHA256 6316529ae1f2ffe27a802f6f15c8ba4bc2b387947cda7a45e718e79f10ffda2d ChangeLog 12418
+EBUILD vdr-1.4.5.ebuild 5223 RMD160 69bb292126cc27136c77ff5b7268956200707bc0 SHA1 6b71d362cddf123aade83db87112639d87b11754 SHA256 892d16c348015dff76150bafb75407ccddc708290861cf6166488caf7133fa6b
+MD5 70ecb9965f65351a9e09aab92f157a5a vdr-1.4.5.ebuild 5223
+RMD160 69bb292126cc27136c77ff5b7268956200707bc0 vdr-1.4.5.ebuild 5223
+SHA256 892d16c348015dff76150bafb75407ccddc708290861cf6166488caf7133fa6b vdr-1.4.5.ebuild 5223
+MISC ChangeLog 12530 RMD160 6c8ac39ea998e0aafaa9e20ee38271fe5c157532 SHA1 09b00c9cc717d6b0e71a85229c5042cdc8151375 SHA256 dff37901d74379b87a8da62c233629267a79f2d93e9abd27f7735afc4c8cfb4f
+MD5 82eacc1b427e1251374214fe6092cc35 ChangeLog 12530
+RMD160 6c8ac39ea998e0aafaa9e20ee38271fe5c157532 ChangeLog 12530
+SHA256 dff37901d74379b87a8da62c233629267a79f2d93e9abd27f7735afc4c8cfb4f ChangeLog 12530
MISC metadata.xml 257 RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 SHA1 d2419394e7d5c7463d7dea33e9190ebd57484531 SHA256 0dd45fbbaf1c6173535e371e3ff8a3faa41f3f89123ac9dffe338998599ebe26
MD5 116de98355049ce943c3b6fedc00b4a3 metadata.xml 257
RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 metadata.xml 257
MD5 0b4d3eba2a5ac971abeb9b6390ca45dc files/digest-vdr-1.4.4_p3 527
RMD160 84e833e0796fc293646c3f591e1d395d9bf58fe7 files/digest-vdr-1.4.4_p3 527
SHA256 81631181cb03e251471ac95afefbcd008e2fe4bd8034fd39c7b7da0495eac082 files/digest-vdr-1.4.4_p3 527
+MD5 cb18981ab1094003062527a1839f1005 files/digest-vdr-1.4.5 518
+RMD160 cd8e0063ccd02574b93b4e417b93b15b805a3408 files/digest-vdr-1.4.5 518
+SHA256 e0e1190a670bf9da4ddf6c871696ece9740e1880b89a9e8a05b9da9bebe7134d files/digest-vdr-1.4.5 518
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-Comment: GnuPG-Pack Basics: http://home.arcor.de/rose-indorf
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFnol1dn07HTTCgIoRAqRAAJoD8/XIPIkakW/ubqLHP0rTSK+hwwCgghyc
-3VX5H6R0R/Lh464AvI6Lxw0=
-=dd+Y
+iD8DBQFFoXl0t2vP6XvVdOcRAuboAJ4z4I9sFwLSl9WZiciKza2HZMDLtACgrPDO
+bpn1dTygegv3j4ehnzfB3tc=
+=bij+
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.4.5.ebuild,v 1.1 2007/01/07 22:51:24 zzam Exp $
+
+inherit eutils flag-o-matic multilib
+
+IUSE="debug vanilla aio bigpatch jumpplay dolby-record-switch dvbplayer
+ lnbsharing sourcecaps cmdsubmenu dxr3-audio-denoise
+ child-protection yaepg setup-plugin submenu subtitles rotor noepg"
+
+PATCHSET_V=1
+PATCHSET_NAME=gentoo-${PN}-patchset-${PV}-${PATCHSET_V}
+
+MY_P="${P%_p*}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DVB"
+HOMEPAGE="http://www.cadsoft.de/vdr/"
+SRC_URI="ftp://ftp.cadsoft.de/vdr/${MY_P}.tar.bz2
+ mirror://gentoo/${PATCHSET_NAME}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+
+DEPEND="media-libs/jpeg
+ sys-apps/gawk
+ media-tv/linuxtv-dvb-headers
+ sys-libs/libcap"
+
+RDEPEND="${DEPEND}
+ dev-lang/perl
+ media-tv/vdrplugin-rebuild
+ >=media-tv/gentoo-vdr-scripts-0.3.5"
+
+# Relevant Pathes for vdr on gentoo
+DVB_DIR=/usr/include
+VDR_INCLUDE_DIR=/usr/include/vdr
+PLUGIN_LIB_DIR=/usr/$(get_libdir)/vdr/plugins
+CONF_DIR=/etc/vdr
+CAP_FILE=${S}/capabilities.sh
+CAPS="# Capabilities of the vdr-executable for use by startscript etc."
+
+
+pkg_setup() {
+ use debug && append-flags -g
+}
+
+add_cap() {
+ while [ "$1" ]; do
+ CAPS="${CAPS}\n$1=1"
+ shift
+ done
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.bz2
+ if [[ -n "${VDR_LOCAL_PATCHSET}" && -d "${ROOT}/${VDR_LOCAL_PATCHSET}" ]]; then
+ ewarn "Using local developer patchset."
+ PATCHSET_DIR="${ROOT}/${VDR_LOCAL_PATCHSET}"
+ else
+ unpack ${PATCHSET_NAME}.tar.bz2
+ PATCHSET_DIR=${WORKDIR}/${PATCHSET_NAME}
+ fi
+
+ cd ${S}
+
+ ebegin "Changing pathes for gentoo"
+ sed -e 's-$(DVBDIR)/include-$(DVBDIR)-' -i Makefile
+
+ sed \
+ -e 's-ConfigDirectory = VideoDirectory;-ConfigDirectory = CONFIGDIR;-' \
+ -i vdr.c
+
+ cat > Make.config <<-EOT
+ #
+ # Generated by ebuild ${PF}
+ #
+ DVBDIR = ${DVB_DIR}
+ PLUGINLIBDIR = ${PLUGIN_LIB_DIR}
+ CONFIGDIR = ${CONF_DIR}
+
+ DEFINES += -DCONFIGDIR=\"\$(CONFIGDIR)\"
+ EOT
+ eend 0
+
+ source ${PATCHSET_DIR}/apply_patchset.sh
+ apply_vdr_patchset "${PATCHSET_DIR}"
+
+ if use !vanilla; then
+ if use setup-plugin && use submenu; then
+ ewarn "Did not apply submenu-patch, can not be used at the same time as setup-plugin-patch."
+ fi
+ fi
+
+ # apply local patches defined by variable VDR_LOCAL_PATCHES_DIR
+ if test -n "${VDR_LOCAL_PATCHES_DIR}"; then
+ local dir_tmp_var
+ local LOCALPATCHES_SUBDIR=${PV}
+ for dir_tmp_var in allversions-fallback ${PV%_p*} ${PV} ; do
+ if [[ -d ${VDR_LOCAL_PATCHES_DIR}/${dir_tmp_var} ]]; then
+ LOCALPATCHES_SUBDIR="${dir_tmp_var}"
+ fi
+ done
+
+ elog
+ if [[ ${LOCALPATCHES_SUBDIR} == ${PV} ]]; then
+ elog "Applying local patches"
+ else
+ elog "Applying local patches (Using subdirectory: ${LOCALPATCHES_SUBDIR})"
+ fi
+
+ for LOCALPATCH in ${VDR_LOCAL_PATCHES_DIR}/${LOCALPATCHES_SUBDIR}/*.{diff,patch}; do
+ test -f "${LOCALPATCH}" && epatch "${LOCALPATCH}"
+ done
+ fi
+
+ if [[ -n "${VDRSOURCE_DIR}" ]]; then
+ cp -r ${S} ${T}/source-tree
+ fi
+
+
+ if ! use vanilla; then
+ add_cap CAP_IRCTRL_RUNTIME_PARAM \
+ CAP_VFAT_RUNTIME_PARAM \
+ CAP_SHUTDOWN_SVDRP \
+ CAP_CHUID
+
+ echo -e ${CAPS} > ${CAP_FILE}
+ fi
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe vdr
+ doexe svdrpsend.pl
+
+ insinto ${VDR_INCLUDE_DIR}
+ doins *.h
+ doins Make.config
+
+ insinto ${VDR_INCLUDE_DIR}/libsi
+ doins libsi/*.h
+
+ keepdir ${CONF_DIR}/plugins
+ keepdir ${CONF_DIR}/themes
+
+ insinto ${CONF_DIR}
+ doins *.conf channels.conf.*
+
+ keepdir "${PLUGIN_LIB_DIR}"
+
+ doman vdr.1 vdr.5
+
+ dohtml *.html
+ dodoc MANUAL INSTALL README* HISTORY*
+ dodoc TODO-enAIO-rm CONTRIBUTORS
+
+ insinto /usr/share/vdr
+ doins ${CAP_FILE}
+
+ if [[ -n "${VDRSOURCE_DIR}" ]]; then
+ elog "Installing sources"
+ insinto ${VDRSOURCE_DIR}/${P}
+ doins -r ${T}/source-tree/*
+ keepdir ${VDRSOURCE_DIR}/${P}/PLUGINS/lib
+ fi
+
+ if use setup-plugin; then
+ insinto /usr/share/vdr/setup
+ doins ${S}/menu.c
+
+ insinto /etc/vdr/plugins/setup
+ newins ${FILESDIR}/vdr-setup-menu-0.2.3.xml vdr-menu.xml
+ fi
+ chown -R vdr:vdr ${D}/${CONF_DIR}
+}
+
+pkg_postinst() {
+ elog "It is a good idea to run vdrplugin-rebuild now"
+ if has_version "<media-video/vdr-1.3.36-r3"; then
+ ewarn "Upgrade Info:"
+ ewarn
+ ewarn "If you had used the use-flags lirc, rcu or vfat"
+ ewarn "then, you now have to enable the associated functionality"
+ ewarn "in /etc/conf.d/vdr"
+ ewarn
+ ewarn "vfat is now set with VFAT_FILENAMES."
+ ewarn "lirc/rcu are now set with IR_CTRL."
+ ebeep
+ fi
+
+ if use setup-plugin; then
+ echo
+ eerror "It is very important to emerge media-plugins/vdr-setup now"
+ eerror "and to have it activated in /etc/conf.de/vdr PLUGINS=\"\""
+ fi
+
+ local keysfound=0
+ local key
+ local warn_keys="JumpFwd JumpRew JumpFwdSlow JumpRewSlow"
+ local remote_file=${ROOT}/etc/vdr/remote.conf
+
+ if [[ -e ${remote_file} ]]; then
+ for key in ${warn_jeys}; do
+ if grep -q -i "\.${key} " "${remote_file}"; then
+ keysfound=1
+ break
+ fi
+ done
+ if [[ ${keysfound} == 1 ]]; then
+ ewarn "Your /etc/vdr/remote.conf contains keys which are no longer usable"
+ ewarn "Please remove these keys or vdr will not start:"
+ ewarn "# ${warn_keys}"
+ fi
+ fi
+}