Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/lagrange/
Date: Sat, 06 Nov 2021 12:46:50
Message-Id: 1636202630.cf5af883710caa7d682e0d37583ffd39f0c3305a.cybertailor@gentoo
1 commit: cf5af883710caa7d682e0d37583ffd39f0c3305a
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Sat Nov 6 12:32:59 2021 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Sat Nov 6 12:43:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf5af883
7
8 net-misc/lagrange: version bump to 1.8.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.7.2.ebuild | 64 ---------------------------------
14 net-misc/lagrange/lagrange-1.8.1.ebuild | 50 ++++++++++++++++++++++++++
15 3 files changed, 51 insertions(+), 65 deletions(-)
16
17 diff --git a/net-misc/lagrange/Manifest b/net-misc/lagrange/Manifest
18 index 5ce757844..0ecaaa7dc 100644
19 --- a/net-misc/lagrange/Manifest
20 +++ b/net-misc/lagrange/Manifest
21 @@ -1,2 +1,2 @@
22 -DIST lagrange-1.7.2.tar.gz 22814543 BLAKE2B 31b5b36f7d3b89e55a53937607ee07f8bec1e5a319743d88e7f9c7977e1e0fc97a6ad81f055224fe4356df635eb9b52ddd66f9fe961f5d6fbf2fe753293f0f4a SHA512 5d978ea146bb57351ea31c4a78d2632caeea81dd1a44d7123b927de0b62e92f5afcc5c62430dc82c9f1c765d1f65a17f8129ee01bc345c71c7c0cf6f0d0f07b1
23 DIST lagrange-1.7.3.tar.gz 22816390 BLAKE2B 3574db3b231872b5b935a9b4a7c544631dc58da3a5e6cd296347a29a76d807edbe5c5378ae81175ba4ff59f7225d4f2190fd8b82ef46bcea1515a1411a45dd1d SHA512 ee5261769aab6db63a7e70d21376682ed1946e49ad3b6483a4752ad37f13922561f3a16413dce76b8f928849f50e911aac6f906c1ac750da0d45f1f8dc94e5e0
24 +DIST lagrange-1.8.1.tar.gz 8531160 BLAKE2B 43998692a85046efc3cbcc4fb1ae01d30e8e17c0429d2920f79a2877f5fb87bca0241b798b5f59d6fbef1e26dec122db42811a71351588d9ad27fbb82ddf5018 SHA512 0b80a8f606036fa5aeb126814dfb542a82bb71d7b563e43380c1be9ae74d9b950d06cbd866edf9decd253d25ffa6af3fbd769b8a2621f9aff246c87cb76627c3
25
26 diff --git a/net-misc/lagrange/lagrange-1.7.2.ebuild b/net-misc/lagrange/lagrange-1.7.2.ebuild
27 deleted file mode 100644
28 index 6eb7a75e8..000000000
29 --- a/net-misc/lagrange/lagrange-1.7.2.ebuild
30 +++ /dev/null
31 @@ -1,64 +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 xdg cmake
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 +fribidi +harfbuzz mp3 webp"
48 -
49 -DEPEND="
50 - dev-libs/libpcre:3
51 - dev-libs/libunistring:=
52 - dev-libs/openssl:=
53 - media-libs/libsdl2[sound(+),video(+)]
54 - sys-libs/zlib:=
55 - fribidi? ( dev-libs/fribidi )
56 - harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] )
57 - mp3? ( media-sound/mpg123 )
58 - webp? ( media-libs/libwebp:= )
59 -"
60 -RDEPEND="${DEPEND}"
61 -
62 -src_configure() {
63 - # do not add use flags that don't pull dependencies
64 - # and only choose which files to compile (e.g. "ipc")
65 - local mycmakeargs=(
66 - -DENABLE_FRIBIDI=$(usex fribidi)
67 - -DENABLE_HARFBUZZ=$(usex harfbuzz)
68 - -DENABLE_MPG123=$(usex mp3)
69 - -DENABLE_WEBP=$(usex webp)
70 -
71 - # never build bundled libs
72 - -DENABLE_FRIBIDI_BUILD=OFF
73 - -DENABLE_HARFBUZZ_MINIMAL=OFF
74 -
75 - # lib/the_Foundation
76 - -DTFDN_ENABLE_WARN_ERROR=OFF
77 - -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1)
78 - )
79 -
80 - cmake_src_configure
81 -}
82 -
83 -pkg_postinst() {
84 - xdg_pkg_postinst
85 -
86 - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 1.7.0 ; then
87 - ewarn "Lagrange 1.7 introduces some backwards incompatible changes:"
88 - ewarn
89 - ewarn "- Bookmarks file format has changed. Your existing bookmarks will be imported to"
90 - ewarn " the new format. The old bookmarks.txt file can be found in the config directory"
91 - ewarn " and is writable only by v1.6 and earlier versions."
92 - ewarn "- Saved UI state format has changed. Downgrading will reset window state, close"
93 - ewarn " all tabs, and clear the navigation cache."
94 - fi
95 -}
96
97 diff --git a/net-misc/lagrange/lagrange-1.8.1.ebuild b/net-misc/lagrange/lagrange-1.8.1.ebuild
98 new file mode 100644
99 index 000000000..47e8b11fd
100 --- /dev/null
101 +++ b/net-misc/lagrange/lagrange-1.8.1.ebuild
102 @@ -0,0 +1,50 @@
103 +# Copyright 2021 Gentoo Authors
104 +# Distributed under the terms of the GNU General Public License v2
105 +
106 +EAPI=8
107 +
108 +inherit xdg cmake
109 +
110 +DESCRIPTION="Desktop GUI client for browsing Geminispace"
111 +HOMEPAGE="https://gmi.skyjake.fi/lagrange/ https://git.skyjake.fi/gemini/lagrange"
112 +SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz"
113 +
114 +LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 CC-BY-SA-4.0 OFL-1.1"
115 +SLOT="0"
116 +KEYWORDS="~amd64 ~x86"
117 +IUSE="+fribidi +harfbuzz mp3 webp"
118 +
119 +DEPEND="
120 + dev-libs/tfdn:=[ssl]
121 + media-libs/libsdl2[sound(+),video(+)]
122 + fribidi? ( dev-libs/fribidi )
123 + harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] )
124 + mp3? ( media-sound/mpg123 )
125 + webp? ( media-libs/libwebp:= )
126 +"
127 +RDEPEND="${DEPEND}"
128 +BDEPEND="app-arch/zip"
129 +
130 +src_prepare() {
131 + # checked by Depends.cmake
132 + rm -r lib/the_Foundation/CMakeLists.txt || die
133 +
134 + cmake_src_prepare
135 +}
136 +
137 +src_configure() {
138 + # do not add use flags that don't pull dependencies
139 + # and only choose which files to compile (e.g. "ipc")
140 + local mycmakeargs=(
141 + -DENABLE_FRIBIDI=$(usex fribidi)
142 + -DENABLE_HARFBUZZ=$(usex harfbuzz)
143 + -DENABLE_MPG123=$(usex mp3)
144 + -DENABLE_WEBP=$(usex webp)
145 +
146 + # never build bundled libs
147 + -DENABLE_FRIBIDI_BUILD=OFF
148 + -DENABLE_HARFBUZZ_MINIMAL=OFF
149 + )
150 +
151 + cmake_src_configure
152 +}