All of lore.kernel.org
 help / color / mirror / Atom feed
* packageconfig for non-autotooled project
@ 2015-09-21 14:29 Trevor Woerner
  2015-09-21 17:03   ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Trevor Woerner @ 2015-09-21 14:29 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org, yocto@yoctoproject.org

Hello,

libepoxy needs its EGL support to have a packageconfig (*.pc) file but
the EGL I want to use in my project
(meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which points to
gitsm://github.com/linux-sunxi/sunxi-mali.git) isn't autotooled. There
are a couple ways around this problem, but if there is an example of
generating a .pc file for a non-autotooled project already, I'd be
grateful if someone could point me to it :-)

Best regards,
    Trevor


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: packageconfig for non-autotooled project
@ 2015-09-22  2:04 신택현 (Taek Hyun Shin)
  2015-09-22  2:59 ` Trevor Woerner
  0 siblings, 1 reply; 8+ messages in thread
From: 신택현 (Taek Hyun Shin) @ 2015-09-22  2:04 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]

Create a sunxi-mali_git.bbappend file, to see the pc file of the MESA Project can be used to manually create a .pc file.

 

sunxi-mali_git.bbappend file

=====================================

FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

 

SRC_URI += "file://egl.pc"

 

do_install_append() {

install -d ${D}${libdir}/pkgconfig

cp ${WORKDIR}/egl.pc      ${D}${libdir}/pkgconfig

}

=====================================

 

this is my egl.pc file

====================================

prefix=/usr

exec_prefix=${prefix}

libdir=/usr/lib

includedir=/usr/include

 

Name: egl

Description: Telechips EGL library

Requires.private: 

Version: 10.1.3

Libs: -L${libdir} -lEGL -lGLESv2 -lMali -lUMP

Libs.private: 

Cflags: -I${includedir}/EGL/ -I${includedir}

====================================

 

 

 

Best regards,

Wily Taekhyun Shin

 

=============================================================================
Wily Taekhyun Shin

Research Engineer
R&D Center
Telechips Inc.
Tel : + 82-2-3443-6792(Ext.390)

Fax : + 82-2-6424-7793 

Mobile : + 82-10-4376-5530

E-mail : thshin@telechips.com <blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::blocked::mailto:ksjeon@telechips.com> 
=============================================================================



 


[-- Attachment #2: Type: text/html, Size: 7887 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-22  3:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 14:29 packageconfig for non-autotooled project Trevor Woerner
2015-09-21 17:03 ` Khem Raj
2015-09-21 17:03   ` [OE-core] " Khem Raj
2015-09-21 19:08   ` Trevor Woerner
2015-09-21 19:08     ` [OE-core] " Trevor Woerner
  -- strict thread matches above, loose matches on Subject: below --
2015-09-22  2:04 신택현 (Taek Hyun Shin)
2015-09-22  2:59 ` Trevor Woerner
2015-09-22  3:29   ` 신택현 (Taek Hyun Shin)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.