media-libs/libprojectm: 3.1.1_rc7 version bump
authorCraig Andrews <candrews@gentoo.org>
Mon, 18 Nov 2019 18:25:42 +0000 (13:25 -0500)
committerCraig Andrews <candrews@gentoo.org>
Mon, 18 Nov 2019 18:26:10 +0000 (13:26 -0500)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-libs/libprojectm/Manifest
media-libs/libprojectm/libprojectm-3.1.1_rc7.ebuild [new file with mode: 0644]

index 1a4f06884995ebe4fb3643499d14cf2045b5aa44..45a7a2fc535b66d3897e12618cfb569778ea733b 100644 (file)
@@ -2,4 +2,5 @@ DIST libprojectm-3.1.0.tar.gz 52123464 BLAKE2B 9027adbbbd3458b0ac6c2a822b06d2596
 DIST libprojectm-3.1.1_rc4.tar.gz 51812800 BLAKE2B 5d300de10c18ff28ab63dcbaf6ab42e1094fe285443484b93020d7d66c36451238257cae57804aeaa192188826b0c8380d1cc82c1b1ffebd332207e4c3e7d44f SHA512 9b50da8389657bd6cd3a99155a5f231a7f94eda1cfeb4140757cc4e74234c38cda2cf0c3a8dcb22fb9e9ef0f6d31cceca3f598dbd9db50d64cbb380c87ec4040
 DIST libprojectm-3.1.1_rc5.tar.gz 54442291 BLAKE2B bc97843d0293aeac1b67ef48c08db146d48f809106113b8985921a6ba391ff96f37bf5f2f8701de73b95b4909b0cb0cf38675751df6dbd502d11b03e55ab4251 SHA512 09b91db8270eb5ae3ccce1efdcfddac3052ada6dca135ab5e67c1f000bdbd954cab409dcf336933d52b733e514a755391500583e55ce5ab7e38c04365aea6103
 DIST libprojectm-3.1.1_rc6.tar.gz 91295645 BLAKE2B d037a3912937774691fcffc857a6ecdf6bda7e82ef193a2e4bd8b7ac2a0c6d6b194b9b0a7a1a43aca2efee8871a9b33108d88b801939b5454858a558cab3d9d6 SHA512 65370e299b7c2791898cdad8794c3ae9e0362ba5d46b7dfbe1d90273f99035d7b4369df6ea7d7ad927c20a64f328def6f56d9367a6ce9d220b479c494c990928
+DIST libprojectm-3.1.1_rc7.tar.gz 54452667 BLAKE2B e815ed6969c636a347d171de50bbe1c48d812f7ad2de9411f8ed457fc880f860606c209f4d431fa656b73361672460fd3c056a24f229e08525502eb02f469ad6 SHA512 241448a8887d84acfb0911bc11d3c65822d41244092d49e96695c465501f09ed8e16fc6fb88979bd357ee29ab50b4ccbd184a76aee20af09e6c44a8e17ad3b44
 DIST projectM-complete-2.1.0-Source.tar.gz 31130351 BLAKE2B ec3540326751aba45b9620adfe1e7aed21347c97278de6d23b53ed7fb03878c2d02982fba17b4cda4f713d2cf624fd24adeb15b28fed9d2ab165567f9ff49eaa SHA512 53f4531208d2594f1c28a7f7842fb5ee3349ca9e48f9f0d999a90b6a62d315c9c0ae9cba1cdfacb8a149eba3e5ddc4517ac406ee2c53718191be8e26ee2cca5f
diff --git a/media-libs/libprojectm/libprojectm-3.1.1_rc7.ebuild b/media-libs/libprojectm/libprojectm-3.1.1_rc7.ebuild
new file mode 100644 (file)
index 0000000..19885a4
--- /dev/null
@@ -0,0 +1,56 @@
+# 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}"
+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[@]}"
+}