Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Fast lightweight tabbed filemanager" |
| 2 | HOMEPAGE = "http://pcmanfm.sourceforge.net/" |
| 3 | |
| 4 | LICENSE = "GPLv2 & GPLv2+ & LGPLv2.1+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
| 6 | file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \ |
| 7 | file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2" |
| 8 | |
| 9 | SECTION = "x11" |
| 10 | DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native glib-2.0-native" |
| 11 | |
| 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ |
| 13 | file://gnome-fs-directory.png \ |
| 14 | file://gnome-fs-regular.png \ |
| 15 | file://gnome-mime-text-plain.png \ |
| 16 | file://emblem-symbolic-link.png \ |
| 17 | file://no-desktop.patch" |
| 18 | |
| 19 | SRC_URI[md5sum] = "d32ad2c9c7c52bff2004bbc120b53420" |
| 20 | SRC_URI[sha256sum] = "6804043b3ee3a703edde41c724946174b505fe958703eadbd7e0876ece836855" |
| 21 | |
| 22 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/" |
| 23 | |
| 24 | inherit autotools pkgconfig distro_features_check |
| 25 | |
| 26 | # The startup-notification requires x11 in DISTRO_FEATURES |
| 27 | REQUIRED_DISTRO_FEATURES = "x11" |
| 28 | |
| 29 | EXTRA_OECONF = "--with-gtk=3" |
| 30 | |
| 31 | do_install_append () { |
| 32 | install -d ${D}/${datadir} |
| 33 | install -d ${D}/${datadir}/pixmaps/ |
| 34 | |
| 35 | install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps |
| 36 | } |
| 37 | |
| 38 | FILES_${PN} += "${libdir}/pcmanfm" |
| 39 | |
| 40 | RRECOMMENDS_${PN} += "adwaita-icon-theme" |