diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-12-23 11:40:37 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-12-23 11:58:50 +0100 |
commit | 0dd30aa4c6a36cb2a5979e3b25dd7b94ab85228b (patch) | |
tree | 805d8cb3a15bec1ecc401beb0b25f3f17a7072af /app-cdr/cdrdao | |
parent | dev-cpp/libgnomeuimm: Fix building with latest glibmm/libsigc++ (diff) | |
download | gentoo-0dd30aa4c6a36cb2a5979e3b25dd7b94ab85228b.tar.gz gentoo-0dd30aa4c6a36cb2a5979e3b25dd7b94ab85228b.tar.bz2 gentoo-0dd30aa4c6a36cb2a5979e3b25dd7b94ab85228b.zip |
app-cdr/cdrdao: Fix building with latest glibmm/libsigc++
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-cdr/cdrdao')
-rw-r--r-- | app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild b/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild new file mode 100644 index 000000000000..38ed303734c2 --- /dev/null +++ b/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic + +DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend" +HOMEPAGE="http://cdrdao.sourceforge.net/" +if [[ ${PV/*_rc*} ]] +then + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +else + SRC_URI="http://www.poolshark.org/src/${P/_}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="gcdmaster encode mad vorbis" + +RDEPEND="virtual/cdrtools + encode? ( >=media-sound/lame-3.99 ) + gcdmaster? ( + >=dev-libs/libsigc++-2.6:2 + >=dev-cpp/gtkmm-2.4:2.4 + >=dev-cpp/libgnomeuimm-2.6:2.6 + media-libs/libao + ) + mad? ( + media-libs/libmad + media-libs/libao + ) + vorbis? ( + media-libs/libvorbis + media-libs/libao + ) + !app-cdr/cue2toc + !dev-util/pccts" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P/_} + +src_prepare() { + epatch "${FILESDIR}"/${P}-glibc212.patch +} + +src_configure() { + # Fix building with latest libsigc++ + append-cxxflags -std=c++11 + find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die + + econf \ + $(use_with gcdmaster xdao) \ + $(use_with vorbis ogg-support) \ + $(use_with mad mp3-support) \ + $(use_with encode lame) +} + +src_install() { + default + dodoc AUTHORS ChangeLog CREDITS NEWS README{,.PlexDAE} +} |