media-sound/tudor-volumed: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Thu, 12 Dec 2019 16:02:50 +0000 (17:02 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 12 Dec 2019 16:02:50 +0000 (17:02 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/tudor-volumed/files/tudor-volumed-0_pre20110427-build.patch
media-sound/tudor-volumed/tudor-volumed-0_pre20110427.ebuild

index 73a5090665e7fce8f86c823f1f83b5794c410772..e73be69a29ba51d4b56fbfd8cce8c733b8b7d536 100644 (file)
@@ -4,8 +4,8 @@ Subject: build system
 
 respect LDFLAGs, CXXFLAGs and CXX
 
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -3,12 +3,12 @@
  all: $(BIN)
  
@@ -23,8 +23,8 @@ respect LDFLAGs, CXXFLAGs and CXX
 -.PHONY: clean all
 \ No newline at end of file
 +.PHONY: clean all
---- config.mk
-+++ config.mk
+--- a/config.mk
++++ b/config.mk
 @@ -2,7 +2,7 @@
  
  NAME := tudor-volumed
index 4a36941b17d54a6b1f0fa38567a8ccaaa3b056f1..aa7e1f4e018b832be0659f8b151691eb783fea58 100644 (file)
@@ -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=4
+EAPI=7
 
-inherit eutils vcs-snapshot
+inherit toolchain-funcs vcs-snapshot
 
 DESCRIPTION="Lightweight, desktop environment agnostic volume management daemon"
 HOMEPAGE="https://github.com/darvid/tudor-volumed"
@@ -12,19 +12,17 @@ SRC_URI="https://github.com/darvid/${PN}/tarball/7fc04cb2fb71e6f8815ddd87fd7ef5d
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
 
-RDEPEND="media-libs/alsa-lib
+RDEPEND="
+       media-libs/alsa-lib:=
        x11-libs/libX11"
 DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 
-pkg_setup() {
-       tc-export CXX
-}
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
+src_configure() {
+       tc-export CXX
 }
 
 src_install() {