Patrick Williams | c124f4f | 2015-09-15 14:41:29 -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=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 | |
| 11 | SECTION = "x11/libs" |
| 12 | DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra" |
| 13 | |
| 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz" |
| 15 | |
| 16 | SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd" |
| 17 | SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9" |
| 18 | |
| 19 | PR = "r1" |
| 20 | |
| 21 | inherit autotools pkgconfig gtk-doc |
| 22 | |
| 23 | do_configure[dirs] =+ "${S}/m4" |
| 24 | |
| 25 | PACKAGES += "${PN}-mime" |
| 26 | FILES_${PN}-mime = "${datadir}/mime/" |
| 27 | FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug" |
| 28 | |
| 29 | do_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 | } |