commit:     85c973b6ae60887bab4b1db6fe935ce5cecd0aa2
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 18:18:51 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 18:18:51 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=85c973b6

app-cdr/k3b: KDE_BUILD_TYPE is not defined until after inherit kde5

Package-Manager: portage-2.2.26

 app-cdr/k3b/k3b-9999.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/app-cdr/k3b/k3b-9999.ebuild b/app-cdr/k3b/k3b-9999.ebuild
index 390e160..460e5e8 100644
--- a/app-cdr/k3b/k3b-9999.ebuild
+++ b/app-cdr/k3b/k3b-9999.ebuild
@@ -7,14 +7,6 @@ EAPI=5
 EGIT_BRANCH="kf5"
 KDE_HANDBOOK="forceoptional"
 KDE_TEST="true"
-# Translations are only in the tarballs, not in the git repo
-if [[ ${KDE_BUILD_TYPE} != live ]] ; 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
 
@@ -26,6 +18,15 @@ SLOT="5"
 KEYWORDS=""
 IUSE="dvd emovix encode ffmpeg flac libav mad mp3 musepack sndfile sox taglib 
vcd vorbis"
 
+# Translations are only in the tarballs, not in the git repo
+if [[ ${KDE_BUILD_TYPE} != live ]] ; 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
+
 DEPEND="
        $(add_frameworks_dep karchive)
        $(add_frameworks_dep kcmutils)

Reply via email to