public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/lagrange/
Date: Thu, 10 Jun 2021 23:57:10 +0000 (UTC)	[thread overview]
Message-ID: <1623358632.1e317405039028783083f1dd5a69612968b8d49c.lanodan@gentoo> (raw)

commit:     1e317405039028783083f1dd5a69612968b8d49c
Author:     striker.sh <strikersh <AT> disroot <DOT> org>
AuthorDate: Thu Jun 10 20:57:12 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Jun 10 20:57:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e317405

net-misc/lagrange: new

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jules de Sartiges <strikersh <AT> disroot.org>

 net-misc/lagrange/Manifest              |  1 +
 net-misc/lagrange/lagrange-1.5.1.ebuild | 46 +++++++++++++++++++++++++++++++++
 net-misc/lagrange/lagrange-9999.ebuild  | 46 +++++++++++++++++++++++++++++++++
 net-misc/lagrange/metadata.xml          | 20 ++++++++++++++
 4 files changed, 113 insertions(+)

diff --git a/net-misc/lagrange/Manifest b/net-misc/lagrange/Manifest
new file mode 100644
index 000000000..a33632c29
--- /dev/null
+++ b/net-misc/lagrange/Manifest
@@ -0,0 +1 @@
+DIST lagrange-1.5.1.tar.gz 20406988 BLAKE2B faae5c415fb8eb36a8301adff0ea330c11aab861c5e134a7b2601903877fbbb9d3369719151048740f35ea1fd7e3032a02b9e2287a7f7eef4864d05a0e643d25 SHA512 b5ee3ff9718c7bf4542a1f7b92b6efdd2360c01ebba2b380e0458762d317bf54c57e2c171b6d6b11a7b308255de7ce2f76905c17f70d7c0c971e48c95d15d991

diff --git a/net-misc/lagrange/lagrange-1.5.1.ebuild b/net-misc/lagrange/lagrange-1.5.1.ebuild
new file mode 100644
index 000000000..8f042010f
--- /dev/null
+++ b/net-misc/lagrange/lagrange-1.5.1.ebuild
@@ -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
+}

diff --git a/net-misc/lagrange/lagrange-9999.ebuild b/net-misc/lagrange/lagrange-9999.ebuild
new file mode 100644
index 000000000..8f042010f
--- /dev/null
+++ b/net-misc/lagrange/lagrange-9999.ebuild
@@ -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
+}

diff --git a/net-misc/lagrange/metadata.xml b/net-misc/lagrange/metadata.xml
new file mode 100644
index 000000000..e3edec442
--- /dev/null
+++ b/net-misc/lagrange/metadata.xml
@@ -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>


             reply	other threads:[~2021-06-10 23:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 23:57 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-15  7:17 [gentoo-commits] repo/proj/guru:master commit in: net-misc/lagrange/ Andrew Ammerlaan
2021-07-27 19:57 Andrew Ammerlaan
2021-08-03  8:45 Andrew Ammerlaan
2021-08-16 19:04 Jian Lin
2021-08-27 16:10 Haelwenn Monnier
2021-10-09  6:44 Arthur Zamarin
2021-10-20  8:18 Florian Schmaus
2021-11-08 13:02 Andrew Ammerlaan
2021-12-01 19:34 Andrew Ammerlaan
2021-12-01 19:34 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623358632.1e317405039028783083f1dd5a69612968b8d49c.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox