mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Closes: https://bugs.gentoo.org/819969 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
37 lines
758 B
Bash
37 lines
758 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit gnustep-2
|
|
|
|
DESCRIPTION="Small CD Audio Player for GNUstep"
|
|
HOMEPAGE="https://github.com/schik/cdplayer"
|
|
SRC_URI="https://github.com/schik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
IUSE="dbus"
|
|
DEPEND="dev-libs/libcdio
|
|
dev-libs/libcdio-paranoia
|
|
gnustep-apps/cynthiune
|
|
dbus? ( gnustep-libs/dbuskit )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
sed -e "s#cdda.h#paranoia/cdda.h#" \
|
|
-e "s#paranoia.h#paranoia/paranoia.h#" \
|
|
-i AudioCD/AudioCD.h || die
|
|
}
|
|
|
|
src_compile() {
|
|
local myconf=""
|
|
use dbus || myconf="${myconf} notifications=no"
|
|
|
|
egnustep_env
|
|
egnustep_make ${myconf}
|
|
}
|