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

recipes/gui/qtquickcontrols2/PAGBUILD.yaml main

44 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: qtquickcontrols2
pkgver: '5.15.19'
pkgrel: '1'
pkgdesc: 'Next generation user interface controls based on Qt Quick'
url: 'https://qt-project.org/'
arch: x86_64
license:
- FDL
- GPL3
- LGPL3
- custom

depends: []
makedepends:
- qtbase
- qtdeclarative
- qtgraphicaleffects

source:
- 'kf5-1.patch'
- 'https://download.qt.io/archive/qt/5.15/${pkgver}/submodules/${pkgname}-everywhere-opensource-src-${pkgver}.tar.xz'

sha256sums:
- SKIP
- SKIP

build: |
  mkdir build
  cd    build

  qmake ../${pkgname}-everywhere-src-${pkgver}

  make
  make INSTALL_ROOT=${PKGDIR} install

  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
    find "${PKGDIR}/usr/lib" -type f -name '*.prl' \
         -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
  # Obsolet libs
  rm -f ${PKGDIR}/usr/lib/libQt5QuickControls2.la
  rm -f ${PKGDIR}/usr/lib/libQt5QuickTemplates2.la

package: |
  true