[arch-commits] Commit in deepin-qml-widgets/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 10 07:01:40 UTC 2016
Date: Saturday, December 10, 2016 @ 07:01:39
Author: felixonmars
Revision: 198682
upgpkg: deepin-qml-widgets 2.3.4-2
include old dbus-factory qml components for now, for compatibility
Modified:
deepin-qml-widgets/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-10 06:58:39 UTC (rev 198681)
+++ PKGBUILD 2016-12-10 07:01:39 UTC (rev 198682)
@@ -5,7 +5,8 @@
pkgname=deepin-qml-widgets
pkgver=2.3.4
-pkgrel=1
+_dbusfactoryver=3.0.6
+pkgrel=2
pkgdesc='Deepin QML widgets'
arch=('i686' 'x86_64')
url="https://gitcafe.com/Deepin/deepin-qml-widgets"
@@ -12,20 +13,28 @@
license=('GPL3')
depends=('qt5-multimedia' 'qt5-webkit' 'qt5-imageformats'
'qt5-graphicaleffects' 'qt5-x11extras' 'gtk2')
-makedepends=('git')
+makedepends=('git' 'deepin-dbus-generator')
conflicts=('dde-qml-gettext-plugin')
provides=('dde-qml-gettext-plugin')
replaces=('dde-qml-gettext-plugin')
-source=("git+https://github.com/linuxdeepin/deepin-qml-widgets.git#tag=$pkgver")
-sha256sums=('SKIP')
+source=("git+https://github.com/linuxdeepin/deepin-qml-widgets.git#tag=$pkgver"
+ "git+https://github.com/linuxdeepin/dbus-factory.git#tag=$_dbusfactoryver")
+sha256sums=('SKIP'
+ 'SKIP')
build(){
- cd $pkgname
+ cd "$srcdir"/deepin-qml-widgets
qmake-qt5
make
+
+ cd "$srcdir"/dbus-factory
+ make build-qml
}
package() {
- cd $pkgname
- make INSTALL_ROOT="${pkgdir}" install
+ cd "$srcdir"/deepin-qml-widgets
+ make INSTALL_ROOT="$pkgdir" install
+
+ cd "$srcdir"/dbus-factory
+ make DESTDIR="$pkgdir" QT5_LIBDIR="/usr/lib/qt" install-qml
}
More information about the arch-commits
mailing list