summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkycoder422018-06-16 10:45:56 +0200
committerSkycoder422018-06-16 10:45:56 +0200
commit574cb238218c604b1ad536e2ac451a073ee72028 (patch)
treeb5284f19ed75d7e080ae360d8954d62ef8c64802
parentc59eabaedd1714994cd126f3cacec87feb35f7e9 (diff)
downloadaur-574cb238218c604b1ad536e2ac451a073ee72028.tar.gz
updated to 4.1.0
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD19
-rw-r--r--qt5-datasync.rule2
3 files changed, 18 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58e284ff9b3..2f311fda288 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qt5-datasync
pkgdesc = A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices
- pkgver = 4.0.1
- pkgrel = 2
+ pkgver = 4.1.0
+ pkgrel = 1
url = https://github.com/Skycoder42/QtDataSync
arch = i686
arch = x86_64
@@ -21,15 +21,16 @@ pkgbase = qt5-datasync
depends = qt5-websockets
depends = qt5-scxml
depends = qt5-remoteobjects>=5.11.0
+ depends = qt5-service
depends = crypto++
optdepends = repkg: Automatically rebuild the package on dependency updates
optdepends = qt5-datasync-kwallet-keystore: Support for KWallet as keystore
optdepends = qt5-datasync-secret-keystore: Support for secret service as keystore (includes gnome keyring)
- source = qt5-datasync-4.0.1::git+https://github.com/Skycoder42/QtDataSync.git#tag=4.0.1-2
+ source = qt5-datasync-4.1.0::git+https://github.com/Skycoder42/QtDataSync.git#tag=4.1.0
source = qt5-datasync.rule
source = subpkg.rule
sha256sums = SKIP
- sha256sums = 4ac39788aa336a6505fc6a15cb172a48b76832d52cd2e7a68203201b7feb913e
+ sha256sums = a007d798b34d1c7e5d27ced99a34bb3f027df0631c0edfc7082f0ef20321049b
sha256sums = 321d7d24f490983f54acb9e7f58ebc2a170b520cd978c4989e28bc1a76513f3b
pkgname = qt5-datasync
diff --git a/PKGBUILD b/PKGBUILD
index c477f0dfc1c..0342550a70b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,36 +2,35 @@
pkgbase=qt5-datasync
pkgname=(qt5-datasync qt5-datasync-kwallet-keystore qt5-datasync-secret-keystore qt5-datasync-doc)
group=qt5-datasync-full
-pkgver=4.0.1
-pkgrel=2
+pkgver=4.1.0
+pkgrel=1
pkgdesc="A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices"
arch=('i686' 'x86_64')
url="https://github.com/Skycoder42/QtDataSync"
license=('BSD')
-depends=('qt5-base' 'qt5-jsonserializer' 'qt5-websockets' 'qt5-scxml' 'qt5-remoteobjects>=5.11.0' 'crypto++')
+depends=('qt5-base' 'qt5-jsonserializer' 'qt5-websockets' 'qt5-scxml' 'qt5-remoteobjects>=5.11.0' 'qt5-service' 'crypto++')
makedepends=('qt5-tools' 'git' 'qpmx-qpmsource' 'qt5-declarative' 'pkg-config' 'python' 'doxygen' 'graphviz' 'libsecret' 'kwallet')
optdepends=("repkg: Automatically rebuild the package on dependency updates"
"qt5-datasync-kwallet-keystore: Support for KWallet as keystore"
"qt5-datasync-secret-keystore: Support for secret service as keystore (includes gnome keyring)")
_pkgfqn=$pkgname-$pkgver
-source=("$_pkgfqn::git+https://github.com/Skycoder42/QtDataSync.git#tag=${pkgver}-2" #TODO temporary for Qt 5.11 rebuild
+source=("$_pkgfqn::git+https://github.com/Skycoder42/QtDataSync.git#tag=${pkgver}"
"${pkgname}.rule"
"subpkg.rule")
sha256sums=('SKIP'
- '4ac39788aa336a6505fc6a15cb172a48b76832d52cd2e7a68203201b7feb913e'
+ 'a007d798b34d1c7e5d27ced99a34bb3f027df0631c0edfc7082f0ef20321049b'
'321d7d24f490983f54acb9e7f58ebc2a170b520cd978c4989e28bc1a76513f3b')
prepare() {
mkdir -p build
cd "$_pkgfqn"
- echo "CONFIG+=system_cryptopp" >> .qmake.conf
}
build() {
cd build
- qmake "../$_pkgfqn/"
+ qmake "CONFIG+=system_cryptopp install_system_service" "../$_pkgfqn/"
make qmake_all
make
make lrelease
@@ -54,6 +53,9 @@ package_qt5-datasync() {
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+ # Set systemd service file target
+ sed -i -e 's/#WantedBy=multi-user/WantedBy=multi-user/g' $pkgdir/usr/lib/systemd/system/qdsapp.service
+
install -D -m644 "../$_pkgfqn/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 "../${pkgname}.rule" "$pkgdir/etc/repkg/rules/${pkgname}.rule"
}
@@ -90,4 +92,7 @@ package_qt5-datasync-doc() {
# DROP file paths from doc tags
find "$pkgdir/usr/share/doc/qt" -type f -name '*.tags' \
-exec sed -i -e 's:<path>[^<]*<\/path>:<path>/usr/include/qt/QtDataSync</path>:g' {} \;
+
+ # install manpages
+ install -Dm644 -t "$pkgdir/usr/share/man/man3" man/man3/*.3
}
diff --git a/qt5-datasync.rule b/qt5-datasync.rule
index 9a1800f4b8f..bfc215bfbfa 100644
--- a/qt5-datasync.rule
+++ b/qt5-datasync.rule
@@ -1 +1 @@
-qt5-base qt5-jsonserializer qt5-websockets qt5-scxml qt5-remoteobjects qt5-declarative crypto++
+qt5-base qt5-jsonserializer qt5-websockets qt5-scxml qt5-remoteobjects qt5-service qt5-declarative crypto++