diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/minitube | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/minitube')
-rw-r--r-- | media-video/minitube/Manifest | 3 | ||||
-rw-r--r-- | media-video/minitube/files/minitube-1.9-gcc47.patch | 12 | ||||
-rw-r--r-- | media-video/minitube/files/minitube-2.0-disable-updates.patch | 16 | ||||
-rw-r--r-- | media-video/minitube/files/minitube-2.1.3-disable-updates.patch | 13 | ||||
-rw-r--r-- | media-video/minitube/files/minitube-2.4-disable-updates.patch | 13 | ||||
-rw-r--r-- | media-video/minitube/metadata.xml | 16 | ||||
-rw-r--r-- | media-video/minitube/minitube-2.0.ebuild | 60 | ||||
-rw-r--r-- | media-video/minitube/minitube-2.3-r1.ebuild | 77 | ||||
-rw-r--r-- | media-video/minitube/minitube-2.4.ebuild | 92 |
9 files changed, 302 insertions, 0 deletions
diff --git a/media-video/minitube/Manifest b/media-video/minitube/Manifest new file mode 100644 index 000000000000..f7eb93907f0f --- /dev/null +++ b/media-video/minitube/Manifest @@ -0,0 +1,3 @@ +DIST minitube-2.0.tar.gz 713577 SHA256 1ba1dd7725e6e0c92653fdee7bcfa4b833346d2ef4c091d94b181b60bb592554 SHA512 f08f49549486f22d6156aa4344fd0698e03b0fcf669530010a648467cd3da1edbe6ee9e7c7578c69c7f410a03afe2e5c25bb84e6e1dc70c6534210566789f81e WHIRLPOOL 415d5b17a0862aa74c09a4950be43cd78b5ab5f26c7d0bd5d4c4b78d97989b181ecdc86955f843348b52fc582346fbae32d664f43e5ba76fcc995a59c572776b +DIST minitube-2.3.tar.gz 955192 SHA256 7fb24e295dc3e2f4ce41add1ef71c7b1fef57383578f46af8e271710c86c2247 SHA512 bfbd0a7bc73ba70172d3107b2c530d64764cb4e4e34aea8b33a4a9306ddc7570dcae1c33a6de07e7890142df9a39c3d4454edea0bf53d8e0ea2027fd91605d03 WHIRLPOOL 14e545cf2c2a7931a049ad6264fbd91d6f426906421ec1bbea06f96f15fd4a7678a24c106e8abd1ce17b0a2bcf1e69304c8321c3d381b872d95ae4bad81c2e40 +DIST minitube-2.4.tar.gz 984265 SHA256 1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b SHA512 45a90322540a281b337511af5e52a25bb5d908d3e37b6d7d4a068a2cb0d598095b6a312f862c7043851ceeda63c66944213646ba154ae505229da7fbe48251dc WHIRLPOOL 932ebcbf2397ceba78af6823f6eeb56edbf9b4c58dfd15218d10572d6a47110867b969b4711a1bcc0a00d3d47361ddec3c98fea7f69d5b56db40b842dba57b97 diff --git a/media-video/minitube/files/minitube-1.9-gcc47.patch b/media-video/minitube/files/minitube-1.9-gcc47.patch new file mode 100644 index 000000000000..4589eb538748 --- /dev/null +++ b/media-video/minitube/files/minitube-1.9-gcc47.patch @@ -0,0 +1,12 @@ +Index: minitube/src/qtsingleapplication/qtlocalpeer.cpp +=================================================================== +--- minitube.orig/src/qtsingleapplication/qtlocalpeer.cpp ++++ minitube/src/qtsingleapplication/qtlocalpeer.cpp +@@ -58,6 +58,7 @@ static PProcessIdToSessionId pProcessIdT + #endif + #if defined(Q_OS_UNIX) + #include <time.h> ++#include <unistd.h> + #endif + + namespace QtLP_Private { diff --git a/media-video/minitube/files/minitube-2.0-disable-updates.patch b/media-video/minitube/files/minitube-2.0-disable-updates.patch new file mode 100644 index 000000000000..0117fd95d0ff --- /dev/null +++ b/media-video/minitube/files/minitube-2.0-disable-updates.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/show_bug.cgi?id=455976 + +Index: minitube/src/mainwindow.cpp +=================================================================== +--- minitube.orig/src/mainwindow.cpp ++++ minitube/src/mainwindow.cpp +@@ -145,9 +145,6 @@ MainWindow::MainWindow() : + mouseTimer->setInterval(5000); + mouseTimer->setSingleShot(true); + connect(mouseTimer, SIGNAL(timeout()), SLOT(hideMouse())); +- +- QTimer::singleShot(0, this, SLOT(checkForUpdate())); +- + } + + MainWindow::~MainWindow() { diff --git a/media-video/minitube/files/minitube-2.1.3-disable-updates.patch b/media-video/minitube/files/minitube-2.1.3-disable-updates.patch new file mode 100644 index 000000000000..869850a5c6e5 --- /dev/null +++ b/media-video/minitube/files/minitube-2.1.3-disable-updates.patch @@ -0,0 +1,13 @@ +Index: minitube/src/mainwindow.cpp +=================================================================== +--- minitube.orig/src/mainwindow.cpp ++++ minitube/src/mainwindow.cpp +@@ -197,8 +197,6 @@ void MainWindow::lazyInit() { + + JsFunctions::instance(); + +- checkForUpdate(); +- + ChannelAggregator::instance()->start(); + } + diff --git a/media-video/minitube/files/minitube-2.4-disable-updates.patch b/media-video/minitube/files/minitube-2.4-disable-updates.patch new file mode 100644 index 000000000000..0c18317e19f8 --- /dev/null +++ b/media-video/minitube/files/minitube-2.4-disable-updates.patch @@ -0,0 +1,13 @@ +Index: minitube-2.4/src/mainwindow.cpp +=================================================================== +--- minitube-2.4.orig/src/mainwindow.cpp ++++ minitube-2.4/src/mainwindow.cpp +@@ -206,8 +206,6 @@ void MainWindow::lazyInit() { + connect(mouseTimer, SIGNAL(timeout()), SLOT(hideMouse())); + + JsFunctions::instance(); +- +- checkForUpdate(); + } + + void MainWindow::changeEvent(QEvent* event) { diff --git a/media-video/minitube/metadata.xml b/media-video/minitube/metadata.xml new file mode 100644 index 000000000000..1eef459cfc70 --- /dev/null +++ b/media-video/minitube/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <use> + <flag name="download">Enable support for downloading YouTube videos</flag> + </use> + <upstream> + <remote-id type="github">flaviotordini/minitube</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-video/minitube/minitube-2.0.ebuild b/media-video/minitube/minitube-2.0.ebuild new file mode 100644 index 000000000000..5a2feb604e39 --- /dev/null +++ b/media-video/minitube/minitube-2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="ar ca ca_ES da de_DE el en es es_AR es_ES fi fi_FI fr he_IL hr hu +ia it jv nl pl pl_PL pt_BR ro ru sk sl tr zh_CN" + +inherit l10n qt4-r2 + +DESCRIPTION="Qt4 YouTube Client" +HOMEPAGE="http://flavio.tordini.org/minitube" +SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug gstreamer kde" + +DEPEND=">=dev-qt/qtgui-4.6:4[accessibility,gtkstyle] + >=dev-qt/qtdbus-4.6:4 + kde? ( || ( media-libs/phonon[gstreamer?,qt4] >=dev-qt/qtphonon-4.6:4 ) ) + !kde? ( || ( >=dev-qt/qtphonon-4.6:4 media-libs/phonon[gstreamer?,qt4] ) ) + gstreamer? ( + media-plugins/gst-plugins-soup:0.10 + media-plugins/gst-plugins-ffmpeg:0.10 + media-plugins/gst-plugins-faac:0.10 + media-plugins/gst-plugins-faad:0.10 + media-plugins/gst-plugins-theora + ) +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +DOCS="AUTHORS CHANGES TODO" + +#455976 +PATCHES=( "${FILESDIR}"/${P}-disable-updates.patch ) + +src_prepare() { + qt4-r2_src_prepare + + # Remove unneeded translations + local trans= + for x in $(l10n_get_locales); do + trans+="${x}.ts " + done + if [[ -n ${trans} ]]; then + sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die + fi + # gcc-4.7. Bug #422977. Will probably be fixed + # once ubuntu moves to gcc-4.7 + epatch "${FILESDIR}"/${PN}-1.9-gcc47.patch +} + +src_install() { + qt4-r2_src_install + newicon images/app.png minitube.png +} diff --git a/media-video/minitube/minitube-2.3-r1.ebuild b/media-video/minitube/minitube-2.3-r1.ebuild new file mode 100644 index 000000000000..89a5985f3de4 --- /dev/null +++ b/media-video/minitube/minitube-2.3-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="ar ca ca_ES da de_DE el en es es_AR es_ES fi fi_FI fr he_IL hr hu +ia it jv nl pl pl_PL pt_BR ro ru sk sl tr zh_CN" +PLOCALE_BACKUP="en" + +inherit l10n qt4-r2 + +DESCRIPTION="Qt4 YouTube Client" +HOMEPAGE="http://flavio.tordini.org/minitube" +# As usual, upstream never releases proper tarballs +SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug download gstreamer kde" + +DEPEND=">=dev-qt/qtgui-4.8:4[accessibility] + >=dev-qt/qtdbus-4.8:4 + >=dev-qt/qtsql-4.8:4 + dev-qt/qtsingleapplication[qt4(+),X] + kde? ( || ( media-libs/phonon[gstreamer?,qt4] >=dev-qt/qtphonon-4.8:4 ) ) + !kde? ( || ( >=dev-qt/qtphonon-4.8:4 media-libs/phonon[gstreamer?,qt4] ) ) + gstreamer? ( + media-plugins/gst-plugins-soup:0.10 + media-plugins/gst-plugins-ffmpeg:0.10 + media-plugins/gst-plugins-faac:0.10 + media-plugins/gst-plugins-faad:0.10 + media-plugins/gst-plugins-theora + ) +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +DOCS="AUTHORS CHANGES TODO" + +#455976 +PATCHES=( "${FILESDIR}"/${PN}-2.1.3-disable-updates.patch ) + +src_prepare() { + qt4-r2_src_prepare + + # Remove unneeded translations + local trans= + for x in $(l10n_get_locales); do + trans+="${x}.ts " + done + if [[ -n ${trans} ]]; then + sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die + fi + sed -i \ + 's|include(src/qtsingleapplication/qtsingleapplication.pri)|CONFIG += qtsingleapplication|g' \ + ${PN}.pro || die "Failed to unbundle qtsingleapplication" + # Enable video downloads. Bug #491344 + use download && { echo "DEFINES += APP_DOWNLOADS" >> ${PN}.pro; } +} + +src_install() { + qt4-r2_src_install + newicon images/app.png minitube.png +} + +pkg_postinst() { + if use download; then + elog "You activated the 'download' USE flag. This allows you to" + elog "download videos from youtube, which might violate the youtube" + elog "terms-of-service (TOS) in some legislations. If downloading" + elog "youtube-videos is not allowed in your legislation, please" + elog "disable the 'download' use flag. For details on the youtube TOS," + elog "see http://www.youtube.com/t/terms" + fi +} diff --git a/media-video/minitube/minitube-2.4.ebuild b/media-video/minitube/minitube-2.4.ebuild new file mode 100644 index 000000000000..b87730474813 --- /dev/null +++ b/media-video/minitube/minitube-2.4.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="ar ca ca_ES da de_DE el en es es_AR es_ES fi fi_FI fr he_IL hr hu +ia it jv nl pl pl_PL pt_BR ro ru sk sl tr zh_CN" +PLOCALE_BACKUP="en" + +inherit l10n qt4-r2 + +DESCRIPTION="Qt4 YouTube Client" +HOMEPAGE="http://flavio.tordini.org/minitube" +SRC_URI="https://github.com/flaviotordini/${PN}/archive/${PV}.tar.gz -> +${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug download gstreamer kde" + +DEPEND=">=dev-qt/qtgui-4.8:4[accessibility] + >=dev-qt/qtdbus-4.8:4 + >=dev-qt/qtsql-4.8:4 + dev-qt/qtsingleapplication[qt4(+),X] + kde? ( || ( media-libs/phonon[gstreamer?,qt4] >=dev-qt/qtphonon-4.8:4 ) ) + !kde? ( || ( >=dev-qt/qtphonon-4.8:4 media-libs/phonon[gstreamer?,qt4] ) ) + gstreamer? ( + media-plugins/gst-plugins-soup:0.10 + media-plugins/gst-plugins-ffmpeg:0.10 + media-plugins/gst-plugins-faac:0.10 + media-plugins/gst-plugins-faad:0.10 + media-plugins/gst-plugins-theora + ) +" +RDEPEND="${DEPEND}" + +DOCS="AUTHORS CHANGES TODO" + +#455976 +PATCHES=( "${FILESDIR}"/${P}-disable-updates.patch ) + +pkg_pretend() { + if [[ -z ${MINITUBE_GOOGLE_API_KEY} ]]; then + eerror "" + eerror "Since version 2.4, you need to generate a Google API Key to use" + eerror "with this application. Please head over to" + eerror "https://console.developers.google.com/ and" + eerror "https://github.com/flaviotordini/minitube/blob/master/README.md" + eerror "for more information. Once you have generated your key," + eerror "please export it to your environment ie :" + eerror "'export MINITUBE_GOOGLE_API_KEY=\"YourAPIKeyHere\"" + eerror "and then try to merge this package again" + eerror "" + die "MINITUBE_GOOGLE_API_KEY env variable not defined!" + fi +} + +src_prepare() { + qt4-r2_src_prepare + + # Remove unneeded translations + local trans= + for x in $(l10n_get_locales); do + trans+="${x}.ts " + done + if [[ -n ${trans} ]]; then + sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die + fi + sed -i \ + 's|include(src/qtsingleapplication/qtsingleapplication.pri)|CONFIG += qtsingleapplication|g' \ + ${PN}.pro || die "Failed to unbundle qtsingleapplication" + # Enable video downloads. Bug #491344 + use download && { echo "DEFINES += APP_DOWNLOADS" >> ${PN}.pro; } + echo "DEFINES += APP_GOOGLE_API_KEY=${MINITUBE_GOOGLE_API_KEY}" >> ${PN}.pro +} + +src_install() { + qt4-r2_src_install + newicon images/app.png minitube.png +} + +pkg_postinst() { + if use download; then + elog "You activated the 'download' USE flag. This allows you to" + elog "download videos from youtube, which might violate the youtube" + elog "terms-of-service (TOS) in some legislations. If downloading" + elog "youtube-videos is not allowed in your legislation, please" + elog "disable the 'download' use flag. For details on the youtube TOS," + elog "see http://www.youtube.com/t/terms" + fi +} |