[arch-commits] Commit in dtkcore/repos (3 files)

Felix Yan felixonmars at archlinux.org
Wed Dec 5 08:31:58 UTC 2018


    Date: Wednesday, December 5, 2018 @ 08:31:57
  Author: felixonmars
Revision: 411271

archrelease: copy trunk to community-testing-x86_64

Added:
  dtkcore/repos/community-testing-x86_64/
  dtkcore/repos/community-testing-x86_64/PKGBUILD
    (from rev 411270, dtkcore/trunk/PKGBUILD)
  dtkcore/repos/community-testing-x86_64/fix-symbol.patch
    (from rev 411270, dtkcore/trunk/fix-symbol.patch)

------------------+
 PKGBUILD         |   31 +++++++++++++++++++++++++++++++
 fix-symbol.patch |   30 ++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Copied: dtkcore/repos/community-testing-x86_64/PKGBUILD (from rev 411270, dtkcore/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-12-05 08:31:57 UTC (rev 411271)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=dtkcore
+pkgver=2.0.9.10
+pkgrel=1
+epoch=1
+pkgdesc='DTK core modules'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkcore"
+license=('GPL3')
+depends=('qt5-base' 'gsettings-qt')
+makedepends=('qt5-tools' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkcore/archive/$pkgver.tar.gz"
+        fix-symbol.patch)
+sha512sums=('9ee89a80070ce1d21c565d5511254dcd77e1e9c7836c66e760316e8ff1393e4f81670eae663355bc6250a49061d2b0e957ed1e8f6540c19887443e10e0fa40ae'
+            '0b3e8e673136b755029e926c7acabb033fea7d89c4b80d85d1c3419faffdcfb6f8ed75214ed9a4226ae2ee7925c797e73e5acbb6f679d6d98879c15965f0b773')
+
+build() {
+  cd dtkcore-$pkgver
+  patch -p1 -i ../fix-symbol.patch
+
+  qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver
+  make
+}
+
+package() {
+  cd dtkcore-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: dtkcore/repos/community-testing-x86_64/fix-symbol.patch (from rev 411270, dtkcore/trunk/fix-symbol.patch)
===================================================================
--- community-testing-x86_64/fix-symbol.patch	                        (rev 0)
+++ community-testing-x86_64/fix-symbol.patch	2018-12-05 08:31:57 UTC (rev 411271)
@@ -0,0 +1,30 @@
+diff --git a/src/filesystem/dpathbuf.h b/src/filesystem/dpathbuf.h
+index 3aa7609..85df90d 100644
+--- a/src/filesystem/dpathbuf.h
++++ b/src/filesystem/dpathbuf.h
+@@ -26,7 +26,10 @@ DCORE_BEGIN_NAMESPACE
+ class LIBDTKCORESHARED_EXPORT DPathBuf
+ {
+ public:
+-    DPathBuf(const QString &path);
++    DPathBuf(const QString &path)
++    {
++        m_path = QDir(path).absolutePath();
++    }
+ 
+     DPathBuf operator/(const QString &p) const
+     {
+diff --git a/src/filesystem/filesystem.pri b/src/filesystem/filesystem.pri
+index c8d81a0..e561867 100644
+--- a/src/filesystem/filesystem.pri
++++ b/src/filesystem/filesystem.pri
+@@ -14,8 +14,7 @@ SOURCES += \
+     $$PWD/dbasefilewatcher.cpp \
+     $$PWD/dfilewatcher.cpp \
+     $$PWD/dfilewatchermanager.cpp \
+-    $$PWD/dstandardpaths.cpp \
+-    $$PWD/dpathbuf.cpp
++    $$PWD/dstandardpaths.cpp
+ 
+ linux {
+     SOURCES += \



More information about the arch-commits mailing list