diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-01 20:42:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-01 20:42:22 +0000 |
commit | 721254b86a09bdedd5eefd0de7899c90ea2ead1a (patch) | |
tree | 895fca7b3bd570d8df743dd518a6f36deca1a241 /media-sound/hydrogen/hydrogen-9999.ebuild | |
parent | 618c3037024b4e5328531cdc07c6ceb7486f5329 (diff) |
gentoo resync : 01.01.2018
Diffstat (limited to 'media-sound/hydrogen/hydrogen-9999.ebuild')
-rw-r--r-- | media-sound/hydrogen/hydrogen-9999.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild new file mode 100644 index 000000000000..3d14fb4a6533 --- /dev/null +++ b/media-sound/hydrogen/hydrogen-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils git-r3 xdg-utils + +DESCRIPTION="Advanced drum machine" +HOMEPAGE="http://www.hydrogen-music.org/" +EGIT_REPO_URI="https://github.com/${PN}-music/${PN}" + +LICENSE="GPL-2 ZLIB" +SLOT="0" +KEYWORDS="" +IUSE="alsa +archive jack ladspa lash osc oss portaudio portmidi pulseaudio" + +REQUIRED_USE="lash? ( alsa )" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + >=media-libs/libsndfile-1.0.18 + alsa? ( media-libs/alsa-lib ) + archive? ( app-arch/libarchive ) + !archive? ( >=dev-libs/libtar-1.2.11-r3 ) + jack? ( virtual/jack ) + ladspa? ( media-libs/liblrdf ) + lash? ( media-sound/lash ) + osc? ( media-libs/liblo ) + portaudio? ( media-libs/portaudio ) + portmidi? ( media-libs/portmidi ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog DEVELOPERS README.txt ) + +PATCHES=( "${FILESDIR}/${PN}-gnuinstalldirs.patch" ) + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_CPPUNIT=OFF + -DWANT_DEBUG=OFF + -DWANT_JACK=$(usex jack) + -DWANT_JACKSESSION=$(usex jack) + -DWANT_LADSPA=$(usex ladspa) + -DWANT_LASH=$(usex lash) + -DWANT_LIBARCHIVE=$(usex archive) + -DWANT_LRDF=$(usex ladspa) + -DWANT_OSC=$(usex osc) + -DWANT_OSS=$(usex oss) + -DWANT_PORTAUDIO=$(usex portaudio) + -DWANT_PORTMIDI=$(usex portmidi) + -DWANT_PULSEAUDIO=$(usex pulseaudio) + -DWANT_RUBBERBAND=OFF + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dosym ../../${PN}/data/doc /usr/share/doc/${PF}/html +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |