mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-sound/din: use edos2unix from eutils instead of dos2unix
Signed-off-by: Tim Harder <radhermit@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools xdg
|
||||
inherit autotools eutils xdg
|
||||
|
||||
DESCRIPTION="a software musical instrument and audio synthesizer"
|
||||
HOMEPAGE="http://dinisnoise.org/"
|
||||
@@ -14,21 +14,21 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+alsa jack"
|
||||
|
||||
BDEPEND="
|
||||
app-text/dos2unix
|
||||
virtual/pkgconfig
|
||||
"
|
||||
CDEPEND="dev-lang/tcl:0=
|
||||
RDEPEND="
|
||||
dev-lang/tcl:0=
|
||||
media-libs/libsdl:=
|
||||
virtual/opengl
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jack? ( virtual/jack )
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( alsa jack )"
|
||||
|
||||
PATCHES=(
|
||||
@@ -39,7 +39,7 @@ PATCHES=(
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
dos2unix pixmaps/${PN}.desktop || die "Failed to fix desktop file"
|
||||
edos2unix pixmaps/${PN}.desktop
|
||||
|
||||
use jack && (sed -i "s/-lasound/-ljack/g" src/Makefile.am || die "Failed to fix jack linking")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user