Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Fast lightweight tabbed filemanager" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "A free file manager application and the standard file manager of LXDE." |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 3 | HOMEPAGE = "http://pcmanfm.sourceforge.net/" |
| 4 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
| 7 | file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \ |
| 8 | file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2" |
| 9 | |
| 10 | SECTION = "x11" |
| 11 | DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native glib-2.0-native" |
| 12 | |
| 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ |
| 14 | file://gnome-fs-directory.png \ |
| 15 | file://gnome-fs-regular.png \ |
| 16 | file://gnome-mime-text-plain.png \ |
| 17 | file://emblem-symbolic-link.png \ |
| 18 | file://no-desktop.patch" |
| 19 | |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 20 | SRC_URI[sha256sum] = "14cb7b247493c4cce65fbb5902611e3ad00a7a870fbc1e50adc50428c5140cf7" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 21 | |
| 22 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/" |
| 23 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | inherit autotools pkgconfig features_check mime-xdg |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 25 | |
| 26 | # The startup-notification requires x11 in DISTRO_FEATURES |
| 27 | REQUIRED_DISTRO_FEATURES = "x11" |
| 28 | |
| 29 | EXTRA_OECONF = "--with-gtk=3" |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | do_install:append () { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 32 | install -d ${D}/${datadir} |
| 33 | install -d ${D}/${datadir}/pixmaps/ |
| 34 | |
| 35 | install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps |
| 36 | } |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | FILES:${PN} += "${libdir}/pcmanfm" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 39 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 40 | RRECOMMENDS:${PN} += "adwaita-icon-theme" |