[arch-commits] Commit in fluid/repos (2 files)

2019-03-30 Thread Felix Yan via arch-commits
Date: Sunday, March 31, 2019 @ 05:11:42
  Author: felixonmars
Revision: 446459

archrelease: copy trunk to community-testing-x86_64

Added:
  fluid/repos/community-testing-x86_64/
  fluid/repos/community-testing-x86_64/PKGBUILD
(from rev 446458, fluid/trunk/PKGBUILD)

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

Copied: fluid/repos/community-testing-x86_64/PKGBUILD (from rev 446458, 
fluid/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-03-31 05:11:42 UTC (rev 446459)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+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
+}


[arch-commits] Commit in fluid/repos (2 files)

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 08:23:44
  Author: felixonmars
Revision: 323467

archrelease: copy trunk to community-testing-x86_64

Added:
  fluid/repos/community-testing-x86_64/
  fluid/repos/community-testing-x86_64/PKGBUILD
(from rev 323466, fluid/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: fluid/repos/community-testing-x86_64/PKGBUILD (from rev 323466, 
fluid/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-17 08:23:44 UTC (rev 323467)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=fluid
+pkgver=1.0.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')
+replaces=('qml-material')
+groups=('liri')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/fluid/archive/v$pkgver.tar.gz;)
+sha512sums=('a9f59c7d77c40d57bd66370bd5302db583fea58e23b0830eea5e9edd002b41d3f21bdfb17748c1d31916aba15c0d5cf63335dc89ce398105a37d81311810b0b8')
+
+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() {
+  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
+}
+
+package() {
+  cd fluid-$pkgver
+  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
+}