commit:     a234faf3807f5b71d042a11d347eab7c09934c22
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 16:02:50 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:02:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a234faf3

media-sound/tudor-volumed: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/tudor-volumed-0_pre20110427-build.patch      |  8 ++++----
 .../tudor-volumed/tudor-volumed-0_pre20110427.ebuild   | 18 ++++++++----------
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git 
a/media-sound/tudor-volumed/files/tudor-volumed-0_pre20110427-build.patch 
b/media-sound/tudor-volumed/files/tudor-volumed-0_pre20110427-build.patch
index 73a5090665e..e73be69a29b 100644
--- a/media-sound/tudor-volumed/files/tudor-volumed-0_pre20110427-build.patch
+++ b/media-sound/tudor-volumed/files/tudor-volumed-0_pre20110427-build.patch
@@ -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

diff --git a/media-sound/tudor-volumed/tudor-volumed-0_pre20110427.ebuild 
b/media-sound/tudor-volumed/tudor-volumed-0_pre20110427.ebuild
index 4a36941b17d..aa7e1f4e018 100644
--- a/media-sound/tudor-volumed/tudor-volumed-0_pre20110427.ebuild
+++ b/media-sound/tudor-volumed/tudor-volumed-0_pre20110427.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=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() {

Reply via email to