Add further mingw-w64-qt6-* packages, update dependencies
Note that mingw-w64-qt6-quick3d and mingw-w64-qt6-3d currently fail due to problems in mingw-w64-assimp's CMake package.
This commit is contained in:
parent
402744ca02
commit
d842986078
|
@ -11,8 +11,10 @@ arch=(x86_64)
|
|||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
|
||||
depends=(qt6-declarative assimp)
|
||||
makedepends=(cmake vulkan-headers ninja)
|
||||
depends=(qt6-declarative)
|
||||
makedepends=(cmake vulkan-headers assimp qt6-shadertools ninja)
|
||||
optdepends=('assimp: assimp importer'
|
||||
'qt6-shadertools: RHI renderer')
|
||||
groups=(qt6)
|
||||
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
|
|
|
@ -7,5 +7,7 @@ arch=(x86_64)
|
|||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
|
||||
depends=(qt6-declarative assimp)
|
||||
makedepends=(cmake vulkan-headers ninja)
|
||||
depends=(qt6-declarative)
|
||||
makedepends=(cmake vulkan-headers assimp qt6-shadertools ninja)
|
||||
optdepends=('assimp: assimp importer'
|
||||
'qt6-shadertools: RHI renderer')
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-3d
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-declarative')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp'
|
||||
'qt6-shadertools' 'qt6-declarative' 'ninja')
|
||||
optdepends=('mingw-w64-assimp: Import from assimp'
|
||||
'mingw-w64-qt6-shadertools: RHI renderer')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qt3d-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-3d
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
% layout 'mingw-w64-qt6-module', has_binaries => 1;
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(declarative) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp'
|
||||
'qt6-shadertools' 'qt6-declarative' 'ninja')
|
||||
optdepends=('mingw-w64-assimp: Import from assimp'
|
||||
<%== qt6optdeps shadertools => 'RHI renderer' %>)
|
|
@ -0,0 +1 @@
|
|||
3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27
|
|
@ -0,0 +1,57 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-5compat
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Module that contains unsupported Qt 5 APIs (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-base')
|
||||
makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qt5compat-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-5compat
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
% layout 'mingw-w64-qt6-module';
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Module that contains unsupported Qt 5 APIs (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(base) %>)
|
||||
makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja')
|
|
@ -0,0 +1 @@
|
|||
e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a
|
|
@ -12,9 +12,9 @@ arch=(x86_64)
|
|||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='A cross-platform application and UI framework'
|
||||
depends=(libjpeg-turbo xcb-util-keysyms xcb-util-renderutil libgl fontconfig xdg-utils
|
||||
shared-mime-info xcb-util-wm libxrender libxi sqlite xcb-util-image mesa
|
||||
tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli)
|
||||
depends=(libjpeg-turbo xcb-util-keysyms xcb-util-cursor libgl fontconfig xdg-utils
|
||||
shared-mime-info xcb-util-wm libxrender libxi sqlite mesa
|
||||
tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli libb2)
|
||||
makedepends=(cmake libfbclient mariadb-libs unixodbc postgresql-libs alsa-lib gst-plugins-base-libs
|
||||
gtk3 libpulse cups freetds vulkan-headers ninja)
|
||||
optdepends=('postgresql-libs: PostgreSQL driver'
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-quick3d
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Qt module and API for defining 3D content in Qt Quick (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-declarative')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp'
|
||||
'mingw-w64-qt6-shadertools' 'qt6-declarative' 'qt6-shadertools' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qtquick3d-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quick3d
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
% layout 'mingw-w64-qt6-module', has_binaries => 1;
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Qt module and API for defining 3D content in Qt Quick (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(declarative) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp'
|
||||
<%== qt6deps qw(shadertools) %> 'qt6-declarative' 'qt6-shadertools' 'ninja')
|
|
@ -0,0 +1 @@
|
|||
e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6
|
|
@ -0,0 +1,57 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-quickcontrols2
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Next generation user interface controls based on Qt Quick (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-declarative')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qtquickcontrols2-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quickcontrols2
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
% layout 'mingw-w64-qt6-module';
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Next generation user interface controls based on Qt Quick (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(declarative) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
|
|
@ -0,0 +1 @@
|
|||
2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00
|
|
@ -0,0 +1,57 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-quicktimeline
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Qt module for keyframe-based timeline construction (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-declarative')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qtquicktimeline-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quicktimeline
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
% layout 'mingw-w64-qt6-module';
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Qt module for keyframe-based timeline construction (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(declarative) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
|
|
@ -0,0 +1 @@
|
|||
55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9
|
|
@ -0,0 +1,58 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-shadertools
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-base')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-shadertools' 'ninja')
|
||||
optdepends=('qt6-shadertools: development tools')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qtshadertools-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
# Add symlinks of DLLs in usual bin directory
|
||||
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
|
||||
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
|
||||
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
|
||||
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' {} \;
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-shadertools
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
% layout 'mingw-w64-qt6-module', has_binaries => 1;
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(base) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-shadertools' 'ninja')
|
||||
optdepends=('qt6-shadertools: development tools')
|
|
@ -0,0 +1 @@
|
|||
7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d
|
|
@ -12,7 +12,7 @@ url='https://www.qt.io'
|
|||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Classes for displaying the contents of SVG files (mingw-w64)'
|
||||
depends=('mingw-w64-qt6-base')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-icd-loader' 'qt6-base' 'ninja')
|
||||
makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qtsvg-everywhere-src-${_qtver}"
|
||||
|
|
|
@ -8,4 +8,4 @@ url='https://www.qt.io'
|
|||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Classes for displaying the contents of SVG files (mingw-w64)'
|
||||
depends=(<%== qt6deps qw(base) %>)
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-icd-loader' 'qt6-base' 'ninja')
|
||||
makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja')
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Martchus <martchus@gmx.net>
|
||||
|
||||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
||||
# you also find the URL of a binary repository.
|
||||
|
||||
pkgname=mingw-w64-qt6-translations
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='A cross-platform application and UI framework (Translations, mingw-w64)'
|
||||
depends=('mingw-w64-qt6-base')
|
||||
makedepends=('mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' 'ninja')
|
||||
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
|
||||
groups=(mingw-w64-qt6)
|
||||
_pkgfqn="qttranslations-everywhere-src-${_qtver}"
|
||||
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
|
||||
sha256sums=('940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d')
|
||||
|
||||
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
||||
|
||||
build() {
|
||||
for _arch in ${_architectures}; do
|
||||
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
|
||||
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
|
||||
-DQT_HOST_PATH=/usr \
|
||||
-DFEATURE_pkg_config=ON \
|
||||
-DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \
|
||||
-DVulkan_INCLUDE_DIR="/usr/$_arch/include"
|
||||
cmake --build build-$_arch
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
DESTDIR="$pkgdir" cmake --install build-$_arch
|
||||
|
||||
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
|
||||
done
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-translations
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
% layout 'mingw-w64-qt6-module', no_libs => 1;
|
||||
\
|
||||
_qtver=6.0.0-alpha
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='A cross-platform application and UI framework (Translations, mingw-w64)'
|
||||
depends=(<%== qt6deps qw(base) %>)
|
||||
makedepends=('mingw-w64-cmake' <%== qt6deps qw(tools) %> 'qt6-tools' 'ninja')
|
|
@ -0,0 +1 @@
|
|||
940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d
|
Loading…
Reference in New Issue