From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/picoxine/
Date: Thu, 17 Oct 2019 10:11:34 +0000 (UTC) [thread overview]
Message-ID: <1571307067.ea49c678c5781196083b18a9926d05f5f340a6df.soap@gentoo> (raw)
commit: ea49c678c5781196083b18a9926d05f5f340a6df
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 10:11:07 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 10:11:07 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea49c678
media-sound/picoxine: Port to EAPI 7
Bug: https://bugs.gentoo.org/697272
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/picoxine/picoxine-0.0.7.ebuild | 35 +++++++++++++-----------------
1 file changed, 15 insertions(+), 20 deletions(-)
diff --git a/media-sound/picoxine/picoxine-0.0.7.ebuild b/media-sound/picoxine/picoxine-0.0.7.ebuild
index 32ccc01af5d..e2fc8dac198 100644
--- a/media-sound/picoxine/picoxine-0.0.7.ebuild
+++ b/media-sound/picoxine/picoxine-0.0.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Very small xine frontend for playing audio events"
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=39596"
@@ -12,32 +12,27 @@ SRC_URI="http://www.kde-apps.org/content/files/39596-${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-RDEPEND="media-libs/xine-lib"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+RDEPEND="media-libs/xine-lib:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- rm -f "${S}/${PN}"
+src_prepare() {
+ default
+ rm -f ${PN} INSTALL || die
}
-doecho() {
- echo "$@"
- "$@"
+src_configure() {
+ tc-export CC
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags libxine)
+ export LDLIBS="$($(tc-getPKG_CONFIG) --libs libxine) -lm"
}
src_compile() {
- doecho $(tc-getCC) -o ${PN} \
- ${CFLAGS} $(pkg-config --cflags libxine) ${LDFLAGS} \
- ${PN}.c -lm $(pkg-config --libs libxine) \
- || die "build failed"
+ emake ${PN}
}
src_install() {
dobin ${PN}
- dodoc AUTHORS INSTALL
+ einstalldocs
}
reply other threads:[~2019-10-17 10:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1571307067.ea49c678c5781196083b18a9926d05f5f340a6df.soap@gentoo \
--to=soap@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