diff options
Diffstat (limited to 'meta/recipes-support/libfm/libfm_1.2.3.bb')
-rw-r--r-- | meta/recipes-support/libfm/libfm_1.2.3.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-support/libfm/libfm_1.2.3.bb b/meta/recipes-support/libfm/libfm_1.2.3.bb new file mode 100644 index 0000000000..856364a60a --- /dev/null +++ b/meta/recipes-support/libfm/libfm_1.2.3.bb | |||
@@ -0,0 +1,36 @@ | |||
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 | inherit autotools-brokensep pkgconfig gtk-doc | ||
20 | |||
21 | do_configure[dirs] =+ "${S}/m4" | ||
22 | |||
23 | PACKAGES += "${PN}-mime" | ||
24 | FILES_${PN}-mime = "${datadir}/mime/" | ||
25 | FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug" | ||
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 | } | ||