libopenmpt: Remove unnecessary python code block

This code block used to be necessary when both SDL1 and SDL2 were
supported. Nowadays, libopenmpt only supports SDL2, so drop this.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Carlos Rafael Giani 2022-03-30 21:11:13 +02:00 committed by Khem Raj
parent 6eb78d932f
commit 78e31790e2

View File

@ -64,12 +64,6 @@ do_install_ptest() {
install -m 0644 ${S}/libopenmpt/libopenmpt_version.mk ${D}${PTEST_PATH}/libopenmpt
}
python __anonymous() {
packageconfig = (d.getVar("PACKAGECONFIG") or "").split()
if ("sdl" in packageconfig) and ("sdl2" in packageconfig):
bb.error("sdl and sdl2 packageconfigs cannot be both enabled")
}
PACKAGES =+ "${PN}-openmpt123 ${PN}-openmpt123-doc"
FILES:${PN}-openmpt123 = "${bindir}/openmpt123"
FILES:${PN}-openmpt123-doc = "${mandir}/man1/openmpt123*"