1 |
commit: 761586107aa2a87ea823bfb25b6dafdece5df1fe |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 3 09:47:52 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 12 15:13:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76158610 |
7 |
|
8 |
media-sound/alsamixer-app: EAPI7, improve ebuild, use HTTPs |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/8707 |
11 |
|
12 |
...-app-0.1.ebuild => alsamixer-app-0.1-r1.ebuild} | 23 +++++++--------------- |
13 |
.../files/alsamixer-app-0.1-Makefile.patch | 6 +++--- |
14 |
2 files changed, 10 insertions(+), 19 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/alsamixer-app/alsamixer-app-0.1.ebuild b/media-sound/alsamixer-app/alsamixer-app-0.1-r1.ebuild |
17 |
similarity index 50% |
18 |
rename from media-sound/alsamixer-app/alsamixer-app-0.1.ebuild |
19 |
rename to media-sound/alsamixer-app/alsamixer-app-0.1-r1.ebuild |
20 |
index 47b54c20984..7a212477239 100644 |
21 |
--- a/media-sound/alsamixer-app/alsamixer-app-0.1.ebuild |
22 |
+++ b/media-sound/alsamixer-app/alsamixer-app-0.1-r1.ebuild |
23 |
@@ -1,16 +1,16 @@ |
24 |
# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=0 |
28 |
+EAPI=7 |
29 |
|
30 |
-inherit eutils toolchain-funcs |
31 |
+inherit toolchain-funcs |
32 |
|
33 |
MY_PN=AlsaMixer.app |
34 |
MY_P=${MY_PN}-${PV} |
35 |
|
36 |
-DESCRIPTION="AlsaMixer.app is a simple mixer dockapp" |
37 |
-HOMEPAGE="http://www.dockapps.net/alsamixerapp" |
38 |
-SRC_URI="http://www.dockapps.net/download/${MY_P}.tar.gz" |
39 |
+DESCRIPTION="simple alsa mixer dockapp" |
40 |
+HOMEPAGE="https://www.dockapps.net/alsamixerapp" |
41 |
+SRC_URI="https://www.dockapps.net/download/${MY_P}.tar.gz" |
42 |
|
43 |
LICENSE="GPL-2" |
44 |
SLOT="0" |
45 |
@@ -26,18 +26,9 @@ DEPEND="${RDEPEND} |
46 |
|
47 |
S=${WORKDIR}/${MY_P} |
48 |
|
49 |
-src_unpack() { |
50 |
- unpack ${A} |
51 |
- cd "${S}" |
52 |
- epatch "${FILESDIR}"/${P}-Makefile.patch |
53 |
-} |
54 |
+PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) |
55 |
|
56 |
src_compile() { |
57 |
tc-export CXX |
58 |
- emake || die "emake failed." |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- dobin ${MY_PN} || die "dobin failed." |
63 |
- dodoc README |
64 |
+ default |
65 |
} |
66 |
|
67 |
diff --git a/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch b/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch |
68 |
index c260ad1c88b..7ecdcc4027f 100644 |
69 |
--- a/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch |
70 |
+++ b/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch |
71 |
@@ -1,6 +1,6 @@ |
72 |
-diff -ur AlsaMixer.app-0.1.orig/Makefile AlsaMixer.app-0.1/Makefile |
73 |
---- AlsaMixer.app-0.1.orig/Makefile 2004-09-30 23:44:06.000000000 +0300 |
74 |
-+++ AlsaMixer.app-0.1/Makefile 2008-06-28 08:40:28.000000000 +0300 |
75 |
+diff -ur a/Makefile b/Makefile |
76 |
+--- a/Makefile 2004-09-30 23:44:06.000000000 +0300 |
77 |
++++ b/Makefile 2008-06-28 08:40:28.000000000 +0300 |
78 |
@@ -4,22 +4,22 @@ |
79 |
|
80 |
DESTDIR = |