public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pascal Jäger" <pascal.jaeger@leimstift.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/lapce/
Date: Thu, 10 Nov 2022 14:18:42 +0000 (UTC)	[thread overview]
Message-ID: <1668089882.d65696e87fc7d571d6be3ff828f8556e6599bad5.pascal.jaeger@gentoo> (raw)

commit:     d65696e87fc7d571d6be3ff828f8556e6599bad5
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Thu Nov 10 14:04:52 2022 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Thu Nov 10 14:18:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d65696e8

app-editors/lapce: new live ebuild

The way this is packaged in their cargo.toml makes it too hard to make a versioned ebulid.
This one is checking out v0.2.2, so we still need to bump it every now and then.

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 app-editors/lapce/lapce-9999.ebuild | 33 +++++++++++++++++++++++++++++++++
 app-editors/lapce/metadata.xml      | 11 +++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-editors/lapce/lapce-9999.ebuild b/app-editors/lapce/lapce-9999.ebuild
new file mode 100644
index 000000000..5bfbfddbe
--- /dev/null
+++ b/app-editors/lapce/lapce-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit cargo desktop git-r3 xdg-utils
+
+DESCRIPTION="Lightning-fast and Powerful Code Editor written in Rust "
+HOMEPAGE="https://github.com/lapce/lapce"
+EGIT_REPO_URI="https://github.com/lapce/lapce.git"
+
+LICENSE="( Apache-2.0 ( MIT 0BSD ) Apache-2.0-with-LLVM-exceptions Artistic-2 BSD BSD-2 Boost-1.0 CC0-1.0 CeCILL-2 GPL-2 ISC MIT MIT ) MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
+SLOT="0"
+
+src_unpack() {
+	git-r3_src_unpack
+	git-r3_fetch $EGIT_REPO_URI v0.2.2
+	git-r3_checkout
+	cargo_live_src_unpack
+}
+
+src_configure() {
+	cargo_src_configure --frozen
+}
+
+src_install() {
+	cargo_src_install
+	domenu extra/linux/dev.lapce.lapce.desktop
+	newicon extra/images/logo.png dev.lapce.lapce.png
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}

diff --git a/app-editors/lapce/metadata.xml b/app-editors/lapce/metadata.xml
new file mode 100644
index 000000000..fe03928cb
--- /dev/null
+++ b/app-editors/lapce/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>pascal.jaeger@leimstift.de</email>
+		<name>Pascal Jaeger</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">lapce/lapce</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2022-11-10 14:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10 14:18 Pascal Jäger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-10 21:51 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/lapce/ Pascal Jäger
2023-03-14 19:09 Pascal Jäger
2023-03-14 19:09 Pascal Jäger
2023-03-18 21:15 Pascal Jäger
2023-05-27 14:49 Pascal Jäger
2023-05-27 16:28 Rahul Sandhu
2023-06-02 19:10 Pascal Jäger
2023-06-02 19:10 Pascal Jäger
2023-11-04 21:51 Pascal Jäger
2023-11-04 21:53 Pascal Jäger
2023-11-06 19:48 Pascal Jäger
2023-12-06 12:29 Pascal Jäger
2023-12-06 12:29 Pascal Jäger
2023-12-06 12:29 Pascal Jäger
2023-12-06 12:29 Pascal Jäger
2023-12-06 14:20 Pascal Jäger
2023-12-06 14:20 Pascal Jäger
2024-04-25 18:38 Pascal Jäger
2024-08-28 15:37 Takuya Wakazono
2024-08-28 15:37 Takuya Wakazono
2024-08-29 14:49 Takuya Wakazono
2024-08-29 14:49 Takuya Wakazono

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=1668089882.d65696e87fc7d571d6be3ff828f8556e6599bad5.pascal.jaeger@gentoo \
    --to=pascal.jaeger@leimstift.de \
    --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