summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin MacMartin2016-10-16 22:27:28 -0400
committerKevin MacMartin2016-10-16 22:27:28 -0400
commit8aaa5e0a62f70d83e4739f635d5f56366ee33dfc (patch)
treecb107cd2433d1baa6a875d02600591d9567879df
parent0ab710a1b524b4b38f95605dae3de11de3a491f9 (diff)
downloadaur-8aaa5e0a62f70d83e4739f635d5f56366ee33dfc.tar.gz
Add a missing dependency and a png version of the icon extracted from the included ico (which isn't supported by at least gnome)
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD13
-rw-r--r--synergy.pngbin0 -> 12073 bytes
3 files changed, 17 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a64f3311e44..bd2b63d43e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Oct 12 05:01:59 UTC 2016
+# Mon Oct 17 02:26:56 UTC 2016
pkgbase = synergy-git
pkgdesc = Share a single mouse and keyboard between multiple computers
pkgver = 20161011.r2692.a6ff907
- pkgrel = 1
+ pkgrel = 2
url = http://synergy-foss.org
arch = i686
arch = x86_64
@@ -13,18 +13,21 @@ pkgbase = synergy-git
makedepends = libxt
makedepends = qt5-base
makedepends = unzip
- depends = libxtst
- depends = libxinerama
depends = avahi
depends = curl
+ depends = libxinerama
+ depends = libxrandr
+ depends = libxtst
depends = qt5-base
optdepends = openssl: encryption support
provides = synergy
conflicts = synergy
source = synergy::git+https://github.com/symless/synergy.git
+ source = synergy.png
source = synergys_at.socket
source = synergys_at.service
sha512sums = SKIP
+ sha512sums = fc4db2f76a52d88d18a10a178ce885d618820a2a32fbde703e70e2000a54bc943d247064e9b0238fd13478dd59c8a1d85fdfafd9abbf80c6a7b45b0f321d84a0
sha512sums = f9c124533dfd0bbbb1b5036b7f4b06f7f86f69165e88b9146ff17798377119eb9f1a4666f3b2ee9840bc436558d715cdbfe2fdfd7624348fae64871f785a1a62
sha512sums = e85cc3452bb8ba8fcccb1857386c77eb1e4cabb149a1c492c56b38e1b121ac0e7d96c6fcbd3c9b522d3a4ae9d7a9974f4a89fc32b02a56f665be92af219e371c
diff --git a/PKGBUILD b/PKGBUILD
index bbef4192f59..075c092b175 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,25 +10,27 @@
_pkgname=synergy
pkgname=$_pkgname-git
pkgver=20161011.r2692.a6ff907
-pkgrel=1
+pkgrel=2
pkgdesc='Share a single mouse and keyboard between multiple computers'
url='http://synergy-foss.org'
arch=('i686' 'x86_64')
license=('GPL2')
provides=("$_pkgname")
conflicts=("$_pkgname")
-depends=('libxtst' 'libxinerama' 'avahi' 'curl' 'qt5-base')
+depends=('avahi' 'curl' 'libxinerama' 'libxrandr' 'libxtst' 'qt5-base')
makedepends=('cmake' 'git' 'libxt' 'qt5-base' 'unzip')
optdepends=('openssl: encryption support')
source=(
"$_pkgname::git+https://github.com/symless/$_pkgname.git"
+ "$_pkgname.png"
"${_pkgname}s_at.socket"
"${_pkgname}s_at.service"
)
sha512sums=(
'SKIP'
+ 'fc4db2f76a52d88d18a10a178ce885d618820a2a32fbde703e70e2000a54bc943d247064e9b0238fd13478dd59c8a1d85fdfafd9abbf80c6a7b45b0f321d84a0'
'f9c124533dfd0bbbb1b5036b7f4b06f7f86f69165e88b9146ff17798377119eb9f1a4666f3b2ee9840bc436558d715cdbfe2fdfd7624348fae64871f785a1a62'
'e85cc3452bb8ba8fcccb1857386c77eb1e4cabb149a1c492c56b38e1b121ac0e7d96c6fcbd3c9b522d3a4ae9d7a9974f4a89fc32b02a56f665be92af219e371c'
)
@@ -43,7 +45,9 @@ pkgver() {
}
prepare() {
- cd $_pkgname/ext
+ cd $_pkgname
+ sed -i 's|/usr/share/icons/synergy.ico|/usr/share/pixmaps/synergy.png|' res/synergy.desktop
+ cd ext
rm -rf gmock-1.6.0 gtest-1.6.0
unzip gmock-1.6.0.zip -d gmock-1.6.0
unzip gtest-1.6.0.zip -d gtest-1.6.0
@@ -66,6 +70,9 @@ package() {
install -Dm644 ${_pkgname}s_at.service "$pkgdir/usr/lib/systemd/system/${_pkgname}s@.service"
install -Dm644 ${_pkgname}s_at.socket "$pkgdir/usr/lib/systemd/system/${_pkgname}s@.socket"
+ # Install icon (extracted from synergy.ico)
+ install -Dm644 $_pkgname.png "$pkgdir/usr/share/pixmaps/synergy.png"
+
# Install binary
cd $_pkgname
install -Dm755 bin/$_pkgname "$pkgdir/usr/bin/$_pkgname"
diff --git a/synergy.png b/synergy.png
new file mode 100644
index 00000000000..a86d9a25278
--- /dev/null
+++ b/synergy.png
Binary files differ