From cc4a01ca7f8aa2532bde0841c248a932d7abf55c Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 7 Feb 2020 20:58:07 -0500 Subject: [PATCH] media-libs/libprojectm: 3.1.2 version bump Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Craig Andrews --- media-libs/libprojectm/Manifest | 1 + .../libprojectm/libprojectm-3.1.2.ebuild | 61 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 media-libs/libprojectm/libprojectm-3.1.2.ebuild diff --git a/media-libs/libprojectm/Manifest b/media-libs/libprojectm/Manifest index 195d8afed66c..fdb976cb1d65 100644 --- a/media-libs/libprojectm/Manifest +++ b/media-libs/libprojectm/Manifest @@ -1,2 +1,3 @@ DIST libprojectm-3.1.1_rc8.tar.gz 54503673 BLAKE2B f7d781c6a0e54414d0a9ba5ab601556384e6af9b6a23a3123d3f3e0b1613549727b75901681beba1cd3fdd4193415d9e0bb927c4f7b69c41f4e4e85adb5f8597 SHA512 dcf2e7a0a826438bee538f052287b2057a303f5c29e77804874c9d5ea9f3cc0395a51f7734eec027a4f4e687c7b9f818bf908084c8b9da0953cd95d7fa12c864 +DIST libprojectm-3.1.2.tar.gz 54503159 BLAKE2B 5b520a6c1553e80de3fc8b0aedff12c50226252ae7a6d651dff910104244e2f0747fc43791b0524f46f8fa305688749fc4f508b76d04506aa17292f2c8789d1c SHA512 c7c8e61b6262324a7d4094f92796732f7c7bf9fdd82df3dc327efe82fd1d3d8277763059ba72e3fea70875952dd763998cd3b69ed64f594fbff8ae489110dfa2 DIST projectM-complete-2.1.0-Source.tar.gz 31130351 BLAKE2B ec3540326751aba45b9620adfe1e7aed21347c97278de6d23b53ed7fb03878c2d02982fba17b4cda4f713d2cf624fd24adeb15b28fed9d2ab165567f9ff49eaa SHA512 53f4531208d2594f1c28a7f7842fb5ee3349ca9e48f9f0d999a90b6a62d315c9c0ae9cba1cdfacb8a149eba3e5ddc4517ac406ee2c53718191be8e26ee2cca5f diff --git a/media-libs/libprojectm/libprojectm-3.1.2.ebuild b/media-libs/libprojectm/libprojectm-3.1.2.ebuild new file mode 100644 index 000000000000..ec8f42efd454 --- /dev/null +++ b/media-libs/libprojectm/libprojectm-3.1.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 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}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable gles2 gles) + $(use_enable qt5 qt) + $(use_enable sdl) + --enable-emscripten=no + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} -- 2.26.2