spek-0.8.3-r1.ebuild

Download (893 Bytes)

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

WX_GTK_VER="3.0"

inherit autotools wxwidgets xdg

DESCRIPTION="Analyse your audio files by showing their spectrogram"
HOMEPAGE="http://www.spek-project.org/"
SRC_URI="https://github.com/alexkay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	media-video/ffmpeg:0=
	x11-libs/wxGTK:${WX_GTK_VER}[X]"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-util/intltool
	sys-devel/gettext
	virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/${PN}-0.8.1-disable-updates.patch
	"${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch
	"${FILESDIR}"/${P}-stdlib.patch
	"${FILESDIR}"/${P}-ffmpeg3.patch
	"${FILESDIR}"/${P}-ffmpeg3-1.patch
	"${FILESDIR}"/${P}-AR.patch
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	setup-wxwidgets unicode
	default
}

Thank you!