libmatemixer-1.16.0.ebuild 773 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit mate
  5. if [[ ${PV} != 9999 ]]; then
  6. KEYWORDS="~amd64 ~arm ~x86"
  7. fi
  8. DESCRIPTION="Mixer library for MATE Desktop"
  9. LICENSE="LGPL-2 GPL-2"
  10. SLOT="0"
  11. IUSE="+alsa oss pulseaudio"
  12. COMMON_DEPEND="
  13. >=dev-libs/glib-2.36:2
  14. sys-devel/gettext:*
  15. alsa? ( >=media-libs/alsa-lib-1.0.5 )
  16. pulseaudio? ( >=media-sound/pulseaudio-2.0.0:0[alsa?,glib] )"
  17. RDEPEND="${COMMON_DEPEND}"
  18. DEPEND="${COMMON_DEPEND}
  19. app-text/docbook-xml-dtd:4.1.2
  20. dev-util/gtk-doc
  21. dev-util/gtk-doc-am
  22. >=dev-util/intltool-0.35.0:*
  23. virtual/pkgconfig:*"
  24. src_configure() {
  25. mate_src_configure \
  26. --disable-null \
  27. $(use_enable alsa) \
  28. $(use_enable oss) \
  29. $(use_enable pulseaudio)
  30. }