Remove packages of Qt modules which have been removed
This commit is contained in:
parent
f4c64939e9
commit
e7f87b6a1a
|
@ -1,92 +0,0 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
# Contributor: ant32 <antreimer@gmail.com>
|
||||
# Contributor: Filip Brcic <brcha@gna.org>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
# Includes dynamic and static versions; if only one version is requried, just
|
||||
# set $NO_STATIC_LIBS or $NO_SHARED_LIBS.
|
||||
|
||||
_qt_module=qtquick1
|
||||
pkgname="mingw-w64-qt5-quick1"
|
||||
pkgver=5.5.1
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Qt Declarative is provided for Qt 4 compatibility (mingw-w64)"
|
||||
depends=('mingw-w64-qt5-base' 'mingw-w64-qt5-script' 'mingw-w64-qt5-tools')
|
||||
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config')
|
||||
options=('!strip' '!buildflags' 'staticlibs')
|
||||
groups=('mingw-w64-qt5')
|
||||
license=('GPL3' 'LGPL')
|
||||
url='https://www.qt.io/'
|
||||
_pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
|
||||
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz")
|
||||
md5sums=('46a61a405844cbe88a754127422f6b6d')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
[[ $NO_STATIC_LIBS ]] || \
|
||||
makedepends+=('mingw-w64-qt5-base-static') \
|
||||
optdepends+=('mingw-w64-qt5-base-static: use of static libraries') \
|
||||
_configurations+=('CONFIG+=static')
|
||||
[[ $NO_SHARED_LIBS ]] || \
|
||||
_configurations+=('CONFIG+=actually_a_shared_build CONFIG+=shared')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
for _arch in ${_architectures}; do
|
||||
for _config in "${_configurations[@]}"; do
|
||||
msg2 "Building ${_config##*=} version for ${_arch}"
|
||||
mkdir -p build-${_arch}-${_config##*=} && pushd build-${_arch}-${_config##*=}
|
||||
${_arch}-qmake-qt5 ../${_qt_module}.pro ${_config}
|
||||
make
|
||||
popd
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
for _arch in ${_architectures}; do
|
||||
for _config in "${_configurations[@]}"; do
|
||||
pushd build-${_arch}-${_config##*=}
|
||||
|
||||
make INSTALL_ROOT="$pkgdir" install
|
||||
|
||||
# use prl files from build directory since installed prl files seem to have incorrect QMAKE_PRL_LIBS_FOR_CMAKE
|
||||
if [[ -d 'lib' ]]; then
|
||||
pushd 'lib'
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib" --parents {} +
|
||||
popd
|
||||
fi
|
||||
if [[ -d 'plugins' ]]; then
|
||||
pushd 'plugins'
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib/qt/plugins" --parents {} +
|
||||
popd
|
||||
fi
|
||||
|
||||
find "${pkgdir}/usr/${_arch}/lib" -maxdepth 1 -name '*.dll' -delete
|
||||
[ "$NO_STATIC_EXECUTABLES" -a "${_config##*=}" = static -o "$NO_EXECUTABLES" ] && \
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.exe' -delete || \
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip --strip-all {} \;
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
|
||||
find "${pkgdir}/usr/${_arch}" \( -name '*.a' -not -name 'libQt5QmlDevTools.a' -not -name 'libQt5Bootstrap.a' \) -exec ${_arch}-strip -g {} \;
|
||||
[[ -d "${pkgdir}/usr/${_arch}/lib/qt/bin/" ]] && \
|
||||
find "${pkgdir}/usr/${_arch}/lib/qt/bin/" -exec strip --strip-all {} \;
|
||||
find "${pkgdir}/usr/${_arch}/lib/" -iname "*.so.$pkgver" -exec strip --strip-unneeded {} \;
|
||||
popd
|
||||
done
|
||||
|
||||
# drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
||||
find "${pkgdir}/usr/${_arch}/lib" -type f -name '*.prl' -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||
done
|
||||
|
||||
# make sure the executables don't conflict with their mingw-qt4 counterpart
|
||||
for _arch in ${_architectures}; do
|
||||
for exe_file in "${pkgdir}/usr/${_arch}/bin/"*.exe; do
|
||||
[[ -f $exe_file ]] && mv "${exe_file}" "${exe_file%.exe}-qt5.exe"
|
||||
done
|
||||
done
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
% layout 'mingw-w64-qt5-module';
|
||||
\
|
||||
% content_for additional_contributors => begin
|
||||
# Contributor: ant32 <antreimer@gmail.com>
|
||||
# Contributor: Filip Brcic <brcha@gna.org>
|
||||
% end
|
||||
\
|
||||
pkgver=5.5.1
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Qt Declarative is provided for Qt 4 compatibility (mingw-w64)"
|
||||
depends=('mingw-w64-qt5-base' 'mingw-w64-qt5-script' 'mingw-w64-qt5-tools')
|
||||
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config')
|
||||
options=('!strip' '!buildflags' 'staticlibs')
|
||||
groups=('mingw-w64-qt5')
|
||||
license=('GPL3' 'LGPL')
|
|
@ -1 +0,0 @@
|
|||
removed by upstream
|
|
@ -1,162 +0,0 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
# Contributor: ant32 <antreimer@gmail.com>
|
||||
# Contributor: Filip Brcic <brcha@gna.org>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
# See the comments to enable further dependencies/functionality.
|
||||
|
||||
# Includes dynamic and static versions; if only one version is requried, just
|
||||
# set $NO_STATIC_LIBS or $NO_SHARED_LIBS.
|
||||
|
||||
# All patches are managed at https://github.com/Martchus/qtwebkit
|
||||
# Note: most patches are originally from http://pkgs.fedoraproject.org/git/rpms/mingw-qt5-qtwebkit.git
|
||||
|
||||
_qt_module=qtwebkit
|
||||
pkgname=mingw-w64-qt5-webkit
|
||||
pkgver=5.9.0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Classes for a WebKit2 based implementation and a new QML API (mingw-w64)"
|
||||
depends=('mingw-w64-qt5-declarative'
|
||||
'mingw-w64-qt5-sensors'
|
||||
'mingw-w64-qt5-location'
|
||||
'mingw-w64-qt5-multimedia'
|
||||
'mingw-w64-angleproject'
|
||||
'mingw-w64-fontconfig'
|
||||
'mingw-w64-libpng'
|
||||
'mingw-w64-libjpeg-turbo'
|
||||
'mingw-w64-libxslt'
|
||||
'mingw-w64-zlib'
|
||||
'mingw-w64-icu'
|
||||
'mingw-w64-sqlite'
|
||||
'mingw-w64-libwebp')
|
||||
# These dependencies will enable further functionality
|
||||
#depends+=('mingw-w64-webchannel')
|
||||
#depends+=('mingw-w64-gst-plugins-base')
|
||||
#optdepends+=('mingw-w64-gst-plugins-good: Webm codec support')
|
||||
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config' 'python' 'gperf' 'ruby')
|
||||
options=('!strip' '!buildflags' 'staticlibs')
|
||||
groups=('mingw-w64-qt5')
|
||||
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
||||
url='https://www.qt.io/'
|
||||
_pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
|
||||
groups=('mingw-w64-qt5')
|
||||
source=("https://download.qt.io/community_releases/${pkgver%.*}/${pkgver}-final/${_pkgfqn}.tar.xz"
|
||||
'0001-Use-correct-ICU-libs.patch'
|
||||
'0002-Use-pkg-config.patch'
|
||||
'0003-Use-system-ANGLE-rather-than-bundled-version.patch'
|
||||
'0004-Prevent-symbols-not-being-exported-in-Qt5WebKit.dll.patch'
|
||||
'0005-Build-with-smaller-debug-info.patch'
|
||||
'0006-Establish-compatibility-with-latest-ANGLE.patch'
|
||||
'0007-Include-intrin.h-for-declaration-of-_mm_mfence.patch'
|
||||
'0008-Link-against-ANGLE-even-if-Qt-is-configured-not-to.patch'
|
||||
'0009-Fixed-crash-probably-miscompilation-with-MinGW-w64-5.patch')
|
||||
sha256sums=('8dad193b740055a998312e04a040f2e32a923c0823b2d239b24eab08276a4e04'
|
||||
'f1ba67d7ed37fe6902fb4febf6b1f6963845b6211982609016e8a93cd3a892ed'
|
||||
'76516383d7ca1f1c0af9d72d4e7c153d7174fe5c60bef64f16db62a4b3fb8171'
|
||||
'0dd645333df5ee3907ad105fe58bd5371951389ab9d6b6fea35e06d8ed4f7019'
|
||||
'77e26af64a5dc252ee3c57609ffea6119fdbeceda3202d8b5c847b91d23ab937'
|
||||
'88c8a92ede8bf415b6aa119bde2e77de57eeb151442524c590327f0a468c491d'
|
||||
'85248547a2154883c64500b0b7c50dcf63254f7be960ebda3aaf64e4758f38f4'
|
||||
'99d5fc8cda32cc1b5d0cb7de8c47bda1f5a75dc85f451aa5cb8b02d830c8c7da'
|
||||
'1a280a9584317f3490da5e8e95f3f0588b09bc711c4b6836c0e0f0e79f7ab77f'
|
||||
'ee98d9f1fc6cda090434bc366dff8cf6733d3bfd21ac3fe3f9cb47044b44ca40')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
# Disable building static version: building static Qt WebKit is not supported since Qt 4.7
|
||||
NO_STATIC_LIBS=true
|
||||
|
||||
[[ $NO_STATIC_LIBS ]] || \
|
||||
makedepends+=('mingw-w64-qt5-base-static') \
|
||||
optdepends+=('mingw-w64-qt5-base-static: use of static libraries') \
|
||||
_configurations+=('CONFIG+=static')
|
||||
[[ $NO_SHARED_LIBS ]] || \
|
||||
_configurations+=('CONFIG+=actually_a_shared_build CONFIG+=shared')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
# apply patches; further descriptions can be found in patch files itself
|
||||
for patch in "$srcdir/"*.patch; do
|
||||
patch -p1 -i "$patch"
|
||||
done
|
||||
|
||||
# Make sure the bundled copy of the ANGLE libraries isn't used
|
||||
rm -rf Source/ThirdParty/ANGLE
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
unset PKG_CONFIG_PATH
|
||||
local default_cpath="$CPATH"
|
||||
for _arch in ${_architectures}; do
|
||||
for _config in "${_configurations[@]}"; do
|
||||
msg2 "Building ${_config##*=} version for ${_arch}"
|
||||
mkdir -p build-${_arch}-${_config##*=} && pushd build-${_arch}-${_config##*=}
|
||||
# Since Source/ThirdParty/ANGLE has been removed ensure files from system ANGLE can be included
|
||||
export CPATH="${default_cpath}:/usr/$_arch/include:/usr/$_arch/include/GLSLANG"
|
||||
|
||||
${_arch}-qmake-qt5 \
|
||||
'QMAKE_CXXFLAGS+=-Wno-c++0x-compat' \
|
||||
'QMAKE_CXXFLAGS+=-Wno-expansion-to-defined' \
|
||||
../WebKit.pro
|
||||
make
|
||||
popd
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
for _arch in ${_architectures}; do
|
||||
for _config in "${_configurations[@]}"; do
|
||||
pushd build-${_arch}-${_config##*=}
|
||||
|
||||
make INSTALL_ROOT="$pkgdir" install
|
||||
|
||||
# use prl files from build directory since installed prl files seem to have incorrect QMAKE_PRL_LIBS_FOR_CMAKE
|
||||
if [[ -d 'lib' ]]; then
|
||||
pushd 'lib'
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib" --parents {} +
|
||||
popd
|
||||
fi
|
||||
if [[ -d 'plugins' ]]; then
|
||||
pushd 'plugins'
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib/qt/plugins" --parents {} +
|
||||
popd
|
||||
fi
|
||||
|
||||
# replace library path in *.prl files so it points to the installed location and not the build directory
|
||||
find "${pkgdir}/usr/${_arch}/lib" \( -type f -name '*.prl' -o -name '*.pc' \) -exec sed -i -e "s:$PWD/lib:/usr/$_arch/lib:g" {} \;
|
||||
|
||||
# remove prl files for debug version
|
||||
if ! [[ $MINGW_W64_QT_DEBUG_BUILD ]]; then
|
||||
for file in $(find "${pkgdir}/usr/${_arch}" -name '*d.prl' -o -name '*d.static.prl'); do
|
||||
[ -f "${file%d*}${file##*d}" ] && rm "${file}";
|
||||
done
|
||||
fi
|
||||
|
||||
# remove '.static.prl' files
|
||||
find "${pkgdir}/usr/${_arch}" -name '.static.prl' -delete
|
||||
|
||||
find "${pkgdir}/usr/${_arch}/lib" -maxdepth 1 -name '*.dll' -delete
|
||||
[ "$NO_STATIC_EXECUTABLES" -a "${_config##*=}" = static -o "$NO_EXECUTABLES" ] && \
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.exe' -delete || \
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip --strip-all {} \;
|
||||
find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
|
||||
find "${pkgdir}/usr/${_arch}" \( -name '*.a' -not -name 'libQt5QmlDevTools.a' -not -name 'libQt5Bootstrap.a' \) -exec ${_arch}-strip -g {} \;
|
||||
[[ -d "${pkgdir}/usr/${_arch}/lib/qt/bin/" ]] && \
|
||||
find "${pkgdir}/usr/${_arch}/lib/qt/bin/" -exec strip --strip-all {} \;
|
||||
find "${pkgdir}/usr/${_arch}/lib/" -iname "*.so.$pkgver" -exec strip --strip-unneeded {} \;
|
||||
popd
|
||||
done
|
||||
|
||||
# drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
||||
find "${pkgdir}/usr/${_arch}/lib" -type f -name '*.prl' -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||
done
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
% layout 'mingw-w64-qt5-module', static_config => 0;
|
||||
\
|
||||
% content_for additional_contributors => begin
|
||||
# Contributor: ant32 <antreimer@gmail.com>
|
||||
# Contributor: Filip Brcic <brcha@gna.org>
|
||||
% end
|
||||
\
|
||||
_additional_qmake_args+='QMAKE_CXXFLAGS+=-Wno-c++0x-compat QMAKE_CXXFLAGS+=-Wno-expansion-to-defined'
|
||||
|
||||
pkgver=5.9.0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Classes for a WebKit2 based implementation and a new QML API (mingw-w64)"
|
||||
depends=('mingw-w64-qt5-declarative' 'mingw-w64-qt5-sensors' 'mingw-w64-qt5-location' 'mingw-w64-qt5-multimedia'
|
||||
'mingw-w64-angleproject' 'mingw-w64-fontconfig' 'mingw-w64-libpng' 'mingw-w64-libjpeg-turbo' 'mingw-w64-libxslt'
|
||||
'mingw-w64-zlib' 'mingw-w64-icu' 'mingw-w64-sqlite' 'mingw-w64-libwebp')
|
||||
# These dependencies will enable further functionality
|
||||
#depends+=('mingw-w64-webchannel')
|
||||
#depends+=('mingw-w64-gst-plugins-base')
|
||||
#optdepends+=('mingw-w64-gst-plugins-good: Webm codec support')
|
||||
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config' 'python' 'gperf' 'ruby')
|
||||
options=('!strip' '!buildflags' 'staticlibs')
|
||||
groups=('mingw-w64-qt5')
|
||||
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
||||
\
|
||||
% content_for prepare => begin
|
||||
|
||||
# make sure the bundled copy of the ANGLE libraries isn't used
|
||||
rm -rf Source/ThirdParty/ANGLE
|
||||
% end
|
||||
\
|
||||
% content_for build_config => begin
|
||||
|
||||
# ensure files from system ANGLE can be included since "Source/ThirdParty/ANGLE" has been removed
|
||||
export CPATH="${default_cpath}:/usr/$_arch/include:/usr/$_arch/include/GLSLANG"
|
||||
|
||||
_qt_module=WebKit
|
||||
% end
|
||||
\
|
||||
% content_for build_config_before_make => begin
|
||||
|
||||
# Search paths for host standard library (/usr/lib) and for Qt5Bootstrap (/usr/$_arch/lib) are not set correctly by qmake
|
||||
# hence we need insert those paths manually
|
||||
make qmake_all
|
||||
find ./tools -type f -iname 'Makefile' -exec sed -i "s|-lQt5Bootstrap|-L/usr/$_arch/lib -lQt5Bootstrap|g" {} \;
|
||||
|
||||
% end
|
|
@ -1 +0,0 @@
|
|||
8dad193b740055a998312e04a040f2e32a923c0823b2d239b24eab08276a4e04
|
Loading…
Reference in New Issue