Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "Library for file management" |
| 2 | HOMEPAGE = "http://pcmanfm.sourceforge.net/" |
| 3 | |
| 4 | LICENSE = "GPLv2+ & LGPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \ |
| 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 | |
| 11 | SECTION = "x11/libs" |
| 12 | DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra gettext-native" |
| 13 | |
| 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz" |
| 15 | |
| 16 | SRC_URI[md5sum] = "74997d75e7e87dc73398746fd373bf52" |
| 17 | SRC_URI[sha256sum] = "7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f" |
| 18 | |
| 19 | inherit autotools pkgconfig gtk-doc distro_features_check |
| 20 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" |
| 21 | |
| 22 | do_configure[dirs] =+ "${S}/m4" |
| 23 | |
| 24 | PACKAGES += "${PN}-mime" |
| 25 | FILES_${PN}-mime = "${datadir}/mime/" |
| 26 | |
| 27 | do_install_append () { |
| 28 | # remove files which are part of libfm-extra |
| 29 | rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h |
| 30 | rm -f ${D}${includedir}/libfm-1.0/fm-version.h |
| 31 | rm -f ${D}${includedir}/libfm-1.0/fm-extra.h |
| 32 | rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc |
| 33 | rm -f ${D}${libdir}/libfm-extra.so* |
| 34 | rm -f ${D}${libdir}/libfm-extra.a |
| 35 | rm -f ${D}${libdir}/libfm-extra.la |
| 36 | } |