[tur-users] OR/XOR in PKGBUILD depends-array

Jan de Groot jan at jgc.homeip.net
Fri Apr 6 12:45:01 EDT 2007


On Fri, 2007-04-06 at 14:28 +0200, Benjamin Kircher wrote:
> How do I implement following?
> 
> I want to write a PKGBUILD for TiffIO
> (http://artis.imag.fr/Software/TiffIO/). Hence, this piece of software
> could be used by a Qt3 and Qt4 application, it depends=()-array should
> include 'qt' AND/OR 'qt4'. But how do I do something like that?
> 
> Looked in the man-pages but found nothing notable. Are there any hints
> from a more experienced PKGBUILD-writer? 

Why bother adding depends on Qt? you should add makedepends on them so
the plugins get built.

IMHO, when you install these plugins, you do it for a reason: you want
to add its functionality to your existing system. This is the same way
we work with libraries like gmime, which ships -sharp bindings: you
don't need it on a regular system, and when you want to use gmime-sharp,
you're probably using mono already.




More information about the tur-users mailing list