mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
The 2.x branch of dnfdragora is in maintenance mode. Official support to build
with CMake 4+ is only available in preview versions of v3 (named 2.99.x, see
[0]) which are only compatible with dnf v5. Thus, apply the 'minimum policy
version' override.
[0]: 0b84709de2
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
1.3 KiB
BlitzBasic
32 lines
1.3 KiB
BlitzBasic
SUMMARY = "dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code."
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \
|
|
"
|
|
|
|
SRC_URI = "git://github.com/manatools/dnfdragora.git;branch=stable-2.x;protocol=https \
|
|
file://0001-disable-build-manpages.patch \
|
|
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
|
|
file://0001-To-fix-error-when-do_package.patch \
|
|
"
|
|
|
|
SRCREV = "abbe08b7a487325182758d5285b54437a914207b"
|
|
|
|
|
|
inherit cmake gettext pkgconfig python3-dir python3native setuptools3-base mime-xdg
|
|
|
|
DEPENDS += "dnf python3 "
|
|
#DEPENDS:class-nativesdk += "nativesdk-python3"
|
|
|
|
RDEPENDS:${PN}:class-target = " python3-core libyui libyui-ncurses "
|
|
|
|
# manpages generation requires http://www.sphinx-doc.org/
|
|
EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
|
-DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|
|
|
|
FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/ ${datadir}/ ${bindir}/ ${sysconfdir}/dnfdragora ${sysconfdir}/xdg"
|
|
|
|
SKIP_RECIPE[dnfdragora] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
|
|
|