summaryrefslogtreecommitdiff
path: root/media-sound/cmix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
commit4cd2370bed609c118b6edfde5d3f116e5c35b897 (patch)
treeec58f2c41f49754e41521d5ebc9dce4597ddd0a5 /media-sound/cmix
parentf443475c824b4b5c086e6d040961cb35ad81bc60 (diff)
gentoo resync : 03.12.2017
Diffstat (limited to 'media-sound/cmix')
-rw-r--r--media-sound/cmix/Manifest6
-rw-r--r--media-sound/cmix/cmix-1.6.ebuild19
-rw-r--r--media-sound/cmix/files/cmix-1.6-ldflags.patch16
3 files changed, 18 insertions, 23 deletions
diff --git a/media-sound/cmix/Manifest b/media-sound/cmix/Manifest
index fa9d68833d4b..52a1abb0ba27 100644
--- a/media-sound/cmix/Manifest
+++ b/media-sound/cmix/Manifest
@@ -1,4 +1,4 @@
-AUX cmix-1.6-ldflags.patch 296 BLAKE2B 25f1e30e58580754fafd1005fb9517293a1256e681fbe97eb36de02062b75d17b18c4984613a42472d9c089518cd1b5900047045d17bef90ec5e74e5cf2c7201 SHA512 39808ce3fa29b13dac4a80a4406fb30d852983a64012c3c27a8d91a5274d86cac0175c0d1395e8a7095477947989d8fa825a79541866a23c63dbe904bd3d8700
-DIST cmix-1.6.tbz2 12880 SHA256 3c63e687c0afac50f5218f2ee0f594132f1656073d5a9cf3f7f0da525b4e8afe SHA512 5d8409872bbea0575a1cb7d15d1f1469571860d06f4f71bf78b685077d0ff394323ef12498d3f8424e00b31a7c7430115ee7a810b7bbf291bb586a3d95f19a38 WHIRLPOOL 08d496d71d2d016679df5c99056d625f097aef7c334a38bbff448145a11cec931c0bb5557a33872459781202c12a46e3cd97b98a32db0f6dc39458eaa8303612
-EBUILD cmix-1.6.ebuild 646 BLAKE2B f5bfe8752a3ed7928618bc99b71ca8956aa7e386a6367498147490b74d23dfbaca866e3f3f857142bf5c65c63f7a5547f130bec4623cabf56cfed3b1be906485 SHA512 e3261da204c80c995b35f3bacf3f2c0bf456c19f210233da1690a2481ecec3f62bebefc20ca582adc10a403d8e74a18bc3def759fd7ac161b0700187912eb4ac
+AUX cmix-1.6-ldflags.patch 224 BLAKE2B 1775b4d0ffe31f25796e56a926b71f55b0e64401754838e290779597ed8eb59b7e9550242fcf78d8d9a07351d438bb63f48da7ad30f0b93209506f03eafbffc8 SHA512 455ad21708986a8279da22f4c1008796e95c96a850e4138c352f965a730ff1bdd73e4a4396d7678574492727e5e4dcc1ecb445c8618ef2aab3d089c593170862
+DIST cmix-1.6.tbz2 12880 BLAKE2B 1d024279a30439099dbc1f7a4c7a98f96143b716f032f57bb662d901e3fb92977333cc6ca1743727128c08ec92f3ef01c57b37e7bf803f8525c05910eed9da0c SHA512 5d8409872bbea0575a1cb7d15d1f1469571860d06f4f71bf78b685077d0ff394323ef12498d3f8424e00b31a7c7430115ee7a810b7bbf291bb586a3d95f19a38
+EBUILD cmix-1.6.ebuild 547 BLAKE2B ab4e1d8d89902a2e5d14c027a6b8ed3c37daad4827f04a020305797f9e236cc4cc482d0ad74202957853f8ecd2123e9b811ed546a5ca5a69907697e4f98b9b59 SHA512 8efe5eeb83a3f6a309765c39c6ed809170c1a55d44367d74e2aa707ab91634499032789efcdaa58872d42a89c8d0f2c4bc3543f837e5c1f3f57f2aa1ef96c07a
MISC metadata.xml 327 BLAKE2B c8fb97c7a0d6b26224b307580e4c5066593b4e25c1782bef25f36138d37997e81c8fbd731ea258041d0419d41761467492e417229b8f6ffe166b4dbe21b04afd SHA512 d962a2ab67c8dec05a40fd6b52625d9d260861386e62d851ba72551afec5dcd68b4454c3057921d66bddad3c8ac5c137e7d16a6eb84850b0d7d9a763eeec424b
diff --git a/media-sound/cmix/cmix-1.6.ebuild b/media-sound/cmix/cmix-1.6.ebuild
index 933e6189f5a0..1dc7e4ab02a2 100644
--- a/media-sound/cmix/cmix-1.6.ebuild
+++ b/media-sound/cmix/cmix-1.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit eutils toolchain-funcs
+EAPI=6
-IUSE=""
+inherit toolchain-funcs
DESCRIPTION="command line audio mixer"
HOMEPAGE="http://cmix.sourceforge.net/"
@@ -14,18 +14,13 @@ SLOT="0"
#-amd64: 1.6: 'cmix list' gives: MIXER_READ(SOUND_MIXER_OUTSRC): Input/output error
KEYWORDS="-amd64 ~ppc sparc x86"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-ldflags.patch"
-}
+PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
-src_compile() {
- emake CC="$(tc-getCC)" || die "emake failed"
+src_configure() {
+ tc-export CC
}
src_install() {
- einstall || die
dobin cmix
- dodoc README || die
+ einstalldocs
}
diff --git a/media-sound/cmix/files/cmix-1.6-ldflags.patch b/media-sound/cmix/files/cmix-1.6-ldflags.patch
index ba8dacb2567b..0ddf7e085844 100644
--- a/media-sound/cmix/files/cmix-1.6-ldflags.patch
+++ b/media-sound/cmix/files/cmix-1.6-ldflags.patch
@@ -1,14 +1,14 @@
-Index: cmix-1.6/Makefile
-===================================================================
---- cmix-1.6.orig/Makefile
-+++ cmix-1.6/Makefile
-@@ -3,8 +3,7 @@ CC=gcc
- #CFLAGS=-Wall -O2
-
+--- a/Makefile
++++ b/Makefile
+@@ -1,10 +1,5 @@
+-CC=gcc
+-#CFLAGS=-Wall -g
+-#CFLAGS=-Wall -O2
+-
cmix: mix.c
- $(CC) $(CFLAGS) mix.c -o $@
- strip $@
-+ $(CC) $(CFLAGS) $(LDFLAGS) mix.c -o $@
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) mix.c -o $@ $(LIBS)
install: