diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-10-07 09:06:06 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-10-07 09:10:47 -0400 |
commit | ef161eaae6f5a819773a5a17e965ab95f1a82151 (patch) | |
tree | 50f7e83b865b27d4ae22abb00c7dd00eabf0b3fe /media-libs/libprojectm | |
parent | dev-util/intel-graphics-compiler: pass $LLVM_MAX_SLOT to get_llvm_prefix() (diff) | |
download | gentoo-ef161eaae6f5a819773a5a17e965ab95f1a82151.tar.gz gentoo-ef161eaae6f5a819773a5a17e965ab95f1a82151.tar.bz2 gentoo-ef161eaae6f5a819773a5a17e965ab95f1a82151.zip |
media-libs/libprojectm: Add sublots
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/libprojectm')
-rw-r--r-- | media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild | 52 | ||||
-rw-r--r-- | media-libs/libprojectm/libprojectm-9999.ebuild | 2 |
2 files changed, 53 insertions, 1 deletions
diff --git a/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild b/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild new file mode 100644 index 000000000000..70df39cf0c23 --- /dev/null +++ b/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 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 ~hppa ~ppc64 ~sparc ~x86" + S=${WORKDIR}/projectm-${MY_PV}/ +fi + +LICENSE="LGPL-2" +SLOT="0/2" +IUSE="gles2 qt5 sdl" + +RDEPEND="gles2? ( media-libs/mesa[gles2] ) + media-libs/glm + media-libs/mesa[X(+)] + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtopengl:5 + media-sound/pulseaudio + ) + sdl? ( >=media-libs/libsdl2-2.0.5 ) + sys-libs/zlib" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable gles2 gles ) \ + $(use_enable qt5 qt ) \ + $(use_enable sdl ) \ + --enable-emscripten=no +} diff --git a/media-libs/libprojectm/libprojectm-9999.ebuild b/media-libs/libprojectm/libprojectm-9999.ebuild index f411d8a20ff3..01b1d4b50af4 100644 --- a/media-libs/libprojectm/libprojectm-9999.ebuild +++ b/media-libs/libprojectm/libprojectm-9999.ebuild @@ -18,7 +18,7 @@ else fi LICENSE="LGPL-2" -SLOT="0" +SLOT="0/2" IUSE="gles2 qt5 sdl" RDEPEND="gles2? ( media-libs/mesa[gles2] ) |