blob: e9ff6569c07343c27a0ac9c1d1585da49c5bfbf5 [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"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050012DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra gettext-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
14SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
15
16SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd"
17SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9"
18
19PR = "r1"
20
Patrick Williamsf1e5d692016-03-30 15:21:19 -050021inherit autotools pkgconfig gtk-doc distro_features_check
22ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
24do_configure[dirs] =+ "${S}/m4"
25
26PACKAGES += "${PN}-mime"
27FILES_${PN}-mime = "${datadir}/mime/"
28FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug"
29
30do_install_append () {
31 # remove files which are part of libfm-extra
32 rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h
33 rm -f ${D}${includedir}/libfm-1.0/fm-version.h
34 rm -f ${D}${includedir}/libfm-1.0/fm-extra.h
35 rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc
36 rm -f ${D}${libdir}/libfm-extra.so*
37 rm -f ${D}${libdir}/libfm-extra.a
38 rm -f ${D}${libdir}/libfm-extra.la
39}