summaryrefslogtreecommitdiff
path: root/media-sound/hydrogen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
commit494168b06b81a32b889c3cb1f721f925d0a6824f (patch)
tree0ec763ffa61af808a83f365fb6680258d2e28a50 /media-sound/hydrogen
parent2198f8593ae0312add1bdccb49edfcb935e5f8a6 (diff)
gentoo auto-resync : 08:12:2024 - 02:07:28
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/Manifest2
-rw-r--r--media-sound/hydrogen/hydrogen-1.2.4.ebuild99
2 files changed, 101 insertions, 0 deletions
diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest
index af90023e4ebc..3ac98f9f5a48 100644
--- a/media-sound/hydrogen/Manifest
+++ b/media-sound/hydrogen/Manifest
@@ -3,6 +3,8 @@ AUX hydrogen-1.2.3-cflags.patch 357 BLAKE2B 262d80509abc010bf5844c03736fc4ee6e2d
AUX hydrogen-1.2.3-gnuinstalldirs.patch 1677 BLAKE2B 3346a4043f26f7cb9eb65ecb2f42c996b14fc9eab6ba87ace41e928868248e1ed12c00eef55b4d6ea54205d8fb561e42cdb39a6f7e21ca1e3e6497571c17055f SHA512 0e675e6fa839aa0451bdf1caf6fee66b973092ef5ac32ff301f8e9d5f114461d0d95b836012da5cc2fcf756c38eed33ff7233bb44ff83f6275f439eecdd247f5
AUX hydrogen-1.3.0-cflags.patch 276 BLAKE2B 69c498f23394f4c29f46c48462f6454d294683e79a809f451d8c080684bb2e5b519f82ba2c31f1f324412c45dbafe335bb59c056c510b33dcb7ba5c6960d7933 SHA512 405d6851db83229fdaf1ff7c4534f7477555e583aad91bb2148947a40303ae1d1b44efa780d56c635854984c87f44b8caa438a8c8cc2ad068a8f7f74b1294a37
DIST hydrogen-1.2.3.tar.gz 13692726 BLAKE2B 0860b10569506d868e8238196ecefbee080e74af41137d45b49c1032185c320ca3cb637fae71c0b6797d333699434a54919189153069877f10c77446deb2a007 SHA512 0dad3ac25e7c867b3141450faf2affeac2165b7593a2cafb61885434520d1726eaee85d11689be0304bc8a037fbc0737c8130d4ba59bd1ed4e7f1addc56cc25d
+DIST hydrogen-1.2.4.tar.gz 14399993 BLAKE2B ed718e75d7016dae234148d3eafd676127248bbebc2f8bd98db2c6ca52e62e4df282035afba0de0692a5e4c0cceb7a920dab6d3688aec9c3793f448f8db54a7b SHA512 3f1522ac0535aa482c828382965822c6a81e5359bece93cbd7ed5029d8a1e192f187e10c5205274cc0ca5c030e958cfd062650f47fb9188f13a176dface64475
EBUILD hydrogen-1.2.3.ebuild 2162 BLAKE2B 4dc563d8924a771eee5a377176b1cd7fb261b82ae0c18207e436fe69226b669b9a39777fded8db68110e5460f4a6ba418637edd1d0a48c6d90d7e772a885f9b6 SHA512 a1db269caec6d2b53912eac707e6d757846792472e2dd5b38af108221c077f28e089f31297e7906e0b5ce93f8898b69f7669f4e08c94087c5ce3fccd3f36a599
+EBUILD hydrogen-1.2.4.ebuild 2118 BLAKE2B fffbf42d8a563466dffeced10998b22ae984a86f5e8a2f9a53a18820d26497562204b34090ce8dc8b4a4b0eb6ee3efd7d1dd6e9994336c544d45b00e35133e4b SHA512 6983fe33c4cbc0ffa4b62790c32f2c70b5c111f8a6a6b75aec5fb2dc56ea575ac1eb6348b905c6760983a559b6b5eb08b9ccdcb4e7c792d76e79a0635a2aa086
EBUILD hydrogen-9999.ebuild 2121 BLAKE2B 1fa910c07551350f7b7cc2a8f98d142bd53f33cc9ce350f130285d91f7161fe6769d0ca0ab02deb531a4b8eda1a55613e060465110c919e4a72b8d40b1e12636 SHA512 5d8fb6829419ec3bc733d6406585efca1de6113bd5686746341d69fbe92181d0b7e2a07d0c77799b0ec2cd30ac56d0bac2a20decd8f91f7d65bab0152f48b4dc
MISC metadata.xml 478 BLAKE2B bd59feef45263e2f2440696d657c0845f70498b64dec764dc4fff3e0c837a725195f55a2a651498f5c38448ae7c45fdc50def9a8068fe58e93332ad66de7e1ab SHA512 757c7766697ad73293ed281df0079de5775068bc6b899a9dc6bd3a41a36ed024646e01d242177948be1756d407e44cacd2bb2ed7ec0e4698fd358ec0031db3c4
diff --git a/media-sound/hydrogen/hydrogen-1.2.4.ebuild b/media-sound/hydrogen/hydrogen-1.2.4.ebuild
new file mode 100644
index 000000000000..32571f66a996
--- /dev/null
+++ b/media-sound/hydrogen/hydrogen-1.2.4.ebuild
@@ -0,0 +1,99 @@
+# 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"
+)
+
+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
+}