All of lore.kernel.org
 help / color / mirror / Atom feed
* [thud/zeus/master][PATCH v2] recipes-graphics: Add recipe for DevIL
@ 2020-01-29 21:22 Gowtham Tammana
  2020-01-29 21:59 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Gowtham Tammana @ 2020-01-29 21:22 UTC (permalink / raw)
  To: meta-arago, Denys Dmytriyenko; +Cc: vijayp

Developers Image Library (DevIL) is a cross-platform image utility
library with simple syntax (openil.sourceforge.net). Adding recipe to
build from sources.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
---
 .../recipes-graphics/devil/devil_1.8.0.bb     | 25 +++++++++++++++++++
 .../devil/files/Remove-ILUT-dependency.patch  | 13 ++++++++++
 2 files changed, 38 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..3502ed0c
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/devil/devil_1.8.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "DevIL cross platform image utility library"
+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."
+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"
+
+PR = "r1"
+S = "${WORKDIR}/git"
+
+COMPATIBLE_MACHINE = "j7-evm"
+
+# Build only DevIL
+OECMAKE_SOURCEPATH = "${S}/DevIL"
+
+PACKAGECONFIG ??= "png"
+PACKAGECONFIG[png] = "-DIL_NO_PNG=0,-DIL_NO_PNG=1,libpng,"
+
+inherit pkgconfig cmake
diff --git a/meta-arago-extras/recipes-graphics/devil/files/Remove-ILUT-dependency.patch b/meta-arago-extras/recipes-graphics/devil/files/Remove-ILUT-dependency.patch
new file mode 100644
index 00000000..4f0f9dfa
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/devil/files/Remove-ILUT-dependency.patch
@@ -0,0 +1,13 @@
+diff --git a/DevIL/CMakeLists.txt b/DevIL/CMakeLists.txt
+index e342f93d..fae40167 100644
+--- a/DevIL/CMakeLists.txt
++++ b/DevIL/CMakeLists.txt
+@@ -6,7 +6,7 @@ set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
+ 
+ add_subdirectory(src-IL)
+ add_subdirectory(src-ILU)
+-add_subdirectory(src-ILUT)
++# add_subdirectory(src-ILUT)
+ option(IL_TESTS "build DevIL tests" ON)
+ if (IL_TESTS)
+     ENABLE_TESTING()
-- 
2.25.0



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

end of thread, other threads:[~2020-01-29 23:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 21:22 [thud/zeus/master][PATCH v2] recipes-graphics: Add recipe for DevIL Gowtham Tammana
2020-01-29 21:59 ` Denys Dmytriyenko
2020-01-29 23:34   ` Tammana, Gowtham
2020-01-29 23:39     ` Denys Dmytriyenko

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.