[Slackbuilds-users] realtime capabilities for jack and its apps

Ozan Türkyılmaz ozan.turkyilmaz at gmail.com
Sun Aug 21 14:18:30 UTC 2011


2011/8/21 B Watson <yalhcru at gmail.com>:
> On 8/20/11, Felix Pfeifer <pfeifer.felix at googlemail.com> wrote:
>
>> $ whatever.Slackbuild --disable-caps
>>
>> The default behavior then would be to include setcaps in the doinst.sh.
>
> 2 things there: it should be an environment variable, e.g. 'export
> CAPS=no' (so it'll work like any other options, and so sbopkg won't
> need to be modified)... and this is a doinst.sh thing, meaning that
> the SlackBuild script would have to edit its own doinst.sh (probably
> with sed), based on the option... Which is not a bad thing, but it's
> definitely more work and more complexity.
>

if [ "$CAPS" = "yes" ]; then cat << [stuff for setting pcaps] EOF >>
doinst.sh; fi




-- 
Ozan, BSc, BEng


More information about the SlackBuilds-users mailing list