net-misc/lagrange: new

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jules de Sartiges <strikersh@disroot.org>
This commit is contained in:
striker.sh
2021-06-10 22:57:12 +02:00
parent b72fe89da0
commit 1e31740503
4 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST lagrange-1.5.1.tar.gz 20406988 BLAKE2B faae5c415fb8eb36a8301adff0ea330c11aab861c5e134a7b2601903877fbbb9d3369719151048740f35ea1fd7e3032a02b9e2287a7f7eef4864d05a0e643d25 SHA512 b5ee3ff9718c7bf4542a1f7b92b6efdd2360c01ebba2b380e0458762d317bf54c57e2c171b6d6b11a7b308255de7ce2f76905c17f70d7c0c971e48c95d15d991

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A Beautiful Gemini Client"
HOMEPAGE="https://gmi.skyjake.fi/lagrange/"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://git.skyjake.fi/gemini/${PN}.git"
else
SRC_URI="https://git.skyjake.fi/skyjake/${PN}/releases/download/v${PV}/${PN}-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD-2"
SLOT=0
IUSE="mpg123"
RDEPEND="
>=dev-libs/openssl-1.1.1
media-libs/libsdl2
dev-libs/libpcre
sys-libs/zlib
dev-libs/libunistring
mpg123? ( media-sound/mpg123 )
"
src_configure() {
if use mpg123; then
mycmakeargs+=("-DENABLE_MPG123")
fi
mycmakeargs+=("-DCMAKE_BUILD_TYPE=Release")
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_install() {
cmake_src_install
}

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A Beautiful Gemini Client"
HOMEPAGE="https://gmi.skyjake.fi/lagrange/"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://git.skyjake.fi/gemini/${PN}.git"
else
SRC_URI="https://git.skyjake.fi/skyjake/${PN}/releases/download/v${PV}/${PN}-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD-2"
SLOT=0
IUSE="mpg123"
RDEPEND="
>=dev-libs/openssl-1.1.1
media-libs/libsdl2
dev-libs/libpcre
sys-libs/zlib
dev-libs/libunistring
mpg123? ( media-sound/mpg123 )
"
src_configure() {
if use mpg123; then
mycmakeargs+=("-DENABLE_MPG123")
fi
mycmakeargs+=("-DCMAKE_BUILD_TYPE=Release")
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_install() {
cmake_src_install
}

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>strikersh@disroot.org</email>
<name>Jules de Sartiges</name>
</maintainer>
<use>
<flag name="mpg123">Enable support for mp3 decoding over media-sound/mpg123</flag>
</use>
<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.
</longdescription>
<upstream>
<bugs-to>https://github.com/skyjake/lagrange/issues</bugs-to>
</upstream>
</pkgmetadata>