diff options
Diffstat (limited to 'meta-oe/recipes-extended/subsurface/subsurface_git.bb')
-rw-r--r-- | meta-oe/recipes-extended/subsurface/subsurface_git.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/subsurface/subsurface_git.bb b/meta-oe/recipes-extended/subsurface/subsurface_git.bb new file mode 100644 index 0000000000..b1a7e3ee19 --- /dev/null +++ b/meta-oe/recipes-extended/subsurface/subsurface_git.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Subsurface is an open source dive log program." +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "libdivecomputer gtk+ libxml2 glib-2.0" + +inherit gtk-icon-cache + +PV = "1.0" +SRCREV = "f2c61aefa762ce2ef7dea61886afeb23b0fe5eff" +SRC_URI = "git://subsurface.hohndel.org/subsurface.git" +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "CC='${CC}' \ + libdc-usr=${STAGING_INCDIR}/libdivecomputer/* \ + LIBDIVECOMPUTERINCLUDES=${STAGING_INCDIR}/libdivecomputer \ + LIBDIVECOMPUTERARCHIVE=${STAGING_LIBDIR}/libdivecomputer.a \ + " + +do_install() { + install -d ${D}${datadir}/man/man1 + oe_runmake install prefix=${D}${prefix} + rm ${D}${datadir}/icons/hicolor/icon-theme.cache +} + +FILES_${PN} += "${datadir}/icons/hicolor/scalable/apps/subsurface.svg" +RRECOMMENDS_${PN}_append_libc-glibc = " eglibc-gconv-iso8859-15" + |