summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-07-13 13:37:57 +0200
committerMarek Szuba <marecki@gentoo.org>2020-07-13 14:14:44 +0200
commit0be30855c74349568c1c1fa6308f4df1f7a07189 (patch)
tree0a6f9fe14668ca0da9ab669c6fd50c246ecd837a /net-p2p/syncthing
parentmedia-video/shotcut: update patch file to match upstream commit (diff)
downloadgentoo-0be30855c74349568c1c1fa6308f4df1f7a07189.tar.gz
gentoo-0be30855c74349568c1c1fa6308f4df1f7a07189.tar.bz2
gentoo-0be30855c74349568c1c1fa6308f4df1f7a07189.zip
net-p2p/syncthing: bump to 1.7.1
Also, install .desktop files provided by upstream. Closes: https://bugs.gentoo.org/732460 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p/syncthing')
-rw-r--r--net-p2p/syncthing/Manifest2
-rw-r--r--net-p2p/syncthing/syncthing-1.7.1.ebuild (renamed from net-p2p/syncthing/syncthing-1.7.0.ebuild)11
2 files changed, 11 insertions, 2 deletions
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest
index b1c41bcb684..1a7cde3fe77 100644
--- a/net-p2p/syncthing/Manifest
+++ b/net-p2p/syncthing/Manifest
@@ -519,4 +519,4 @@ DIST syncthing-1.3.4.tar.gz 4785353 BLAKE2B 01ea21d207fd8d84d28b03125f6c3b2071a4
DIST syncthing-1.4.2.tar.gz 4792506 BLAKE2B 32f5944b54f994e827226c4704e1c6a66e39124a7f72f5b3864b5a204d59b7c89c65df1fa1715096fa8af3a397fb4e7d695720faab639747018909c437c555aa SHA512 39631ce3da7e77edff92809cc0dc4224b7311da791b8a60aaaf06d60a476d2e9d6b914d4f4b9c13d33dad19cec98093c6cacc75abe431bb3809b5b5fdc883591
DIST syncthing-1.5.0.tar.gz 4797347 BLAKE2B 60ccb06d491b2f7cb822207cf55f70fe79cac044900b3cc2947132a5e410b3be5b7a4379472c9bac77f10f7b3a599617644ee573648c7e84abbb456511f493f4 SHA512 a1f71701eb1f615b8783a75ae21dbe73b26c5371f7225064c5ac2cf71a227a1e679420ec68ad7f95e51e0962d810c9ecf8a977fef8517de8ac71a9d7b8f7022f
DIST syncthing-1.6.1.tar.gz 4837435 BLAKE2B 6a2cb7328748f9866e25c3c986f6557411da390865d0d0816c3792634958546bd7ff74ab0ead98627d305a94f9b39b5c56e0f9e850c8c73ce23a8f7fa5c65293 SHA512 49ae4be6adeedeb76c346e2dec5a59e1c2787612595601af140462ff8df9035fe6b2366af78412e13d5070aa149d34904b5c0cf28fa40f1cab2dbf59c175c2db
-DIST syncthing-1.7.0.tar.gz 4856296 BLAKE2B 3cb1bf2ca06583acd9d24dfc3fec27def299dbc3cd6499294ac326e9a2d92c12b4668688ba372b8531621a0017a8ecc43ac7a8bab2e282678b5fd5ea0457e93c SHA512 2ef07ba94d19bb1be2e575c166d29d3cc02f7c47400650bd8fdee7465a792c9fa5aea31775da52f907b4b41757f682a57f9f2b5988d1bfc74df45de021d97c4c
+DIST syncthing-1.7.1.tar.gz 4856327 BLAKE2B 52c62d364dbef2d8472c774867e39302fd92195abe343b060fa3389e13b575d91b3df86cf9f5a728bb75912f6fd57198407daad0a667e1340663dbc127ad6318 SHA512 7607111f00bb2d6adc8e0262da4500a3f7234793775fe865c370ba196a7d69cb01eafabb7c227ccc6ce514be03db402675ae53d80d69272c56d0cf7cb4faffa1
diff --git a/net-p2p/syncthing/syncthing-1.7.0.ebuild b/net-p2p/syncthing/syncthing-1.7.1.ebuild
index e784dd9f088..a85137dddd5 100644
--- a/net-p2p/syncthing/syncthing-1.7.0.ebuild
+++ b/net-p2p/syncthing/syncthing-1.7.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit go-module systemd xdg-utils
+inherit desktop go-module systemd xdg-utils
EGO_SUM=(
"cloud.google.com/go v0.26.0/go.mod"
@@ -538,6 +538,7 @@ src_install() {
einstalldocs
dobin bin/syncthing
+ domenu etc/linux-desktop/*.desktop
if use tools ; then
exeinto /usr/libexec/syncthing
local exe
@@ -573,3 +574,11 @@ src_install() {
newins "${FILESDIR}/strelaysrv.logrotate" strelaysrv
fi
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}