diff options
author | Craig Andrews <candrews@gentoo.org> | 2024-03-23 15:10:07 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-03-23 15:10:29 -0400 |
commit | 81557023f7c65a1390045a2134caf4eb556ae937 (patch) | |
tree | 187731bcc3152bbfd046f504732d0d3414affd98 /media-libs/libprojectm | |
parent | net-analyzer/netdata: add 1.45.0 (diff) | |
download | gentoo-81557023f7c65a1390045a2134caf4eb556ae937.tar.gz gentoo-81557023f7c65a1390045a2134caf4eb556ae937.tar.bz2 gentoo-81557023f7c65a1390045a2134caf4eb556ae937.zip |
media-libs/libprojectm: add 4.1.1
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/libprojectm')
-rw-r--r-- | media-libs/libprojectm/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libprojectm/libprojectm-4.1.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/libprojectm/Manifest b/media-libs/libprojectm/Manifest index 3b1bc9de8622..bee07ac19056 100644 --- a/media-libs/libprojectm/Manifest +++ b/media-libs/libprojectm/Manifest @@ -1,2 +1,3 @@ DIST libprojectm-3.1.12.tar.gz 52831726 BLAKE2B f9a9ecf8fc55b49e664a61a5c0ca3eef745b00390d5dd3b1549d6d68985c246834d35adb96ab8595e2bf78997c4688096c7931a6be54ea9d867bfdbe5a427832 SHA512 6d265280f3e3e952686ebf77afd8b083669e9ab81d2d9d122168d47747c367ff3b17ab682cc041e4ac9cee9607b7393b5dcb067deac95fcbb97d63a9656912a5 DIST libprojectm-4.1.0.tar.gz 47988290 BLAKE2B e593ddec881880fd767b0a89272e12fd383bf4695962243e2f9a968d0a09ee9522d5b60b783ec04b202fec53df4dfb006d940102bb2e548571275f525357e0fd SHA512 034b217e65ddea246c460ea72b69fdb5836b2e8e34cf9d72d705258e10dba01132265010902da0ac1baf2bb52f2453ce38bfb3934a4816f17304a01963829a42 +DIST libprojectm-4.1.1.tar.gz 47988154 BLAKE2B 47fd71d857f307ea09c87d36102662423d1df4d62f36f23373fcba36760312bd4e4d11408a3f4820b5caedd2e31bfd0dfc1e551c1bf27eb0ba33149f8ea13ebe SHA512 af38913e56d46ed15118b2dccd2701f9bf043bb3103f58ad2ebbfaffc60c3ed4e1b0eb3d8f922bdffb0001acfa5e3d23633a4903250fd00ede0dede1e6e1ba47 diff --git a/media-libs/libprojectm/libprojectm-4.1.1.ebuild b/media-libs/libprojectm/libprojectm-4.1.1.ebuild new file mode 100644 index 000000000000..9ab20605ed83 --- /dev/null +++ b/media-libs/libprojectm/libprojectm-4.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +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/releases/download/v${MY_PV}/libprojectM-${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + S="${WORKDIR}/libprojectM-${MY_PV}" +fi + +LICENSE="LGPL-2" +SLOT="4" +IUSE="gles2-only static-libs" + +RDEPEND="media-libs/mesa[X(+)]" + +DEPEND="${RDEPEND}" + +multilib_prc_prepare() { + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_SDL_UI=OFF + -DENABLE_CXX_INTERFACE=OFF + -DENABLE_GLES=$(usex gles2-only) + -DENABLE_SYSTEM_GLM=ON + -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON) + ) + + cmake_src_configure +} + +multilib_src_install_all() { + default +} |