blob: 629502f68fafacaebc80c0a05c215b60c77b0e89 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Library for file management"
2HOMEPAGE = "http://pcmanfm.sourceforge.net/"
3
4LICENSE = "GPLv2+ & LGPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
6 file://src/fm.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007 \
7 file://src/base/fm-config.h;beginline=10;endline=23;md5=ef1f84da64b3c01cca447212f7ef6007 \
8 file://src/fm-gtk.h;beginline=6;endline=19;md5=646baa4955c04fe768f2ca27b92ac8dd"
9
10
11SECTION = "x11/libs"
12DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra"
13
14SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
15
16SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd"
17SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9"
18
19PR = "r1"
20
21inherit autotools pkgconfig gtk-doc
22
23do_configure[dirs] =+ "${S}/m4"
24
25PACKAGES += "${PN}-mime"
26FILES_${PN}-mime = "${datadir}/mime/"
27FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug"
28
29do_install_append () {
30 # remove files which are part of libfm-extra
31 rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h
32 rm -f ${D}${includedir}/libfm-1.0/fm-version.h
33 rm -f ${D}${includedir}/libfm-1.0/fm-extra.h
34 rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc
35 rm -f ${D}${libdir}/libfm-extra.so*
36 rm -f ${D}${libdir}/libfm-extra.a
37 rm -f ${D}${libdir}/libfm-extra.la
38}