mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison. Before the patch: $ devtool latest-version menulibre INFO: Current version: 2.4.0 INFO: Latest version: After the patch: $ devtool latest-version menulibre INFO: Current version: 2.4.0 INFO: Latest version: 2.4.0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
42 lines
1.2 KiB
BlitzBasic
42 lines
1.2 KiB
BlitzBasic
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"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/bluesabre/menulibre/releases"
|
|
UPSTREAM_CHECK_REGEX = "releases/tag/menulibre-(?P<pver>\d+(\.\d+)+)"
|
|
|
|
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 \
|
|
"
|