Sisyphus repository
Last update: 20 february 2019 | SRPMs: 18485 | Visits: 13052622
en ru br
ALT Linux repos
S:0.9.7-alt1
5.0: 0.9.4-alt1.M50.1.beta3
4.1: 0.9.4-alt1.M41.1.beta3
4.0: 0.9.3-alt1
3.0: 0.9.0-alt0.7.1.1

Group :: Sound
RPM: hydrogen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hydrogen
Version: 0.9.7
Release: alt1

Summary: Hydrogen Drum Machine
License: GPL
Group: Sound
URL: http://www.hydrogen-music.org

# https://github.com/hydrogen-music/hydrogen.git

Source0: %name-%version.tar
Source1: %name-32x32.xpm
Source2: %name-16x16.xpm
Source3: %name-48x48.xpm
Patch1: %name-%version-upstream-detect-pulse.patch
Patch2: %name-%version-upstream-detect-rubberband.patch
Patch3: %name-%version-alt-desktop.patch
Patch4: %name-%version-alt-man-dir.patch

BuildRequires: ccmake ctest doxygen gcc-c++ graphviz ladspa_sdk libalsa-devel libarchive-devel libjack-devel liblo liblrdf-devel
BuildRequires: libportaudio2-devel libportmidi librubberband-devel libsndfile-devel libtar-devel libpulseaudio-devel cppunit-devel
BuildRequires: libqt4-sql-mysql phonon-devel

BuildRequires: desktop-file-utils

%description
Hydrogen is a sample based drum machine with:
Graphical user interface based on QT
Sample based real-time audio engine
Oss Audio driver
Jack Audio driver
Export to disk audio driver
Alsa Midi input
Ability to import/export xml-based song file
64 ticks per pattern
16 voices with volume, mute, solo, pan capabilities
Import of samples in wav, au, aiff format

%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
export QTDIR=%_libdir/qt4
%cmake -DWANT_RUBBERBAND=ON
%cmake_build DESTDIR=%buildroot

%install
export QTDIR=%_libdir/qt4
%cmakeinstall_std prefix=%_prefix

install -pD -m644 %SOURCE1 %buildroot%_niconsdir/%name.xpm
install -pD -m644 %SOURCE2 %buildroot%_miconsdir/%name.xpm
install -pD -m644 %SOURCE3 %buildroot%_liconsdir/%name.xpm

desktop-file-install --dir %buildroot%_desktopdir \
--add-category=Midi \
%buildroot%_desktopdir/hydrogen.desktop

%files
%doc -P AUTHORS ChangeLog README.txt
%_bindir/*
%_datadir/%name/
%_libdir/*.so
%_niconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_desktopdir/%name.desktop
%_man1dir/%name.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin