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" |
| 4 | LICENSE = "GPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
| 7 | DEPENDS = " \ |
| 8 | python3-distutils-extra-native \ |
| 9 | intltool-native \ |
| 10 | " |
| 11 | |
| 12 | inherit setuptools3 gtk-icon-cache features_check |
| 13 | |
| 14 | REQUIRED_DISTRO_FEATURES = "x11" |
| 15 | |
| 16 | SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master" |
| 17 | SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a" |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | do_compile[noexec] = "1" |
| 21 | |
| 22 | do_install:append() { |
| 23 | sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop |
| 24 | sed -i 's:share/share:share:g' ${D}${PYTHON_SITEPACKAGES_DIR}/menulibre_lib/menulibreconfig.py |
| 25 | } |
| 26 | |
| 27 | FILES:${PN} += " \ |
| 28 | ${datadir}/applications \ |
| 29 | ${datadir}/metainfo \ |
| 30 | ${datadir}/icons \ |
| 31 | " |
| 32 | |
| 33 | RDEPENDS:${PN} += " \ |
| 34 | gtk+3 \ |
| 35 | gtksourceview3 \ |
| 36 | python3-pygobject \ |
| 37 | gnome-menus \ |
| 38 | python3-unixadmin \ |
| 39 | python3-psutil \ |
| 40 | " |