subsurface: inital add

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-10-15 18:40:36 +02:00
parent 3b592422e9
commit de2f5c9c87

View File

@@ -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"