diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-01-05 18:35:32 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-01-05 18:35:32 +0000 |
commit | 384cec6136266c786a68a5943271eb6869176bd2 (patch) | |
tree | 744193828325a8285d69f6d90bdd89bb6ce5ad10 /media-video | |
parent | initial (diff) | |
download | devel-384cec6136266c786a68a5943271eb6869176bd2.tar.gz devel-384cec6136266c786a68a5943271eb6869176bd2.tar.bz2 devel-384cec6136266c786a68a5943271eb6869176bd2.zip |
bump
(Portage version: 2.2.1/svn/Linux i686, signed Manifest commit with key 34C2808A)
svn path=/vdr-devel/; revision=1238
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/vdr/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/vdr/Manifest | 17 | ||||
-rw-r--r-- | media-video/vdr/metadata.xml | 1 | ||||
-rw-r--r-- | media-video/vdr/vdr-2.1.2-r1.ebuild | 4 | ||||
-rw-r--r-- | media-video/vdr/vdr-2.1.3.ebuild | 303 |
5 files changed, 322 insertions, 11 deletions
diff --git a/media-video/vdr/ChangeLog b/media-video/vdr/ChangeLog index 4450d5c..40f4664 100644 --- a/media-video/vdr/ChangeLog +++ b/media-video/vdr/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for media-video/vdr -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*vdr-2.1.3 (05 Jan 2014) + + 05 Jan 2014; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-2.1.2-r1.ebuild, + +vdr-2.1.3.ebuild, metadata.xml: + bump + 25 Oct 2013; Joerg Bornkessel <hd_brummy@gentoo.org> -vdr-2.1.2.ebuild, +vdr-2.1.2-r1.ebuild, metadata.xml: new extpng patchsetM use-flag/patch setup removed, please use use-flag diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest index ab4f897..5341582 100644 --- a/media-video/vdr/Manifest +++ b/media-video/vdr/Manifest @@ -5,18 +5,21 @@ AUX channel_alternative.conf 332 SHA256 30fb0a5147c01429c2813505cc69658cf1bfa1b7 AUX vdr-2.1.1_gentoo.patch 2488 SHA256 25275f22d8d183c089accd9463862aa772d2c13ae18c4f5769916c06b4b5918e SHA512 a36d8be52e7815165327e7322ce5f5537243a3cedc7b5e695ecddce567e8536cb44724540e5079fcda90f58a95f6fb26de4d1cc2842ce8d5460e4010623042f0 WHIRLPOOL 0885af205152ff2228bde0799a05c02efdb7fc712d740a640eecaff6296c7df1285883460e1dd452f0dbc6b4621ddcb0a7c89a21cc241a935f7b7526d2f852f5 DIST extpng-vdr-2.1.1-gentoo-edition-v1.patch.bz2 76312 SHA256 42ed177d9064f555bb5396123790eaa9cf4b500536698af29bda0193c951faab SHA512 07cf50a0f9edf2f8b1542ad314b86f18b88e9409cc9aef400585c7dafb8fc691b2d476d18b088bc0d3de8ec7bf88241ba5418f99e156353cbcf78de406238cf8 WHIRLPOOL c027a0f107db181b617d3f1d3da461733bc03edd975adab03473979877ee5503efcb88903c20a0c0c1063f40710cf14c68456bc8038902b1e29f4194e02f6cb5 DIST extpng-vdr-2.1.2-gentoo-edition-v3.patch.bz2 30698 SHA256 c2ba5ada4cadb44dde87dc5de8b9a1306fa274d0cca8f856ce5e829e16d7d51f SHA512 a4520423182ef44f56b9e6807622a68ba404e1b14e81b8e4153ec23bb4f7e1ec4feabf458dfaddb9a829140e404f6988ad92dbd5b3768ff447918b609b80c29a WHIRLPOOL 9fca245602fbf5926794276da516f82d2846c53781d46720f2cab967bc7839d0494dc7592e76a864fa313ab0e04aefbba5e5f8bf429d7ccc4c31a1e126cdcba4 +DIST extpng-vdr-2.1.3-gentoo-edition-v1.patch.bz2 121553 SHA256 6ca5a1db1395001cc80178e61fbc9230e425e1c0d00b386e056283e4967326d4 SHA512 22e596f618fccaa61aa48c0ca32566a7937e539c54506ffab7f1fc98261da100dfc7ef47ee043535bcd18e1fd096ca3b897b251cad1a2ab4d9c0f285aba848d1 WHIRLPOOL b122620875e822eb1a2102c4ff7dc5055c3ee5e57320db2c0d04b864ef87fe04b9b6659483b164f8bc0a8a5db6180ff6668b152357dedfc13d1de42e15645e1e DIST vdr-2.1.1.tar.bz2 842414 SHA256 96292f4f2a47fea9fdd432bdcca6e2f11747e2b19feac6d6f7af1797c5abfa37 SHA512 f31c774cc5c383b97cdae98892906c66ce27a2277ccde185815299ddd894e18908a6c252c92bddfefb82a8fe933c9c2b5e6f91947db526bb86bab9ff08cb8158 WHIRLPOOL e92705b8fec477a4e10c563f4440ba54ccb499823b15a6227ac2633fc55a56fad023b6f8b5d4450505344dfb5a1871ceb3a787c9e9470c178f947874fc79eef0 DIST vdr-2.1.2-gcc.patch.gz 542 SHA256 8ac11be7074231604868e5f4a153df44b957543227c4cb0fcadbf693900b25d8 SHA512 4b3595e3ed3ef291bf155500d96d3355656f11442bc9a9a13ddbdfc35ae3156a894c12da1f4a20bdf6a7e35c3cb0904ab1c5c2d14698ffe6595ffc9d5b37a2ad WHIRLPOOL 96cbcea605e52a76974196f5a7ec44b49222f0fb3048428286ab974ec6633e4bdd6523796a0109ba866aaba101b270b099dc4983b439d6ad84c00890cb7078d8 DIST vdr-2.1.2.tar.bz2 850237 SHA256 1bf9c636145acf2d67716475314efe9703619759f0fdbae02d89fe599730f2a4 SHA512 4e9bf4705a64d4fab790d6cf0b92151537e282a8a3a41eeb13cddf3a966b303b31fc32fd62b27450adc68134ca853aaa6dd5b6d7a9c672c6165aab9f044c19b5 WHIRLPOOL 525ce8c05cbaeb9f3d8108117fb18dc5b64885e311c3a40dd704888b0a5020cb3ef6fcd9d57af200d94ffc0479add8c6a651791885ff67f7f93cf45a0aec1d8b +DIST vdr-2.1.3.tar.bz2 862445 SHA256 959c3243672ffd8b67da7072e7201f2b483b684fb18c2c4c5eb47e54dbd4d141 SHA512 4468c516095c7c64f02c42af40a4c321aecfbea0e070417559879a1e86869f7eb1308b53442302a7c7a56c070c825b6c2f32bea79c7c9e09e9e39e4b265369f4 WHIRLPOOL 92a289b023391b5e9b9af7430d1eb18e8a8c6d97e67f3d0c40c51a6943eff6552af94d8a93d349504a8fe2c9dde4573f98240022f823d828757a963676a1c357 EBUILD vdr-2.1.1.ebuild 8510 SHA256 9fddd9a6218bb25ca72549dd149830e223cf6f54602e81b74cd4f54c44c94cad SHA512 ca5f1d29283fd387f09f4b8e995357e51a1631f0e53df8324941467b83d80d79ccf86c38cb01ee27f75628d77a34408a3751552b17d443d143b7c29dd8b29d7d WHIRLPOOL b7ee621ded1e9d277be0e6184a2b9b3dcefba48f4987735ba46a7910165ab5cecedeeb22ed66b5f5c2c1fbad406803f0b0f41b6509f959a51bb33e204989415e -EBUILD vdr-2.1.2-r1.ebuild 8322 SHA256 7b77616923a0212967836a0b30810c52681feea8e16000733215f80a2c206a01 SHA512 c9bb2515fbc33b315878e3df98368fb7e958f2d1ce61c87c0a1cbf96a1475829fe2e6f0ff86db7cd01a5088a77e33d1c4ddc2b2d6eea2f557f5c313599f91b09 WHIRLPOOL e8db319fb68bf8ead28c76b024dad83c30280325d19bd0d23f75df263f62682bed1cc60661904cd441c74e46f1c8682c1e41354dabbdcb9ce7d8dc7dc0cc7000 -MISC ChangeLog 25111 SHA256 e19bd843a78934eb5b6b73a43b68eae2a1221ef5a66a56016cf8366fb64ff381 SHA512 7e5bc8546388b878627692fddb45a5b05e74f64f64256690ba08c728f95c3573a6b13d230c30a2de15d231d0ff5a02527952cb918ad9555a8251447679e394a0 WHIRLPOOL 360152d35ecab70f49c95f50d5032cf31cf934d35b7acead906d64dc2c6e0967c9549fab2f3fcf502e4f1c6cbcbce475448c351b39ec47b6cab7413829cf6c01 -MISC metadata.xml 2029 SHA256 efb4f6113bab04065e6e8795a71b77851b054fe1fa419086afc1b8c286e35299 SHA512 466e66fdfd21458fce40bdfbff9282b7dfac8c1e9466a2e9f51c993b209b4c6d6cddff6cf65cb663912276f9d955d1458aa45460bba5048bd02381c71311f076 WHIRLPOOL e13e003577356cff779a0b49144ecfe6f564381e10a9e113b3cb150c47f329bf32a13f98a2d4655047bc2419e393b7f6305fce77b25631f6ea7580ea7137aac8 +EBUILD vdr-2.1.2-r1.ebuild 8321 SHA256 ff2085c3ecf9516785c3a2276bf33ed72c1bfb7b530a3b701726458e107edb26 SHA512 ec1255dd1322c95a0393e16f84eed30ac89a6ceb31de44c92a2d9b285b596bc8abf78445858628e5a2ff0e7d0517dfb783a41fd1f023d731fec02ce7dceef00d WHIRLPOOL 46557ddaa86178c3f9c5e5c031a84efdabf1d7b1232c6f61f65c1c20fc6a3db671d170effefb9bcbf7d059800f833735694104c415c4378e6b0296a8c002120d +EBUILD vdr-2.1.3.ebuild 7580 SHA256 4f1d2cd7315feff70ad7998cf48e17000e2c11d9f31585e102116e2efb363cbc SHA512 c16bf7fb00356724d5444622f8eb44d4d82934074326da23e9cd389843d8b11384fc7aaa5d0582d90d09efc4fd4235feb8ebb08b20a52866b2bc5d86df5b2779 WHIRLPOOL a3713eeb62a91d2ab50d8bb618b5022816a54c33c5816809c4fd17b5d78351a0f0101a92da496027f555f7fd76a6abbb9dafa0021d6791b6d18057ba6b469db3 +MISC ChangeLog 25256 SHA256 d9f86c8f70724535c35cd1cc34fa1a2f0d8d572002601a759d600abd02945fed SHA512 d6927b594ab76379fb573461b07d7e2e8082875cd61750d3ff0a7207a1b1eb580c7159425e0636f513889ff2db2d4d40005b32ab422abaf849307931d9dc8f1d WHIRLPOOL 12409d8d9384d381fc1cb6dc305dde59a62d304ea874bcc7765d498b8ebb64d689194d314960fa8c2a189f42c9ccd11a0cf1eaae9b0ffeaedc3208ca40c4cdcc +MISC metadata.xml 1955 SHA256 bd67b709aec3d06a0d3911bb8105626e435b072572bfea89b2314a4879a2ab72 SHA512 22f93d7f4ffbc5458ec35b49cf716427f8d29021ae35b01514b3dd58776f4b2a537fb7c814dc7c104616315f0aa7b8fac51fc1ce4402dcafa57db779206649d5 WHIRLPOOL d4a204d2dfffeaa1901c4e917f1942cf8fd72e50262a082a13c07171d6572ed96c4d4c0aeeee8cb873288b69d5be714bf14b12b1bba5801d9cd7af5114706629 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -Comment: signed/commited by hd_brummy@gentoo.org +Comment: added by hd_brummy@gentoo.org -iD8DBQFSava0dn07HTTCgIoRCPLQAJ9yL600iee892YWP8dH+/Bmx5kXQgCfQJsZ -pWaMsBtt0oBlofnsMlwhR+0= -=LUrS +iD8DBQFSyaXzdn07HTTCgIoRCIkdAJ9CLoqjBRroBuNCk+64iC0h9jLaGACeJKr8 +rvWS/nP4Jqh1MAB5Afl+02g= +=q/xi -----END PGP SIGNATURE----- diff --git a/media-video/vdr/metadata.xml b/media-video/vdr/metadata.xml index 5248405..892b779 100644 --- a/media-video/vdr/metadata.xml +++ b/media-video/vdr/metadata.xml @@ -12,7 +12,6 @@ <flag name="bidi">fribid support, for languages, written from right to left</flag> <flag name="binaryskip">add supports for binary skipping in records</flag> <flag name="ddepgentry">remove duplicate EPG entries</flag> - <flag name="dvlvidprefer">controls video-dir choice on recording</flag> <flag name="dxr3">Enable tweaks to improve vdr behaviour on dxr3-cards</flag> <flag name="graphtft">support for grapftft plugin up from vdr-graphtft-0.1.7</flag> <flag name="html">Install HTML documentation</flag> diff --git a/media-video/vdr/vdr-2.1.2-r1.ebuild b/media-video/vdr/vdr-2.1.2-r1.ebuild index 11cc5db..105aec9 100644 --- a/media-video/vdr/vdr-2.1.2-r1.ebuild +++ b/media-video/vdr/vdr-2.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-2.0.2-r1.ebuild,v 1.2 2013/07/07 09:52:20 hd_brummy Exp $ @@ -7,7 +7,7 @@ EAPI="5" inherit eutils flag-o-matic multilib toolchain-funcs # Switches supported by extensions-patch -EXT_PATCH_FLAGS="alternatechannel binaryskip graphtft jumpingseconds jumpplay naludump permashift +EXT_PATCH_FLAGS="alternatechannel binaryskip graphtft jumpingseconds jumpplay naludump permashift pinplugin mainmenuhooks menuorg menuselection resumereset ttxtsubs wareagleicon yaepg" # ddepgentry setup diff --git a/media-video/vdr/vdr-2.1.3.ebuild b/media-video/vdr/vdr-2.1.3.ebuild new file mode 100644 index 0000000..b6a4a04 --- /dev/null +++ b/media-video/vdr/vdr-2.1.3.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-2.0.2-r1.ebuild,v 1.2 2013/07/07 09:52:20 hd_brummy Exp $ + +EAPI=5 + +inherit eutils flag-o-matic multilib toolchain-funcs + +# Switches supported by extensions-patch +EXT_PATCH_FLAGS="alternatechannel binaryskip graphtft jumpingseconds jumpplay naludump permashift + pinplugin mainmenuhooks menuorg menuselection resumereset ttxtsubs wareagleicon yaepg" +# ddepgentry + +# names of the use-flags +EXT_PATCH_FLAGS_RENAMED="" + +# names ext-patch uses internally, here only used for maintainer checks +EXT_PATCH_FLAGS_RENAMED_EXT_NAME="" + +IUSE="bidi debug html vanilla ${EXT_PATCH_FLAGS} ${EXT_PATCH_FLAGS_RENAMED}" + +MY_PV="${PV%_p*}" +MY_P="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_P}" + +EXT_P="extpng-${P}-gentoo-edition-v1" + +DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DVB" +HOMEPAGE="http://www.tvdr.de/" +SRC_URI="ftp://ftp.tvdr.de/vdr/Developer/${MY_P}.tar.bz2 + http://dev.gentoo.org/~hd_brummy/distfiles/${EXT_P}.patch.bz2" + +KEYWORDS="~arm ~amd64 ~ppc ~x86" +SLOT="0" +LICENSE="GPL-2" + +COMMON_DEPEND="virtual/jpeg + sys-libs/libcap + >=media-libs/fontconfig-2.4.2 + >=media-libs/freetype-2" + +DEPEND="${COMMON_DEPEND} + >=virtual/linuxtv-dvb-headers-5.3 + sys-devel/gettext" + +RDEPEND="${COMMON_DEPEND} + dev-lang/perl + >=media-tv/gentoo-vdr-scripts-0.2.0 + media-fonts/corefonts + bidi? ( dev-libs/fribidi )" + +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 + + PLUGIN_LIBDIR="/usr/$(get_libdir)/vdr/plugins" + + tc-export CC CXX AR +} + +add_cap() { + local arg + for arg; do + CAPS="${CAPS}\n${arg}=1" + done +} + +enable_patch() { + local arg ARG_UPPER + for arg; do + ARG_UPPER=$(echo $arg|tr '[:lower:]' '[:upper:]') + echo "${ARG_UPPER} = 1" >> Make.config + + # codesnippet to bring the extpng defines into the vdr.pc CXXFLAGS CFLAGS + echo "-DUSE_${ARG_UPPER}" >> "${T}"/defines.tmp + cat "${T}"/defines.tmp | tr \\\012 ' ' > "${T}"/defines.IUSE + export DEFINES_IUSE=$( cat ${T}/defines.IUSE ) + done +} + +extensions_add_make_conf() +{ + # copy all ifdef for extensions-patch to Make.config + sed -e '1,/need to touch the following:/d' \ + -e '/need to touch the following/,/^$/d' \ + Make.config.template >> Make.config +} + +extensions_all_defines() { + # extract all possible settings for extensions-patch + sed -e '/^#\?[A-Z].*= 1/!d' -e 's/^#\?//' -e 's/ .*//' \ + Make.config.template \ + | sort \ + | tr '[:upper:]' '[:lower:]' +} + +lang_po() { + LING_PO=$( ls ${S}/po | sed -e "s:.po::g" | cut -d_ -f1 | tr \\\012 ' ' ) +} + +src_prepare() { + # apply maintainace-patches + + ebegin "Changing paths for gentoo" + + local DVBDIR=/usr/include + local i + for i in ${DVB_HEADER_PATH} /usr/include/v4l-dvb-hg /usr/include; do + [[ -d ${i} ]] || continue + if [[ -f ${i}/linux/dvb/dmx.h ]]; then + einfo "Found DVB header files in ${i}" + DVBDIR=${i} + break + fi + done + + # checking for s2api headers + local api_version + api_version=$(awk -F' ' '/define DVB_API_VERSION / {print $3}' "${DVBDIR}"/linux/dvb/version.h) + api_version=${api_version}*$(awk -F' ' '/define DVB_API_VERSION_MINOR / {print $3}' "${DVBDIR}"/linux/dvb/version.h) + + if [[ ${api_version:-0} -lt 5*3 ]]; then + eerror "DVB header files do not contain s2api support or too old for ${P}" + eerror "You cannot compile VDR against old dvb-header" + die "DVB headers too old" + fi + + cat > Make.config <<-EOT + # + # Generated by ebuild ${PF} + # + PREFIX = /usr + DVBDIR = ${DVBDIR} + PLUGINLIBDIR = ${PLUGIN_LIBDIR} + CONFDIR = ${CONF_DIR} + VIDEODIR = /var/vdr/video + LOCDIR = \$(PREFIX)/share/locale + INCDIR = \$(PREFIX)/include + + DEFINES += -DCONFDIR=\"\$(CONFDIR)\" + INCLUDES += -I\$(DVBDIR) + + # >=vdr-1.7.36-r1; parameter only used for compiletime on vdr + # PLUGINLIBDIR (plugin Makefile old) = LIBDIR (plugin Makefile new) + LIBDIR = ${PLUGIN_LIBDIR} + PCDIR = /usr/$(get_libdir)/pkgconfig + EOT + eend 0 + + # support languages, written from right to left + BUILD_PARAMS+=" BIDI=$(usex bidi 1 0)" + + epatch "${FILESDIR}/${PN}-2.1.1_gentoo.patch" +# epatch "${WORKDIR}/${P}-gcc.patch" # tmp gcc fix from Rolf Ahrenberg + + if ! use vanilla; then + + # Now apply extensions patch + epatch "${WORKDIR}/${EXT_P}.patch" + + # This allows us to start even if some plugin does not exist + # or is not loadable. + enable_patch PLUGINMISSING + + if [[ -n ${VDR_MAINTAINER_MODE} ]]; then + einfo "Doing maintainer checks:" + + # we do not support these patches + # (or have them already hard enabled) + local IGNORE_PATCHES="pluginmissing" + + extensions_all_defines > "${T}"/new.IUSE + echo $EXT_PATCH_FLAGS $EXT_PATCH_FLAGS_RENAMED_EXT_NAME \ + $IGNORE_PATCHES | \ + tr ' ' '\n' |sort > "${T}"/old.IUSE + local DIFFS=$(diff -u "${T}"/old.IUSE "${T}"/new.IUSE|grep '^[+-][^+-]') + if [[ -z ${DIFFS} ]]; then + einfo "EXT_PATCH_FLAGS is up to date." + else + ewarn "IUSE differences!" + local diff + for diff in $DIFFS; do + ewarn "$diff" + done + fi + fi + + ebegin "Enabling selected patches" + local flag + for flag in $EXT_PATCH_FLAGS; do + use $flag && enable_patch ${flag} + done + + eend 0 + + extensions_add_make_conf + + # add defined use-flags compile options to vdr.pc + sed -e "s:\$(CDEFINES) \$(CINCLUDES) \$(HDRDIR):\$(CDEFINES) \$(CINCLUDES) \$(HDRDIR) \$(DEFINES_IUSE):" \ + -i Makefile + + ebegin "Make depend" + emake .dependencies >/dev/null + eend $? "make depend failed" + fi + + epatch_user + + add_cap CAP_UTF8 + + add_cap CAP_IRCTRL_RUNTIME_PARAM \ + CAP_VFAT_RUNTIME_PARAM \ + CAP_CHUID \ + CAP_SHUTDOWN_AUTO_RETRY + + echo -e ${CAPS} > "${CAP_FILE}" + + # LINGUAS support + einfo "\n \t VDR supports the LINGUAS values" + + lang_po + + einfo "\t Please set one of this values in your sytem make.conf" + einfo "\t LINGUAS=\"${LING_PO}\"\n" + + if [[ -z ${LINGUAS} ]]; then + einfo "\n \t No values in LINGUAS=" + einfo "\t You will get only english text on OSD \n" + fi + + strip-linguas ${LING_PO} en +} + +src_install() { + # trick makefile not to create a videodir by supplying it with an existing + # directory + einstall \ + VIDEODIR="/" \ + DESTDIR="${D}" \ + || die "einstall failed" + + keepdir "${PLUGIN_LIBDIR}" + + keepdir "${CONF_DIR}"/plugins + keepdir "${CONF_DIR}"/themes + + diropts -m0755 -ovdr -gvdr + keepdir /var/cache/vdr + + if use html; then + dohtml *.html + fi + + dodoc MANUAL INSTALL README* HISTORY CONTRIBUTORS + + insinto /usr/share/vdr + doins "${CAP_FILE}" + + if use alternatechannel; then + insinto /etc/vdr + doins "${FILESDIR}"/channel_alternative.conf + fi + + chown -R vdr:vdr "${D}/${CONF_DIR}" +} + +#pkg_preinst() { + +# example syntax... +# has_version "<${CATEGORY}/${PN}-1.7.36" +# previous_less_than_1_7_36=$? +#} + +pkg_postinst() { + + elog "This is a *developer* version." + elog "We strongly recommend that you only use it under controlled" + elog "conditions and for testing and debugging." + + # correct wrong permission from earlier install + CACHEOWNER="$(stat -c %U /var/cache/vdr)" + if [ ! ${CACHEOWNER} == vdr ]; then + chown -R vdr:vdr "${ROOT}/var/cache/vdr" + fi + +# example syntax +# if [[ previous_less_than_1_7_36=$? = 0 ]] ; then + #elog "bla foo" +# fi + + elog "It is a good idea to run vdrplugin-rebuild now." + + elog "To get nice symbols in OSD we recommend to install" + elog "\t1. emerge media-fonts/vdrsymbols-ttf" + elog "\t2. select font VDRSymbolsSans in Setup" + elog "" + elog "To get an idea how to proceed now, have a look at our vdr-guide:" + elog "\thttp://www.gentoo.org/doc/en/vdr-guide.xml" +} |