summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-03-08 22:21:22 -0400
committerCraig Andrews <candrews@gentoo.org>2020-03-08 22:23:31 -0400
commit6d5c1ddad3f7503a8c731052fa56418b829a5121 (patch)
treec93002b76cf5b953d3761bd3df88477bb60b5683 /media-libs/libprojectm
parentapp-misc/neofetch: 7.0.0 version bump (diff)
downloadgentoo-6d5c1ddad3f7503a8c731052fa56418b829a5121.tar.gz
gentoo-6d5c1ddad3f7503a8c731052fa56418b829a5121.tar.bz2
gentoo-6d5c1ddad3f7503a8c731052fa56418b829a5121.zip
media-libs/libprojectm: 3.1.3 version bump
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/libprojectm')
-rw-r--r--media-libs/libprojectm/Manifest1
-rw-r--r--media-libs/libprojectm/libprojectm-3.1.3.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/libprojectm/Manifest b/media-libs/libprojectm/Manifest
index fdb976cb1d65..f5ad3df8f030 100644
--- a/media-libs/libprojectm/Manifest
+++ b/media-libs/libprojectm/Manifest
@@ -1,3 +1,4 @@
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 libprojectm-3.1.3.tar.gz 54503797 BLAKE2B 2aa8900887201f00f85cbd2e4eb908d5825b95364a2df39cecd9ccdd63e677766bc45fc5280b4b773632b920b3331127be159d9e5e29304c3df4f049e49021c3 SHA512 c9910ec9dd3e6625df885a23cb72616723142974ee80cc40d108992e997342f7b8962c63d5a0512b793f425c7abb0477dbd5d641a70161d8e42f1489e08f402b
DIST projectM-complete-2.1.0-Source.tar.gz 31130351 BLAKE2B ec3540326751aba45b9620adfe1e7aed21347c97278de6d23b53ed7fb03878c2d02982fba17b4cda4f713d2cf624fd24adeb15b28fed9d2ab165567f9ff49eaa SHA512 53f4531208d2594f1c28a7f7842fb5ee3349ca9e48f9f0d999a90b6a62d315c9c0ae9cba1cdfacb8a149eba3e5ddc4517ac406ee2c53718191be8e26ee2cca5f
diff --git a/media-libs/libprojectm/libprojectm-3.1.3.ebuild b/media-libs/libprojectm/libprojectm-3.1.3.ebuild
new file mode 100644
index 000000000000..e5134a18e189
--- /dev/null
+++ b/media-libs/libprojectm/libprojectm-3.1.3.ebuild
@@ -0,0 +1,69 @@
+# 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 jack qt5 sdl"
+
+RDEPEND="gles2? ( media-libs/mesa[gles2] )
+ media-libs/glm
+ media-libs/mesa[X(+)]
+ jack? (
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtopengl:5
+ virtual/jack
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative: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 jack)
+ $(use_enable qt5 qt)
+ $(use_enable sdl)
+ --enable-emscripten=no
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}