You are not logged in.

#1 2010-12-21 15:35:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

deps array question - needs either 'foo' or 'bar'

I wrote a little script that uses HandBrakeCLI for video conversion.  The problem is that users can have installed one of several packages to source /usr/bin/HandBrakeCLI

extra/handbrake-cli
AUR/handbrake-cli-svn

At a minimum, my package needs extra/handbrake-cli but it can optionally use AUR/handbrake-svn.  How can I write this into the deps array as either 'handbrake-cli' or 'handbrake-cli-svn' ... or is it just better to have the maintainer of the AUR package add a provides=handbrake-cli to his package?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2010-12-21 15:46:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,404
Website

Re: deps array question - needs either 'foo' or 'bar'

The -svn package should have the provides entry added

Offline

#3 2010-12-22 21:43:16

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: deps array question - needs either 'foo' or 'bar'

Not something that I thought of doing because I didn't expect anything to depend on handbrake but I've added provides entries to the handbrake-svn PKGBUILD and will upload it when AUR comes back on line.

Offline

#4 2010-12-22 21:56:39

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: deps array question - needs either 'foo' or 'bar'

@az - nice, thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2010-12-22 22:45:30

Awebb
Member
Registered: 2010-05-06
Posts: 6,311

Re: deps array question - needs either 'foo' or 'bar'

azleifel wrote:

when AUR comes back on line.

You mean right now? Hooray :-D

Offline

#6 2010-12-22 23:09:28

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: deps array question - needs either 'foo' or 'bar'

It's back but still not 100%...

Offline

Board footer

Powered by FluxBB