blob: 8196e6c17078d82dd02f8e00f1b532caadc92aab [file] [log] [blame]
DESCRIPTION = "An advanced menu editor"
HOMEPAGE = "https://launchpad.net/menulibre"
SECTION = "x11/graphics"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = " \
python3-distutils-extra-native \
intltool-native \
"
inherit distutils3 gtk-icon-cache distro_features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "https://launchpad.net/menulibre/2.2/${PV}/+download/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "8460ea844a5998c5f722bccb5ce8627a"
SRC_URI[sha256sum] = "5b3ef8e6073d584f6accf282fa1eb649185ee42eb22fab70231491c7377d7e8f"
do_compile() {
}
do_install_append() {
sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
sed -i 's:share/share:share:g' ${D}${PYTHON_SITEPACKAGES_DIR}/menulibre_lib/menulibreconfig.py
}
FILES_${PN} += " \
${datadir}/applications \
${datadir}/menulibre \
${datadir}/icons \
"
RDEPENDS_${PN} += " \
gtk+3 \
gtksourceview3 \
python3-pygobject \
gnome-menus3 \
python3-unixadmin \
python3-psutil \
"