🔒 Repository is read-only – file editing is disabled.

recipes/gui/qt6-base/PAGBUILD.yaml main

69 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
pkgname: qt6-base
pkgver: '6.11.1'
pkgrel: '2'
pkgdesc: A cross-platform application and UI framework
url: 'https://www.qt.io/'
arch: x86_64
license:
- GPL3 LGPL3 FDL custom
depends: []
makedepends:
- libb2
- cmake
- ninja
- systemd
- icu
- at-spi2-core
- mtdev
- cups
- gstreamer-plugins-base
- xcb-util
- xcb-util-renderutil
- vulkan-headers
- shared-mime-info
- sqlite
- libinput
- double-conversion
- alsa-lib
- xcb-util-image
- xcb-util-keysyms
- xcb-util-cursor
- mesa
- pcre2
- xdg-utils
- xcb-util-wm
- xorg-libxrender
- libxkbcommon
- gtk3
- mariadb
- postgresql
- brotli
source:
- qt-everywhere-src-${pkgver}-openssl4_fix-1.patch
- 'https://download.qt.io/official_releases/qt/6.11/${pkgver}/submodules/qtbase-everywhere-src-${pkgver}.tar.xz'
sha256sums:
- SKIP
- d9594a31228aa23ad6b531719a29b45f0f3989fe6c136d45767ea179f233c1ac
build: |
  cd qtbase-everywhere-src-${pkgver}
  patch -Np1 -i ../qt-everywhere-src-${pkgver}-openssl4_fix-1.patch
  mkdir build
  cd    build
  cmake -G Ninja \
  -DCMAKE_INSTALL_PREFIX=/usr                  -DINSTALL_BINDIR=lib/qt6/bin     \
  -DINSTALL_PUBLICBINDIR=bin                 -DINSTALL_LIBEXECDIR=lib/qt6     \
  -DINSTALL_DOCDIR=share/doc/qt6               -DINSTALL_ARCHDATADIR=lib/qt6    \
  -DINSTALL_DATADIR=share/qt6                  -DINSTALL_INCLUDEDIR=include/qt6 \
  -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs         -DFEATURE_openssl_linked=ON      \
  -DINSTALL_EXAMPLESDIR=share/doc/qt6/examples -DFEATURE_journald=ON            \
  -DFEATURE_system_sqlite=ON                   -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON  \
  -DFEATURE_no_direct_extern_access=ON         -DFEATURE_system_xcb_xinput=ON   \
  -DFEATURE_qmake=ON                           -DCMAKE_BUILD_TYPE=Release       \
  -DBUILD_TESTS_BY_DEFAULT=OFF  \
  ..

  ninja

  DESTDIR=${PKGDIR} ninja install
package: |
  true