Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | SUMMARY = "Catfish is a handy file searching tool for linux and unix" |
| 2 | SECTION = "x11/application" |
| 3 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" |
| 5 | |
| 6 | inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg features_check |
| 7 | |
| 8 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
| 9 | |
| 10 | DEPENDS += "python3-distutils-extra-native" |
| 11 | |
| 12 | SRC_URI[sha256sum] = "fdae9b73cc754a50716bb04b958aa31dbd7e94047068b7207f2ae313a7d58b99" |
| 13 | |
| 14 | FILES:${PN} += "${datadir}/metainfo" |
| 15 | |
| 16 | RDEPENDS:${PN} += "python3-pygobject python3-dbus" |
| 17 | |
| 18 | do_install:append() { |
| 19 | # |
| 20 | # Until catfish upstream figures out a way to overcome this buildpath issue, we need to do such adjustments here. |
| 21 | # |
| 22 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${datadir}/applications/org.xfce.Catfish.desktop |
| 23 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/catfishconfig.py |
| 24 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/__pycache__/catfishconfig.*.pyc |
| 25 | } |