mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
qtwebengine: remove older recipes. (#10813)
Superseeded by 5.15.17, also, older source recipe requires cmd:python2.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,187 +0,0 @@
|
||||
SUMMARY="Chromium-based rendering library for the Qt5 framework"
|
||||
DESCRIPTION="QtWebEngine provides a Web browser engine that integrates \
|
||||
Chromium's fast moving web capabilities into Qt. "
|
||||
HOMEPAGE="https://www.qt.io"
|
||||
COPYRIGHT="2015-2020 The Qt Company Ltd."
|
||||
LICENSE="BSD (3-clause)
|
||||
GNU LGPL v2.1"
|
||||
REVISION="2"
|
||||
#SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qtwebengine-everywhere-src-$portVersion.tar.xz"
|
||||
SOURCE_URI="https://ftp.osuosl.org/pub/blfs/conglomeration/qtwebengine/qtwebengine-everywhere-src-5.15.2.tar.xz"
|
||||
CHECKSUM_SHA256="c8afca0e43d84f7bd595436fbe4d13a5bbdb81ec5104d605085d07545b6f91e0"
|
||||
SOURCE_DIR="qtwebengine-everywhere-src-$portVersion"
|
||||
PATCHES="qtwebengine-$portVersion.patchset"
|
||||
|
||||
# disabled: takes too long to compile, use _bin
|
||||
ARCHITECTURES="!x86_gcc2 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES=""
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
qtwebengine$secondaryArchSuffix = $portVersion compat >= 5
|
||||
lib:libQt5Pdf$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5PdfWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngine$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngineCore$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngineWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:qwebengine_convert_dict
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
lib:libdbus_1$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgl$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
lib:libicui18n$secondaryArchSuffix
|
||||
lib:libicudata$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:liblcms2$secondaryArchSuffix
|
||||
lib:libminizip$secondaryArchSuffix
|
||||
lib:libnspr4$secondaryArchSuffix
|
||||
lib:libnss3$secondaryArchSuffix
|
||||
lib:libnssutil3$secondaryArchSuffix
|
||||
lib:libopus$secondaryArchSuffix
|
||||
lib:libplc4$secondaryArchSuffix
|
||||
lib:libplds4$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Positioning$secondaryArchSuffix
|
||||
lib:libQt5Qml$secondaryArchSuffix
|
||||
lib:libQt5QmlModels$secondaryArchSuffix
|
||||
lib:libQt5Quick$secondaryArchSuffix
|
||||
lib:libQt5WebChannel$secondaryArchSuffix
|
||||
lib:libre2$secondaryArchSuffix
|
||||
lib:libsmime3$secondaryArchSuffix
|
||||
lib:libsnappy$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
lib:libwebp$secondaryArchSuffix
|
||||
lib:libwebpdemux$secondaryArchSuffix
|
||||
lib:libwebpmux$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
qtwebengine${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libQt5Pdf$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5PdfWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngine$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngineCore$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngineWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
qtwebengine$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libavcodec$secondaryArchSuffix >= 58
|
||||
devel:libdbus_1$secondaryArchSuffix
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libharfbuzz$secondaryArchSuffix
|
||||
devel:libicuuc$secondaryArchSuffix >= 66
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libjsoncpp$secondaryArchSuffix
|
||||
devel:liblcms2$secondaryArchSuffix
|
||||
devel:libminizip$secondaryArchSuffix
|
||||
devel:libnss3$secondaryArchSuffix
|
||||
devel:libopus$secondaryArchSuffix
|
||||
devel:libprotobuf$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5Positioning$secondaryArchSuffix
|
||||
devel:libQt5Qml$secondaryArchSuffix
|
||||
devel:libQt5QmlModels$secondaryArchSuffix
|
||||
devel:libQt5Quick$secondaryArchSuffix
|
||||
devel:libQt5UiTools$secondaryArchSuffix
|
||||
devel:libQt5WebChannel$secondaryArchSuffix
|
||||
devel:libre2$secondaryArchSuffix
|
||||
devel:libsnappy$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libvpx$secondaryArchSuffix
|
||||
devel:libwebp$secondaryArchSuffix >= 7
|
||||
devel:libxslt$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:bison
|
||||
cmd:find
|
||||
cmd:flex
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:lld >= 16
|
||||
cmd:make
|
||||
cmd:ninja
|
||||
cmd:node >= 16
|
||||
cmd:perl
|
||||
pkgconfig$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
cmd:qmake >= 5
|
||||
cmd:which
|
||||
"
|
||||
TEST_REQUIRES="
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd build
|
||||
|
||||
qmake QMAKE_LFLAGS+="-fuse-ld=lld -Wl,--no-keep-memory -Wl,--undefined-version" \
|
||||
.. -- \
|
||||
-proprietary-codecs \
|
||||
-system-ffmpeg \
|
||||
-system-webp \
|
||||
-webengine-icu
|
||||
|
||||
NINJAJOBS=$jobArgs make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install INSTALL_ROOT=$prefix
|
||||
|
||||
mv $prefix/boot/system/* $prefix/
|
||||
rm -rf $prefix/boot
|
||||
|
||||
rm $prefix/lib/Qt5*.la
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLibs libQt5Pdf libQt5PdfWidgets \
|
||||
libQt5WebEngine libQt5WebEngineCore libQt5WebEngineWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
wget https://chromium.googlesource.com/chromium/src/+archive/refs/tags/83.0.4103.122/base/test/data.tar.gz
|
||||
|
||||
# cd src/3rdparty/chromium
|
||||
# ../../../build/src/3rdparty/gn/out/Release/gn ls ../../../build/src/core/release/ //base/test/*
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
SUMMARY="Chromium-based rendering library for the Qt5 framework"
|
||||
DESCRIPTION="QtWebEngine provides a Web browser engine that integrates \
|
||||
Chromium's fast moving web capabilities into Qt. "
|
||||
HOMEPAGE="https://www.qt.io"
|
||||
COPYRIGHT="2015-2020 The Qt Company Ltd."
|
||||
LICENSE="BSD (3-clause)
|
||||
GNU LGPL v2.1"
|
||||
REVISION="8"
|
||||
hpkgHOME="https://github.com/begasus/qtwebengine-haiku"
|
||||
SOURCE_URI="$hpkgHOME/releases/download/v${portVersion}-7/qtwebengine-${portVersion}-7-x86_64.hpkg#noarchive"
|
||||
CHECKSUM_SHA256="3c8bb7434eb302cda74c83e3dfd233bc0ddf230bb627f843bf24181983a34a9e"
|
||||
SOURCE_URI_2="$hpkgHOME/releases/download/v${portVersion}-7/qtwebengine_devel-${portVersion}-7-x86_64.hpkg#noarchive"
|
||||
CHECKSUM_SHA256_2="3a03bfab8ef9938df482ade455f097e3cca17126fea3465c6671672170e8b8ab"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
ARCHITECTURES="x86_64"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
qtwebengine_bin$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:qwebengine_convert_dict
|
||||
lib:libQt5Pdf$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5PdfWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngine$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngineCore$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libQt5WebEngineWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libavcodec>=58.54.100
|
||||
lib:libavformat>=58.29.100
|
||||
lib:libavutil>=56.31.100
|
||||
lib:libdbus_1>=3.19.13
|
||||
lib:libexecinfo>=1.1
|
||||
lib:libexpat>=1.8.10
|
||||
lib:libfontconfig>=1.12.0
|
||||
lib:libfreetype>=6.18.3
|
||||
lib:libgl>=1.0.0
|
||||
lib:libharfbuzz>=0.60821.0
|
||||
lib:libjpeg>=62.3.0
|
||||
lib:liblcms2>=2.0.12
|
||||
lib:libminizip>=1.2.13
|
||||
lib:libnspr4>=4.34.1
|
||||
lib:libnss3>=3.73.1
|
||||
lib:libnssutil3>=3.73.1
|
||||
lib:libopus>=0.7.0
|
||||
lib:libplc4>=4.34.1
|
||||
lib:libplds4>=4.34.1
|
||||
lib:libpng16>=16.40.0
|
||||
lib:libqt5core>=5.15.11
|
||||
lib:libqt5gui>=5.15.11
|
||||
lib:libqt5network>=5.15.11
|
||||
lib:libqt5positioning>=5.15.11
|
||||
lib:libqt5qml>=5.15.11
|
||||
lib:libqt5qmlmodels>=5.15.11
|
||||
lib:libqt5quick>=5.15.11
|
||||
lib:libqt5webchannel>=5.15.11
|
||||
lib:libsmime3>=3.73.1
|
||||
lib:libsnappy>=1.1.10
|
||||
lib:libvpx>=7.0.0
|
||||
lib:libwebp>=7.1.8
|
||||
lib:libwebpdemux>=2.0.14
|
||||
lib:libwebpmux>=3.0.13
|
||||
lib:libz>=1.2.13
|
||||
"
|
||||
CONFLICTS="
|
||||
qtwebengine$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
qtwebengine_bin${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
||||
devel:libQt5Pdf$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5PdfWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngine$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngineCore$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libQt5WebEngineWidgets$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
qtwebengine_bin$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
qtwebengine${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cp
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mv qtwebengine*.hpkg ../qtwebengine.hpkg
|
||||
mv ../../sources-2/qtwebengine_devel*.hpkg ../qtwebengine_devel.hpkg
|
||||
|
||||
package extract ../qtwebengine.hpkg
|
||||
package extract ../qtwebengine_devel.hpkg
|
||||
rm .PackageInfo
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cp -r * $prefix
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs
|
||||
}
|
||||
Reference in New Issue
Block a user