wok-next annotate hydrogen/receipt @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | c0521c689857 |
children |
rev | line source |
---|---|
al@20229 | 1 # SliTaz package receipt v2. |
slaxemulator@6811 | 2 |
slaxemulator@6811 | 3 PACKAGE="hydrogen" |
al@20229 | 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 |
al@20229 | 5 COMMIT="1bab373" |
slaxemulator@6811 | 6 CATEGORY="multimedia" |
al@20229 | 7 SHORT_DESC="Advanced Drum Machine" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
al@21020 | 10 WEB_SITE="http://hydrogen-music.org/" |
al@20229 | 11 |
pascal@15000 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20229 | 13 WGET_URL="https://github.com/hydrogen-music/hydrogen/archive/${COMMIT:-$VERSION}.tar.gz" |
pascal@15000 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev zlib-dev libarchive-dev libsndfile-dev \ |
al@20229 | 16 alsa-lib-dev ladspa-dev liblo-dev jack-dev pulseaudio-dev cppunit-dev doxygen" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
slaxemulator@6811 | 18 |
al@20229 | 19 compile_rules() { |
al@20229 | 20 sed -i 's|/man/man1|/share&|' CMakeLists.txt |
al@20229 | 21 |
al@20229 | 22 mkdir build |
al@20229 | 23 cd build |
al@20229 | 24 [ -e CMakeCache.txt ] && rm CMakeCache.txt # for executing `cook --continue` |
al@20229 | 25 cmake \ |
al@20229 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20229 | 27 .. && |
al@20229 | 28 make && |
al@20229 | 29 make install || return 1 |
al@20229 | 30 |
al@20229 | 31 cd $install/usr/share/hydrogen/data/i18n/ |
al@20229 | 32 rm *.ts updateTranslations.sh stats.py |
slaxemulator@6811 | 33 } |
al@20229 | 34 |
al@20229 | 35 genpkg_rules() { |
al@20229 | 36 case $PACKAGE in |
al@20229 | 37 hydrogen) |
al@20229 | 38 copy @std |
al@20229 | 39 DEPENDS="alsa-lib jack libarchive liblo libsndfile pulseaudio \ |
al@20229 | 40 qt5-base qt5-xmlpatterns zlib" |
al@20229 | 41 TAGS="multimedia" |
al@20229 | 42 ;; |
al@20229 | 43 *-dev) |
al@20229 | 44 copy @dev |
al@20229 | 45 ;; |
al@20229 | 46 esac |
slaxemulator@6811 | 47 } |