blob: b0e4784fe211c15708ad51ebd97062c8fbd3671a [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DESCRIPTION = "An advanced menu editor"
2HOMEPAGE = "https://launchpad.net/menulibre"
3SECTION = "x11/graphics"
4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7DEPENDS = " \
8 python3-distutils-extra-native \
9 intltool-native \
10"
11
12inherit distutils3 gtk-icon-cache distro_features_check
13
14REQUIRED_DISTRO_FEATURES = "x11"
15
16SRC_URI = "https://launchpad.net/menulibre/2.2/${PV}/+download/${PN}-${PV}.tar.gz"
17SRC_URI[md5sum] = "9690848dbf9196c3f7baa574e90378d8"
18SRC_URI[sha256sum] = "546fec87f451c8f5c220d02b1f36dd850f4ce9ab607f8e9711ed8f2009e349fe"
19
20do_compile() {
21}
22
23do_install_append() {
24 sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
25 sed -i 's:share/share:share:g' ${D}${PYTHON_SITEPACKAGES_DIR}/menulibre_lib/menulibreconfig.py
26}
27
28FILES_${PN} += " \
29 ${datadir}/applications \
30 ${datadir}/menulibre \
31 ${datadir}/icons \
32"
33
34RDEPENDS_${PN} += " \
35 gtk+3 \
36 gtksourceview3 \
37 python3-pygobject \
38 gnome-menus3 \
39 python3-unixadmin \
40 python3-psutil \
41"