diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2006-09-15 13:42:16 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2006-09-15 13:42:16 +0000 |
commit | 69978f8f41e53309d7d0561d65c8af14b16e0d06 (patch) | |
tree | 651fd9d923daddc9d1a83f4b4a5d738363eca24a /media-video/qdvdauthor | |
parent | media-video/qdvdauthor:mplayer (diff) | |
download | gentoo-2-69978f8f41e53309d7d0561d65c8af14b16e0d06.tar.gz gentoo-2-69978f8f41e53309d7d0561d65c8af14b16e0d06.tar.bz2 gentoo-2-69978f8f41e53309d7d0561d65c8af14b16e0d06.zip |
minor ebuild cleanup, adding optional mplayer support (solving bug #119756 and #141063).
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'media-video/qdvdauthor')
-rw-r--r-- | media-video/qdvdauthor/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/qdvdauthor/files/digest-qdvdauthor-0.1.2-r1 | 3 | ||||
-rw-r--r-- | media-video/qdvdauthor/qdvdauthor-0.1.2-r1.ebuild | 75 |
3 files changed, 86 insertions, 1 deletions
diff --git a/media-video/qdvdauthor/ChangeLog b/media-video/qdvdauthor/ChangeLog index 850959b3f834..f8d63790424c 100644 --- a/media-video/qdvdauthor/ChangeLog +++ b/media-video/qdvdauthor/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/qdvdauthor # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/ChangeLog,v 1.9 2006/09/15 02:43:39 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/ChangeLog,v 1.10 2006/09/15 13:42:16 sbriesen Exp $ + +*qdvdauthor-0.1.2-r1 (15 Sep 2006) + + 15 Sep 2006; Stefan Briesenick <sbriesen@gentoo.org> + +qdvdauthor-0.1.2-r1.ebuild: + minor ebuild cleanup, adding optional mplayer support (solving bug #119756 + and #141063). *qdvdauthor-0.1.2 (15 Sep 2006) diff --git a/media-video/qdvdauthor/files/digest-qdvdauthor-0.1.2-r1 b/media-video/qdvdauthor/files/digest-qdvdauthor-0.1.2-r1 new file mode 100644 index 000000000000..b63478d68e1e --- /dev/null +++ b/media-video/qdvdauthor/files/digest-qdvdauthor-0.1.2-r1 @@ -0,0 +1,3 @@ +MD5 c0034c2e432299dd62154d0b4f230b7f qdvdauthor-0.1.2.tar.gz 1776330 +RMD160 fb21ec8757d826a9c331d5d7f59a87f406962a7d qdvdauthor-0.1.2.tar.gz 1776330 +SHA256 29d005464d2279ef858ba2dd85507aa12b9fc497794bd145b5fe477b140a9da8 qdvdauthor-0.1.2.tar.gz 1776330 diff --git a/media-video/qdvdauthor/qdvdauthor-0.1.2-r1.ebuild b/media-video/qdvdauthor/qdvdauthor-0.1.2-r1.ebuild new file mode 100644 index 000000000000..5143836e4cb8 --- /dev/null +++ b/media-video/qdvdauthor/qdvdauthor-0.1.2-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/qdvdauthor/qdvdauthor-0.1.2-r1.ebuild,v 1.1 2006/09/15 13:42:16 sbriesen Exp $ + +inherit eutils qt3 + +DESCRIPTION="'Q' DVD-Author is a GUI frontend for dvdauthor written in Qt" +HOMEPAGE="http://qdvdauthor.sourceforge.net/" +SRC_URI="mirror://sourceforge/qdvdauthor/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="xine mplayer" +DEPEND=">=media-video/dvdauthor-0.6.11 + >=media-gfx/imagemagick-6.1.8.8 + >=media-video/mjpegtools-1.6.2 + >=media-video/dvd-slideshow-0.7.2 + xine? ( >=media-libs/xine-lib-1.1.0 ) + mplayer? ( media-video/mplayer ) + !xine? ( !mplayer? ( >=media-libs/xine-lib-1.1.0 ) ) + media-sound/sox + media-sound/lame + media-libs/libogg + $(qt_min_version 3.2)" + +# TODO: +# media-video/dvd-slideshow -> optional +# installing further tools -> needs evaluation + +src_unpack() { + unpack ${A} + cd "${S}" + + # set our C(XX)FLAGS + for PRO in qdvdauthor/*.pro qdvdauthor/*/*.pro; do + echo "QMAKE_CFLAGS_RELEASE = ${CFLAGS}" >> ${PRO} + echo "QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}" >> ${PRO} + done + + # full-qualify qmake in configure + sed -i -e "s:make;:make ${MAKEOPTS};:g" \ + -e "s:qmake:\${QTDIR}/bin/qmake QMAKE=\${QTDIR}/bin/qmake:g" configure + + # fixing defaults from /usr/local/bin to gentoo default /usr/bin + sed -i "s:/usr/local/bin:/usr/bin:g" qdvdauthor/qdvdauthor.cpp \ + qdvdauthor/dialog*.cpp qdvdauthor/qslideshow/dialog*.cpp doc/sound.txt +} + +src_compile() { + local myconf="--build-qplayer --build-qslideshow" + + # select backend (VLC is currently broken) + #use vlc && myconf="${myconf} --with-vlc-support" + use xine && myconf="${myconf} --with-xine-support" + use mplayer && myconf="${myconf} --with-mplayer-support" + + # if no backend selected, use XINE as default + if ! use xine && ! use mplayer; then + myconf="${myconf} --with-xine-support" + fi + + ./configure --prefix=/usr ${myconf} || die "configure failed" +} + +src_install() { + make -C qdvdauthor INSTALL_ROOT="${D}" install || die "qdvdauthor install failed" + make -C qdvdauthor/qslideshow INSTALL_ROOT="${D}" install || die "qslideshow install failed" + make -C qdvdauthor/qplayer INSTALL_ROOT="${D}" install || die "qplayer install failed" + + dobin bin/{qdvdauthor,qslideshow,qplayer} + dodoc CHANGELOG INSTALL README TODO doc/{bugs,ISO_639,render*,sound*,todo*}.txt + domenu qdvdauthor.desktop + doicon qdvdauthor.png +} |