Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | DESCRIPTION = "An advanced menu editor" |
| 2 | HOMEPAGE = "https://bluesabre.org/menulibre/" |
| 3 | SECTION = "x11/graphics" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-3.0-only" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
| 7 | DEPENDS = " \ |
| 8 | python3-distutils-extra-native \ |
| 9 | intltool-native \ |
| 10 | " |
| 11 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 12 | inherit setuptools3_legacy gtk-icon-cache features_check |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | REQUIRED_DISTRO_FEATURES = "x11" |
| 14 | |
| 15 | SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master" |
| 16 | SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a" |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | do_compile[noexec] = "1" |
| 20 | |
| 21 | do_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 | |
| 26 | FILES:${PN} += " \ |
| 27 | ${datadir}/applications \ |
| 28 | ${datadir}/metainfo \ |
| 29 | ${datadir}/icons \ |
| 30 | " |
| 31 | |
| 32 | RDEPENDS:${PN} += " \ |
| 33 | gtk+3 \ |
| 34 | gtksourceview3 \ |
| 35 | python3-pygobject \ |
| 36 | gnome-menus \ |
| 37 | python3-unixadmin \ |
| 38 | python3-psutil \ |
| 39 | " |