<commit_before>DESCRIPTION = "ALSA Utilities"
HOMEPAGE = "http://www.alsa-project.org"
SECTION = "console/utils"
LICENSE = "GPLv2"
DEPENDS = "alsa-lib ncurses"
PR = "r3"

SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
	   file://alsa-utils-remove-xmlto-1.0.19plus.patch \
	  "

inherit gettext autotools

# This are all packages that we need to make. Also, the now empty alsa-utils
# ipk depend on them.


do_configure_append() {
	for i in $(find ${S} -name Makefile) ; do
		sed -i -e s:/usr/include/ncurses:${STAGING_INCDIR}/ncurses:g $i
		sed -i -e 's:-L/usr/lib -lncurses:-L${STAGING_LIBDIR} -lncurses:g' $i
	done
}

PACKAGES += "\
             alsa-utils-alsamixer \
             alsa-utils-midi \
             alsa-utils-aplay \
             alsa-utils-amixer \
             alsa-utils-aconnect \
             alsa-utils-iecset \
             alsa-utils-speakertest \<commit_msg>alsa-utils_1.0.20.bb: Use --with-alsa-prefix and --with-alsa-inc-prefix<commit_after>DESCRIPTION = "ALSA Utilities"
HOMEPAGE = "http://www.alsa-project.org"
SECTION = "console/utils"
LICENSE = "GPLv2"
DEPENDS = "alsa-lib ncurses"
PR = "r4"

SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
	   file://alsa-utils-remove-xmlto-1.0.19plus.patch \
	  "

inherit gettext autotools

EXTRA_OECONF += " --with-alsa-prefix=${STAGING_LIBDIR} --with-alsa-inc-prefix=${STAGING_INCDIR}"

# This are all packages that we need to make. Also, the now empty alsa-utils
# ipk depend on them.

PACKAGES += "\
             alsa-utils-alsamixer \
             alsa-utils-midi \
             alsa-utils-aplay \
             alsa-utils-amixer \
             alsa-utils-aconnect \
             alsa-utils-iecset \
             alsa-utils-speakertest \
{'fraction_non_alphanumeric': 0.14674220963172804, 'fraction_numerical': 0.010198300283286119, 'mean_word_length': 2.351043643263757, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2343316', 'n_tokens_mistral': 699, 'n_tokens_neox': 656, 'n_words': 121}