pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: wip/xmms2



On Tue, Sep 13, 2005 at 01:59:38PM +0200, Thomas Klausner wrote:
> Perhaps you can add it to LINKFLAGS?

Yes, that worked. Thank you.

> Btw, don't forget adding PKGCONFIG_OVERRIDE lines for the
> .pc files.

Actually, there is only one .pc file (xmms2.pc.in). The other .pc
files get created by SConstruct:

#### Generate pc files.

pc_files = [{"name": "xmms2-plugin", "lib":""}, 
            {"name":"xmms2-client", "lib":"-lxmmsclient"},
            {"name":"xmms2-client-glib", "lib":"-lxmmsclient-glib"},
            {"name":"xmms2-client-ecore", "lib":"-lxmmsclient-ecore"}]

for p in pc_files:
        d = subst_dict.copy()
        d["%NAME%"] = p["name"]
        d["%LIB%"] = p["lib"]
        pc = base_env.SubstInFile(p["name"]+".pc", "xmms2.pc.in", SUBST_DICT=d)
        base_env.Install("$PKGCONFIGDIR", p["name"]+".pc")



  Leonard

Attachment: pgp66QWqSIRgB.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index