# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/k9copy/k9copy-1.2.3-r2.ebuild,v 1.2 2008/10/04 19:28:21 keytoaster Exp $ EAPI="1" ARTS_REQUIRED="never" inherit kde MY_P="${P/_p/-}" S="${WORKDIR}/${MY_P}" DESCRIPTION="k9copy is a DVD backup utility which allows the copy of one or more titles from a DVD9 to a DVD5" HOMEPAGE="http://k9copy.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="media-libs/libdvdread >=app-cdr/k3b-0.12.10 dev-libs/dbus-qt3-old sys-apps/hal >=media-video/ffmpeg-0.4.9_p20080326 media-video/mplayer" RDEPEND="${DEPEND} media-video/dvdauthor" need-kde 3.5 PATCHES=( "${FILESDIR}"/${P}-desktop-entry-2.diff "${FILESDIR}"/${P}-gcc43.patch "${FILESDIR}"/${P}-new-ffmpeg.patch ) pkg_setup() { kde_pkg_setup if ! built_with_use x11-libs/qt:3 opengl ; then eerror "K9Copy needs Qt 3 built with OpenGL support. Please set the" eerror "\"opengl\" use flag and run \"emerge --oneshot x11-libs/qt:3\"" die "Please follow the above error message." fi }