wok-next view hydrogen/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | fb478984fbc8 |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="hydrogen"
4 VERSION="pre-1.0.0-170920" # in CMakeLists: v.1.0.0, but not released yet; 170920 is date of last commit to master
5 COMMIT="1bab373"
6 CATEGORY="multimedia"
7 SHORT_DESC="Advanced Drum Machine"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.hydrogen-music.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/hydrogen-music/hydrogen/archive/${COMMIT:-$VERSION}.tar.gz"
15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev zlib-dev libarchive-dev libsndfile-dev \
16 alsa-lib-dev ladspa-dev liblo-dev jack-dev pulseaudio-dev cppunit-dev doxygen"
17 SPLIT="hydrogen-dev"
19 compile_rules() {
20 sed -i 's|/man/man1|/share&|' CMakeLists.txt
22 mkdir build
23 cd build
24 [ -e CMakeCache.txt ] && rm CMakeCache.txt # for executing `cook --continue`
25 cmake \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 .. &&
28 make &&
29 make install || return 1
31 cd $install/usr/share/hydrogen/data/i18n/
32 rm *.ts updateTranslations.sh stats.py
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 hydrogen)
38 copy @std
39 DEPENDS="alsa-lib jack libarchive liblo libsndfile pulseaudio \
40 qt5-base qt5-xmlpatterns zlib"
41 TAGS="multimedia"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }