summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-13 01:42:45 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-13 01:42:45 +0100
commit150fffb6b2b9e7f37a6bf0c3a52dca5f383afefd (patch)
tree28db439a4c006eded66393112826cfd876b93134 /media-libs/libsmf
parentapp-shells/sash: port to EAPI 7 (diff)
downloadgentoo-150fffb6b2b9e7f37a6bf0c3a52dca5f383afefd.tar.gz
gentoo-150fffb6b2b9e7f37a6bf0c3a52dca5f383afefd.tar.bz2
gentoo-150fffb6b2b9e7f37a6bf0c3a52dca5f383afefd.zip
media-libs/libsmf: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libsmf')
-rw-r--r--media-libs/libsmf/libsmf-1.3.ebuild38
1 files changed, 20 insertions, 18 deletions
diff --git a/media-libs/libsmf/libsmf-1.3.ebuild b/media-libs/libsmf/libsmf-1.3.ebuild
index e737d43b4406..374d68ee1085 100644
--- a/media-libs/libsmf/libsmf-1.3.ebuild
+++ b/media-libs/libsmf/libsmf-1.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit autotools-utils
+inherit autotools
DESCRIPTION="Standard MIDI File format library"
HOMEPAGE="http://libsmf.sourceforge.net/api/"
@@ -12,32 +12,34 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
-IUSE="doc readline static-libs"
+IUSE="doc readline"
-RDEPEND=">=dev-libs/glib-2.2:2
- readline? ( sys-libs/readline )"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- virtual/pkgconfig"
-
-DOCS=( NEWS TODO )
+RDEPEND="
+ dev-libs/glib:2
+ readline? ( sys-libs/readline:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
src_configure() {
- local myeconfargs=(
+ econf \
+ --disable-static \
$(use_with readline)
- )
- autotools-utils_src_configure
}
src_compile() {
- autotools-utils_src_compile
+ default
- if use doc ; then
+ if use doc; then
doxygen doxygen.cfg || die
fi
}
src_install() {
- autotools-utils_src_install
- use doc && dohtml -r api
+ use doc && local HTML_DOCS=( api )
+ default
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
}