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

recipes/gui/qt3d/PAGBUILD.yaml main

52 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
pkgname: qt3d
pkgver: '5.15.19'
pkgrel: '1'
pkgdesc: 'C++ and QML APIs for easy inclusion of 3D graphics'
url: 'https://qt-project.org/'
arch: x86_64
license:
- FDL
- GPL3
- LGPL3
- custom

depends: []
makedepends:
- qtdeclarative
- assimp

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

sha256sums:
- 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/libQt53DAnimation.la
  rm -f ${PKGDIR}/usr/lib/libQt53DCore.la
  rm -f ${PKGDIR}/usr/lib/libQt53DExtras.la
  rm -f ${PKGDIR}/usr/lib/libQt53DInput.la
  rm -f ${PKGDIR}/usr/lib/libQt53DLogic.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuick.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuickAnimation.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuickExtras.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuickInput.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuickRender.la
  rm -f ${PKGDIR}/usr/lib/libQt53DQuickScene2D.la
  rm -f ${PKGDIR}/usr/lib/libQt53DRender.la

package: |
  true