commit:     95b9299fc2fc5e6d93aa00da6f578984e4f6cb72
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Aug  3 10:21:08 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Aug  3 10:25:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95b9299f

net-misc/lagrange: add 1.6.2, drop 1.6.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/lagrange/Manifest                             |  2 +-
 .../{lagrange-1.6.0.ebuild => lagrange-1.6.2.ebuild}   | 18 +++++++++++++-----
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/net-misc/lagrange/Manifest b/net-misc/lagrange/Manifest
index 232e6061d..2d0a42436 100644
--- a/net-misc/lagrange/Manifest
+++ b/net-misc/lagrange/Manifest
@@ -1,2 +1,2 @@
-DIST lagrange-1.6.0.tar.gz 22693081 BLAKE2B 
447e2d45736b476ea060804ca9b4f382e8e396e4dab6a826756b44742403b35619440e51f59f27ea9e4456677383b069554f7eb034f8b23177dbb0c9a060dfba
 SHA512 
db0e958b959b4dbcb1d34e4fb7c7683750aa8216dcfa7868aa32397b4740552f96d21f6409320ff2a4353fb695e7aa91efafe12ec5db3be00872cd387641efec
 DIST lagrange-1.6.1.tar.gz 22698567 BLAKE2B 
186b92b92e9e3d97f06a47cae09be0bab3ef583fd60d13672f9ab1c712ba9dbccf609d0585d7966def03d485ac8cfba300cce0a41f9b550b4af89620e5fb7c01
 SHA512 
36f2d5829f190e195f6ce9611a669874de82b908746a8c71a3e51a51effc1b303a11e0cc838de56ca835e83c7dfd9163b6e1400758365b486961f3d0a977d231
+DIST lagrange-1.6.2.tar.gz 22708028 BLAKE2B 
66e7ac6a32d6dba4c01f85fdff005cba1f02a5e8caa13971ae99d9da79db94e225cce1e235bbd3600e35d1333e02d46cf00a4dcf459f97fdefa062eb37ef1476
 SHA512 
2f4ad3c93535e8cd8f8106bc7428d0ae00f09ee1dc37334c57bd16d685145250fcc71c4d118206cb30055cd4095f3095f0a23b944769668e6ff3ac11bd36a42f

diff --git a/net-misc/lagrange/lagrange-1.6.0.ebuild 
b/net-misc/lagrange/lagrange-1.6.2.ebuild
similarity index 67%
rename from net-misc/lagrange/lagrange-1.6.0.ebuild
rename to net-misc/lagrange/lagrange-1.6.2.ebuild
index 815cc5cff..ac4593c4f 100644
--- a/net-misc/lagrange/lagrange-1.6.0.ebuild
+++ b/net-misc/lagrange/lagrange-1.6.2.ebuild
@@ -35,6 +35,10 @@ src_configure() {
                -DENABLE_HARFBUZZ=$(usex harfbuzz)
                -DENABLE_MPG123=$(usex mp3)
 
+               # never build bundled libs
+               -DENABLE_FRIBIDI_BUILD=OFF
+               -DENABLE_HARFBUZZ_MINIMAL=OFF
+
                # lib/the_Foundation
                -DTFDN_ENABLE_WARN_ERROR=OFF
                -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1)
@@ -44,9 +48,13 @@ src_configure() {
 }
 
 pkg_postinst() {
-       ewarn "Lagrange 1.6 introduces some breaking changes:"
-       ewarn
-       ewarn "- A new TOFU trust store will be created. The old one is kept 
around but ignored."
-       ewarn "- App state serialization format has been updated. Downgrading 
to a previous release"
-       ewarn "  will cause app state to be reset (e.g., tabs closed, 
navigation history cleared)."
+       xdg_pkg_postinst
+
+       if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
1.6.0 ; then
+               ewarn "Lagrange 1.6 introduces some breaking changes:"
+               ewarn
+               ewarn "- A new TOFU trust store will be created. The old one is 
kept around but ignored."
+               ewarn "- App state serialization format has been updated. 
Downgrading to a previous release"
+               ewarn "  will cause app state to be reset (e.g., tabs closed, 
navigation history cleared)."
+       fi
 }

Reply via email to