<commit_before>DESCRIPTION = "Super Nintendo Emulator based on SDL, QtE Palmtop Environments Edition"
SECTION = "opie/games"
DEPENDS = "libsdl-qpe"
LICENSE = "snes9x"
PR = "r4"

SRC_URI = "http://sources.openembedded.org/snes9x-sdl-${PV}.tar.bz2 \
	   file://compile.patch"
S = "${WORKDIR}/snes9x-sdl-${PV}"

FILESPATHPKG .= ":snes9x-sdl"

inherit qmake_base palmtop-defs

QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte",d)}'

do_compile() {
	oe_runmake CC="${CC}" CCC="${CXX}" \
	           INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \
	           LDLIBS="`sdl-config --libs` -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -l${QT_LIBRARY}"
}

do_install() {
	install -d ${D}${palmtopdir}/bin/
	install -m 0755 snes9x ${D}${palmtopdir}/bin/snes9x
}<commit_msg>snes9x-sdl-qpe: use FILESEXTRAPATHS instead of FILESPATHPKG<commit_after>DESCRIPTION = "Super Nintendo Emulator based on SDL, QtE Palmtop Environments Edition"
SECTION = "opie/games"
DEPENDS = "libsdl-qpe"
LICENSE = "snes9x"
PR = "r4"

SRC_URI = "http://sources.openembedded.org/snes9x-sdl-${PV}.tar.bz2 \
	   file://compile.patch"
S = "${WORKDIR}/snes9x-sdl-${PV}"

FILESEXTRAPATHS_prepend := "${THISDIR}/snes9x-sdl:"

inherit qmake_base palmtop-defs

QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte",d)}'

do_compile() {
	oe_runmake CC="${CC}" CCC="${CXX}" \
	           INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \
	           LDLIBS="`sdl-config --libs` -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -l${QT_LIBRARY}"
}

do_install() {
	install -d ${D}${palmtopdir}/bin/
	install -m 0755 snes9x ${D}${palmtopdir}/bin/snes9x
}
{'fraction_non_alphanumeric': 0.18967517401392112, 'fraction_numerical': 0.014501160092807424, 'mean_word_length': 4.564516129032258, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '664899', 'n_tokens_mistral': 809, 'n_tokens_neox': 729, 'n_words': 117}