net-client/lagrange: rename net-misc/lagrange

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-20 14:06:37 +05:00
parent 3b277d266b
commit 15084c1a25
5 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST lagrange-1.9.0.tar.gz 8557967 BLAKE2B 362e7e40412a9432d9260909fe3bded9da5b9991d9fcac06e465466dc0911e944132ff9a210382a37a5fe58ea2cc86e03d050da751ae2b3b83f5d3108f5d6bf9 SHA512 632f27cbc56f1c2a325a7d342dd0a91331dca8a0b4e7e6b30254c67d02a2a57c1c04262823364dfe91c2318642a0e0944fcfa1cb4275a3c1dcd14ff9872898ec
DIST lagrange-1.9.1.tar.gz 8561746 BLAKE2B 4bc664fa1aad2f1384cb7ec7d7e5de86e8c90282e6de2fed06aa3cc1e10ea1db6d04929cdc93f27cf9bb589d78e14724c58977015d19c5c8bb1d239b1b1e5c63 SHA512 9126d4923fabe0b5b4c7fd16c6c7873234f5834526aa10c427756fbe300c8b63ea2bdff54687b9d92e8a6ded975670c1bcfc09c6a156f2e0d59c776e51429c50

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
<longdescription lang="en">
Lagrange is a desktop GUI client for browsing Geminispace. It offers
modern conveniences familiar from web browsers, such as smooth
scrolling, inline image viewing, multiple tabs, visual themes, Unicode
fonts, bookmarks, history, and page outlines.
Like the Gemini protocol, Lagrange has been designed with minimalism in
mind. It depends on a small number of essential libraries. It is written
in C and uses SDL for hardware-accelerated graphics. OpenSSL is used for
secure communications.
</longdescription>
<use>
<flag name="fribidi">Use <pkg>dev-libs/fribidi</pkg> for bidirectional text</flag>
<flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> to shape text</flag>
</use>
<upstream>
<maintainer>
<email>jaakko.keranen@iki.fi</email>
<name>Jaakko Keränen</name>
</maintainer>
<bugs-to>https://github.com/skyjake/lagrange/issues</bugs-to>
<remote-id type="github">skyjake/lagrange</remote-id>
</upstream>
</pkgmetadata>