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

recipes/gui/qtwebsockets/PAGBUILD.yaml main

42 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142
pkgname: qtwebsockets
pkgver: '5.15.19'
pkgrel: '1'
pkgdesc: 'A cross-platform application and UI framework, QtWebsokets files'
url: 'https://qt-project.org/'
arch: x86_64
license:
- FDL
- GPL3
- LGPL3
- custom

depends: []
makedepends:
- qtbase

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: |
  patch -d ${SRCDIR}/${pkgname} -Np1 -i ${SRCDIR}/kf5-1.patch
  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 Lib
  rm -f ${PKGDIR}/usr/lib/libQt5WebSockets.la

package: |
  true