diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-06-16 10:20:19 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-06-16 10:20:19 +0000 |
commit | 6160b75e1a6e2d43f6aed92e32f024a768bf0272 (patch) | |
tree | 8b3aec30ebeb024cdb9067f21345c1935d44df5b /media-video/minitube | |
parent | Improve patches. (diff) | |
download | historical-6160b75e1a6e2d43f6aed92e32f024a768bf0272.tar.gz historical-6160b75e1a6e2d43f6aed92e32f024a768bf0272.tar.bz2 historical-6160b75e1a6e2d43f6aed92e32f024a768bf0272.zip |
Version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-video/minitube')
-rw-r--r-- | media-video/minitube/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/minitube/Manifest | 5 | ||||
-rw-r--r-- | media-video/minitube/files/fix_headers_translations-0.3.patch | 68 | ||||
-rw-r--r-- | media-video/minitube/minitube-0.3.ebuild | 58 |
4 files changed, 137 insertions, 2 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog index 9692349de51f..8016988d3a66 100644 --- a/media-video/minitube/ChangeLog +++ b/media-video/minitube/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2009/06/15 15:19:00 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.5 2009/06/16 10:20:19 hwoarang Exp $ + +*minitube-0.3 (16 Jun 2009) + + 16 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +minitube-0.3.ebuild, + +files/fix_headers_translations-0.3.patch: + Version bump *minitube-0.2.1-r1 (15 Jun 2009) diff --git a/media-video/minitube/Manifest b/media-video/minitube/Manifest index b8c72a312aa9..7e4053c2eadd 100644 --- a/media-video/minitube/Manifest +++ b/media-video/minitube/Manifest @@ -1,6 +1,9 @@ +AUX fix_headers_translations-0.3.patch 2129 RMD160 83ecc7a0fef6b50d65aed50dc96c10f4b9aeeb1a SHA1 06a1ac7473e14d38db2019e86df840dc3dee9775 SHA256 20711232609782ce727d246c3ff0329435c8f7c131b2c39cd5dd5734e606e311 AUX kde_phonon.patch 1173 RMD160 53958bdfa2db613e87bd66f88a531c87e2614395 SHA1 a8cfb04ea01aa03a4af50e52f4f44705e7de580d SHA256 710ba1ba2f42df71c8d37e631bf3b408967b74d49010734497de5c8b93f2cc81 DIST minitube-src-0.2.1.tar.gz 90743 RMD160 daeb5adc32561e6a507f81bc56579d1411dcd63b SHA1 04c0e74d336362499fa3486a41d5c54958e33704 SHA256 2612d97d6f9363459aadfc7d40a1c74403934c39c6c061b9bb20cab29ed3452c +DIST minitube-src-0.3.tar.gz 103368 RMD160 340528baa4daacb2756426a92c5a094c257d013a SHA1 a6a062f494ba467e1269a8434234adc47d9616e9 SHA256 1816a0637ef22620140f732a697418e725b175f1b83a097e43167f21fcfd2e79 EBUILD minitube-0.2.1-r1.ebuild 1026 RMD160 9a75cdc3863b9b22281599651fbf42d0e107a33f SHA1 5af5fb2d8c6c17052b91e51e1325fa279fea0e85 SHA256 4c908778e8baad8e5998075cc5193f4446ebe8d0075a167b8848aeca94a644fd EBUILD minitube-0.2.1.ebuild 963 RMD160 93fee232e78ea522bdad2752c8b7cd667452841f SHA1 741088e81518cb3932dc5567777d1fef926302a2 SHA256 5358b67f223af13c2fb1a53253c0258f5a38456ccef00535828098f7f007a336 -MISC ChangeLog 868 RMD160 8293957cab83e90e6df84b4153f8573c36c05ede SHA1 6b2851907fd70d4826dd7b373971ba5f2ceac35f SHA256 1dbc60710c910920fff6efcca46c915041d66e639c3d97e80f1e07d388432f57 +EBUILD minitube-0.3.ebuild 1478 RMD160 bcaed78f8eb3d74ac620085335a58c4807d3fc86 SHA1 e317c2830d33fc65097bef2044714a96bea3802e SHA256 7e3fe6dbc320c17191af472f8edba5842707364a8d20f7e45136cc419bacaec6 +MISC ChangeLog 1033 RMD160 b0607c65e6892f0f878befd28284ab9abd01834b SHA1 2849eadc7a3728c20d29f54277cf5a66b52dccd4 SHA256 69cc1dfa8fb4c1027072775bd1a2eddaf503c1cf241ea85412b291ffc0a1cfd7 MISC metadata.xml 265 RMD160 e723dc6fc78de62b3144444b1329d9791b1f2099 SHA1 4ed7a4469aafc625f36fb28d3b7932d1c9e75f91 SHA256 218f4f107ec5040834a5d0d24c83e179cdd83cdb49a639fa29df53f479a680c7 diff --git a/media-video/minitube/files/fix_headers_translations-0.3.patch b/media-video/minitube/files/fix_headers_translations-0.3.patch new file mode 100644 index 000000000000..fe6a57bd78cf --- /dev/null +++ b/media-video/minitube/files/fix_headers_translations-0.3.patch @@ -0,0 +1,68 @@ +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" + #include "thaction.h" +Index: minitube/minitube.pro +=================================================================== +--- minitube.orig/minitube.pro ++++ minitube/minitube.pro +@@ -1,5 +1,5 @@ + # If Phonon cannot be found, uncomment the following (and set the correct path) +-# INCLUDEPATH += /usr/include/phonon ++INCLUDEPATH += /usr/include/phonon + CONFIG += release + TEMPLATE = app + QT += network \ +Index: minitube/src/videowidget.h +=================================================================== +--- minitube.orig/src/videowidget.h ++++ minitube/src/videowidget.h +@@ -2,7 +2,7 @@ + #define VIDEOWIDGET_H + + #include <QtGui> +-#include <phonon> ++#include <phonon/videowidget.h> + + class VideoWidget : public Phonon::VideoWidget { + +Index: minitube/src/main.cpp +=================================================================== +--- minitube.orig/src/main.cpp ++++ minitube/src/main.cpp +@@ -22,8 +22,7 @@ int main(int argc, char **argv) { + app.installTranslator(&qtTranslator); + + // translations +- QString localeDir = QCoreApplication::applicationDirPath() +- + QDir::separator() + "locale"; ++ QString localeDir = "/usr/share/minitube/locale"; + QTranslator translator; + translator.load(locale, localeDir); + app.installTranslator(&translator); diff --git a/media-video/minitube/minitube-0.3.ebuild b/media-video/minitube/minitube-0.3.ebuild new file mode 100644 index 000000000000..c9d27c0fdcec --- /dev/null +++ b/media-video/minitube/minitube-0.3.ebuild @@ -0,0 +1,58 @@ +# 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.3.ebuild,v 1.1 2009/06/16 10:20:19 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 linguas_it linguas_pt_BR linguas_ru" + +DEPEND="x11-libs/qt-gui:4[accessibility] + kde? ( media-sound/phonon[gstreamer] ) + !kde? ( x11-libs/qt-phonon:4 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +LANGS="pt_BR" +LANGSNOLONG="it_IT ru_RU" + +src_prepare() { + use kde && epatch "${FILESDIR}"/fix_headers_translations-${PV}.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" + #translations + insinto "/usr/share/${PN}/locale/" + for lang in ${LINGUAS}; do + for x in ${LANGS}; do + if [[ ${x} == ${lang} ]]; then + doins "build/target/locale/${x}.qm" || die "doins failed" + fi + done + for x in ${LANGSNOLONG}; do + if [[ ${x%_*} == ${lang} ]]; then + doins "build/target/locale/${x}.qm" || die "doins failed" + fi + done + done +} |