blob: 71d3ab4d2992572c050361c15d35e73e98f8af9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
DESCRIPTION = "An advanced menu editor"
HOMEPAGE = "https://bluesabre.org/menulibre/"
SECTION = "x11/graphics"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = " \
python3-distutils-extra-native \
intltool-native \
"
inherit setuptools3_legacy gtk-icon-cache features_check
REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
SRC_URI = "https://github.com/bluesabre/${BPN}/releases/download/${BP}/${BP}.tar.gz"
SRC_URI[sha256sum] = "d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f"
do_compile[noexec] = "1"
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}/metainfo \
${datadir}/icons \
"
RDEPENDS:${PN} += " \
gtk+3 \
gtksourceview3 \
python3-pygobject \
gnome-menus \
python3-unixadmin \
python3-psutil \
"
|