diff options
author | David Seifert <soap@gentoo.org> | 2018-04-18 20:46:52 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-04-18 20:49:58 +0200 |
commit | d59dbc37699553d61f692815a88bde6182910005 (patch) | |
tree | 88d8a97fb801bbc626ef0e3ee8de1397b82e10d4 /media-libs/libnjb | |
parent | sci-libs/suitesparseconfig: Remove old (diff) | |
download | gentoo-d59dbc37699553d61f692815a88bde6182910005.tar.gz gentoo-d59dbc37699553d61f692815a88bde6182910005.tar.bz2 gentoo-d59dbc37699553d61f692815a88bde6182910005.zip |
media-libs/libnjb: Port to EAPI 6
Package-Manager: Portage-2.3.30, Repoman-2.3.9
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r-- | media-libs/libnjb/files/libnjb-2.2.7-exclude-samples.patch | 11 | ||||
-rw-r--r-- | media-libs/libnjb/libnjb-2.2.7.ebuild | 17 |
2 files changed, 19 insertions, 9 deletions
diff --git a/media-libs/libnjb/files/libnjb-2.2.7-exclude-samples.patch b/media-libs/libnjb/files/libnjb-2.2.7-exclude-samples.patch new file mode 100644 index 000000000000..f241338c2123 --- /dev/null +++ b/media-libs/libnjb/files/libnjb-2.2.7-exclude-samples.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -249,7 +249,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = src sample doc ++SUBDIRS = src doc + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libnjb.pc + EXTRA_DIST = libnjb.pc \ diff --git a/media-libs/libnjb/libnjb-2.2.7.ebuild b/media-libs/libnjb/libnjb-2.2.7.ebuild index e1285c049c4b..65abd5706074 100644 --- a/media-libs/libnjb/libnjb-2.2.7.ebuild +++ b/media-libs/libnjb/libnjb-2.2.7.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit libtool multilib udev +EAPI=6 -DESCRIPTION="a C library and API for communicating with the Creative Nomad JukeBox digital audio player" +inherit libtool udev + +DESCRIPTION="Library for communicating with the Creative Nomad JukeBox digital audio player" HOMEPAGE="http://libnjb.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -17,13 +18,10 @@ RDEPEND="virtual/libusb:0" DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" -DOCS="AUTHORS ChangeLog* FAQ HACKING README" +PATCHES=( "${FILESDIR}"/${P}-exclude-samples.patch ) src_prepare() { - sed -i \ - -e 's:SUBDIRS = src sample doc:SUBDIRS = src doc:' \ - Makefile.in || die - + default elibtoolize } @@ -39,5 +37,6 @@ src_install() { udev_newrules "${FILESDIR}"/${PN}.rules 80-${PN}.rules - find "${ED}" -name '*.la' -exec rm -f {} + + # package provides .pc files + find "${D}" -name '*.la' -delete || die } |