diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-10 19:59:28 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-10 20:00:31 +0200 |
commit | dd0afbae63384a5748eb5a1d999707ae4cd99bfc (patch) | |
tree | 18c5bdb1056319523f781e17c6a10e20d749eae5 /media-video | |
parent | dev-php/PEAR-Auth: New snapshot version from github (diff) | |
download | gentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.tar.gz gentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.tar.bz2 gentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.zip |
media-video/kaffeine: 2.0.10 version bump
Reported-by: Manfred Knick <Manfred.Knick@T-Online.de>
Gentoo-bug: 624452
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/kaffeine/Manifest | 1 | ||||
-rw-r--r-- | media-video/kaffeine/files/kaffeine-2.0.10-debug.patch | 27 | ||||
-rw-r--r-- | media-video/kaffeine/kaffeine-2.0.10.ebuild | 69 |
3 files changed, 97 insertions, 0 deletions
diff --git a/media-video/kaffeine/Manifest b/media-video/kaffeine/Manifest index 48f1cd847630..e15f520a3c16 100644 --- a/media-video/kaffeine/Manifest +++ b/media-video/kaffeine/Manifest @@ -1 +1,2 @@ +DIST kaffeine-2.0.10.tar.xz 4405388 SHA256 cc8c0a8a6e360d3a45a1e3ea5b98fa730cad164451b5ed54620d0b91b0f614c3 SHA512 b06d6c271ad6a7de3798c02d576f520eb8ebaf3b0ab64a84a17441f5555ce059e947c0413963bb5813a92d56a3c4df5a1765cabab8a912ab0e43f154d562b4d6 WHIRLPOOL e03d41cc24cf97e3af6cf511685aae8e3aa804e06d5b1a9d9d4085f8856d46545a54160dd625469a9fcb3f31f0f50088704d2f618febf2ded2a8382468325b9d DIST kaffeine-2.0.9.tar.xz 4398832 SHA256 ac53b697bba4fa97350706698c777908c21c464f7c567fe1a4ce9352e955754f SHA512 5adf86185aaafce4eadda4cfe40af2e0c867477f51b74a464bf813c018ecf035f9e13f47fffd21c0cd547289825441d2d80298ec7035e260f3cc0414c5fdd0d7 WHIRLPOOL 948eecec4957046c6ddee872747959661725f4d9f8408c735803d0dcc82c38dfcc7df6e9e92c46e8fda58e2f53a41ab6cf8c33da4b88f7d89542aa427a486223 diff --git a/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch b/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch new file mode 100644 index 000000000000..97103b8e08e0 --- /dev/null +++ b/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch @@ -0,0 +1,27 @@ +From 4200dec1afc04b1618b2e7ea916891103473a913 Mon Sep 17 00:00:00 2001 +From: Mauro Carvalho Chehab <mchehab@s-opensource.com> +Date: Sun, 9 Jul 2017 11:59:21 -0300 +Subject: mainwindow: disable debug messages by default + +By default, debug messages shouldn't be displayed. + +Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> +--- + src/mainwindow.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp +index c5ec7ac..7a18459 100644 +--- a/src/mainwindow.cpp ++++ b/src/mainwindow.cpp +@@ -190,6 +190,8 @@ void MainWindow::run() + if (parser->isSet("debug")) { + QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true); + QLoggingCategory::setFilterRules(QStringLiteral(FILTER_RULE)); ++ } else { ++ QLoggingCategory::setFilterRules(QStringLiteral("kaffeine.*.debug=false")); + } + + readSettings(); +-- +cgit v0.11.2 diff --git a/media-video/kaffeine/kaffeine-2.0.10.ebuild b/media-video/kaffeine/kaffeine-2.0.10.ebuild new file mode 100644 index 000000000000..27b32f7051e1 --- /dev/null +++ b/media-video/kaffeine/kaffeine-2.0.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="optional" +inherit kde5 + +DESCRIPTION="Media player with digital TV support by KDE" +HOMEPAGE="https://kaffeine.kde.org/" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="GPL-2+ handbook? ( FDL-1.3 )" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtsql 'sqlite') + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/libv4l + media-video/vlc[X] + x11-libs/libXScrnSaver +" +DEPEND="${CDEPEND} + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND="${CDEPEND} + !media-video/kaffeine:4 +" + +DOCS=( Changelog NOTES README.md ) + +PATCHES=( "${FILESDIR}/${P}-debug.patch" ) + +src_prepare() { + kde5_src_prepare + + # unused dependencies incorrectly added during the release process + # they do not appear in upstream git + sed -i \ + -e "/find_package(KF5DocTools CONFIG REQUIRED)/d" \ + -e "/kdoctools_install(po)/d" \ + CMakeLists.txt || die +} + +src_configure() { + # tools working on $HOME directory for a local git checkout + local mycmakeargs=( + -DBUILD_TOOLS=OFF + ) + + kde5_src_configure +} |