summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-06-15 15:19:00 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-06-15 15:19:00 +0000
commit32bc0fe7e10692dabf2399f5d545ec8f44115503 (patch)
tree87a53bbead4bc45e16e526c4e8d23bc4c1768604 /media-video/minitube
parentRemove -j1 from install (installs file with -j14), and fix a wrong path in th... (diff)
downloadgentoo-2-32bc0fe7e10692dabf2399f5d545ec8f44115503.tar.gz
gentoo-2-32bc0fe7e10692dabf2399f5d545ec8f44115503.tar.bz2
gentoo-2-32bc0fe7e10692dabf2399f5d545ec8f44115503.zip
Use kde use flag to handle phonon deps, apply patch conditionally
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/minitube')
-rw-r--r--media-video/minitube/ChangeLog9
-rw-r--r--media-video/minitube/minitube-0.2.1-r1.ebuild41
2 files changed, 49 insertions, 1 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog
index b774e213eb1b..9692349de51f 100644
--- a/media-video/minitube/ChangeLog
+++ b/media-video/minitube/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/minitube
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.3 2009/06/15 14:28:00 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.4 2009/06/15 15:19:00 hwoarang Exp $
+
+*minitube-0.2.1-r1 (15 Jun 2009)
+
+ 15 Jun 2009; Markos Chandras <hwoarang@gentoo.org>
+ +minitube-0.2.1-r1.ebuild:
+ Use kde use flag to handle the phonon dependencies. Apply patch
+ conditionaly
15 Jun 2009; Markos Chandras <hwoarang@gentoo.org> minitube-0.2.1.ebuild:
Added accessibility use dependency. Fixes bug 273813
diff --git a/media-video/minitube/minitube-0.2.1-r1.ebuild b/media-video/minitube/minitube-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..16baa47d1157
--- /dev/null
+++ b/media-video/minitube/minitube-0.2.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-0.2.1-r1.ebuild,v 1.1 2009/06/15 15:19:00 hwoarang Exp $
+
+EAPI="2"
+
+inherit qt4
+
+MY_PN="${PN}-src"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Qt4 YouTube Client"
+HOMEPAGE="http://flavio.tordini.org/minitube"
+SRC_URI="http://flavio.tordini.org/files/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug kde"
+
+DEPEND="x11-libs/qt-gui:4[accessibility]
+ kde? ( media-sound/phonon[gstreamer] )
+ !kde? ( x11-libs/qt-phonon:4 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ use kde && epatch "${FILESDIR}"/kde_phonon.patch
+ qt4_src_prepare
+}
+src_configure() {
+ eqmake4 ${PN}.pro
+}
+
+src_install() {
+ dobin build/target/minitube || die "dobin failed"
+ newicon images/app.png minitube.png || die "doicon failed"
+ make_desktop_entry minitube MiniTube minitube.png "Qt;AudioVideo;Video" \
+ || die "make_desktop_entry failed"
+}