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

gentoo ebuild #128

Open
repomansez opened this issue Jun 16, 2024 · 2 comments
Open

gentoo ebuild #128

repomansez opened this issue Jun 16, 2024 · 2 comments

Comments

@repomansez
Copy link

hi!

I have written a Gentoo ebuild for cozette-otb, should you want to list it as an alternative Linux install method, it's in my personal overlay:

https://github.com/repomansez/cute-overlay/blob/master/media-fonts/cozette/cozette-1.24.1.ebuild

@chi-xigua
Copy link

Very nice, but some changes could improve it

you can change the SRC_URI from:

SRC_URI="https://github.com/slavfox/Cozette/releases/download/v.${PV}/CozetteFonts-v-1-24-1.zip"

to:

SRC_URI="https://github.com/slavfox/Cozette/releases/download/v.${PV}/CozetteFonts-v-${PV//./-}.zip"

so changing the version is as simple as changing the ebuild name

and here in your ebuild:

DEPEND="app-arch/unzip"
RDEPEND="${DEPEND}"
BDEPEND=""

you don't need unzip as a runtime dependency, so you should move the ${DEPEND} to the BDEPEND variable instead for build time dependency

DEPEND="app-arch/unzip"
RDEPEND=""
BDEPEND="${DEPEND}"

@repomansez
Copy link
Author

@chi-xigua you're totally right! No idea why I made it like that hehe. But seems like @slavfox isn't interested in mentioning this :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants