From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/setmixer/
Date: Thu, 17 Oct 2019 22:38:26 +0000 (UTC) [thread overview]
Message-ID: <1571351864.27557e1444ff3696e88780eafbc9df8b3cc557b7.soap@gentoo> (raw)
commit: 27557e1444ff3696e88780eafbc9df8b3cc557b7
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 22:37:44 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 22:37:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27557e14
media-sound/setmixer: 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/setmixer/setmixer-19941227_p1.ebuild | 28 +++++++++++++-----------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/media-sound/setmixer/setmixer-19941227_p1.ebuild b/media-sound/setmixer/setmixer-19941227_p1.ebuild
index 1ae45173a46..5a6817684f7 100644
--- a/media-sound/setmixer/setmixer-19941227_p1.ebuild
+++ b/media-sound/setmixer/setmixer-19941227_p1.ebuild
@@ -1,40 +1,42 @@
-# 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 eutils toolchain-funcs
+inherit toolchain-funcs
MY_PV="27DEC94ds1"
DEB_REV="1"
DESCRIPTION="A commandline mixer"
-HOMEPAGE="http://packages.debian.org/unstable/sound/setmixer"
-SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${MY_PV}.orig.tar.gz
+HOMEPAGE="https://packages.debian.org/unstable/sound/setmixer"
+SRC_URI="
+ mirror://debian/pool/main/s/${PN}/${PN}_${MY_PV}.orig.tar.gz
mirror://debian/pool/main/s/${PN}/${PN}_${MY_PV}-${DEB_REV}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
-IUSE=""
-S=${WORKDIR}/${PN}-${MY_PV}.orig
+S="${WORKDIR}/${PN}-${MY_PV}.orig"
-src_unpack() {
- unpack ${A}
- epatch "${DISTDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff.gz
-}
+PATCHES=( "${WORKDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff )
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" setmixer || die "emake failed."
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" setmixer
}
src_install() {
dobin setmixer
+
dodoc README setmixer.lsm
doman setmixer.1
+
insinto /etc
doins debian/setmixer.conf
+
newinitd "${FILESDIR}"/setmixer.rc setmixer
}
reply other threads:[~2019-10-17 22:38 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=1571351864.27557e1444ff3696e88780eafbc9df8b3cc557b7.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