diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2009-09-04 16:34:07 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2009-09-04 16:34:07 +0000 |
commit | 3253e9de36ed6c1f9685562d250df92cfc6678a0 (patch) | |
tree | 08eac96fd55c9e1f8f5280f1def52bf65eaecd10 /media-video/qdvdauthor | |
parent | Move the dep fix from overlay to tree. Force due to unsynced tree. (diff) | |
download | gentoo-2-3253e9de36ed6c1f9685562d250df92cfc6678a0.tar.gz gentoo-2-3253e9de36ed6c1f9685562d250df92cfc6678a0.tar.bz2 gentoo-2-3253e9de36ed6c1f9685562d250df92cfc6678a0.zip |
Version bump. Fixes bugs #255889 and finally #241804. Some small repoman fixes.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-video/qdvdauthor')
-rw-r--r-- | media-video/qdvdauthor/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/qdvdauthor/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/qdvdauthor/qdvdauthor-1.11.1.ebuild | 159 | ||||
-rw-r--r-- | media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild | 6 |
4 files changed, 179 insertions, 5 deletions
diff --git a/media-video/qdvdauthor/ChangeLog b/media-video/qdvdauthor/ChangeLog index e0f259c7a08c..4cb26539ac7a 100644 --- a/media-video/qdvdauthor/ChangeLog +++ b/media-video/qdvdauthor/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/qdvdauthor -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/ChangeLog,v 1.25 2008/12/17 21:23:36 loki_val Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/ChangeLog,v 1.26 2009/09/04 16:34:07 billie Exp $ + +*qdvdauthor-1.11.1 (04 Sep 2009) + + 04 Sep 2009; Pielmeier Daniel <billie@gentoo.org> qdvdauthor-1.2.0.ebuild, + +qdvdauthor-1.11.1.ebuild, metadata.xml: + Version bump. Fixes bugs #255889 and finally #241804. Some small repoman + fixes. 17 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> -qdvdauthor-1.0.0.ebuild: diff --git a/media-video/qdvdauthor/metadata.xml b/media-video/qdvdauthor/metadata.xml index 813ebd136998..b2ad97c21951 100644 --- a/media-video/qdvdauthor/metadata.xml +++ b/media-video/qdvdauthor/metadata.xml @@ -9,4 +9,12 @@ <longdescription lang="en"> 'Q' DVD-Author is a GUI frontend for dvdauthor written in Qt. </longdescription> + <use> + <flag name="plugins"> + Install additional plugins. + </flag> + <flag name="templates"> + Install various templates. + </flag> + </use> </pkgmetadata> diff --git a/media-video/qdvdauthor/qdvdauthor-1.11.1.ebuild b/media-video/qdvdauthor/qdvdauthor-1.11.1.ebuild new file mode 100644 index 000000000000..323800142c7a --- /dev/null +++ b/media-video/qdvdauthor/qdvdauthor-1.11.1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/qdvdauthor-1.11.1.ebuild,v 1.1 2009/09/04 16:34:07 billie Exp $ + +EAPI=2 + +inherit eutils flag-o-matic qt4 qt3 + +DESCRIPTION="'Q' DVD-Author is a GUI frontend for dvdauthor written in Qt" +HOMEPAGE="http://qdvdauthor.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + templates? ( mirror://sourceforge/${PN}/${PN}-templates-1.10.0.tar.bz2 + http://${PN}.sourceforge.net/data/masks.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" # ppc currently disabled because of media-video/dv2sub +IUSE="mplayer +xine plugins cdr templates debug" + +DEPEND="media-video/dvdauthor + media-gfx/jhead + media-video/ffmpeg + media-video/mjpegtools + xine? ( media-libs/xine-lib ) + mplayer? ( media-video/mplayer ) + !xine? ( !mplayer? ( media-libs/xine-lib ) ) + x11-libs/qt:3 + x11-libs/qt-gui:4 + x11-libs/libX11 + templates? ( app-text/convmv )" + +RDEPEND="${DEPEND} + app-cdr/dvdisaster + media-libs/netpbm + media-video/dv2sub + media-video/videotrans + media-gfx/imagemagick + media-sound/toolame + media-sound/lame + media-sound/sox + media-sound/vorbis-tools + cdr? ( || ( virtual/cdrtools app-cdr/dvd+rw-tools ) )" + +TEMPLATES="${WORKDIR}"/${PN}-templates-1.10.0 + +pkg_setup() { + if ! use xine && ! use mplayer ; then + eerror "You have to enable at least one of the use flags xine or \ + mplayer" + die "xine and mplayer flag unset." + fi +} + +src_prepare() { + sed -i -e 's:backround:background:g' qdvdauthor/qdvdauthor.pro \ + || die "sed failed" + + mv "${WORKDIR}"/masks ${TEMPLATES} + + # remove spaces in filenames + local OIFS IFS i + OIFS=${IFS}; IFS=$'\n' + for i in $(find ${TEMPLATES} -depth -name '* *') ; do + mv ${i} $(dirname ${i})/$(basename ${i// /-}) + done + IFS=${OIFS} + + # fix filename encoding + convmv --notest -r -f iso-8859-15 -t utf8 ${TEMPLATES}/buttons 1>>/dev/null 2>&1 +} + +src_configure() { + if use xine ; then + export WITH_XINE_SUPPORT=1 + fi + + if use mplayer ; then + export WITH_MPLAYER_SUPPORT=1 + fi + + export WITH_VLC_SUPPORT=0 + + eqmake3 all.pro + + cd "${S}"/qdvdauthor + eqmake3 qdvdauthor.pro + + cd "${S}"/qdvdauthor/qplayer + eqmake3 qplayer.pro + + if use plugins ; then + for i in simpledvd complexdvd menuslide testplugs; do + cd "${S}"/qdvdauthor/plugins/${i} + eqmake3 ${i}.pro + done + fi + + cd "${S}"/addons/jhead/libjhead + eqmake3 interface.pro + + cd "${S}"/qrender + eqmake4 qrender.pro +} + +src_compile() { + cd "${S}"/qdvdauthor + emake || die "emake failed" + + cd "${S}"/qdvdauthor/qplayer + emake || die "emake failed" + + if use plugins ; then + for i in simpledvd complexdvd menuslide testplugs; do + cd "${S}"/qdvdauthor/plugins/${i} + emake || die "emake failed" + eqmake3 ${i}.pro + done + fi + + cd "${S}"/addons/jhead/libjhead + emake || die "emake failed" + eqmake3 interface.pro -o Makefile.interface + + cd "${S}"/qrender + emake || die "emake failed" +} + +src_install() { + cd "${S}"/qdvdauthor + emake INSTALL_ROOT="${D}" install || die "emake install failed" + + cd "${S}"/qdvdauthor/qplayer + emake INSTALL_ROOT="${D}" install || die "emake install failed" + + if use plugins ; then + for i in simpledvd complexdvd; do + cd "${S}"/qdvdauthor/plugins/${i} + emake INSTALL_ROOT="${D}" install || die "emake install failed" + done + fi + + cd "${S}"/addons/jhead/libjhead + emake INSTALL_ROOT="${D}" -f Makefile.interface install || \ + die "emake install failed" + + cd "${S}"/qrender + emake INSTALL_ROOT="${D}" install || die "emake install failed" + + cd "${TEMPLATES}" + if use templates ; then + insinto /usr/share/qdvdauthor + doins -r animated buttons masks slideshow static + fi + + cd "${S}" + dodoc CHANGELOG README + domenu qdvdauthor.desktop + doicon qdvdauthor.png +} diff --git a/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild b/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild index 1c94b4bc12b6..2fa8a929c9f8 100644 --- a/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild +++ b/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild,v 1.2 2008/07/27 21:54:04 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/qdvdauthor-1.2.0.ebuild,v 1.3 2009/09/04 16:34:07 billie Exp $ EAPI=1 @@ -94,7 +94,7 @@ src_install() { insinto /usr/share/qdvdauthor/plugins/${i} doins qdvdauthor/plugins/${i}/*.{jpg,png} cp -dp qdvdauthor/plugins/plugins/lib${i}.so* \ - ${D}usr/share/qdvdauthor/plugins/ + "${D}"usr/share/qdvdauthor/plugins/ done domenu qdvdauthor.desktop |