diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2010-02-21 21:31:44 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2010-02-21 21:31:44 +0000 |
commit | ae5d6781042a49f7fd162d493da5898b5c221d32 (patch) | |
tree | 0a691bf97d3a34758616a5de05693f5447f4dd8d /media-plugins | |
parent | Sync with features/64bit-native/package.mask. (diff) | |
download | historical-ae5d6781042a49f7fd162d493da5898b5c221d32.tar.gz historical-ae5d6781042a49f7fd162d493da5898b5c221d32.tar.bz2 historical-ae5d6781042a49f7fd162d493da5898b5c221d32.zip |
Version bumped.
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'media-plugins')
7 files changed, 251 insertions, 7 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog index 112bbb8edd79..5acc2df43d0a 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.44 2009/11/18 21:04:07 zzam Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.45 2010/02/21 21:31:43 zzam Exp $ + +*vdr-burn-0.2.0_beta1 (21 Feb 2010) + + 21 Feb 2010; Matthias Schwarzott <zzam@gentoo.org> + +vdr-burn-0.2.0_beta1.ebuild, + +files/vdr-burn-0.2.0_beta1-gentoo-paths.diff, + +files/vdr-burn-0.2.0_beta1-gentoo-projectx.diff, + +files/vdr-burn-0.2.0_beta1-makefile.diff, + +files/vdr-burn-0.2.0_beta1-setdefaults-V2.diff: + Version bumped. 18 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> vdr-burn-0.1.0_pre22_p1.ebuild: diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest index 2c951ec65b83..098d6bd2b06c 100644 --- a/media-plugins/vdr-burn/Manifest +++ b/media-plugins/vdr-burn/Manifest @@ -15,16 +15,22 @@ AUX rc-addon.sh 743 RMD160 fe42f9ca9bc5291716cf4ebfaad8f55546967cbd SHA1 e4fb675 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 +AUX vdr-burn-0.2.0_beta1-gentoo-paths.diff 578 RMD160 fdc7e29eb88a84720bcb898ac441031e2707d538 SHA1 5db6f8950a89ff556891ca4b7ba9e67845c61dc5 SHA256 68b71111a5c9dd1442aa33aaaa459979b525535c023c77784b946840efc146f9 +AUX vdr-burn-0.2.0_beta1-gentoo-projectx.diff 565 RMD160 1f2fe788d57a3c268244ca44d7b51791fb936b2a SHA1 4fde574cf5b79fb844e5448a005d82e231d39989 SHA256 d7b89f0d23507f33377183e70bf7f757b28ed9a0267a816c89c047b5ae787b9f +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 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 EBUILD vdr-burn-0.1.0_pre21-r6.ebuild 3343 RMD160 b75a7e9df66741d61a33e24ff795bd4720fbbed4 SHA1 d4beeccea6c013c5868544a5d9c519ca51e32663 SHA256 f0e90f0f6f3e5258075ef76d5cca25f5ea129f63e3b1e479096b408fa5ea1b68 EBUILD vdr-burn-0.1.0_pre22_p1.ebuild 3232 RMD160 bec3d2d73d72fed8491483ea08368526435ce75f SHA1 9b09faeef0e3b65ae4c078ed040dc7fb087615ab SHA256 300bd9d1027c1f27c30d465bdfa494a5a652e9a1f61bf813ac15a1f82b690c4c -MISC ChangeLog 8758 RMD160 5d28d9ab38261de697c20aa0e36113e39a01dec9 SHA1 54f7344b51a771dd567ee44cc5d48dc5bc105b94 SHA256 618d26273e7ae44145d61be6d280800d346d18ec59d5fd785c28bb67f1aaa6fa +EBUILD vdr-burn-0.2.0_beta1.ebuild 3329 RMD160 a1431d1c6ae16c996c1d13db9c0ee82f46b798ca SHA1 e98449bfb625b66648296f89ed6f8cfa9100f296 SHA256 ff5cf5929b3fadcfb31c1f7bb3bba80eb1aa3b11e3347df9b93df8cb3687f519 +MISC ChangeLog 9096 RMD160 f15f1fc1b56c4ba44073af34b2212d2222d74347 SHA1 6e0a0aa20127a86aa5fc8020aec8f10984162afd SHA256 c662289b566b8eea18fcbe4770995cdd2bab89267a12b8d135718b6af67b1e9f MISC metadata.xml 451 RMD160 3e1513e64344669532732f16a2893878b2c60d38 SHA1 726331222f87de37d6bec9b4d83ef45c024e41a6 SHA256 17e6e4ae11581ce983dd1ee2e9dd3fbba30b27ded1102fc4c2b340dfd366afea -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAksEYUwACgkQt2vP6XvVdOegqACdHGjhbNyHhnQOwwWjfoQCM85c -mpwAoK0ssowFy97cTsPlmoVHbft+0zfP -=orEv +iEYEARECAAYFAkuBpi0ACgkQt2vP6XvVdOfIswCfTBu6lswaBlqxCybno5xSrgVd +ytEAoKDsSBuF8MfiAKwDeLfgeWLLaVz4 +=zzBP -----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-paths.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-paths.diff new file mode 100644 index 000000000000..ebb27bd131fe --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-paths.diff @@ -0,0 +1,18 @@ +Index: burn-0.2.0-beta1/burn.c +=================================================================== +--- burn-0.2.0-beta1.orig/burn.c ++++ burn-0.2.0-beta1/burn.c +@@ -96,11 +96,11 @@ namespace vdr_burn + + 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 --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-projectx.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-projectx.diff new file mode 100644 index 000000000000..3f31bedd4cbd --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-gentoo-projectx.diff @@ -0,0 +1,16 @@ +Index: burn-0.2.0-beta1/vdrburn-dvd.sh +=================================================================== +--- burn-0.2.0-beta1.orig/vdrburn-dvd.sh ++++ burn-0.2.0-beta1/vdrburn-dvd.sh +@@ -111,9 +111,8 @@ case $1 in + 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_beta1-makefile.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-makefile.diff new file mode 100644 index 000000000000..20c2f80fb780 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-makefile.diff @@ -0,0 +1,22 @@ +Index: burn-0.2.0-beta1/Makefile +=================================================================== +--- burn-0.2.0-beta1.orig/Makefile ++++ burn-0.2.0-beta1/Makefile +@@ -136,7 +136,7 @@ all: libvdr-$(PLUGIN).so burn-buffers i1 + + 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 +@@ -169,7 +169,7 @@ clean: + @-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_beta1-setdefaults-V2.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-setdefaults-V2.diff new file mode 100644 index 000000000000..1f6e80fd837c --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.2.0_beta1-setdefaults-V2.diff @@ -0,0 +1,45 @@ +will set a always missconfigured part to a default setup +remove the config part (RemovePath, RequantTyp) +from osd plugin setup + +12 Mar 2009 ,Joerg Bornkessel <hd_brummy@gentoo.org> + +Index: burn-0.2.0-beta1/setup.c +=================================================================== +--- burn-0.2.0-beta1.orig/setup.c ++++ burn-0.2.0-beta1/setup.c +@@ -88,11 +88,11 @@ bool cBurnParameters::ProcessArgs(int ar + //!--- 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_vdrsync ), +- 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 ), +@@ -120,7 +120,7 @@ bool cBurnParameters::ProcessArgs(int ar + PROCTOOLS_INIT_PROPERTY( SkinIndex, 0 ), + PROCTOOLS_INIT_PROPERTY( ChaptersMode, chaptersmode_10 ), + PROCTOOLS_INIT_PROPERTY( StoreMode, storemode_burn ), +- PROCTOOLS_INIT_PROPERTY( DmhArchiveMode, true ), ++ PROCTOOLS_INIT_PROPERTY( DmhArchiveMode, false ), + PROCTOOLS_INIT_PROPERTY( DiskSize, disksize_singlelayer ), + PROCTOOLS_INIT_PROPERTY( CutOnDemux, false ), + PROCTOOLS_INIT_PROPERTY( SkipTitlemenu, true ), +@@ -204,9 +204,9 @@ bool cBurnParameters::ProcessArgs(int ar + 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/vdr-burn-0.2.0_beta1.ebuild b/media-plugins/vdr-burn/vdr-burn-0.2.0_beta1.ebuild new file mode 100644 index 000000000000..aacc953d2ae1 --- /dev/null +++ b/media-plugins/vdr-burn/vdr-burn-0.2.0_beta1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2010 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_beta1.ebuild,v 1.1 2010/02/21 21:31:43 zzam Exp $ + +EAPI="2" + +inherit vdr-plugin eutils + +MY_P="${P/_/-}" + +S="${WORKDIR}/${MY_P#vdr-}" + +DESCRIPTION="VDR: DVD Burn Plugin" +HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=93998" +SRC_URI="http://firefly.vdr-developer.org/patches/${MY_P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="projectx" +RESTRICT="test" + +DEPEND=">=media-video/vdr-1.6 + >=dev-libs/libcdio-0.71 + media-libs/gd[png,truetype,jpeg]" + +RDEPEND="${DEPEND} + >=media-video/dvdauthor-0.6.10 + >=media-video/mjpegtools-1.6.2[png] + >=media-video/vdrsync-0.1.3_pre1-r5 + media-video/transcode + media-fonts/ttf-bitstream-vera + media-video/vdrtools-genindex + virtual/eject + virtual/cdrtools + >=app-cdr/dvd+rw-tools-5.21 + projectx? ( >=media-video/projectx-0.90.4.00-r3 )" + +# depends that are not rdepend +DEPEND="${DEPEND} + >=dev-libs/boost-1.32.0" + +VDR_CONFD_FILE="${FILESDIR}/confd" +VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh" + +pkg_setup() { + local error=0 + + if use projectx && [[ ! -d /usr/share/java-config-2 ]] ; then + eerror + eerror "ProjectX need an upgraded version of your Java install" + eerror "Please upgrade your Java/Java-config install" + eerror "\thttp://www.gentoo.org/proj/en/java/java-upgrade.xml" + eerror + die "Requirements not satisfied" + fi + + vdr-plugin_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/vdr-burn-0.2.0_beta1-makefile.diff" + epatch "${FILESDIR}/vdr-burn-0.2.0_beta1-gentoo-projectx.diff" + epatch "${FILESDIR}/vdr-burn-0.2.0_beta1-gentoo-paths.diff" + epatch "${FILESDIR}/vdr-burn-0.2.0_beta1-setdefaults-V2.diff" + + vdr-plugin_src_prepare + + cd "${S}" + 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 + + use projectx && 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 +} |