diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-31 03:04:18 +0000 |
commit | b846e1a1ef5685462a20abbc77cf57ead9064b85 (patch) | |
tree | ebf4581a96d87fbd1b7ab6cce8689ba4caa40e3b /media-sound/hydrogen | |
parent | fb57e01054259b1160d01c3c7ed9efab7902ed7d (diff) |
gentoo auto-resync : 31:10:2024 - 03:04:18
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r-- | media-sound/hydrogen/Manifest | 7 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.2.3-cflags.patch | 13 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.2.3-gnuinstalldirs.patch (renamed from media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch) | 0 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-1.2.3.ebuild | 100 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-9999.ebuild | 2 |
5 files changed, 119 insertions, 3 deletions
diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest index 3a3ba9d6bb06..7d91561fc2f1 100644 --- a/media-sound/hydrogen/Manifest +++ b/media-sound/hydrogen/Manifest @@ -1,9 +1,12 @@ AUX hydrogen-1.2.1-gnuinstalldirs.patch 1725 BLAKE2B e6b4b0f00b3a155d391ee21ad031b3a12882e652914b9ab40550bade3fc2465c327abe2edb9a4a9ff8e7d15d6700a16ba3e081bba696110ce96f21b91c90ed98 SHA512 d81f04c4f66d860832d767cdb0ef85fbfd05c4846c38ea1b4128ed1bb7e384b54e9844f91236b8fa39af50691334f22efcbea348fc48fc71e844a5b9bd03acab AUX hydrogen-1.2.2-cflags.patch 282 BLAKE2B 9535b11fe3d29d5a2ae621aa25084d3cf1540143a3c17979ef9f088b99a7ace4a7e0307f06582f660cb3e7820f27486d130d0f9738670d84e2892a5553043021 SHA512 07d1d0fad5d018507fbf533d71f38ba2325fefb2e51973e3b032fe029b4688695388e7962556d57d9f128178c05235a0aad2281d4b4bd5c293f2f8e10eb51815 AUX hydrogen-1.2.2-no-pch-include.patch 293 BLAKE2B 11c8990480cbab309736e922d6fd87234865779685a619e9e912359474329d4b0b214f9a37cd29eaad67487418803c9c3e9b261ac72d127c57631dcb3a37869d SHA512 63b9e2bd89d8cacd9f953aff993de9b6aebf4242957e8fd67bfb1715658d192e6864012ededa67a9348616f73f8d12182f2756c39b8751e85095a1b55855c1d1 +AUX hydrogen-1.2.3-cflags.patch 357 BLAKE2B 262d80509abc010bf5844c03736fc4ee6e2d8442d08f1a4d30cc95d367e18e9c4d49d0a8cdc844d37c84220854ae22726962ab953c76426b10da37fa9acd99dc SHA512 789738584d28ebe872aca545e585b28a10c9c1c93a39bd733e98540f31809bfeb3a1b3f161addbf038d4696f45cf65108ad0fba134c3f22b75c10aee3dc5aec6 +AUX hydrogen-1.2.3-gnuinstalldirs.patch 1677 BLAKE2B 3346a4043f26f7cb9eb65ecb2f42c996b14fc9eab6ba87ace41e928868248e1ed12c00eef55b4d6ea54205d8fb561e42cdb39a6f7e21ca1e3e6497571c17055f SHA512 0e675e6fa839aa0451bdf1caf6fee66b973092ef5ac32ff301f8e9d5f114461d0d95b836012da5cc2fcf756c38eed33ff7233bb44ff83f6275f439eecdd247f5 AUX hydrogen-1.3.0-cflags.patch 276 BLAKE2B 69c498f23394f4c29f46c48462f6454d294683e79a809f451d8c080684bb2e5b519f82ba2c31f1f324412c45dbafe335bb59c056c510b33dcb7ba5c6960d7933 SHA512 405d6851db83229fdaf1ff7c4534f7477555e583aad91bb2148947a40303ae1d1b44efa780d56c635854984c87f44b8caa438a8c8cc2ad068a8f7f74b1294a37 -AUX hydrogen-1.3.0-gnuinstalldirs.patch 1677 BLAKE2B 3346a4043f26f7cb9eb65ecb2f42c996b14fc9eab6ba87ace41e928868248e1ed12c00eef55b4d6ea54205d8fb561e42cdb39a6f7e21ca1e3e6497571c17055f SHA512 0e675e6fa839aa0451bdf1caf6fee66b973092ef5ac32ff301f8e9d5f114461d0d95b836012da5cc2fcf756c38eed33ff7233bb44ff83f6275f439eecdd247f5 DIST hydrogen-1.2.2.tar.gz 12948890 BLAKE2B 30d8624078a29a0514aee01d56865e5923f755de02acfddde45a26d6ffbd68cf3c8c774827fe4538b7d03faefaabb9ddcfd9a28bb404c535ad7f6734eb5b1aff SHA512 bd6b102b14d30a8e2f4ea7e405199bb34f9b7691b57c3f9f3096c9e30c25c158e3bfd40bcfdd2d449bc153b7d3d9717df401f1e7a086e33dc953247870f1dee0 +DIST hydrogen-1.2.3.tar.gz 13692726 BLAKE2B 0860b10569506d868e8238196ecefbee080e74af41137d45b49c1032185c320ca3cb637fae71c0b6797d333699434a54919189153069877f10c77446deb2a007 SHA512 0dad3ac25e7c867b3141450faf2affeac2165b7593a2cafb61885434520d1726eaee85d11689be0304bc8a037fbc0737c8130d4ba59bd1ed4e7f1addc56cc25d EBUILD hydrogen-1.2.2-r1.ebuild 2155 BLAKE2B 8b5ff3f837d6b08c8c1fbc3ba45ee9ff3c017788685bc08fbf8474322602c150be59da7e134b9c64acae54e190f3105e923ab1c9f76e94997bf84541dce02f94 SHA512 5a94e68f6efd31b6ef051e927c180ad39609b2ee5716c673cd0f16dcb6a144e50e291d4dba2585d86d1e2273d8810f05b91e764ce8b8e9d1a2da2a638ad15410 -EBUILD hydrogen-9999.ebuild 2121 BLAKE2B 96f44f1820a030fbbcaa4b1bc515d0e90074e8942f413060ebd644f520976a85571d68b8594747c7a743fdf37245969d5b92d9439d354a79ae55594fce8efa04 SHA512 1a16e7ddcd262d98ba451ac02fe9fbfb315f16712ccd2ab0190d283f50d1dda3f4a8e0ee71ab516765eba533ae85292a5542391918b10af2bb819f5847963290 +EBUILD hydrogen-1.2.3.ebuild 2166 BLAKE2B 8d98148e960f570d9579561966c57484760d0486599eeb55505d28beee099c0fe9faebca25ce0b9701d72462dd6e7822c569d1f028d58948c5c8515b40fdf4bc SHA512 d22cad7c960560135464d84e2ce8b5981161c5a03469530ee6d7cd20032656d8e29ae66b5cd318e7b7664839e557e1dcde569a85062977bed7e5ebfba52d4fbd +EBUILD hydrogen-9999.ebuild 2121 BLAKE2B 1fa910c07551350f7b7cc2a8f98d142bd53f33cc9ce350f130285d91f7161fe6769d0ca0ab02deb531a4b8eda1a55613e060465110c919e4a72b8d40b1e12636 SHA512 5d8fb6829419ec3bc733d6406585efca1de6113bd5686746341d69fbe92181d0b7e2a07d0c77799b0ec2cd30ac56d0bac2a20decd8f91f7d65bab0152f48b4dc MISC metadata.xml 478 BLAKE2B bd59feef45263e2f2440696d657c0845f70498b64dec764dc4fff3e0c837a725195f55a2a651498f5c38448ae7c45fdc50def9a8068fe58e93332ad66de7e1ab SHA512 757c7766697ad73293ed281df0079de5775068bc6b899a9dc6bd3a41a36ed024646e01d242177948be1756d407e44cacd2bb2ed7ec0e4698fd358ec0031db3c4 diff --git a/media-sound/hydrogen/files/hydrogen-1.2.3-cflags.patch b/media-sound/hydrogen/files/hydrogen-1.2.3-cflags.patch new file mode 100644 index 000000000000..dbae403738ed --- /dev/null +++ b/media-sound/hydrogen/files/hydrogen-1.2.3-cflags.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5d12f6e..f506752 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -173,7 +173,7 @@ endif() + if(WANT_DEBUG) + set(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O0") + else() +- set(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O3 -ffast-math") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") + endif() + + if(WANT_APPIMAGE) diff --git a/media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch b/media-sound/hydrogen/files/hydrogen-1.2.3-gnuinstalldirs.patch index c716ca75ac9e..c716ca75ac9e 100644 --- a/media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch +++ b/media-sound/hydrogen/files/hydrogen-1.2.3-gnuinstalldirs.patch diff --git a/media-sound/hydrogen/hydrogen-1.2.3.ebuild b/media-sound/hydrogen/hydrogen-1.2.3.ebuild new file mode 100644 index 000000000000..6f7c0abc40d5 --- /dev/null +++ b/media-sound/hydrogen/hydrogen-1.2.3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Advanced drum machine" +HOMEPAGE="http://hydrogen-music.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}-music/${PN}" +else + MY_PV=${PV/_/-} + SRC_URI="https://github.com/${PN}-music/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + S="${WORKDIR}"/${PN}-${MY_PV} +fi + +LICENSE="GPL-2 ZLIB" +SLOT="0" +IUSE="alsa +archive doc jack ladspa lash osc oss portaudio portmidi pulseaudio" + +REQUIRED_USE="lash? ( alsa )" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig + doc? ( app-text/doxygen ) +" +CDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + media-libs/libsndfile + alsa? ( media-libs/alsa-lib ) + archive? ( app-arch/libarchive ) + !archive? ( dev-libs/libtar ) + doc? ( dev-texlive/texlive-fontutils ) + jack? ( virtual/jack ) + ladspa? ( media-libs/liblrdf ) + lash? ( media-sound/lash ) + osc? ( media-libs/liblo ) + portaudio? ( media-libs/portaudio ) + portmidi? ( media-libs/portmidi ) + pulseaudio? ( media-libs/libpulse ) +" +DEPEND=" + ${CDEPEND} + dev-qt/qttest:5 +" +RDEPEND="${CDEPEND}" + +DOCS=( AUTHORS ChangeLog DEVELOPERS README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.2.3-gnuinstalldirs.patch" + "${FILESDIR}/${PN}-1.2.3-cflags.patch" + "${FILESDIR}/${PN}-1.2.2-no-pch-include.patch" +) + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_CPPUNIT=OFF + -DWANT_DEBUG=OFF + -DWANT_JACK=$(usex jack) + -DWANT_LADSPA=$(usex ladspa) + -DWANT_LASH=$(usex lash) + -DWANT_LIBARCHIVE=$(usex archive) + -DWANT_LRDF=$(usex ladspa) + -DWANT_OSC=$(usex osc) + -DWANT_OSS=$(usex oss) + -DWANT_PORTAUDIO=$(usex portaudio) + -DWANT_PORTMIDI=$(usex portmidi) + -DWANT_PULSEAUDIO=$(usex pulseaudio) + -DWANT_RUBBERBAND=OFF + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) + cmake_src_install +} diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild index 8f4c81733c3c..0092292bdfee 100644 --- a/media-sound/hydrogen/hydrogen-9999.ebuild +++ b/media-sound/hydrogen/hydrogen-9999.ebuild @@ -59,7 +59,7 @@ RDEPEND="${CDEPEND}" DOCS=( AUTHORS ChangeLog DEVELOPERS.md README.md ) PATCHES=( - "${FILESDIR}/${PN}-1.3.0-gnuinstalldirs.patch" + "${FILESDIR}/${PN}-1.2.3-gnuinstalldirs.patch" "${FILESDIR}/${PN}-1.3.0-cflags.patch" ) |