From f63898d760e94c73cc5edd04031b5d8a3643e766 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 7 Jun 2022 14:55:09 -0400 Subject: sys-fs/ncdu: upgrade to 2.1.2 --- profiles/package.mask | 4 +--- sys-fs/ncdu/Manifest | 2 +- sys-fs/ncdu/ncdu-2.0.1.ebuild | 29 ----------------------------- sys-fs/ncdu/ncdu-2.1.2.ebuild | 29 +++++++++++++++++++++++++++++ 4 files changed, 31 insertions(+), 33 deletions(-) delete mode 100644 sys-fs/ncdu/ncdu-2.0.1.ebuild create mode 100644 sys-fs/ncdu/ncdu-2.1.2.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index 5831605..a1a05c1 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -1,8 +1,6 @@ # https://github.com/pts/pdfsizeopt/issues/139 app-text/pdfsizeopt -# package works fine but program is buggy -sys-fs/ncdu - # untested dev-lang/zig +sys-fs/ncdu diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest index 2b149da..a5f151e 100644 --- a/sys-fs/ncdu/Manifest +++ b/sys-fs/ncdu/Manifest @@ -1 +1 @@ -DIST ncdu-2.0.1.tar.gz 53807 BLAKE2B 909aa59228afab83376ab8a9a02aac74db092a2ba8041fcbf81a9b958a9957880de18a0bfae88405c0a92a1b4445e64a0167ae12021fb868b9c3d94058dd0966 SHA512 853bb74fe7d896ef3d3ff02366f4e7f98e3833ef5f7fe0239a5e8225052592e210974e7b4a8feb4c41783c05bf2c0c0ac448ef1fcde7b7d0a7092386ebadbad4 +DIST ncdu-2.1.2.tar.gz 52702 BLAKE2B fb64058bec2e8f286fa82e16986cddd9126e5c94d513740d48ff1c971e7ee95270fe6c1cfbbe240bb8e99fba4e3fd6d2624f99870422835da44447a2507f0b8b SHA512 ff48f2b9625e1aba29e5598051d16c4b5dc1a634fab897709226dd69d3b48031e6e62527c8514ec4753874d2d96800e538d6ad90b4a5f9851410d10579ccc67c diff --git a/sys-fs/ncdu/ncdu-2.0.1.ebuild b/sys-fs/ncdu/ncdu-2.0.1.ebuild deleted file mode 100644 index de9aa89..0000000 --- a/sys-fs/ncdu/ncdu-2.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -DESCRIPTION="NCurses Disk Usage" -HOMEPAGE="https://dev.yorhel.nl/ncdu/" -SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND="~dev-lang/zig-0.9.0" - -DEPEND="sys-libs/ncurses:=[unicode(+)]" - -RDEPEND="${DEPEND}" - -src_compile() { - if [[ -z ${ZIG_FLAGS+x} && "$CFLAGS" != *-march=native* ]]; then - die 'ZIG_FLAGS is unset! note that zig defaults to native cpu. set ZIG_FLAGS="" or ZIG_FLAGS="-mcpu baseline"' - fi - emake PREFIX=${EPREFIX}/usr -} - -src_install() { - emake PREFIX=${ED}/usr install -} diff --git a/sys-fs/ncdu/ncdu-2.1.2.ebuild b/sys-fs/ncdu/ncdu-2.1.2.ebuild new file mode 100644 index 0000000..5a9c093 --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu/" +SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="=dev-lang/zig-0.9*" + +DEPEND="sys-libs/ncurses:=[unicode(+)]" + +RDEPEND="${DEPEND}" + +src_compile() { + if [[ -z ${ZIG_FLAGS+x} && "$CFLAGS" != *-march=native* ]]; then + die 'ZIG_FLAGS is unset! note that zig defaults to native cpu. set ZIG_FLAGS="" or ZIG_FLAGS="-mcpu baseline"' + fi + emake PREFIX=${EPREFIX}/usr +} + +src_install() { + emake PREFIX=${ED}/usr install +} -- cgit v1.2.3-70-g09d2