cdrdao-1.2.3-r1.ebuild 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit eutils
  5. DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend"
  6. HOMEPAGE="http://cdrdao.sourceforge.net/"
  7. if [[ ${PV/*_rc*} ]]
  8. then
  9. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
  10. else
  11. SRC_URI="http://www.poolshark.org/src/${P/_}.tar.bz2"
  12. fi
  13. LICENSE="GPL-2"
  14. SLOT="0"
  15. KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
  16. IUSE="gcdmaster encode mad vorbis"
  17. RDEPEND="virtual/cdrtools
  18. encode? ( >=media-sound/lame-3.99 )
  19. gcdmaster? (
  20. dev-libs/libsigc++:2
  21. >=dev-cpp/gtkmm-2.4:2.4
  22. >=dev-cpp/libgnomeuimm-2.6:2.6
  23. media-libs/libao
  24. )
  25. mad? (
  26. media-libs/libmad
  27. media-libs/libao
  28. )
  29. vorbis? (
  30. media-libs/libvorbis
  31. media-libs/libao
  32. )
  33. !app-cdr/cue2toc
  34. !dev-util/pccts"
  35. DEPEND="${RDEPEND}
  36. virtual/pkgconfig"
  37. S=${WORKDIR}/${P/_}
  38. src_prepare() {
  39. epatch "${FILESDIR}"/${P}-glibc212.patch
  40. }
  41. src_configure() {
  42. econf \
  43. $(use_with gcdmaster xdao) \
  44. $(use_with vorbis ogg-support) \
  45. $(use_with mad mp3-support) \
  46. $(use_with encode lame)
  47. }
  48. src_install() {
  49. emake DESTDIR="${D}" install
  50. dodoc AUTHORS ChangeLog CREDITS NEWS README{,.PlexDAE}
  51. }