mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
44 lines
773 B
Bash
44 lines
773 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Standard MIDI File format library"
|
|
HOMEPAGE="https://libsmf.sourceforge.net/api/"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ppc ppc64 x86"
|
|
IUSE="doc readline"
|
|
|
|
RDEPEND="
|
|
dev-libs/glib:2
|
|
readline? ( sys-libs/readline:= )"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
doc? ( app-text/doxygen )"
|
|
|
|
src_configure() {
|
|
econf \
|
|
--disable-static \
|
|
$(use_with readline)
|
|
}
|
|
|
|
src_compile() {
|
|
default
|
|
|
|
if use doc; then
|
|
doxygen doxygen.cfg || die
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
use doc && local HTML_DOCS=( api )
|
|
default
|
|
|
|
# no static archives
|
|
find "${D}" -name '*.la' -delete || die
|
|
}
|