>-----Original Message-----
>From: Dmytriyenko, Denys
>Sent: Tuesday, January 28, 2020 5:46 PM
>To: Tammana, Gowtham
>Cc: [email protected]; Pothukuchi, Vijay
>Subject: Re: [meta-arago][thud/zeus/master][PATCH] recipes-graphics: Add
>recipe for DevIL
>
>On Wed, Jan 22, 2020 at 11:36:26AM -0600, Gowtham Tammana wrote:
>> Developers Image Library (DevIL) is a cross-platfor image utility
>> library with simple syntax (openil.sourceforge.net). Adding recipe to
>> build from sources.
>
>Where is it coming from? I see there are many copies in other layers - is it
>based on something or completely done from scratch?
Do you mean the recipe, if so yes its done from scratch.
>
>> Signed-off-by: Gowtham Tammana <[email protected]>
>> ---
>> .../recipes-graphics/devil/devil_1.8.0.bb | 30 +++++++++++++++++++
>> .../devil/files/Remove-ILUT-dependency.patch | 13 ++++++++
>> 2 files changed, 43 insertions(+)
>> create mode 100644 meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb
>> create mode 100644 meta-arago-extras/recipes-graphics/devil/files/Remove-
>ILUT-dependency.patch
>>
>> diff --git a/meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb b/meta-
>arago-extras/recipes-graphics/devil/devil_1.8.0.bb
>> new file mode 100644
>> index 00000000..6ba7f34b
>> --- /dev/null
>> +++ b/meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb
>> @@ -0,0 +1,30 @@
>> +DESCRIPTION = "Developer's Image Library (DevIL) is a cross-platform image
>\
>> + library utilizing simple syntax to load, save, convert, \
>> + manipulate, filter and display a variety of images."
>
>Would also need a short SUMMARY set.
Ok, let me add include that.
>
>> +HOMEPAGE = "https://github.com/DentonW/DevIL"
>> +LICENSE = "LGPLv2"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
>> +
>> +SRC_URI = "git://github.com/dentonw/devil.git;protocol=git;branch=master \
>> + file://Remove-ILUT-dependency.patch"
>> +
>> +SRCREV = "e34284a7e07763769f671a74b4fec718174ad862"
>> +
>> +COMPATIBLE_MACHINE = "j7-evm"
>
>Is it really compatible with j7 only? Looks to me as rather generic...
Yes, it is generic but haven't had chance to test on other platform. So
included for J7 for now.
>
>> +
>> +PR = "r1"
>> +S = "${WORKDIR}/git"
>> +
>> +# Build only DevIL
>> +OECMAKE_SOURCEPATH = "${S}/DevIL"
>> +
>> +PACKAGECONFIG ??= "png"
>> +PACKAGECONFIG[png] = "-DIL_NO_PNG=0,-DIL_NO_PNG=1,libpng,"
>> +
>> +DEPENDS += "libpng"
>
>Dependency on libpng should be taken care by the PACKAGECONFIG above.
I see, will remove it.
>
>> +inherit pkgconfig cmake
>> +
>> +INSANE_SKIP_${PN} += "file-rdeps dev-so"
>> +FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
>> +FILES_SOLIBSDEV = ""
>
>Any way to package the libraries properly and not suppress QA checks?
dev-so was needed, else it would complain on the symlinks. File-rdeps I
couldn't quite resolve without suppressing them.
Thanks,
Gowtham
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago