From b1fbc0e4d021066241df9a26cb3655266997275d Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 22 Mar 2021 02:18:47 +0200 Subject: [PATCH] www-client/makeicecat: add makeicecat Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfred Wingate --- www-client/makeicecat/Manifest | 1 + .../makeicecat/makeicecat-78.8.0.ebuild | 52 +++++++++++++++++++ www-client/makeicecat/metadata.xml | 7 +++ 3 files changed, 60 insertions(+) create mode 100644 www-client/makeicecat/Manifest create mode 100644 www-client/makeicecat/makeicecat-78.8.0.ebuild create mode 100644 www-client/makeicecat/metadata.xml diff --git a/www-client/makeicecat/Manifest b/www-client/makeicecat/Manifest new file mode 100644 index 0000000..e5cf597 --- /dev/null +++ b/www-client/makeicecat/Manifest @@ -0,0 +1 @@ +DIST makeicecat-78.8.0.tar.gz 8005933 BLAKE2B 36f93274f6f23f83d22ffe1c3a6cf8bc018644d133d6e0ba94f2bc5d56f4113eef741340b30e15fc10fedef1d2ef2a968dea6ca1f47f4bec01034d8209254a04 SHA512 95c8c5b8b2f1c9d567dad167f8d209b6b8e997d0b59b1ede13d5738f73f768a9a3d2a517535fbbf5265e6d4403008917d18a85ed138da64fae116e6f8673f7f8 diff --git a/www-client/makeicecat/makeicecat-78.8.0.ebuild b/www-client/makeicecat/makeicecat-78.8.0.ebuild new file mode 100644 index 0000000..9a3b9b1 --- /dev/null +++ b/www-client/makeicecat/makeicecat-78.8.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Script for creating GNU Icecat tarball" +HOMEPAGE="https://www.gnu.org/software/gnuzilla/" + +COMMIT="d5df5618fbf6f6ea0c49b6bfdcb098846d2cd777" + +SRC_URI="https://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-"${COMMIT}".tar.gz -> "${P}".tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+buildtarball" + +RESTRICT="buildtarball? ( network-sandbox )" + +RDEPEND="${BDEPEND}" +BDEPEND=" + dev-vcs/mercurial + dev-perl/File-Rename +" + +S=""${WORKDIR}"/gnuzilla-"${COMMIT}"" + +src_compile() { + if use buildtarball; then + ./makeicecat || die + fi +} + +src_install() { + insinto /usr/share/makeicecat-"${PV}" + doins -r "${S}"/{artwork,CHANGELOG,COPYING,data,makeicecat,README,tools} + fperms +x /usr/share/makeicecat-"${PV}"/{makeicecat,tools/{AddonsScraper.py,buildbinaries,createdebsrcrepo,gnupload}} + if use buildtarball; then + insinto /usr/share/makeicecat-"${PV}"/output + doins "${S}"/output/icecat-"${PV}"-gnu1.tar.bz2 + fi +} + +pkg_postinst() { + if ! use buildtarball; then + einfo "You haven't enabled buildtarball, therefore you have to create the tarball yourself." + einfo "You can create the tarball in /usr/share/makeicecat-"${PV}" by starting the script manually." + einfo " ./makeicecat" + einfo "It will take a while so be prepared." + fi +} diff --git a/www-client/makeicecat/metadata.xml b/www-client/makeicecat/metadata.xml new file mode 100644 index 0000000..464105e --- /dev/null +++ b/www-client/makeicecat/metadata.xml @@ -0,0 +1,7 @@ + + + + + Build GNU IceCat tarball with makeicecat script + +