diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-06-09 23:13:09 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-06-09 23:13:09 +0000 |
commit | c961aebb6767f8f34c49030fe087ceafbb3f932c (patch) | |
tree | 7732d32db1099d9757af54dce72ffaa747babf85 /media-video/minitube | |
parent | Add 2.4.2 preview 1 (diff) | |
download | gentoo-2-c961aebb6767f8f34c49030fe087ceafbb3f932c.tar.gz gentoo-2-c961aebb6767f8f34c49030fe087ceafbb3f932c.tar.bz2 gentoo-2-c961aebb6767f8f34c49030fe087ceafbb3f932c.zip |
Initial commit of minitube application
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/minitube')
-rw-r--r-- | media-video/minitube/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/minitube/files/kde_phonon.patch | 42 | ||||
-rw-r--r-- | media-video/minitube/metadata.xml | 10 | ||||
-rw-r--r-- | media-video/minitube/minitube-0.2.1.ebuild | 37 |
4 files changed, 99 insertions, 0 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog new file mode 100644 index 000000000000..7814a5eaa099 --- /dev/null +++ b/media-video/minitube/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/06/09 23:13:09 hwoarang Exp $ + +*minitube-0.2.1 (09 Jun 2009) + + 09 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +minitube-0.2.1.ebuild, + +files/kde_phonon.patch, +metadata.xml: + Initial commit of minitube application + diff --git a/media-video/minitube/files/kde_phonon.patch b/media-video/minitube/files/kde_phonon.patch new file mode 100644 index 000000000000..651adb8e3780 --- /dev/null +++ b/media-video/minitube/files/kde_phonon.patch @@ -0,0 +1,42 @@ +Index: minitube/src/MainWindow.h +=================================================================== +--- minitube.orig/src/MainWindow.h ++++ minitube/src/MainWindow.h +@@ -4,7 +4,10 @@ + #include <QtGui> + #include "faderwidget/FaderWidget.h" + #include "searchlineedit.h" +-#include <phonon> ++#include <phonon/audiooutput.h> ++#include <phonon/volumeslider.h> ++#include <phonon/mediaobject.h> ++#include <phonon/seekslider.h> + #include "View.h" + #include "SearchView.h" + #include "MediaView.h" +Index: minitube/src/MediaView.h +=================================================================== +--- minitube.orig/src/MediaView.h ++++ minitube/src/MediaView.h +@@ -3,7 +3,8 @@ + + #include <QtGui> + #include <QtNetwork> +-#include <phonon> ++#include <phonon/mediaobject.h> ++#include <phonon/videowidget.h> + #include "View.h" + #include "ListModel.h" + +Index: minitube/minitube.pro +=================================================================== +--- minitube.orig/minitube.pro ++++ minitube/minitube.pro +@@ -3,6 +3,7 @@ TEMPLATE = app + QT += network \ + xml \ + phonon ++INCLUDEPATH += /usr/include/phonon + CONFIG += release + HEADERS += src/MainWindow.h \ + src/SearchView.h \ diff --git a/media-video/minitube/metadata.xml b/media-video/minitube/metadata.xml new file mode 100644 index 000000000000..a1db186ad8a9 --- /dev/null +++ b/media-video/minitube/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +<herd>video</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +</pkgmetadata> diff --git a/media-video/minitube/minitube-0.2.1.ebuild b/media-video/minitube/minitube-0.2.1.ebuild new file mode 100644 index 000000000000..41861963c9e7 --- /dev/null +++ b/media-video/minitube/minitube-0.2.1.ebuild @@ -0,0 +1,37 @@ +# 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.ebuild,v 1.1 2009/06/09 23:13:09 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" + +DEPEND="x11-libs/qt-gui:4 || ( media-sound/phonon x11-libs/qt-phonon:4 )" +RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/kde_phonon.patch" +) +S="${WORKDIR}/${PN}" + +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" +} |