From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-cdr/k3b/
Date: Sat, 27 Jun 2015 21:11:12 +0000 (UTC) [thread overview]
Message-ID: <1435438900.d748bc8f539e39318f8b5ebf4534edc0716370df.johu@gentoo> (raw)
commit: d748bc8f539e39318f8b5ebf4534edc0716370df
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 21:01:40 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 21:01:40 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d748bc8f
[app-cdr/k3b ] Drop SLOT 4
Package-Manager: portage-2.2.20
app-cdr/k3b/k3b-5.9999.ebuild | 128 ------------------------------------------
app-cdr/k3b/k3b-9999.ebuild | 47 +++++++++++-----
2 files changed, 33 insertions(+), 142 deletions(-)
diff --git a/app-cdr/k3b/k3b-5.9999.ebuild b/app-cdr/k3b/k3b-5.9999.ebuild
deleted file mode 100644
index c80697e..0000000
--- a/app-cdr/k3b/k3b-5.9999.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-EGIT_BRANCH="kf5"
-KDE_HANDBOOK="true"
-KDE_TEST="true"
-# Translations are only in the tarballs, not in the git repo
-if [[ ${PV} != *9999* ]]; then
- SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.bz2"
- DOCS=( FAQ PERMISSIONS README )
- S=${WORKDIR}/${P/_*}
-else
- DOCS=( FAQ.txt PERMISSIONS.txt README.txt )
-fi
-
-inherit kde5
-
-DESCRIPTION="The CD/DVD Kreator for KDE"
-HOMEPAGE="http://www.k3b.org/"
-
-LICENSE="GPL-2 FDL-1.2"
-SLOT="5"
-KEYWORDS=""
-IUSE="dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib vcd vorbis"
-
-DEPEND="
- $(add_frameworks_dep karchive)
- $(add_frameworks_dep kcmutils)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdoctools)
- $(add_frameworks_dep kdelibs4support)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep knotifyconfig)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep solid)
- $(add_kdeapps_dep libkcddb)
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qttest:5
- dev-qt/qtwebkit:5
- dev-qt/qtwidgets:5
- media-libs/libsamplerate
- dvd? ( media-libs/libdvdread )
- ffmpeg? (
- libav? ( media-video/libav:= )
- !libav? ( media-video/ffmpeg:0= )
- )
- flac? ( >=media-libs/flac-1.2[cxx] )
- mp3? ( media-sound/lame )
- mad? ( media-libs/libmad )
- musepack? ( >=media-sound/musepack-tools-444 )
- sndfile? ( media-libs/libsndfile )
- taglib? ( >=media-libs/taglib-1.5 )
- vorbis? ( media-libs/libvorbis )
-"
-# $(add_frameworks_dep kdelibs 'udev,udisks(+)')
-RDEPEND="${DEPEND}
- app-cdr/cdrdao
- media-sound/cdparanoia
- virtual/cdrtools
- dvd? (
- >=app-cdr/dvd+rw-tools-7
- encode? ( media-video/transcode[dvd] )
- )
- emovix? ( media-video/emovix )
- sox? ( media-sound/sox )
- vcd? ( media-video/vcdimager )
- !app-cdr/k3b:4
-"
-
-DOCS+=( ChangeLog )
-
-REQUIRED_USE="
- mp3? ( encode )
- sox? ( encode )
-"
-
-src_prepare() {
- # we have to patch first, because some doc sed magic in kde5.eclass will make the patch invalid
- epatch "${FILESDIR}/${PN}-tests-optional.patch"
- kde5_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DK3B_BUILD_API_DOCS=OFF
- -DK3B_BUILD_K3BSETUP=OFF
- -DK3B_BUILD_WAVE_DECODER_PLUGIN=ON
- -DK3B_ENABLE_HAL_SUPPORT=OFF
- -DK3B_ENABLE_MUSICBRAINZ=OFF
- $(cmake-utils_use debug K3B_DEBUG)
- $(cmake-utils_use dvd K3B_ENABLE_DVD_RIPPING)
- $(cmake-utils_use encode K3B_BUILD_EXTERNAL_ENCODER_PLUGIN)
- $(cmake-utils_use ffmpeg K3B_BUILD_FFMPEG_DECODER_PLUGIN)
- $(cmake-utils_use flac K3B_BUILD_FLAC_DECODER_PLUGIN)
- $(cmake-utils_use mp3 K3B_BUILD_LAME_ENCODER_PLUGIN)
- $(cmake-utils_use mad K3B_BUILD_MAD_DECODER_PLUGIN)
- $(cmake-utils_use musepack K3B_BUILD_MUSE_DECODER_PLUGIN)
- $(cmake-utils_use sndfile K3B_BUILD_SNDFILE_DECODER_PLUGIN)
- $(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN)
- $(cmake-utils_use taglib K3B_ENABLE_TAGLIB)
- $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN)
- $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN)
- )
- kde5_src_configure
-}
-
-pkg_postinst() {
- kde5_pkg_postinst
-
- echo
- elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
- elog "If you get warnings on start-up, uncheck the \"Check system"
- elog "configuration\" option in the \"Misc\" settings window."
- echo
-
- local group=cdrom
- use kernel_linux || group=operator
- elog "Make sure you have proper read/write permissions on the cdrom device(s)."
- elog "Usually, it is sufficient to be in the ${group} group."
- echo
-}
diff --git a/app-cdr/k3b/k3b-9999.ebuild b/app-cdr/k3b/k3b-9999.ebuild
index 36fefb0..c80697e 100644
--- a/app-cdr/k3b/k3b-9999.ebuild
+++ b/app-cdr/k3b/k3b-9999.ebuild
@@ -4,16 +4,11 @@
EAPI=5
-MULTIMEDIA_REQUIRED="always"
-WEBKIT_REQUIRED="always"
-KDE_HANDBOOK="optional"
-
+EGIT_BRANCH="kf5"
+KDE_HANDBOOK="true"
+KDE_TEST="true"
# Translations are only in the tarballs, not in the git repo
if [[ ${PV} != *9999* ]]; then
- KDE_LINGUAS="ast be bg ca ca@valencia cs csb da de el en_GB eo es et eu fi fr ga
- gl he hi hne hr hu is it ja km ko ku lt mai nb nds nl nn oc pa pl pt pt_BR ro ru
- se sk sl sv th tr uk zh_CN zh_TW"
-
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.bz2"
DOCS=( FAQ PERMISSIONS README )
S=${WORKDIR}/${P/_*}
@@ -21,18 +16,35 @@ else
DOCS=( FAQ.txt PERMISSIONS.txt README.txt )
fi
-inherit kde4-base
+inherit kde5
DESCRIPTION="The CD/DVD Kreator for KDE"
HOMEPAGE="http://www.k3b.org/"
LICENSE="GPL-2 FDL-1.2"
+SLOT="5"
KEYWORDS=""
-SLOT="4"
-IUSE="debug dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib vcd vorbis"
+IUSE="dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib vcd vorbis"
DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdoctools)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep solid)
$(add_kdeapps_dep libkcddb)
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qttest:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
media-libs/libsamplerate
dvd? ( media-libs/libdvdread )
ffmpeg? (
@@ -47,8 +59,8 @@ DEPEND="
taglib? ( >=media-libs/taglib-1.5 )
vorbis? ( media-libs/libvorbis )
"
+# $(add_frameworks_dep kdelibs 'udev,udisks(+)')
RDEPEND="${DEPEND}
- $(add_kdebase_dep kdelibs 'udev,udisks(+)')
app-cdr/cdrdao
media-sound/cdparanoia
virtual/cdrtools
@@ -59,6 +71,7 @@ RDEPEND="${DEPEND}
emovix? ( media-video/emovix )
sox? ( media-sound/sox )
vcd? ( media-video/vcdimager )
+ !app-cdr/k3b:4
"
DOCS+=( ChangeLog )
@@ -68,6 +81,12 @@ REQUIRED_USE="
sox? ( encode )
"
+src_prepare() {
+ # we have to patch first, because some doc sed magic in kde5.eclass will make the patch invalid
+ epatch "${FILESDIR}/${PN}-tests-optional.patch"
+ kde5_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DK3B_BUILD_API_DOCS=OFF
@@ -89,11 +108,11 @@ src_configure() {
$(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN)
$(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN)
)
- kde4-base_src_configure
+ kde5_src_configure
}
pkg_postinst() {
- kde4-base_pkg_postinst
+ kde5_pkg_postinst
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
next reply other threads:[~2015-06-27 21:11 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-27 21:11 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-12-14 11:27 [gentoo-commits] proj/kde:master commit in: app-cdr/k3b/ Michael Palimaka
2016-08-31 14:41 Michael Palimaka
2016-08-18 17:22 Michael Palimaka
2016-08-18 12:48 Michael Palimaka
2016-07-29 22:26 Johannes Huber
2016-07-15 11:19 Johannes Huber
2016-04-04 17:46 Johannes Huber
2016-03-28 12:24 Johannes Huber
2016-01-13 18:19 Michael Palimaka
2016-01-04 16:21 Michael Palimaka
2015-09-14 13:17 Michael Palimaka
2015-06-27 20:44 Johannes Huber
2015-04-27 15:58 Michael Palimaka
2015-02-12 22:43 Johannes Huber
2014-11-24 12:48 Michael Palimaka
2014-09-14 19:25 Johannes Huber
2014-09-09 16:34 Michael Palimaka
2014-09-09 16:31 Michael Palimaka
2014-09-09 16:31 Michael Palimaka
2013-06-27 21:04 Johannes Huber
2012-09-11 13:45 Michael Palimaka
2012-08-25 15:41 Michael Palimaka
2012-05-23 22:01 Maciej Mrozowski
2012-05-23 20:00 Michael Palimaka
2012-05-22 21:37 Michael Palimaka
2012-05-19 18:08 Michael Palimaka
2011-08-12 22:37 Maciej Mrozowski
2011-08-10 22:00 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435438900.d748bc8f539e39318f8b5ebf4534edc0716370df.johu@gentoo \
--to=johu@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox