diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2011-02-02 19:59:18 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2011-02-02 19:59:18 +0000 |
commit | e52dae16b3358639dd9d405df1d2b86b587d78b3 (patch) | |
tree | 24fe0361ead51673e5e9411e0a782f9bef09a359 /media-plugins | |
parent | Mask dev-ruby/IceRuby for removal. (diff) | |
download | historical-e52dae16b3358639dd9d405df1d2b86b587d78b3.tar.gz historical-e52dae16b3358639dd9d405df1d2b86b587d78b3.tar.bz2 historical-e52dae16b3358639dd9d405df1d2b86b587d78b3.zip |
beta5 bump
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-burn/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/vdr-burn/Manifest | 17 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/rc-addon.sh | 15 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_gentoo-path.diff | 35 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_makefile.diff | 34 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_setdefaults.diff | 34 | ||||
-rw-r--r-- | media-plugins/vdr-burn/metadata.xml | 1 | ||||
-rw-r--r-- | media-plugins/vdr-burn/vdr-burn-0.2.0_beta5.ebuild | 111 |
8 files changed, 244 insertions, 15 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog index caec21fcd666..27e343cbe862 100644 --- a/media-plugins/vdr-burn/ChangeLog +++ b/media-plugins/vdr-burn/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for media-plugins/vdr-burn # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.48 2011/01/28 17:53:27 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.49 2011/02/02 19:59:18 hd_brummy Exp $ + +*vdr-burn-0.2.0_beta5 (02 Feb 2011) + + 02 Feb 2011; Joerg Bornkessel <hd_brummy@gentoo.org> + +vdr-burn-0.2.0_beta5.ebuild, + +files/vdr-burn-0.2.0_beta5_gentoo-path.diff, + +files/vdr-burn-0.2.0_beta5_makefile.diff, + +files/vdr-burn-0.2.0_beta5_setdefaults.diff, files/rc-addon.sh, + metadata.xml: + beta5 bump 28 Jan 2011; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-burn-0.1.0_pre21-r6.ebuild, vdr-burn-0.1.0_pre22_p1.ebuild, diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest index c6a9df0a935a..e3d79e84b79d 100644 --- a/media-plugins/vdr-burn/Manifest +++ b/media-plugins/vdr-burn/Manifest @@ -11,7 +11,7 @@ AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 RMD160 2870491be90fc6143a1 AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff 707 RMD160 aca35de2be141ea380c1635aca1588e7cd3e552f SHA1 d5e1487d676f7ef0b7742d85b3b3ba5fb450227b SHA256 68b3c9ffde2fa5e9564046e44948ec8e029049c4f7bd92030df11f1b0dc9d1ce AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff 2623 RMD160 a8b5968d1e7e1e8e5a9eef13e801a5bcde645f86 SHA1 4d3c927a955914aeed3366733ec1182cb7f77312 SHA256 699b7d22611227db7c418e3df2cff4c660cac90ad8e1f065d8c09d6e675b3ed7 AUX confd 722 RMD160 e7b9bfc51ffc457c8dbfb5181661c82223f1ba93 SHA1 f64aa4d4f4488da3be65b685af5943c24d7277aa SHA256 7d730e0afd2e7a8dd51a6a89bb8d76c5a326c755474fe18db0e56f036847bb05 -AUX rc-addon.sh 743 RMD160 fe42f9ca9bc5291716cf4ebfaad8f55546967cbd SHA1 e4fb6758ebb7e4d6da929800d9ad5e0cec621214 SHA256 176c83ac372e5291464e95469da5e104fee2233809bb74839a20ed38a9170695 +AUX rc-addon.sh 751 RMD160 f19af3876f4e0b1fb90a129043b6285ed4cfd026 SHA1 5e7925a7732b48e194242b225ebd335d438db597 SHA256 739807bbddd42ca2bdc0b3d95eb1a95360cc323f87265c3bed5df3cda6fb897e AUX vdr-burn-0.1.0_pre22_p1-gentoo.diff 1257 RMD160 4d9592528947391f84d91ffc009cd0e77752d35a SHA1 a0563e9a58d423f5f97598341f9445094e33dbe8 SHA256 92887c223948f07233eb0e8dec31b577a1f5b70f18b9bb14379ca67716498258 AUX vdr-burn-0.1.0_pre22_p1-makefile.diff 707 RMD160 aca35de2be141ea380c1635aca1588e7cd3e552f SHA1 d5e1487d676f7ef0b7742d85b3b3ba5fb450227b SHA256 68b3c9ffde2fa5e9564046e44948ec8e029049c4f7bd92030df11f1b0dc9d1ce AUX vdr-burn-0.1.0_pre22_setdefaults-V2.diff 2623 RMD160 a8b5968d1e7e1e8e5a9eef13e801a5bcde645f86 SHA1 4d3c927a955914aeed3366733ec1182cb7f77312 SHA256 699b7d22611227db7c418e3df2cff4c660cac90ad8e1f065d8c09d6e675b3ed7 @@ -20,19 +20,24 @@ AUX vdr-burn-0.2.0_beta1-gentoo-projectx.diff 565 RMD160 1f2fe788d57a3c268244ca4 AUX vdr-burn-0.2.0_beta1-makefile.diff 707 RMD160 a45282500942da7dc83bcbf17a485df87b6eafa4 SHA1 e4be3890d35491dd848475ea1bd2b8320a36b600 SHA256 7be9253e2263e90a2963b8e9580ca1e8b27ce7e366fc9f2f452fcfb09d14ad2a AUX vdr-burn-0.2.0_beta1-setdefaults-V2.diff 2708 RMD160 c9104e3adc3fd1c006aa23aebcf68aa8f5e28d4b SHA1 c50c2fc3e953c54eaa88eeea3acef2886cb3be10 SHA256 729a68ca1f534981384635b2acf6af19381021752973d591f2bf948e20fc86fd AUX vdr-burn-0.2.0_beta1_ldflags.diff 452 RMD160 73ac9f78e184cdf4efadc8cd902e674f33d0dd66 SHA1 66d4a21e6338ee0bb7dc996986c9ef0885ce523b SHA256 3e34c073a946fbbccfce25d5037dd77533b2c2e3a01db6cc50712a476741d77d +AUX vdr-burn-0.2.0_beta5_gentoo-path.diff 1293 RMD160 c1d996484c4146ad231466f2b623f1ee9de7cccc SHA1 922c41b3f382679c8c80dc729de5f43e40b9d1c6 SHA256 55abfb756a901d512758b442d5cfa2257ed7dd2aced7b0f5ca077b04ab430f0c +AUX vdr-burn-0.2.0_beta5_makefile.diff 1084 RMD160 708f10825fca1667b9f536dbe199ebec15887a31 SHA1 55eaacbeb69c7c95704b9ab51ac2b84b5d7d6df5 SHA256 55bdeba8ec5e1565506ab009f45dd5c60f2e1e1718ef9639f177f6817e02f677 +AUX vdr-burn-0.2.0_beta5_setdefaults.diff 2090 RMD160 b93a4ca44d791af8357f245e7755fabd7626d5b5 SHA1 322c61fa2573934749d4ee9fd5c4a89f953794e0 SHA256 f73a8ed70c262dff5fe262814292c5fa381e6f8550e43c6f83854bcdee3643b1 DIST vdr-burn-0.1.0-pre21.tgz 257165 RMD160 a1c838c698c71b4be626ec5e1bd089a1655f68c4 SHA1 06f441b8641636a2a0a143d4c8006333eec39398 SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159 DIST vdr-burn-0.1.0-pre22-ff1.tgz 246303 RMD160 7efeb0836efe67031a82dd5a027fba38e729f2fe SHA1 d43f0f3b9197cf155a13e1d6a37e8e195197c918 SHA256 a07eef2fc8e5f98967786af862af33790ec4db58bb82438253669de6e6a6d328 DIST vdr-burn-0.2.0-beta1.tgz 242435 RMD160 379698ef633726568594c67969ab53db59bb79be SHA1 621084d8c2327b258e7076ef19cd349b847fcd25 SHA256 de4407d2b7c3ac9cbec9aac85be0c62f8e4b88d1fb3aae55bb9b258e9d27979e +DIST vdr-burn-0.2.0-beta5.tgz 247156 RMD160 55fdd998eed0fd28e033c30c3d4ede15ab5f7783 SHA1 70ae5575773b2be3a3de9d6fa357696df7197ca5 SHA256 ec221a0a0aacbce6d2fbaa3405058ddf41879c7a860963ab4af78ac2dd556b8f EBUILD vdr-burn-0.1.0_pre21-r6.ebuild 3348 RMD160 2000d512d16e1a246258eed5fadd9911a6c8c415 SHA1 9874b4837b517d058f14c85080495b66f4156ef2 SHA256 266900a7c9ffa64c5d7843f41e6d5995c6467a249ff46d1856eba8e04c21e72c EBUILD vdr-burn-0.1.0_pre22_p1.ebuild 3237 RMD160 351034a08e64b8cdd9ab6a2c75d3c3b8892cf34d SHA1 5595a1bda9e14fa484177e0dcbff3a25b9fa984b SHA256 a736b92f56bf45df01b3475407ab6aad281842592772a7507e483a63bfff496e EBUILD vdr-burn-0.2.0_beta1.ebuild 3312 RMD160 5a37469f8f5ee01fe87d6d24962913598d454a38 SHA1 f8bcee84cf021ca20bbac9ea9187ac10b5f72f9a SHA256 9db97958bad64c3d9bd8a3dc55d4a0836560b33ef76cbcc1cc8ab2c747b1d52a -MISC ChangeLog 9589 RMD160 eea70c4d39d8e522d65a77919b92b5d77574a69f SHA1 73601d52c14c70214e6e3f0a4e0f1cfedede0b19 SHA256 bd4af951a5770f46cffd7d49a57205967b8602a2004bbc19b6af570ccbe68518 -MISC metadata.xml 451 RMD160 3e1513e64344669532732f16a2893878b2c60d38 SHA1 726331222f87de37d6bec9b4d83ef45c024e41a6 SHA256 17e6e4ae11581ce983dd1ee2e9dd3fbba30b27ded1102fc4c2b340dfd366afea +EBUILD vdr-burn-0.2.0_beta5.ebuild 2898 RMD160 781e334b8f5deabc459db52b056a1c9064ed3765 SHA1 ffc13b4bc7fe9e19d245bf614edb2a50d5ca5b0c SHA256 41776cc407578089d004ee4ac09a453d52b56ab7af73472964fc0b0f328c0323 +MISC ChangeLog 9903 RMD160 4c6a49e13d0d69cf3d0acdfd350037139b04dc44 SHA1 6cae8740cc84170a771be94562cfe08f6b9351b4 SHA256 61c595c0dd949881d0db201ad8d1e75371ceee12df22e124252a1ca1bc10033a +MISC metadata.xml 502 RMD160 ff90b21c50568e8e5006b3ebaa62130427110e4e SHA1 acb36e943ad90d8e8627e3e8c2030e6f536d5730 SHA256 a1b36a5363c18d595f60fcb81b06e862a785abd63830d57158847f3864a18dde -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: added by hd_brummy@gentoo.org -iD8DBQFNQwK6dn07HTTCgIoRAuWSAJ9eDPXk6U3FrvwpOH+mqab6paDcgACffVs6 -O9h6fSjQCLXwL/8R3gpRSKg= -=wYH4 +iD8DBQFNSbe8dn07HTTCgIoRAteTAJ9sv26qs5tQ1Zld3j4QuFLrtE7fBwCePW0o +/as+lKGNa7M8y0VJ60da3+g= +=qAq3 -----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-burn/files/rc-addon.sh b/media-plugins/vdr-burn/files/rc-addon.sh index cc6f96a03ab8..cbae3df78647 100644 --- a/media-plugins/vdr-burn/files/rc-addon.sh +++ b/media-plugins/vdr-burn/files/rc-addon.sh @@ -1,4 +1,4 @@ -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/rc-addon.sh,v 1.3 2009/10/10 10:07:21 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/rc-addon.sh,v 1.4 2011/02/02 19:59:18 hd_brummy Exp $ # # rc-addon-script for plugin burn # @@ -13,11 +13,11 @@ # be shure BURN_ISODIR is available! make_isodir() { -if [ ! -e "${BURN_ISODIR}" ]; then - mkdir "${BURN_ISODIR}" - touch "${BURN_ISODIR}"/.keep.rc-burn - chown -R vdr:vdr "${BURN_ISODIR}" -fi + if [ ! -e "${BURN_ISODIR}" ]; then + mkdir "${BURN_ISODIR}" + touch "${BURN_ISODIR}"/.keep.rc-burn + chown -R vdr:vdr "${BURN_ISODIR}" + fi } make_isodir @@ -28,6 +28,5 @@ plugin_pre_vdr_start() { add_plugin_param "-d ${BURN_DATADIR}" add_plugin_param "-D ${BURN_DVDWRITER}" add_plugin_param "-i ${BURN_ISODIR}" - } - + diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_gentoo-path.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_gentoo-path.diff new file mode 100644 index 000000000000..2d92f5d4cad2 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_gentoo-path.diff @@ -0,0 +1,35 @@ +some path adaption to gentoo + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (02 Feb 2011) +diff -Naur burn-0.2.0-beta5.orig/burn.c burn-0.2.0-beta5/burn.c +--- burn-0.2.0-beta5.orig/burn.c 2011-02-02 01:04:23.000000000 +0100 ++++ burn-0.2.0-beta5/burn.c 2011-02-02 01:10:36.000000000 +0100 +@@ -96,11 +96,11 @@ + + bool plugin::Start() + { +- m_configPath = ConfigDirectory(PLUGIN_NAME); ++ m_configPath = "/usr/share/vdr/burn"; + + manager::start(); + logger_vdr::start(); +- gdwrapper::setup::set_font_path( m_configPath + "/fonts" ); ++ gdwrapper::setup::set_font_path( "/usr/share/fonts/ttf-bitstream-vera" ); + if ( !skin_list::get().load( get_config_path() ) ) + return false; + +diff -Naur burn-0.2.0-beta5.orig/vdrburn-dvd.sh burn-0.2.0-beta5/vdrburn-dvd.sh +--- burn-0.2.0-beta5.orig/vdrburn-dvd.sh 2011-02-02 01:04:23.000000000 +0100 ++++ burn-0.2.0-beta5/vdrburn-dvd.sh 2011-02-02 01:07:21.000000000 +0100 +@@ -113,9 +113,8 @@ + CUT="-cut $MPEG_DATA_PATH/px.cut" + fi + +- $JAVA_HOME/bin/java -Djava.awt.headless=true \ +- -jar $PROJECTX_HOME/ProjectX.jar \ +- -ini $CONFIG_PATH/ProjectX.ini \ ++ /usr/bin/projectx_nogui \ ++ -ini /usr/share/vdr/burn/projectx-vdr.ini + $TTXT_OPTS \ + $CUT -id $USED_TRACKS \ + -demux -out "$MPEG_DATA_PATH" -name vdrsync \ diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_makefile.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_makefile.diff new file mode 100644 index 000000000000..99c29aa4d7f9 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_makefile.diff @@ -0,0 +1,34 @@ +fix for fails to build with parallel make + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (02 Feb 2011) +diff -Naur burn-0.2.0-beta5.orig/Makefile burn-0.2.0-beta5/Makefile +--- burn-0.2.0-beta5.orig/Makefile 2011-02-02 01:32:42.000000000 +0100 ++++ burn-0.2.0-beta5/Makefile 2011-02-02 01:34:20.000000000 +0100 +@@ -9,6 +9,9 @@ + # + PLUGIN = burn + ++# Enable DMH Archive ++#ENABLE_DMH_ARCHIVE = 1 ++ + ### The version number of this plugin (taken from the main source file): + + VERSION = $(shell grep 'const char\* plugin::VERSION *=' $(PLUGIN).c | awk '{ print $$5 }' | sed -e 's/[";]//g') +@@ -144,7 +147,7 @@ + + SUBDIRS: + @for dir in $(SUBDIRS); do \ +- make -C $$dir CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" lib$$dir.a ; \ ++ $(MAKE) -C $$dir CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" lib$$dir.a ; \ + done + + libvdr-$(PLUGIN).so: $(OBJS) SUBDIRS Makefile +@@ -176,7 +179,7 @@ + @-rm -f *.o genindex/*.o $(DEPFILE) *.so *.tgz core* *~ burn-buffers \ + scan-test test t/*.o + @for dir in $(SUBDIRS); do \ +- make -C $$dir clean ; \ ++ $(MAKE) -C $$dir clean ; \ + done + + ### Implicit rules: diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_setdefaults.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_setdefaults.diff new file mode 100644 index 000000000000..c0973eec2e80 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta5_setdefaults.diff @@ -0,0 +1,34 @@ +set default settings +unset gentoo unsupportede packages (m2vrequantizer) +disable unneeded menuentrys + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (02 Feb 2011) +diff -Naur burn-0.2.0-beta5.orig/setup.c burn-0.2.0-beta5/setup.c +--- burn-0.2.0-beta5.orig/setup.c 2011-02-02 01:16:48.000000000 +0100 ++++ burn-0.2.0-beta5/setup.c 2011-02-02 01:22:35.000000000 +0100 +@@ -88,11 +88,11 @@ + //!--- plugin_setup ----------------------------------------------------------- + + plugin_setup::plugin_setup(): +- PROCTOOLS_INIT_PROPERTY( RemovePath, false ), ++ PROCTOOLS_INIT_PROPERTY( RemovePath, true ), + PROCTOOLS_INIT_PROPERTY( CustomDiskSize, 200 ), + PROCTOOLS_INIT_PROPERTY( BurnSpeed, 0 ), + PROCTOOLS_INIT_PROPERTY( DemuxType, demuxtype_projectx ), +- PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_metakine ), ++ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ), + PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ), + PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ), + PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ), +@@ -217,9 +217,9 @@ + m_defaults = job_defaults(); + + Add( new menu::text_item( tr("--- Common settings --------------------------------------------------") ) ); +- Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); ++// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); + Add( new menu::list_edit_item( tr("Demux using"), m_setup.DemuxType, demuxtype_strings ) ); +- Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); ++// Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); + Add( new menu::number_edit_item( tr("Burn speed"), m_setup.BurnSpeed, 0, 32, tr("unlimited") ) ); + Add( new menu::bool_edit_item( tr("Preserve logfiles"), m_setup.PreserveLogFiles ) ); + Add( new menu::list_edit_item( tr("Spare language code"), m_setup.DefaultLanguage, track_info::get_language_codes(), false ) ); diff --git a/media-plugins/vdr-burn/metadata.xml b/media-plugins/vdr-burn/metadata.xml index 907ab069be2f..1573b4e12d73 100644 --- a/media-plugins/vdr-burn/metadata.xml +++ b/media-plugins/vdr-burn/metadata.xml @@ -10,5 +10,6 @@ <use> <flag name='projectx'>Enables support for <pkg>media-video/projectx</pkg></flag> + <flag name='dvdarchive'>DMH DVD - Archive</flag> </use> </pkgmetadata> diff --git a/media-plugins/vdr-burn/vdr-burn-0.2.0_beta5.ebuild b/media-plugins/vdr-burn/vdr-burn-0.2.0_beta5.ebuild new file mode 100644 index 000000000000..af9ef3defe78 --- /dev/null +++ b/media-plugins/vdr-burn/vdr-burn-0.2.0_beta5.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/vdr-burn-0.2.0_beta5.ebuild,v 1.1 2011/02/02 19:59:18 hd_brummy Exp $ + +EAPI="3" + +inherit vdr-plugin versionator + +VERSION="437" # every bump, new version! + +RESTRICT="test" + +MY_P="${PN}-$(replace_version_separator 3 -)" + +DESCRIPTION="VDR Plugin: burn records on DVD" +HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-burn" +SRC_URI="http://projects.vdr-developer.org/attachments/download/${VERSION}/${MY_P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="dvdarchive" + +DEPEND=">=media-video/vdr-1.6 + media-libs/gd[png,truetype,jpeg]" +RDEPEND="${DEPEND} + >=dev-libs/libcdio-0.71 + >=media-video/dvdauthor-0.6.10 + >=media-video/mjpegtools-1.6.2[png] + media-video/transcode + media-fonts/ttf-bitstream-vera + virtual/eject + >=app-cdr/dvd+rw-tools-5.21 + >=media-video/projectx-0.90.4.00_p32 + dvdarchive? ( media-video/vdrtools-genindex )" + +# depends that are not rdepend +DEPEND="${DEPEND} + >=dev-libs/boost-1.32.0" + +S="${WORKDIR}/${MY_P#vdr-}" + +src_prepare() { + vdr-plugin_src_prepare + + epatch "${FILESDIR}/${P}_gentoo-path.diff" + epatch "${FILESDIR}/${P}_setdefaults.diff" + epatch "${FILESDIR}/${P}_makefile.diff" + + use dvdarchive && sed -i Makefile \ + -e "s:#ENABLE_DMH_ARCHIVE:ENABLE_DMH_ARCHIVE:" + + sed -i Makefile \ + -e 's:^TMPDIR = .*$:TMPDIR = /tmp:' \ + -e 's:^ISODIR=.*$:ISODIR=/var/vdr/video/dvd-images:' + + fix_vdr_libsi_include scanner.c +} + +src_install() { + vdr-plugin_src_install + + dobin "${S}"/burn-buffers + dobin "${S}"/*.sh + + insinto /usr/share/vdr/burn + doins "${S}"/burn/menu-silence.mp2 + newins "${S}"/burn/menu-button.png menu-button-default.png + newins "${S}"/burn/menu-bg.png menu-bg-default.png + dosym menu-bg-default.png /usr/share/vdr/burn/menu-bg.png + dosym menu-button-default.png /usr/share/vdr/burn/menu-button.png + + newins "${S}"/burn/ProjectX.ini projectx-vdr.ini + + fowners -R vdr:vdr /usr/share/vdr/burn + + ( + diropts -ovdr -gvdr + keepdir /usr/share/vdr/burn/counters + ) +} + +pkg_preinst() { + if [[ -d ${ROOT}/etc/vdr/plugins/burn && ( ! -L ${ROOT}/etc/vdr/plugins/burn ) ]]; then + einfo "Moving /etc/vdr/plugins/burn away" + mv "${ROOT}"/etc/vdr/plugins/burn "${ROOT}"/etc/vdr/plugins/burn_old + fi +} + +pkg_postinst() { + + local DMH_FILE="${ROOT}/usr/share/vdr/burn/counters/standard" + if [[ ! -e "${DMH_FILE}" ]]; then + echo 0001 > "${DMH_FILE}" + chown vdr:vdr "${DMH_FILE}" + fi + + vdr-plugin_pkg_postinst + + einfo + einfo "This ebuild comes only with the standard template" + einfo "'emerge vdr-burn-templates' for more templates" + einfo "To change the templates, use the vdr-image plugin" + + if [[ -e ${ROOT}/etc/vdr/reccmds/reccmds.burn.conf ]]; then + eerror + eerror "Please remove the following unneeded file:" + eerror "\t/etc/vdr/reccmds/reccmds.burn.conf" + eerror + fi +} |