From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libifp/
Date: Sat, 11 Aug 2018 10:35:19 +0000 (UTC) [thread overview]
Message-ID: <1533983710.22248741346b8dd75122848d41a3f17e8d5ea659.asturm@gentoo> (raw)
commit: 22248741346b8dd75122848d41a3f17e8d5ea659
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jul 28 17:51:12 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 10:35:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22248741
media-libs/libifp: EAPI7, improve ebuild
Closes: https://github.com/gentoo/gentoo/pull/9369
media-libs/libifp/libifp-1.0.0.2-r1.ebuild | 56 ++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/media-libs/libifp/libifp-1.0.0.2-r1.ebuild b/media-libs/libifp/libifp-1.0.0.2-r1.ebuild
new file mode 100644
index 00000000000..6cd97383381
--- /dev/null
+++ b/media-libs/libifp/libifp-1.0.0.2-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A general-purpose library for iRiver's iFP portable audio players"
+HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/"
+SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="doc examples static-libs"
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.3.7 )"
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \
+ -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \
+ configure || die
+}
+
+src_configure() {
+ use doc || export have_doxygen=no
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static) \
+ $(use_enable examples) \
+ --with-libusb \
+ --without-kmodule
+}
+
+src_test() { :; } # hardware dependant wrt #318597
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+
+ # clean /usr/bin after installation
+ # by moving examples to examples dir
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins "${S}"/examples/simple.c "${S}"/examples/ifpline.c
+ mv "${D}"/usr/bin/{simple,ifpline} "${D}"/usr/share/${PN}/examples || die
+ else
+ rm -f "${D}"/usr/bin/{simple,ifpline} || die
+ fi
+
+ use doc && dodoc README ChangeLog TODO
+}
next reply other threads:[~2018-08-11 10:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-11 10:35 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-11-10 21:11 [gentoo-commits] repo/gentoo:master commit in: media-libs/libifp/ Mikle Kolyada
2018-11-10 21:11 Mikle Kolyada
2023-07-07 7:31 Miroslav Šulc
2023-12-29 1:03 Sam James
2025-04-26 7:50 Arthur Zamarin
2025-04-26 13:11 Sam James
2025-04-26 18:21 Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533983710.22248741346b8dd75122848d41a3f17e8d5ea659.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox