Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/minitube: ChangeLog minitube-0.2.1-r1.ebuild
Date: Mon, 15 Jun 2009 15:19:03
Message-Id: E1MGDxc-0006Jw-VD@stork.gentoo.org
hwoarang    09/06/15 15:19:00

  Modified:             ChangeLog
  Added:                minitube-0.2.1-r1.ebuild
  Log:
  Use kde use flag to handle phonon deps, apply patch conditionally
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  media-video/minitube/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/minitube/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/minitube/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/minitube/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	15 Jun 2009 14:28:00 -0000	1.3
+++ ChangeLog	15 Jun 2009 15:19:00 -0000	1.4
@@ -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@g.o>
+  +minitube-0.2.1-r1.ebuild:
+  Use kde use flag to handle the phonon dependencies. Apply patch
+  conditionaly
 
   15 Jun 2009; Markos Chandras <hwoarang@g.o> minitube-0.2.1.ebuild:
   Added accessibility use dependency. Fixes bug 273813



1.1                  media-video/minitube/minitube-0.2.1-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/minitube/minitube-0.2.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/minitube/minitube-0.2.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: minitube-0.2.1-r1.ebuild
===================================================================
# 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"
}