diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
commit | 957235cf19a691360c720f7913672adda4258ed0 (patch) | |
tree | 812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /media-sound/lingot/lingot-1.0.1.ebuild | |
parent | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff) |
gentoo resync : 07.10.2018
Diffstat (limited to 'media-sound/lingot/lingot-1.0.1.ebuild')
-rw-r--r-- | media-sound/lingot/lingot-1.0.1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/lingot/lingot-1.0.1.ebuild b/media-sound/lingot/lingot-1.0.1.ebuild new file mode 100644 index 000000000000..523ec2ba532c --- /dev/null +++ b/media-sound/lingot/lingot-1.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Accurate, easy to use, and highly configurable musical instrument tuner" +HOMEPAGE="https://www.nongnu.org/lingot/" +SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa +fftw jack pulseaudio" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + alsa? ( media-libs/alsa-lib ) + fftw? ( sci-libs/fftw:3.0= ) + jack? ( virtual/jack ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${P}-configure.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myemakeargs=( + $(use_enable alsa) + $(use_enable fftw libfftw) + $(use_enable jack) + $(use_enable pulseaudio) + ) + + econf "${myemakeargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" lingotdocdir="/usr/share/doc/${PF}" install +} |