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 05:18:59PM +0000, Leonard Schmidt wrote:
> > 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")

Ok. The installed files should have the -Wl,-R in them, though,
so the easiest way is probably to set PKGCONFIG_OVERRIDE_STAGE
to post-build (and list the .pc files in the PKGCONFIG_OVERRIDE
variable).
 Thomas


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index