blob: 249c8e1bd86e1d6b802d89d59b359f468f5f1dcb [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
Patrick Williamse760df82023-05-26 11:10:49 -05006inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg features_check
7
8REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
Andrew Geissler595f6302022-01-24 19:11:47 +00009
10DEPENDS += "python3-distutils-extra-native"
11
12SRC_URI[sha256sum] = "e9a99a62d10981391508dd43f3cbfa2d50a69bd6b7d1eeef7d30ba4c673dcfda"
13
14FILES:${PN} += "${datadir}/metainfo"
15
16RDEPENDS:${PN} += "python3-pygobject python3-dbus"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050017
18do_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}