You are not logged in.

#1 2020-12-10 14:42:47

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

[SOLVED] Something like USE flags in ABS?

Hello

Is in ABS any mechanism like Gentoo's USE flags? That would be actually pretty good!

Last edited by kocotian (2020-12-10 14:54:27)

Offline

#2 2020-12-10 14:46:50

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,244
Website

Re: [SOLVED] Something like USE flags in ABS?

https://wiki.archlinux.org/index.php/Ar … ntoo_Linux

Gentoo's official package and system management tools tend to be rather more complex and "powerful" than those provided by Arch, and certain features which are at the very heart of Gentoo (USE flags, SLOTs, etc.) do not have any direct Arch Linux equivalent. Some of that is due to the fact that Arch is primarily a binary distro, but differences in design philosophy also play a big role, with Arch taking a more principled stance in favor of architectural simplicity and avoiding over-engineering.

There's no equivalent in Arch, but you can modify the PKGBUILDs as you see fit.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-12-10 14:53:47

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Re: [SOLVED] Something like USE flags in ABS?

Thanks for answer, I looked for more automated way to make scripts for getting things from AUR and using a file with "USE flags" customize PKGBUILDs (just make another simple portage-like way for downloading and customizing source code wink), but as i read in this wiki, i probably won't find this ;D

Offline

#4 2020-12-10 21:18:15

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,019

Re: [SOLVED] Something like USE flags in ABS?

Some AUR PKGBUILDs use variables at the top to control optional features, but that's the closest you'll find. See e.g. linux-ck.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB