<commit_before><commit_msg>Fusionsound-1.1.0:  Added Fusionsound 1.1.0<commit_after>DESCRIPTION = "FusionSound for DirectFB"
DEPENDS = "directfb"
SECTION = "libs"
LICENSE = "LGPL"
PR = "r0"

SRC_URI = "git://git.directfb.org/git/directfb/core/FusionSound;protocol=git;tag=0b2162b570c8314fd1240b08d6ab4a8d074ccf37 \
"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

CFLAGS_append  += " -I${STAGING_INCDIR}/directfb -I${STAGING_INCDIR}/directfb-internal"

#Below are some of the configure options
EXTRA_OECONF = " \
  		--disable-ieee-floats \
 	 	--disable-precision \
  		--enable-linear-filter \
  		--disable-dithering \
		--enable-debug \
  		--enable-examples \
  		--enable-module \
  		--disable-timidity \
  		--disable-wave \
		--enable-vorbis \
  		--enable-tremor \
  		--disable-mad \
  		--disable-cdda \
  		--disable-playlist \
		"

do_configure_append() {
    find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g'
}

do_stage() {
        autotools_stage_all
}

do_install() {
        oe_runmake 'DESTDIR=${D}' install
}

FILES_fusionsound-dbg_append = " ${libdir}/directfb-1.1-0/*/*/.debug/*.so \
                              ${libdir}/directfb-1.1-0/*/.debug/*.so \
                          "

FILES_fusionsound-dev_append = " ${libdir}/directfb-1.1-0/interfaces/*/*.la \
			         ${libdir}/directfb-1.1-0/snddrivers/*.la \
			       "

FILES_fusionsound_append = " ${libdir}/directfb-1.1-0/interfaces/*/*.so \
                             ${libdir}/directfb-1.1-0/snddrivers/*.so \
			   "


{'fraction_non_alphanumeric': 0.16807817589576549, 'fraction_numerical': 0.03322475570032573, 'mean_word_length': 2.310344827586207, 'pattern_counts': {'":': 0, '<': 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': '820303', 'n_tokens_mistral': 658, 'n_tokens_neox': 616, 'n_words': 71}