-# 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"
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() {