commit:     cf5af883710caa7d682e0d37583ffd39f0c3305a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Nov  6 12:32:59 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 12:43:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf5af883

net-misc/lagrange: version bump to 1.8.1

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

 net-misc/lagrange/Manifest              |  2 +-
 net-misc/lagrange/lagrange-1.7.2.ebuild | 64 ---------------------------------
 net-misc/lagrange/lagrange-1.8.1.ebuild | 50 ++++++++++++++++++++++++++
 3 files changed, 51 insertions(+), 65 deletions(-)

diff --git a/net-misc/lagrange/Manifest b/net-misc/lagrange/Manifest
index 5ce757844..0ecaaa7dc 100644
--- a/net-misc/lagrange/Manifest
+++ b/net-misc/lagrange/Manifest
@@ -1,2 +1,2 @@
-DIST lagrange-1.7.2.tar.gz 22814543 BLAKE2B 
31b5b36f7d3b89e55a53937607ee07f8bec1e5a319743d88e7f9c7977e1e0fc97a6ad81f055224fe4356df635eb9b52ddd66f9fe961f5d6fbf2fe753293f0f4a
 SHA512 
5d978ea146bb57351ea31c4a78d2632caeea81dd1a44d7123b927de0b62e92f5afcc5c62430dc82c9f1c765d1f65a17f8129ee01bc345c71c7c0cf6f0d0f07b1
 DIST lagrange-1.7.3.tar.gz 22816390 BLAKE2B 
3574db3b231872b5b935a9b4a7c544631dc58da3a5e6cd296347a29a76d807edbe5c5378ae81175ba4ff59f7225d4f2190fd8b82ef46bcea1515a1411a45dd1d
 SHA512 
ee5261769aab6db63a7e70d21376682ed1946e49ad3b6483a4752ad37f13922561f3a16413dce76b8f928849f50e911aac6f906c1ac750da0d45f1f8dc94e5e0
+DIST lagrange-1.8.1.tar.gz 8531160 BLAKE2B 
43998692a85046efc3cbcc4fb1ae01d30e8e17c0429d2920f79a2877f5fb87bca0241b798b5f59d6fbef1e26dec122db42811a71351588d9ad27fbb82ddf5018
 SHA512 
0b80a8f606036fa5aeb126814dfb542a82bb71d7b563e43380c1be9ae74d9b950d06cbd866edf9decd253d25ffa6af3fbd769b8a2621f9aff246c87cb76627c3

diff --git a/net-misc/lagrange/lagrange-1.7.2.ebuild 
b/net-misc/lagrange/lagrange-1.7.2.ebuild
deleted file mode 100644
index 6eb7a75e8..000000000
--- a/net-misc/lagrange/lagrange-1.7.2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake
-
-DESCRIPTION="Desktop GUI client for browsing Geminispace"
-HOMEPAGE="https://gmi.skyjake.fi/lagrange/
-https://git.skyjake.fi/gemini/lagrange";
-SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 OFL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpu_flags_x86_sse4_1 +fribidi +harfbuzz mp3 webp"
-
-DEPEND="
-       dev-libs/libpcre:3
-       dev-libs/libunistring:=
-       dev-libs/openssl:=
-       media-libs/libsdl2[sound(+),video(+)]
-       sys-libs/zlib:=
-       fribidi? ( dev-libs/fribidi )
-       harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] )
-       mp3? ( media-sound/mpg123 )
-       webp? ( media-libs/libwebp:= )
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-       # do not add use flags that don't pull dependencies
-       # and only choose which files to compile (e.g. "ipc")
-       local mycmakeargs=(
-               -DENABLE_FRIBIDI=$(usex fribidi)
-               -DENABLE_HARFBUZZ=$(usex harfbuzz)
-               -DENABLE_MPG123=$(usex mp3)
-               -DENABLE_WEBP=$(usex webp)
-
-               # 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)
-       )
-
-       cmake_src_configure
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-
-       if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 
1.7.0 ; then
-               ewarn "Lagrange 1.7 introduces some backwards incompatible 
changes:"
-               ewarn
-               ewarn "- Bookmarks file format has changed. Your existing 
bookmarks will be imported to"
-               ewarn "  the new format. The old bookmarks.txt file can be 
found in the config directory"
-               ewarn "  and is writable only by v1.6 and earlier versions."
-               ewarn "- Saved UI state format has changed. Downgrading will 
reset window state, close"
-               ewarn "  all tabs, and clear the navigation cache."
-       fi
-}

diff --git a/net-misc/lagrange/lagrange-1.8.1.ebuild 
b/net-misc/lagrange/lagrange-1.8.1.ebuild
new file mode 100644
index 000000000..47e8b11fd
--- /dev/null
+++ b/net-misc/lagrange/lagrange-1.8.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake
+
+DESCRIPTION="Desktop GUI client for browsing Geminispace"
+HOMEPAGE="https://gmi.skyjake.fi/lagrange/ 
https://git.skyjake.fi/gemini/lagrange";
+SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 CC-BY-SA-4.0 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+fribidi +harfbuzz mp3 webp"
+
+DEPEND="
+       dev-libs/tfdn:=[ssl]
+       media-libs/libsdl2[sound(+),video(+)]
+       fribidi? ( dev-libs/fribidi )
+       harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] )
+       mp3? ( media-sound/mpg123 )
+       webp? ( media-libs/libwebp:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="app-arch/zip"
+
+src_prepare() {
+       # checked by Depends.cmake
+       rm -r lib/the_Foundation/CMakeLists.txt || die
+
+       cmake_src_prepare
+}
+
+src_configure() {
+       # do not add use flags that don't pull dependencies
+       # and only choose which files to compile (e.g. "ipc")
+       local mycmakeargs=(
+               -DENABLE_FRIBIDI=$(usex fribidi)
+               -DENABLE_HARFBUZZ=$(usex harfbuzz)
+               -DENABLE_MPG123=$(usex mp3)
+               -DENABLE_WEBP=$(usex webp)
+
+               # never build bundled libs
+               -DENABLE_FRIBIDI_BUILD=OFF
+               -DENABLE_HARFBUZZ_MINIMAL=OFF
+       )
+
+       cmake_src_configure
+}

Reply via email to