Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-misc/cfiles: EAPI8 bump, fix bug #722342, #726636, add remote id #34555

Closed
wants to merge 2 commits into from

Conversation

mm1ke
Copy link
Contributor

@mm1ke mm1ke commented Dec 29, 2023

EAPI8 bump with some minor fixes.

--- cfiles-1.8.ebuild	2023-12-29 23:43:30.765490304 +0100
+++ cfiles-1.8-r1.ebuild	2023-12-29 23:45:16.414281048 +0100
@@ -1,16 +1,17 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-DESCRIPTION="A ncurses file manager written in C with vim like keybindings"
+inherit toolchain-funcs
+
+DESCRIPTION="Ncurses file manager written in C with vim like keybindings"
 HOMEPAGE="https://github.com/mananapr/cfiles"
 SRC_URI="https://github.com/mananapr/cfiles/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="
 	sys-libs/ncurses:=
@@ -18,6 +19,15 @@
 "
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+	sed -i -e 's/$(CC) $(CFLAGS)/& $(LDFLAGS)/g' Makefile || die
+	default
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
 src_install() {
 	dobin cfiles
 	dobin scripts/displayimg_uberzug

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>

Closes: https://bugs.gentoo.org/722342
Closes: https://bugs.gentoo.org/726636
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
@mm1ke mm1ke changed the title Cfil pe8uzec5 app-misc/cfiles: EAPI8 bump, fix bug #722342, #726636, add remote id Dec 29, 2023
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @mm1ke
Areas affected: ebuilds
Packages affected: app-misc/cfiles

app-misc/cfiles: @mykntom, @aliceinwire

Linked bugs

Bugs linked: 726636, 722342


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Dec 29, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-12-29 23:22 UTC
Newest commit scanned: 1b9d0dc
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/b58b6cf4dd/output.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
3 participants