[arch-commits] Commit in qt5-quick3d/repos/kde-unstable-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Mon May 11 18:52:42 UTC 2020


    Date: Monday, May 11, 2020 @ 18:52:41
  Author: arojas
Revision: 383238

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  qt5-quick3d/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 383237, qt5-quick3d/kde-unstable/PKGBUILD)
  qt5-quick3d/repos/kde-unstable-x86_64/qtquick3d-assimp.patch
    (from rev 383237, qt5-quick3d/kde-unstable/qtquick3d-assimp.patch)
Deleted:
  qt5-quick3d/repos/kde-unstable-x86_64/PKGBUILD
  qt5-quick3d/repos/kde-unstable-x86_64/qtquick3d-assimp.patch

------------------------+
 PKGBUILD               |   92 +++++++++++++++++++++++------------------------
 qtquick3d-assimp.patch |   26 ++++++-------
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-11 18:52:00 UTC (rev 383237)
+++ PKGBUILD	2020-05-11 18:52:41 UTC (rev 383238)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=qt5-quick3d
-_qtver=5.15.0-rc
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('x86_64')
-url='https://www.qt.io'
-license=('GPL3' 'LGPL3' 'FDL' 'custom')
-pkgdesc='Qt module and API for defining 3D content in Qt Quick'
-depends=('qt5-declarative')
-makedepends=('assimp')
-optdepends=('assimp: Import from assimp')
-groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
-         qtquick3d-assimp.patch)
-sha256sums=('241f2727202dbfd2cd1f7f15160e9643e2f8c88dfce467318aa789138adfc320'
-            '531c479880b51a0e5247ccba1b5158b99d16d2a8d4d63b462572687bef1862ef')
-
-prepare() {
-  mkdir -p build
-
-  cd $_pkgfqn
-  patch -p1 -i ../qtquick3d-assimp.patch # Fix build with system assimp
-}
-
-build() {
-  cd build
-
-  qmake ../${_pkgfqn}
-  make
-}
-
-package() {
-  cd build
-  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' {} \;
-
-  install -d "$pkgdir"/usr/share/licenses
-  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
-}

Copied: qt5-quick3d/repos/kde-unstable-x86_64/PKGBUILD (from rev 383237, qt5-quick3d/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-11 18:52:41 UTC (rev 383238)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-quick3d
+_qtver=5.15.0-rc2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Qt module and API for defining 3D content in Qt Quick'
+depends=('qt5-declarative')
+makedepends=('assimp')
+optdepends=('assimp: Import from assimp')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+         qtquick3d-assimp.patch)
+sha256sums=('5c311968d27650189878db1adfab8ecd4740ea7af6389b65932891b9e3f7756b'
+            '531c479880b51a0e5247ccba1b5158b99d16d2a8d4d63b462572687bef1862ef')
+
+prepare() {
+  mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qtquick3d-assimp.patch # Fix build with system assimp
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  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' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Deleted: qtquick3d-assimp.patch
===================================================================
--- qtquick3d-assimp.patch	2020-05-11 18:52:00 UTC (rev 383237)
+++ qtquick3d-assimp.patch	2020-05-11 18:52:41 UTC (rev 383238)
@@ -1,13 +0,0 @@
-diff --git a/src/plugins/assetimporters/assimp/assimp.pro b/src/plugins/assetimporters/assimp/assimp.pro
-index ca5c499..174a075 100644
---- a/src/plugins/assetimporters/assimp/assimp.pro
-+++ b/src/plugins/assetimporters/assimp/assimp.pro
-@@ -10,7 +10,7 @@ QT_FOR_CONFIG += assetimporters-private
- include($$OUT_PWD/../qtassetimporters-config.pri)
- 
- qtConfig(system-assimp):!if(cross_compile:host_build) {
--    QMAKE_USE_PRIVATE += assimp
-+    QMAKE_USE_PRIVATE += quick3d-assimp
- } else {
-     include(../../../3rdparty/assimp/assimp.pri)
- }

Copied: qt5-quick3d/repos/kde-unstable-x86_64/qtquick3d-assimp.patch (from rev 383237, qt5-quick3d/kde-unstable/qtquick3d-assimp.patch)
===================================================================
--- qtquick3d-assimp.patch	                        (rev 0)
+++ qtquick3d-assimp.patch	2020-05-11 18:52:41 UTC (rev 383238)
@@ -0,0 +1,13 @@
+diff --git a/src/plugins/assetimporters/assimp/assimp.pro b/src/plugins/assetimporters/assimp/assimp.pro
+index ca5c499..174a075 100644
+--- a/src/plugins/assetimporters/assimp/assimp.pro
++++ b/src/plugins/assetimporters/assimp/assimp.pro
+@@ -10,7 +10,7 @@ QT_FOR_CONFIG += assetimporters-private
+ include($$OUT_PWD/../qtassetimporters-config.pri)
+ 
+ qtConfig(system-assimp):!if(cross_compile:host_build) {
+-    QMAKE_USE_PRIVATE += assimp
++    QMAKE_USE_PRIVATE += quick3d-assimp
+ } else {
+     include(../../../3rdparty/assimp/assimp.pri)
+ }


More information about the arch-commits mailing list