summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-02-24 01:54:47 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-02-24 01:54:47 +0300
commit12bbed75c42932674004c24c08b2585f3cf72387 (patch)
tree9026b53c996a9bf43240916fbbc4cc57de1737d6
parent57c8c6a8613ffe1e96587e21b34249133e54e4d2 (diff)
изменено: dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild
изменено: dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild изменено: dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild удалено: dev-qt/qtwebengine/files/qtwebengine-5.9.0-paxmark-mksnapshot.patch изменено: dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild
-rw-r--r--dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild28
-rw-r--r--dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild14
-rw-r--r--dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild5
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-5.9.0-paxmark-mksnapshot.patch46
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild33
5 files changed, 55 insertions, 71 deletions
diff --git a/dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild b/dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild
index 0dd2438..9e4d7aa 100644
--- a/dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild
+++ b/dev-qt/qtcore/qtcore-5.10.9999-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
fi
-IUSE="icu systemd -qvkgen"
+IUSE="icu systemd"
DEPEND="
dev-libs/double-conversion:=
@@ -21,9 +21,10 @@ DEPEND="
icu? ( dev-libs/icu:= )
!icu? ( virtual/libiconv )
systemd? ( sys-apps/systemd:= )
- qvkgen? ( >=${CATEGORY}/${PN}-${PV} )
"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+ !<dev-qt/qtcore-4.8.7-r4:4
+"
QT5_TARGET_SUBDIRS=(
src/tools/bootstrap
@@ -35,13 +36,14 @@ QT5_TARGET_SUBDIRS=(
doc
)
-#src_prepare() {
-# use qvkgen && QT5_TARGET_SUBDIRS+=( src/tools/qvkgen )
-# default
-#}
+QT5_GENTOO_PRIVATE_CONFIG=(
+ !:network
+ !:sql
+ !:testlib
+ !:xml
+)
src_configure() {
- use qvkgen && QT5_TARGET_SUBDIRS+=( src/tools/qvkgen )
local myconf=(
$(qt_use icu)
$(qt_use !icu iconv)
@@ -54,10 +56,10 @@ src_install() {
qt5-build_src_install
local flags=(
- ALSA CUPS DBUS EGL EGLFS EGL_X11 EVDEV FONTCONFIG FREETYPE
- HARFBUZZ IMAGEFORMAT_JPEG IMAGEFORMAT_PNG LIBPROXY MITSHM
- OPENGL OPENSSL OPENVG PULSEAUDIO SHAPE SSL TSLIB XCURSOR
- XFIXES XKB XRANDR XRENDER XSYNC ZLIB
+ ALSA CUPS DBUS EGL EGLFS EGL_X11 EVDEV FONTCONFIG FREETYPE
+ HARFBUZZ IMAGEFORMAT_JPEG IMAGEFORMAT_PNG LIBPROXY MITSHM
+ OPENGL OPENSSL OPENVG PULSEAUDIO SHAPE SSL TSLIB WIDGETS
+ XCURSOR XFIXES XKB XRANDR XRENDER XSYNC ZLIB
)
for flag in ${flags[@]}; do
diff --git a/dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild b/dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild
index 94cbb20..3ab13c6 100644
--- a/dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild
+++ b/dev-qt/qtgui/qtgui-5.10.9999-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,7 +26,7 @@ REQUIRED_USE="
RDEPEND="
dev-libs/glib:2
- ~dev-qt/qtcore-${PV}[qvkgen]
+ ~dev-qt/qtcore-${PV}
media-libs/fontconfig
>=media-libs/freetype-2.6.1:2
>=media-libs/harfbuzz-1.0.6:=
@@ -54,7 +54,7 @@ RDEPEND="
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
- >=x11-libs/libXi-1.7.4
+ >=x11-libs/libXi-1.7.5
>=x11-libs/libxcb-1.10:=[xkb]
>=x11-libs/libxkbcommon-0.4.1[X]
x11-libs/xcb-util-image
@@ -71,7 +71,10 @@ PDEPEND="
ibus? ( app-i18n/ibus )
"
+PATCHES=( "${FILESDIR}/${PN}-5.9.4-opengl.patch" ) # QTBUG-66420
+
QT5_TARGET_SUBDIRS=(
+ src/tools/qvkgen
src/gui
src/openglextensions
src/platformheaders
@@ -119,6 +122,10 @@ QT5_GENTOO_CONFIG=(
xcb::XKB
)
+QT5_GENTOO_PRIVATE_CONFIG=(
+ :gui
+)
+
src_prepare() {
# egl_x11 is activated when both egl and xcb are enabled
use egl && QT5_GENTOO_CONFIG+=(xcb:egl_x11) || QT5_GENTOO_CONFIG+=(egl:egl_x11)
@@ -148,6 +155,7 @@ src_configure() {
-fontconfig
-system-freetype
$(usex gif '' -no-gif)
+ -gui
-system-harfbuzz
$(qt_use jpeg libjpeg system)
$(qt_use libinput)
diff --git a/dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild b/dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild
index 264a801..5d2d8fc 100644
--- a/dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild
+++ b/dev-qt/qtnetwork/qtnetwork-5.10.9999-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -37,6 +37,9 @@ QT5_GENTOO_CONFIG=(
ssl::OPENSSL
ssl:openssl-linked:LINKED_OPENSSL
)
+QT5_GENTOO_PRIVATE_CONFIG=(
+ :network
+)
PATCHES=(
"${FILESDIR}/qtnetwork-5.10-libressl.patch"
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.9.0-paxmark-mksnapshot.patch b/dev-qt/qtwebengine/files/qtwebengine-5.9.0-paxmark-mksnapshot.patch
deleted file mode 100644
index 5eb8ce1..0000000
--- a/dev-qt/qtwebengine/files/qtwebengine-5.9.0-paxmark-mksnapshot.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- a/src/3rdparty/chromium/v8/src/v8.gyp
-+++ b/src/3rdparty/chromium/v8/src/v8.gyp
-@@ -36,6 +36,7 @@
- 'v8_experimental_extra_library_files%': [],
- 'v8_enable_inspector%': 0,
- 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
-+ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)',
- 'mkpeephole_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkpeephole<(EXECUTABLE_SUFFIX)',
- 'v8_os_page_size%': 0,
- },
-@@ -2432,7 +2433,7 @@
- ]
- },
- {
-- 'target_name': 'mksnapshot',
-+ 'target_name': 'mksnapshot_u',
- 'type': 'executable',
- 'dependencies': [
- 'v8_base',
-@@ -2485,5 +2486,26 @@
- }],
- ],
- },
-+ {
-+ 'target_name': 'mksnapshot',
-+ 'type': 'executable',
-+ 'dependencies': ['mksnapshot_u'],
-+ 'actions': [
-+ {
-+ 'action_name': 'paxmark_m_mksnapshot',
-+ 'inputs': [
-+ '<(mksnapshot_u_exec)',
-+ ],
-+ 'outputs': [
-+ '<(mksnapshot_exec)',
-+ ],
-+ 'action': [
-+ 'sh',
-+ '-c',
-+ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxmark.sh m <(mksnapshot_exec)',
-+ ],
-+ },
-+ ],
-+ },
- ],
- }
diff --git a/dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild b/dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild
index d515498..81e88ac 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.10.9999-r1.ebuild
@@ -26,9 +26,10 @@ RDEPEND="
~dev-qt/qtwebchannel-${PV}[qml]
dev-libs/expat
dev-libs/libevent:=
- dev-libs/libxml2
+ dev-libs/libxml2[icu]
dev-libs/libxslt
dev-libs/protobuf:=
+ dev-libs/re2:=
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz:=
@@ -61,10 +62,14 @@ RDEPEND="
pulseaudio? ( media-sound/pulseaudio:= )
system-ffmpeg? ( media-video/ffmpeg:0= )
system-icu? ( dev-libs/icu:= )
- widgets? ( ~dev-qt/qtwidgets-${PV} )
+ widgets? (
+ ~dev-qt/qtdeclarative-${PV}[widgets]
+ ~dev-qt/qtwidgets-${PV}
+ )
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
+ >=app-arch/gzip-1.7
dev-util/gperf
dev-util/ninja
dev-util/re2c
@@ -72,18 +77,24 @@ DEPEND="${RDEPEND}
pax_kernel? ( sys-apps/elfix )
"
+PATCHES=( "${FILESDIR}/${PN}-5.10.0-jpeg-9.patch" )
+
src_prepare() {
- use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.0-paxmark-mksnapshot.patch" )
+ use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.3-paxmark-mksnapshot.patch" )
PATCHES+=(
"${FILESDIR}/build_fix.patch"
"${FILESDIR}/build_fix2.patch"
)
+ use system-icu && has_version ">=dev-libs/icu-59" && \
+ PATCHES+=(
+ "${WORKDIR}/${PN}-5.10.0-icu-60.1.patch"
+ )
# bug 620444 - ensure local headers are used
find "${S}" -type f -name "*.pr[fio]" | xargs sed -i -e 's|INCLUDEPATH += |&$$QTWEBENGINE_ROOT/include |' || die
- qt_use_disable_config alsa alsa src/core/config/linux.pri
- qt_use_disable_config pulseaudio pulseaudio src/core/config/linux.pri
+ qt_use_disable_config alsa webengine-alsa src/core/config/linux.pri
+ qt_use_disable_config pulseaudio webengine-pulseaudio src/core/config/linux.pri
qt_use_disable_mod geolocation positioning \
mkspecs/features/configure.prf \
@@ -100,9 +111,15 @@ src_configure() {
export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}"
local myqmakeargs=(
- $(usex bindist '' 'WEBENGINE_CONFIG+=use_proprietary_codecs')
- $(usex system-ffmpeg 'WEBENGINE_CONFIG+=use_system_ffmpeg' '')
- $(usex system-icu 'WEBENGINE_CONFIG+=use_system_icu' '')
+ --
+ -opus
+ -printing-and-pdf
+ -webp
+ $(usex alsa '-alsa' '')
+ $(usex bindist '' '-proprietary-codecs')
+ $(usex pulseaudio '-pulseaudio' '')
+ $(usex system-ffmpeg '-ffmpeg' '')
+ $(usex system-icu '-webengine-icu' '')
)
qt5-build_src_configure
}