blob: 65aa7a53e271c024fc756003f796c8653af20e5c [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001DESCRIPTION = "An advanced menu editor"
2HOMEPAGE = "https://bluesabre.org/menulibre/"
3SECTION = "x11/graphics"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00005LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = " \
8 python3-distutils-extra-native \
9 intltool-native \
10"
11
Andrew Geissler9aee5002022-03-30 16:27:02 +000012inherit setuptools3_legacy gtk-icon-cache features_check
Andrew Geissler595f6302022-01-24 19:11:47 +000013REQUIRED_DISTRO_FEATURES = "x11"
14
15SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
16SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a"
17S = "${WORKDIR}/git"
18
19do_compile[noexec] = "1"
20
21do_install:append() {
22 sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
23 sed -i 's:share/share:share:g' ${D}${PYTHON_SITEPACKAGES_DIR}/menulibre_lib/menulibreconfig.py
24}
25
26FILES:${PN} += " \
27 ${datadir}/applications \
28 ${datadir}/metainfo \
29 ${datadir}/icons \
30"
31
32RDEPENDS:${PN} += " \
33 gtk+3 \
34 gtksourceview3 \
35 python3-pygobject \
36 gnome-menus \
37 python3-unixadmin \
38 python3-psutil \
39"