[arch-commits] Commit in fluid/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 11:44:59 UTC 2020


    Date: Tuesday, March 10, 2020 @ 11:44:59
  Author: felixonmars
Revision: 593521

archrelease: copy trunk to community-x86_64

Added:
  fluid/repos/community-x86_64/PKGBUILD
    (from rev 593520, fluid/trunk/PKGBUILD)
Deleted:
  fluid/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 34 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 11:44:42 UTC (rev 593520)
+++ PKGBUILD	2020-03-10 11:44:59 UTC (rev 593521)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=fluid
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Library for QtQuick apps with Material Design and Universal"
-arch=('x86_64')
-url='https://github.com/lirios/fluid'
-license=('MPL')
-depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg')
-makedepends=('liri-qbs-shared' 'nodejs-material-design-icons' 'qt5-tools' 'clang')
-replaces=('qml-material')
-groups=('liri')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz")
-sha512sums=('73796930c6273c2fcc89cfe54d1b5cb34a98a3f4af5f564da305efa83e4ef4e451d1244f3b59edaa76a17ef09de066966598f85f67f0dd7442f2ca0e123d55a9')
-
-prepare() {
-  cd fluid-$pkgver
-  ln -s /usr/lib/node_modules/material-design-icons
-  sed -e '/git clone/d' -e '/rm -rf/d' -i scripts/fetch_icons.sh
-  scripts/fetch_icons.sh
-}
-
-build() {
-  export QT_VER=5.12
-
-  cd fluid-$pkgver
-  qbs setup-toolchains --type gcc /usr/bin/g++ gcc
-  qbs setup-qt /usr/bin/qmake-qt5 qt5
-  qbs config profiles.qt5.baseProfile gcc
-  qbs build --no-install -d build profile:qt5 modules.lirideployment.prefix:/usr \
-                                              modules.lirideployment.qmlDir:/usr/lib/qt/qml
-}
-
-package() {
-  cd fluid-$pkgver
-  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
-}

Copied: fluid/repos/community-x86_64/PKGBUILD (from rev 593520, fluid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-10 11:44:59 UTC (rev 593521)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fluid
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Library for QtQuick apps with Material Design and Universal"
+arch=('x86_64')
+url='https://github.com/lirios/fluid'
+license=('MPL')
+depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-wayland')
+# clang: for qdoc
+makedepends=('liri-cmake-shared' 'nodejs-material-design-icons' 'qt5-tools' 'clang')
+replaces=('qml-material')
+groups=('liri')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz")
+sha512sums=('01eae32283e8078baa11a9a2a802ec64cf22f37b2cace8d6ab1a4ac6c8d752ee0fae823cccba586fe0336165a72f66a59be8b613897ded01693b6e38cba8f536')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ln -s /usr/lib/node_modules/material-design-icons
+  sed -e '/git clone/d' -e '/rm -rf/d' -i scripts/fetch_icons.sh
+  scripts/fetch_icons.sh
+  mkdir -p build
+}
+
+build() {
+  cd $pkgname-$pkgver/build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DFLUID_USE_SYSTEM_LCS:BOOL=ON ..
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list