From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B48971580B9 for ; Sat, 21 Aug 2021 12:04:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2E21E0809; Sat, 21 Aug 2021 12:04:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 106D5E0809 for ; Sat, 21 Aug 2021 12:04:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BDAD340FB2 for ; Sat, 21 Aug 2021 12:04:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECF8B7B2 for ; Sat, 21 Aug 2021 12:04:47 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1629547443.c9fd8e8130d05124891d952b3c1799d55a9dc04b.xgqt@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/fmawk/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/fmawk/Manifest app-misc/fmawk/fmawk-1.0.ebuild app-misc/fmawk/fmawk-9999.ebuild app-misc/fmawk/metadata.xml X-VCS-Directories: app-misc/fmawk/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: c9fd8e8130d05124891d952b3c1799d55a9dc04b X-VCS-Branch: dev Date: Sat, 21 Aug 2021 12:04:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 27e641a9-07f1-4a5a-a190-1da173975bd8 X-Archives-Hash: 4a518f9d73319df658afb9af4c7d2f0d commit: c9fd8e8130d05124891d952b3c1799d55a9dc04b Author: Maciej Barć riseup net> AuthorDate: Sat Aug 21 12:04:03 2021 +0000 Commit: Maciej Barć riseup net> CommitDate: Sat Aug 21 12:04:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9fd8e81 app-misc/fmawk: new package; add version 1.0 and live Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć riseup.net> app-misc/fmawk/Manifest | 1 + app-misc/fmawk/fmawk-1.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ app-misc/fmawk/fmawk-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ app-misc/fmawk/metadata.xml | 13 +++++++++++++ 4 files changed, 90 insertions(+) diff --git a/app-misc/fmawk/Manifest b/app-misc/fmawk/Manifest new file mode 100644 index 000000000..ca8e4f0d2 --- /dev/null +++ b/app-misc/fmawk/Manifest @@ -0,0 +1 @@ +DIST fmawk-1.0.tar.gz 22346 BLAKE2B 34068288fd5c79ec2296a5763d7fdb67af17d688a4f0d3341b861160a15d6e5ca078b7bcf4382dec388ae19518cc963379b045e7d56f974f43608e4fb4ee5ede SHA512 33ea389bcf8bd025bf3fd5a7a8f39ea48c2748349f55ff0c855ba2f6c782e1a793d670aecff3fe23b38f91f33a0346729e791853b28ed8d127e3858e4e099068 diff --git a/app-misc/fmawk/fmawk-1.0.ebuild b/app-misc/fmawk/fmawk-1.0.ebuild new file mode 100644 index 000000000..b6061c618 --- /dev/null +++ b/app-misc/fmawk/fmawk-1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="File manager written in awk" +HOMEPAGE="https://github.com/huijunchen9260/fm.awk/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/huijunchen9260/fm.awk.git" +else + SRC_URI="https://github.com/huijunchen9260/fm.awk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/fm.awk-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND="virtual/awk" + +src_compile() { + : +} + +src_install() { + emake DESTDIR="${D}" UEBERZUG_SUPPORT=YES install + einstalldocs +} + +pkg_postinst() { + optfeature "PDFs preview" app-text/poppler + optfeature "images preview" media-gfx/chafa + optfeature "videos preview" media-video/ffmpegthumbnailer +} diff --git a/app-misc/fmawk/fmawk-9999.ebuild b/app-misc/fmawk/fmawk-9999.ebuild new file mode 100644 index 000000000..b6061c618 --- /dev/null +++ b/app-misc/fmawk/fmawk-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="File manager written in awk" +HOMEPAGE="https://github.com/huijunchen9260/fm.awk/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/huijunchen9260/fm.awk.git" +else + SRC_URI="https://github.com/huijunchen9260/fm.awk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/fm.awk-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND="virtual/awk" + +src_compile() { + : +} + +src_install() { + emake DESTDIR="${D}" UEBERZUG_SUPPORT=YES install + einstalldocs +} + +pkg_postinst() { + optfeature "PDFs preview" app-text/poppler + optfeature "images preview" media-gfx/chafa + optfeature "videos preview" media-video/ffmpegthumbnailer +} diff --git a/app-misc/fmawk/metadata.xml b/app-misc/fmawk/metadata.xml new file mode 100644 index 000000000..9cb95c6dd --- /dev/null +++ b/app-misc/fmawk/metadata.xml @@ -0,0 +1,13 @@ + + + + + + xgqt@riseup.net + Maciej Barć + + + https://github.com/huijunchen9260/fm.awk/issues + huijunchen9260/fm.awk + +