diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-07-13 17:44:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 12:12:22 +0100 |
commit | 94317f52cec76eeec6dcf885cd1e83dc37f40614 (patch) | |
tree | d32d5320863d6e26dddf022a2022c627692ad09a /meta/recipes-support/source-highlight/source-highlight_3.1.8.bb | |
parent | 8c46605d16a5ace05dfe5d165563a44b2f03c957 (diff) | |
download | poky-94317f52cec76eeec6dcf885cd1e83dc37f40614.tar.gz |
source-highlight: add a recipe
gtk-doc relies on this to highlight source code snippets
(From OE-Core rev: 380f449bc1881a6e8592463c7eeda3655efb97ea)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/source-highlight/source-highlight_3.1.8.bb')
-rw-r--r-- | meta/recipes-support/source-highlight/source-highlight_3.1.8.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb b/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb new file mode 100644 index 0000000000..37d2fa95f3 --- /dev/null +++ b/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Syntax highlight utility" | ||
2 | DESCRIPTION = "Source-highlight converts source code to formatted text with syntax highlighting." | ||
3 | HOMEPAGE = "https://www.gnu.org/software/src-highlite/" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb" | ||
6 | |||
7 | SRC_URI = "${GNU_MIRROR}/src-highlite/${BPN}-${PV}.tar.gz \ | ||
8 | file://0001-source-highlight.pc.in-do-not-add-Boost-s-libraries-.patch" | ||
9 | SRC_URI[md5sum] = "3243470706ef5fefdc3e43b5306a4e41" | ||
10 | SRC_URI[sha256sum] = "01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | DEPENDS_append = " boost" | ||
15 | |||
16 | DEPENDS_append_class-target = " source-highlight-native" | ||
17 | |||
18 | EXTRA_OECONF = "--with-boost=${PKG_CONFIG_SYSROOT_DIR}/${prefix}" | ||
19 | |||
20 | BBCLASSEXTEND = "native" | ||
21 | |||
22 | # source-highlight is using its own binary from the build tree to make documentation | ||
23 | # let's substitute the native binary instead | ||
24 | do_configure_prepend_class-target () { | ||
25 | sed -i -e 's,^SRCHILITEEXE = $(top_builddir).*,SRCHILITEEXE = source-highlight,' ${S}/doc/Makefile.am | ||
26 | } | ||
27 | |||
28 | RDEPENDS_source-highlight += "bash" | ||