blob: 7491b509cc847de52b27be1a9eb327ca67d7683b [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001DESCRIPTION = "An advanced menu editor"
2HOMEPAGE = "https://bluesabre.org/menulibre/"
3SECTION = "x11/graphics"
4LICENSE = "GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = " \
8 python3-distutils-extra-native \
9 intltool-native \
10"
11
12inherit setuptools3_legacy gtk-icon-cache features_check
13REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
14
15SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
16SRCREV = "94bef4060714fa65c7246c25b87410b52a149f94"
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"