<commit_before>SUMMARY = "Software synth with a classic subtractive synthesizer topology"
HOMEPAGE = "http://amsynth.github.io/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=67b604758dd265c185ce36fcf76a889d"

inherit autotools pkgconfig gtk-icon-cache gettext pack_audio_plugins

DEPENDS += " \
    gtk+ \
    intltool-native \
"

SRC_URI = "git://github.com/amsynth/amsynth.git;branch=develop"
SRCREV = "4d980f3421f61cc8ea53e92eba5e43e823af7c02"
PV = "1.12.2"
S = "${WORKDIR}/git"

PACKAGECONFIG ??= "alsa jack lv2 nsm"

PACKAGECONFIG[oss] = "--with-oss,--without-oss"
PACKAGECONFIG[alsa] = "--with-alsa,--without-alsa,alsa-lib"
PACKAGECONFIG[dssi] = "--with-dssi,--without-dssi,dssi liblo"
PACKAGECONFIG[jack] = "--with-jack,--without-jack,jack"
PACKAGECONFIG[lv2] = "--with-lv2,--without-lv2,lv2"
PACKAGECONFIG[nsm] = "--with-nsm,--without-nsm,liblo,new-session-manager"

PACKAGES =+ "${PN}-standalone"
FILES_${PN}-standalone += " \
    ${datadir}/appdata/amsynth.appdata.xml \
    ${datadir}/applications \
    ${datadir}/icons \
    ${bindir} \
"

FILES_${PN_DSSI} += " \
    ${datadir}/appdata/dssi-amsynth-plugin.metainfo.xml \
"

FILES_${PN_LV2} += " \
    ${datadir}/appdata/lv2-amsynth-plugin.metainfo.xml \
"

FILES_${PN_VST} += " \
    ${datadir}/appdata/vst-amsynth-plugin.metainfo.xml \
"

RDEPENDS_${PN}-standalone += "${PN}"
RDEPENDS_${PN_DSSI} += "${PN}"
RDEPENDS_${PN_LV2} += "${PN}"
RDEPENDS_${PN_VST} += "${PN}"<commit_msg>amsynth: add amsynth-gui and amsynth-lv2-ttl packages<commit_after>SUMMARY = "Software synth with a classic subtractive synthesizer topology"
HOMEPAGE = "http://amsynth.github.io/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=67b604758dd265c185ce36fcf76a889d"

inherit autotools pkgconfig gtk-icon-cache gettext pack_audio_plugins

DEPENDS += " \
    intltool-native \
"

SRC_URI = "git://github.com/amsynth/amsynth.git;branch=develop"
SRCREV = "4d980f3421f61cc8ea53e92eba5e43e823af7c02"
PV = "1.12.2"
S = "${WORKDIR}/git"

PACKAGECONFIG ??= "gui alsa jack lv2 nsm"

PACKAGECONFIG[gui] = "--with-gui,--without-gui,gtk+"
PACKAGECONFIG[oss] = "--with-oss,--without-oss"
PACKAGECONFIG[alsa] = "--with-alsa,--without-alsa,alsa-lib"
PACKAGECONFIG[dssi] = "--with-dssi,--without-dssi,dssi liblo"
PACKAGECONFIG[jack] = "--with-jack,--without-jack,jack"
PACKAGECONFIG[lv2] = "--with-lv2,--without-lv2,lv2"
PACKAGECONFIG[nsm] = "--with-nsm,--without-nsm,liblo,new-session-manager"

PACKAGES =+ "${PN}-standalone ${PN_LV2}-ttl "

FILES_${PN_LV2}-ttl += " \
	${libdir}/lv2/amsynth.lv2/*.ttl \
"

FILES_${PN}-standalone += " \
    ${datadir}/appdata/amsynth.appdata.xml \
    ${datadir}/applications \
    ${datadir}/icons \
    ${bindir} \
"

FILES_${PN_DSSI} += " \
    ${datadir}/appdata/dssi-amsynth-plugin.metainfo.xml \
"

FILES_${PN_LV2} += " \
    ${datadir}/appdata/lv2-amsynth-plugin.metainfo.xml \
"

FILES_${PN_VST} += " \
    ${datadir}/appdata/vst-amsynth-plugin.metainfo.xml \
"

RDEPENDS_${PN}-standalone += "${PN}"
RDEPENDS_${PN_DSSI} += "${PN}"
RDEPENDS_${PN_LV2} += "${PN} ${PN_LV2}-ttl-files "
RDEPENDS_${PN_VST} += "${PN}"
RDEPENDS_gui += "${PN}"

RPROVIDES_${PN_LV2}-ttl += " ${PN_LV2}-ttl-files "

{'fraction_non_alphanumeric': 0.1990551181102362, 'fraction_numerical': 0.03968503937007874, 'mean_word_length': 4.494809688581315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '4914206', 'n_tokens_mistral': 1480, 'n_tokens_neox': 1399, 'n_words': 156}