blob: 8fe879b8169f6e0557676dcd518697620c481304 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Catfish is a handy file searching tool for linux and unix"
2SECTION = "x11/application"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00004LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
5
Andrew Geissler9aee5002022-03-30 16:27:02 +00006inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg
Andrew Geissler595f6302022-01-24 19:11:47 +00007
8DEPENDS += "python3-distutils-extra-native"
9
10SRC_URI[sha256sum] = "e9a99a62d10981391508dd43f3cbfa2d50a69bd6b7d1eeef7d30ba4c673dcfda"
11
12FILES:${PN} += "${datadir}/metainfo"
13
14RDEPENDS:${PN} += "python3-pygobject python3-dbus"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050015
16do_install:append() {
17 #
18 # Until catfish upstream figures out a way to overcome this buildpath issue, we need to do such adjustments here.
19 #
20 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${datadir}/applications/org.xfce.Catfish.desktop
21 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/catfishconfig.py
22 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/__pycache__/catfishconfig.*.pyc
23}