PKGNAME=deadbeef
PKGSEC=sound
PKGDEP="gtk-3 alsa-lib hicolor-icon-theme desktop-file-utils libsamplerate \
        libvorbis libmad jansson flac curl imlib2 wavpack libsndfile faad2 \
        dbus pulseaudio libzip ffmpeg libcddb libcdio zip yasm libdispatch"
BUILDDEP="intltool llvm"
PKGDES="GTK+ audio player with extensive plugin and extension support"

ABTYPE=autotools
AUTOTOOLS_AFTER=(
    "--enable-gtk3"
    "--disable-gtk2"
    "--enable-ffmpeg"
    "--enable-cdda"
    "--enable-vfs-zip"
    "--disable-libretro"
)

USECLANG=1
# FTBFS: eh_frame_hdr overflow in log2() detection
# but clang is required for deadbeef
FAIL_ARCH="loongson3"
