Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
QT5_MODULE="qtbase" |
5 |
QT5_MODULE="qtbase" |
6 |
inherit qt5-build |
6 |
inherit linux-info qt5-build |
7 |
|
7 |
|
8 |
DESCRIPTION="Cross-platform application development framework" |
8 |
DESCRIPTION="Cross-platform application development framework" |
9 |
|
9 |
|
Lines 11-17
Link Here
|
11 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
11 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
12 |
fi |
12 |
fi |
13 |
|
13 |
|
14 |
IUSE="icu systemd" |
14 |
IUSE="icu old-kernel systemd" |
15 |
|
15 |
|
16 |
DEPEND=" |
16 |
DEPEND=" |
17 |
dev-libs/double-conversion:= |
17 |
dev-libs/double-conversion:= |
Lines 44-49
Link Here
|
44 |
|
44 |
|
45 |
PATCHES=( "${FILESDIR}/${P}-cmake-macro-backward-compat.patch" ) # bug 703306 |
45 |
PATCHES=( "${FILESDIR}/${P}-cmake-macro-backward-compat.patch" ) # bug 703306 |
46 |
|
46 |
|
|
|
47 |
pkg_pretend() { |
48 |
if use kernel_linux; then |
49 |
get_running_version |
50 |
if kernel_is -lt 3 17 && ! use old-kernel; then |
51 |
ewarn "The running kernel is older than 3.17. USE=old-kernel is needed for ${CATEGORY}/${PN}" |
52 |
ewarn "to function on this kernel properly. See Bug #669994." |
53 |
fi |
54 |
fi |
55 |
} |
56 |
|
47 |
src_prepare() { |
57 |
src_prepare() { |
48 |
# don't add -O3 to CXXFLAGS, bug 549140 |
58 |
# don't add -O3 to CXXFLAGS, bug 549140 |
49 |
sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die |
59 |
sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die |
Lines 59-64
Link Here
|
59 |
-no-feature-statx # bug 672856 |
69 |
-no-feature-statx # bug 672856 |
60 |
$(qt_use icu) |
70 |
$(qt_use icu) |
61 |
$(qt_use !icu iconv) |
71 |
$(qt_use !icu iconv) |
|
|
72 |
$(qt_use !old-kernel feature-renameat2) # needs Linux 3.16, bug 669994 |
73 |
$(qt_use !old-kernel feature-getentropy) # needs Linux 3.17, bug 669994 |
62 |
$(qt_use systemd journald) |
74 |
$(qt_use systemd journald) |
63 |
) |
75 |
) |
64 |
qt5-build_src_configure |
76 |
qt5-build_src_configure |