Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Portable C library for multiline text editing" |
| 2 | HOMEPAGE = "http://projects.gnome.org/gtksourceview/" |
| 3 | |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | DEPENDS = "gtk+ libxml2 intltool-native gnome-common-native glib-2.0-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | |
| 9 | PNAME = "gtksourceview" |
| 10 | |
| 11 | S = "${WORKDIR}/${PNAME}-${PV}" |
| 12 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 13 | inherit gnomebase lib_package gettext distro_features_check |
| 14 | |
| 15 | REQUIRED_DISTRO_FEATURES = "x11" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | |
| 17 | # overrule SRC_URI from gnome.conf |
| 18 | SRC_URI = "${GNOME_MIRROR}/${PNAME}/${@gnome_verdir("${PV}")}/${PNAME}-${PV}.tar.bz2;name=archive \ |
| 19 | file://gtk-doc.make \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 20 | file://suppress-string-format-literal-warning.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | file://0001-test-widget.c-fix-non-literal-format-string-issues.patch \ |
| 22 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | SRC_URI[archive.md5sum] = "1219ad1694df136f126507466aeb41aa" |
| 24 | SRC_URI[archive.sha256sum] = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e" |
| 25 | |
| 26 | do_configure_prepend() { |
| 27 | cp ${WORKDIR}/gtk-doc.make ${S}/ |
| 28 | sed -i -e s:docs::g ${S}/Makefile.am |
| 29 | echo "EXTRA_DIST = version.xml" > gnome-doc-utils.make |
| 30 | } |
| 31 | |
| 32 | FILES_${PN} += " ${datadir}/gtksourceview-2.0" |