diff options
author | Craig Andrews <candrews@gentoo.org> | 2021-02-20 20:50:29 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-02-20 20:50:51 -0500 |
commit | 2ce69fb99e7fb046ae38ae4e0468ba02e1362856 (patch) | |
tree | 0505f2b3cdb47b3c152dc321794e0d5295a3d389 /media-libs/libprojectm/libprojectm-3.1.12.ebuild | |
parent | media-plugins/kodi-pvr-vuplus: Cleanup old version (diff) | |
download | gentoo-2ce69fb99e7fb046ae38ae4e0468ba02e1362856.tar.gz gentoo-2ce69fb99e7fb046ae38ae4e0468ba02e1362856.tar.bz2 gentoo-2ce69fb99e7fb046ae38ae4e0468ba02e1362856.zip |
media-libs/libprojectm: 3.1.12 version bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/libprojectm/libprojectm-3.1.12.ebuild')
-rw-r--r-- | media-libs/libprojectm/libprojectm-3.1.12.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/libprojectm/libprojectm-3.1.12.ebuild b/media-libs/libprojectm/libprojectm-3.1.12.ebuild new file mode 100644 index 000000000000..a273f50c063e --- /dev/null +++ b/media-libs/libprojectm/libprojectm-3.1.12.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A graphical music visualization plugin similar to milkdrop" +HOMEPAGE="https://github.com/projectM-visualizer/projectm" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/projectM-visualizer/projectm.git" + inherit git-r3 +else + MY_PV="${PV/_/-}" + SRC_URI="https://github.com/projectM-visualizer/projectm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + S=${WORKDIR}/projectm-${MY_PV}/ +fi + +LICENSE="LGPL-2" +SLOT="0/2" +IUSE="gles2 jack pulseaudio qt5 sdl" +REQUIRED_USE=" + jack? ( qt5 ) + pulseaudio? ( qt5 ) +" + +RDEPEND="gles2? ( media-libs/mesa[gles2] ) + media-libs/glm + media-libs/mesa[X(+)] + jack? ( + virtual/jack + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtopengl:5 + ) + pulseaudio? ( + media-sound/pulseaudio + ) + sdl? ( >=media-libs/libsdl2-2.0.5 ) + sys-libs/zlib" + +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable gles2 gles) + $(use_enable jack) + $(use_enable qt5 qt) + $(use_enable pulseaudio) + $(use_enable sdl) + --enable-emscripten=no + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |