Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: app-cdr/k3b/
Date: Wed, 31 Aug 2016 14:41:25
Message-Id: 1472654469.9bc266ff9c274c828a34cf272253e4b76868999b.kensington@gentoo
1 commit: 9bc266ff9c274c828a34cf272253e4b76868999b
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 26 20:24:10 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 14:41:09 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9bc266ff
7
8 app-cdr/k3b: Fix DEPENDs, drop obsolete config option, KDE_TEST=optional
9
10 Drop long obsolete setting of SRC_URI and S variables
11 Drop long obsolete K3B_BUILD_K3BSETUP config variable, fixes warning
12 Modernise pkg_postinst message, optical media evolved beyond CD-ROM
13
14 Package-Manager: portage-2.2.28
15
16 app-cdr/k3b/k3b-9999.ebuild | 29 +++++++++++++++--------------
17 1 file changed, 15 insertions(+), 14 deletions(-)
18
19 diff --git a/app-cdr/k3b/k3b-9999.ebuild b/app-cdr/k3b/k3b-9999.ebuild
20 index 88750c1..3a13bd3 100644
21 --- a/app-cdr/k3b/k3b-9999.ebuild
22 +++ b/app-cdr/k3b/k3b-9999.ebuild
23 @@ -5,43 +5,46 @@
24 EAPI=6
25
26 KDE_HANDBOOK="forceoptional"
27 -KDE_TEST="true"
28 +KDE_TEST="optional"
29 inherit kde5
30
31 DESCRIPTION="Full-featured burning and ripping application based on KDE Frameworks"
32 HOMEPAGE="http://www.k3b.org/"
33 +[[ ${KDE_BUILD_TYPE} = release ]] && SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
34
35 LICENSE="GPL-2 FDL-1.2"
36 -KEYWORDS=""
37 +[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
38 IUSE="dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib vcd vorbis"
39
40 -# Translations are only in the tarballs, not in the git repo
41 -if [[ ${KDE_BUILD_TYPE} != live ]] ; then
42 - SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.bz2"
43 - DOCS=( FAQ PERMISSIONS README )
44 - S=${WORKDIR}/${P/_*}
45 -else
46 - DOCS=( FAQ.txt PERMISSIONS.txt README.txt )
47 -fi
48 +DOCS=( {FAQ,PERMISSIONS,README}.txt )
49
50 DEPEND="
51 $(add_frameworks_dep karchive)
52 + $(add_frameworks_dep kbookmarks)
53 $(add_frameworks_dep kcmutils)
54 + $(add_frameworks_dep kcompletion)
55 $(add_frameworks_dep kconfig)
56 + $(add_frameworks_dep kconfigwidgets)
57 $(add_frameworks_dep kcoreaddons)
58 - $(add_frameworks_dep kdelibs4support)
59 $(add_frameworks_dep kfilemetadata)
60 $(add_frameworks_dep ki18n)
61 + $(add_frameworks_dep kiconthemes)
62 $(add_frameworks_dep kio)
63 + $(add_frameworks_dep kjobwidgets)
64 + $(add_frameworks_dep knewstuff)
65 + $(add_frameworks_dep knotifications)
66 $(add_frameworks_dep knotifyconfig)
67 $(add_frameworks_dep kservice)
68 $(add_frameworks_dep kwidgetsaddons)
69 + $(add_frameworks_dep kxmlgui)
70 $(add_frameworks_dep solid)
71 $(add_kdeapps_dep libkcddb)
72 $(add_qt_dep qtdbus)
73 $(add_qt_dep qtgui)
74 + $(add_qt_dep qtnetwork)
75 $(add_qt_dep qtwebkit)
76 $(add_qt_dep qtwidgets)
77 + $(add_qt_dep qtxml)
78 media-libs/libsamplerate
79 dvd? ( media-libs/libdvdread )
80 ffmpeg? (
81 @@ -80,7 +83,6 @@ REQUIRED_USE="
82 src_configure() {
83 local mycmakeargs=(
84 -DK3B_BUILD_API_DOCS=OFF
85 - -DK3B_BUILD_K3BSETUP=OFF
86 -DK3B_BUILD_WAVE_DECODER_PLUGIN=ON
87 -DK3B_ENABLE_HAL_SUPPORT=OFF
88 -DK3B_ENABLE_MUSICBRAINZ=OFF
89 @@ -106,14 +108,13 @@ pkg_postinst() {
90 kde5_pkg_postinst
91
92 echo
93 - elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
94 elog "If you get warnings on start-up, uncheck the \"Check system"
95 elog "configuration\" option in the \"Misc\" settings window."
96 echo
97
98 local group=cdrom
99 use kernel_linux || group=operator
100 - elog "Make sure you have proper read/write permissions on the cdrom device(s)."
101 + elog "Make sure you have proper read/write permissions on optical device(s)."
102 elog "Usually, it is sufficient to be in the ${group} group."
103 echo
104 }