summaryrefslogtreecommitdiff
path: root/media-sound/hydrogen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-10 10:35:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-10 10:35:29 +0100
commit5067796b074450a155155c782ef4885c885cfb2b (patch)
tree68109e52982e612f48c05614ff09888cb33668ac /media-sound/hydrogen
parent68d015b395b17126b8651edb61c80fca8c5968c1 (diff)
gentoo auto-resync : 10:09:2023 - 10:35:29
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/Manifest4
-rw-r--r--media-sound/hydrogen/hydrogen-1.2.2.ebuild98
-rw-r--r--media-sound/hydrogen/hydrogen-9999.ebuild2
3 files changed, 102 insertions, 2 deletions
diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest
index 34c55f0987c3..95ec26d44672 100644
--- a/media-sound/hydrogen/Manifest
+++ b/media-sound/hydrogen/Manifest
@@ -1,6 +1,8 @@
AUX hydrogen-1.1.0-gnuinstalldirs.patch 1879 BLAKE2B bf1563cbedc0b3a6d2aefcfe6bbf1bfd7f44ea26456d18889d684763f9af8170aeacc5887182ea845093c5187e92da51298dcb44bd99d6c2f0c5a47adbe5ba7d SHA512 20cc8970301192c967866f27b344591a58747a3a501eaa1b5d92dfb82af48e98f5c9e4c7908084f2845d258f323cec0ec42b578797b1bc3447c9b1918cbbdaea
AUX hydrogen-1.2.1-gnuinstalldirs.patch 1893 BLAKE2B 5c73531087d253791c0168db9454e9a3da31afa3989eb08291053939b5fe4ff438364a632f42ce965434a64a09cf18a67d34538892348ff554d4e49b75493e87 SHA512 b957b08ad9f92a0238ec55732024c43dfcba66b294fea5f0ac37c4c714ed88499726b0fcc4e4c7995d22c42f587a5ece3fb13886a132a3dbc11e66d0e84e83da
DIST hydrogen-1.2.1.tar.gz 12920203 BLAKE2B 3ddc92fdab9a07c26aa1d00239a23dd7aeb2014cf5e71023ef3ccfee880fb9a568cad6de94c9cdaf2037bab5dbe500cfbaaac14c02a608f002866927cb75dc61 SHA512 aa6faadaf43da1ab6f514223bf7c8b526daac8dcd17916a0fdea098d6f80a33170ca3aaa210e2aedea7546221fb2aacaabf365d1457b5a25fb81f51780405ff2
+DIST hydrogen-1.2.2.tar.gz 12948890 BLAKE2B 30d8624078a29a0514aee01d56865e5923f755de02acfddde45a26d6ffbd68cf3c8c774827fe4538b7d03faefaabb9ddcfd9a28bb404c535ad7f6734eb5b1aff SHA512 bd6b102b14d30a8e2f4ea7e405199bb34f9b7691b57c3f9f3096c9e30c25c158e3bfd40bcfdd2d449bc153b7d3d9717df401f1e7a086e33dc953247870f1dee0
EBUILD hydrogen-1.2.1-r1.ebuild 2073 BLAKE2B e1deb5e766084916aee09650e9173ce703fb1bc879fd10226d614c66e0bddf96bf9ba4258bf45ce96094115c6c471de5f3452648bdb5c378292d0e2b56d9963f SHA512 73b2002b0ccf1fd5a940bbe752f6259f0b55a4af6c0a19ba0242d76a196aaf948bb5fd96bf41bc8669e46bd4b7d71e9b56abd0a19de172015b67e9dcdade1b3f
-EBUILD hydrogen-9999.ebuild 2086 BLAKE2B db2468cb373051b32917408670841f90f1947e10f3d9937ea7de83a2c5bc1e156666770d12f56bf227a4a9585d8142179e0b6bb819f4f71c363286208200b4ad SHA512 532fcc909108e2d8e04dd0d66e3aa0fbea2a93cc6f6ef534045f4fe05070b5db0b916551ab0b8670345a879b7adf866032317bc4ad03c63b9022963a1f41f9c5
+EBUILD hydrogen-1.2.2.ebuild 2077 BLAKE2B 63ac00eb57f5c667c43be79b85163d27e0bb534da74afeacf3940bd016700d169521b30cc32d35a07e5586c1e87625387b8266e1935e8b1e7454c0a31fa60c9a SHA512 90adcbc28017de1ef5b15b5baef3696ac1ff84bdaf27637e36fe0359ee20fee40bcb76b1cd02013389038710bfc523ddde6ba08e0b7d2e55a69a2d3a944e9d8a
+EBUILD hydrogen-9999.ebuild 2077 BLAKE2B 63ac00eb57f5c667c43be79b85163d27e0bb534da74afeacf3940bd016700d169521b30cc32d35a07e5586c1e87625387b8266e1935e8b1e7454c0a31fa60c9a SHA512 90adcbc28017de1ef5b15b5baef3696ac1ff84bdaf27637e36fe0359ee20fee40bcb76b1cd02013389038710bfc523ddde6ba08e0b7d2e55a69a2d3a944e9d8a
MISC metadata.xml 478 BLAKE2B bd59feef45263e2f2440696d657c0845f70498b64dec764dc4fff3e0c837a725195f55a2a651498f5c38448ae7c45fdc50def9a8068fe58e93332ad66de7e1ab SHA512 757c7766697ad73293ed281df0079de5775068bc6b899a9dc6bd3a41a36ed024646e01d242177948be1756d407e44cacd2bb2ed7ec0e4698fd358ec0031db3c4
diff --git a/media-sound/hydrogen/hydrogen-1.2.2.ebuild b/media-sound/hydrogen/hydrogen-1.2.2.ebuild
new file mode 100644
index 000000000000..300110e184b2
--- /dev/null
+++ b/media-sound/hydrogen/hydrogen-1.2.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 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-doc/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.1-gnuinstalldirs.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 951d4fb7a1fc..300110e184b2 100644
--- a/media-sound/hydrogen/hydrogen-9999.ebuild
+++ b/media-sound/hydrogen/hydrogen-9999.ebuild
@@ -37,7 +37,7 @@ CDEPEND="
dev-qt/qtwidgets:5
dev-qt/qtxml:5
dev-qt/qtxmlpatterns:5
- >=media-libs/libsndfile-1.0.18
+ media-libs/libsndfile
alsa? ( media-libs/alsa-lib )
archive? ( app-arch/libarchive )
!archive? ( dev-libs/libtar )