Skip to contentSkip to conversation

heaptrack: add bitbake recipe

PATCH Superseded Sinan Kaya 2 participants 2 messages Nov 21, 2020

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Sinan Kaya

author
#0 lore raw

PATCH v3 1/1 heaptrack: add bitbake recipe

Add this useful tool to the devtools list.

---
 .../heaptrack/heaptrack_git.bb                 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb
meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb new file +18 -0
new file mode 100644
index 0000000000..efee3bbec4
@@ -0,0 +1,18 @@
+DESCRIPTION = "Heaptrack"
+HOMEPAGE = "https://phabricator.kde.org/source/heaptrack/"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "zlib boost libunwind elfutils"
+
+SRC_URI = "git://github.com/KDE/heaptrack.git;protocol=https"
+
+SRCREV = "f8d9e665196614b606eaab9c6fc81d65a88a2af1"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE += " -DHEAPTRACK_BUILD_GUI=OFF"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 13 lines · Sinan Kaya
---
  .../heaptrack/heaptrack_git.bb                 | 18 ++++++++++++++++++
  1 file changed, 18 insertions(+)

create mode 100644 meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb

meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb new file +0 -0
new file mode 100644
index 0000000000..efee3bbec4

meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb line 10

Quoted 10 lines
meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb new file +10 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Heaptrack"
+HOMEPAGE = "https://phabricator.kde.org/source/heaptrack/"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "zlib boost libunwind elfutils"
+
+SRC_URI = "git://github.com/KDE/heaptrack.git;protocol=https"
+
+SRCREV = "f8d9e665196614b606eaab9c6fc81d65a88a2af1"

Why this very outdated version?
Latest tag (1.2.0) points to https://github.com/KDE/heaptrack/commit/bc9e3744bcc47de978673d1e382f4125a1ab5fa8

meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb line 16

Quoted 6 lines
meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb new file +6 -0
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE += " -DHEAPTRACK_BUILD_GUI=OFF"

the leading space is not needed IMO

Quoted 7 lines
meta-oe/recipes-devtools/heaptrack/heaptrack_git.bb new file +2 -0
+
+BBCLASSEXTEND = "native nativesdk"