1 |
commit: e8ead04a376a2766df84fd7bb1f88c08d4d7ca82 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Fri Jul 30 10:08:14 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sat Jul 31 17:45:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8ead04a |
7 |
|
8 |
net-misc/lagrange: version bump to 1.6.1 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
net-misc/lagrange/Manifest | 2 +- |
13 |
net-misc/lagrange/lagrange-1.5.2.ebuild | 42 ------------------------ |
14 |
net-misc/lagrange/lagrange-1.6.1.ebuild | 58 +++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 59 insertions(+), 43 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/lagrange/Manifest b/net-misc/lagrange/Manifest |
18 |
index f5e24e4ac..232e6061d 100644 |
19 |
--- a/net-misc/lagrange/Manifest |
20 |
+++ b/net-misc/lagrange/Manifest |
21 |
@@ -1,2 +1,2 @@ |
22 |
-DIST lagrange-1.5.2.tar.gz 20409523 BLAKE2B 3f8888d7012f7886a61c938c5527639495d0dc424185133b663aec4e90e8de604863bac481a87606cfc5af80a3974503124a8ac7e5924a034053a1cbca705abd SHA512 971d54d072799cc03bc2521571c74e3da996f390198c3a7e04ff8480040aa1ae96d1407dec68ecb02225ece14c0032304ad1c605b6619b4538d9078c8180f9d6 |
23 |
DIST lagrange-1.6.0.tar.gz 22693081 BLAKE2B 447e2d45736b476ea060804ca9b4f382e8e396e4dab6a826756b44742403b35619440e51f59f27ea9e4456677383b069554f7eb034f8b23177dbb0c9a060dfba SHA512 db0e958b959b4dbcb1d34e4fb7c7683750aa8216dcfa7868aa32397b4740552f96d21f6409320ff2a4353fb695e7aa91efafe12ec5db3be00872cd387641efec |
24 |
+DIST lagrange-1.6.1.tar.gz 22698567 BLAKE2B 186b92b92e9e3d97f06a47cae09be0bab3ef583fd60d13672f9ab1c712ba9dbccf609d0585d7966def03d485ac8cfba300cce0a41f9b550b4af89620e5fb7c01 SHA512 36f2d5829f190e195f6ce9611a669874de82b908746a8c71a3e51a51effc1b303a11e0cc838de56ca835e83c7dfd9163b6e1400758365b486961f3d0a977d231 |
25 |
|
26 |
diff --git a/net-misc/lagrange/lagrange-1.5.2.ebuild b/net-misc/lagrange/lagrange-1.5.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index ad1bce38f..000000000 |
29 |
--- a/net-misc/lagrange/lagrange-1.5.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,42 +0,0 @@ |
32 |
-# Copyright 2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit cmake xdg |
38 |
- |
39 |
-DESCRIPTION="Desktop GUI client for browsing Geminispace" |
40 |
-HOMEPAGE="https://gmi.skyjake.fi/lagrange/ |
41 |
-https://git.skyjake.fi/gemini/lagrange" |
42 |
-SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 OFL-1.1" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="cpu_flags_x86_sse4_1 +mp3" |
48 |
- |
49 |
-DEPEND=" |
50 |
- dev-libs/libpcre |
51 |
- dev-libs/libunistring |
52 |
- dev-libs/openssl |
53 |
- media-libs/libsdl2 |
54 |
- sys-libs/zlib |
55 |
- mp3? ( media-sound/mpg123 ) |
56 |
-" |
57 |
-RDEPEND="${DEPEND}" |
58 |
- |
59 |
-src_prepare() { |
60 |
- cmake_src_prepare |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- local mycmakeargs=( |
65 |
- -DENABLE_MPG123=$(usex mp3) |
66 |
- |
67 |
- # lib/the_Foundation |
68 |
- -DTFDN_ENABLE_WARN_ERROR=OFF |
69 |
- -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) |
70 |
- ) |
71 |
- |
72 |
- cmake_src_configure |
73 |
-} |
74 |
|
75 |
diff --git a/net-misc/lagrange/lagrange-1.6.1.ebuild b/net-misc/lagrange/lagrange-1.6.1.ebuild |
76 |
new file mode 100644 |
77 |
index 000000000..e34334abc |
78 |
--- /dev/null |
79 |
+++ b/net-misc/lagrange/lagrange-1.6.1.ebuild |
80 |
@@ -0,0 +1,58 @@ |
81 |
+# Copyright 2021 Gentoo Authors |
82 |
+# Distributed under the terms of the GNU General Public License v2 |
83 |
+ |
84 |
+EAPI=7 |
85 |
+ |
86 |
+inherit xdg cmake |
87 |
+ |
88 |
+DESCRIPTION="Desktop GUI client for browsing Geminispace" |
89 |
+HOMEPAGE="https://gmi.skyjake.fi/lagrange/ |
90 |
+https://git.skyjake.fi/gemini/lagrange" |
91 |
+SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz" |
92 |
+ |
93 |
+LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 OFL-1.1" |
94 |
+SLOT="0" |
95 |
+KEYWORDS="~amd64 ~x86" |
96 |
+IUSE="cpu_flags_x86_sse4_1 +fribidi +harfbuzz +mp3" |
97 |
+ |
98 |
+DEPEND=" |
99 |
+ dev-libs/libpcre:3 |
100 |
+ dev-libs/libunistring |
101 |
+ dev-libs/openssl |
102 |
+ media-libs/libsdl2[sound(+),video(+)] |
103 |
+ sys-libs/zlib |
104 |
+ fribidi? ( dev-libs/fribidi ) |
105 |
+ harfbuzz? ( media-libs/harfbuzz[truetype(+)] ) |
106 |
+ mp3? ( media-sound/mpg123 ) |
107 |
+" |
108 |
+RDEPEND="${DEPEND}" |
109 |
+ |
110 |
+src_configure() { |
111 |
+ # do not add use flags that don't pull dependencies |
112 |
+ # and only choose which files to compile (e.g. "ipc") |
113 |
+ local mycmakeargs=( |
114 |
+ -DENABLE_FRIBIDI=$(usex fribidi) |
115 |
+ -DENABLE_HARFBUZZ=$(usex harfbuzz) |
116 |
+ -DENABLE_MPG123=$(usex mp3) |
117 |
+ |
118 |
+ # never build bundled libs |
119 |
+ -DENABLE_FRIBIDI_BUILD=OFF |
120 |
+ -DENABLE_HARFBUZZ_MINIMAL=OFF |
121 |
+ |
122 |
+ # lib/the_Foundation |
123 |
+ -DTFDN_ENABLE_WARN_ERROR=OFF |
124 |
+ -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) |
125 |
+ ) |
126 |
+ |
127 |
+ cmake_src_configure |
128 |
+} |
129 |
+ |
130 |
+pkg_postinst() { |
131 |
+ if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 1.6.0 ; then |
132 |
+ ewarn "Lagrange 1.6 introduces some breaking changes:" |
133 |
+ ewarn |
134 |
+ ewarn "- A new TOFU trust store will be created. The old one is kept around but ignored." |
135 |
+ ewarn "- App state serialization format has been updated. Downgrading to a previous release" |
136 |
+ ewarn " will cause app state to be reset (e.g., tabs closed, navigation history cleared)." |
137 |
+ fi |
138 |
+} |