Lines 10-16
Link Here
|
10 |
inherit base eutils kde-functions flag-o-matic libtool |
10 |
inherit base eutils kde-functions flag-o-matic libtool |
11 |
DESCRIPTION="Based on the $ECLASS eclass" |
11 |
DESCRIPTION="Based on the $ECLASS eclass" |
12 |
HOMEPAGE="http://www.kde.org/" |
12 |
HOMEPAGE="http://www.kde.org/" |
13 |
IUSE="debug arts xinerama" |
13 |
IUSE="debug xinerama" |
|
|
14 |
|
15 |
if [[ ${ARTS_IS_OPTIONAL} != "no" ]]; then |
16 |
IUSE="${IUSE} arts" |
17 |
fi |
14 |
|
18 |
|
15 |
if [[ ${CATEGORY} == "kde-base" ]]; then |
19 |
if [[ ${CATEGORY} == "kde-base" ]]; then |
16 |
IUSE="${IUSE} kdeenablefinal" |
20 |
IUSE="${IUSE} kdeenablefinal" |
Lines 43-55
Link Here
|
43 |
|
47 |
|
44 |
kde_pkg_setup() { |
48 |
kde_pkg_setup() { |
45 |
if [ "${PN}" != "arts" ] && [ "${PN}" != "kdelibs" ] ; then |
49 |
if [ "${PN}" != "arts" ] && [ "${PN}" != "kdelibs" ] ; then |
46 |
use arts && if ! built_with_use kde-base/kdelibs arts ; then |
50 |
if [ ${ARTS_IS_OPTIONAL} == 'no' ] || use arts ; then |
47 |
eerror "You are trying to compile ${CATEGORY}/${P} with the \"arts\" USE flag enabled." |
51 |
if ! built_with_use kde-base/kdelibs arts ; then |
48 |
eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled." |
52 |
eerror "You are trying to compile ${CATEGORY}/${P} with the \"arts\" USE flag enabled." |
49 |
eerror |
53 |
eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled." |
50 |
eerror "You must either disable this use flag, or recompile" |
54 |
eerror |
51 |
eerror "$(best_version kde-base/kdelibs) with this use flag enabled." |
55 |
eerror "You must either disable this use flag, or recompile" |
52 |
die |
56 |
eerror "$(best_version kde-base/kdelibs) with this use flag enabled." |
|
|
57 |
die |
58 |
fi |
53 |
fi |
59 |
fi |
54 |
fi |
60 |
fi |
55 |
|
61 |
|
Lines 158-165
Link Here
|
158 |
if hasq kdeenablefinal ${IUSE}; then |
164 |
if hasq kdeenablefinal ${IUSE}; then |
159 |
myconf="$myconf $(use_enable kdeenablefinal final)" |
165 |
myconf="$myconf $(use_enable kdeenablefinal final)" |
160 |
fi |
166 |
fi |
161 |
[[ -z "$KDEBASE" ]] && myconf="$myconf $(use_with arts)" |
167 |
if [[ ${ARTS_IS_OPTIONAL} == 'no' ]]; then |
162 |
[[ -n "$KDEBASE" && "$KDEMINORVER" -ge 3 ]] && myconf="$myconf $(use_with arts)" |
168 |
myconf="$myconf --with-alsa" |
|
|
169 |
else |
170 |
[[ -z "$KDEBASE" ]] && myconf="$myconf $(use_with arts)" |
171 |
[[ -n "$KDEBASE" && "$KDEMINORVER" -ge 3 ]] && myconf="$myconf $(use_with arts)" |
172 |
fi |
163 |
debug-print "$FUNCNAME: myconf: set to ${myconf}" |
173 |
debug-print "$FUNCNAME: myconf: set to ${myconf}" |
164 |
;; |
174 |
;; |
165 |
configure) |
175 |
configure) |