Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Maybe one day I'll use fpm for full builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtytel committed Jun 14, 2017
1 parent 306ee50 commit f82287e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 36 deletions.
35 changes: 3 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,13 @@ matrix:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"

before_install:
- VERSION=0.9.0
- >
- sudo apt-get update -qq
- eval "${MATRIX_EVAL}"
- sudo apt-get install -y mesa-common-dev libasound2-dev libfreetype6-dev
libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev
freeglut3-dev libxcomposite-dev libjack-dev
libcurl4-gnutls-dev g++-4.8 gcc-4.8 gzip
- gem install --no-rdoc --no-ri fpm package_cloud
- mkdir dest
script: >
export COMMONFLAGS='
--name "helm"
--description "Polyphonic\ synthesizer"
--version $VERSION
--package helm_VERSION_ARCH.deb
--license "GPLv3"
--maintainer "[email protected]"
--vendor "Matt\ Tytel"
--url "http://tytel.org/helm"
--depends "mesa-common"
--depends "libasound2"
--depends "libfreetype6"
--depends "libx11"
--depends "libxrandr"
--depends "libxinerama"
--depends "libxcursor"
--depends "freeglut3"
--depends "libxcomposite"
--depends "libjack"
--depends "libcurl4-gnutls"
--category "sound"' &&
make CONFIG=Release install_standalone DESTDIR=dest &&
fpm -s dir -t deb --name helm $COMMONFLAGS \
--deb-changelog debian/changelog \
--deb-priority 'optional' \
dest/ &&
echo "deb package built successfully"
libcurl4-gnutls-dev g++-4.8 gcc-4.8
script:
- make CONFIG=Release
after_success:
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ install_standalone: standalone install_patches
install -d $(BIN) $(ICONS) $(MAN) $(CHANGES)
install standalone/builds/linux/build/$(PROGRAM) $(BIN)
install -m644 images/* $(ICONS)
cp ChangeLog changes
gzip -n -9 ChangeLog
mv changes ChangeLog
mv ChangeLog.gz $(CHANGES)/changelog.gz
cp changelog changes
gzip -n -9 changelog
mv changes changelog
mv changelog.gz $(CHANGES)/changelog.gz
cp docs/helm.1.gz $(MAN)

install_lv2: lv2 install_patches
Expand Down

0 comments on commit f82287e

Please sign in to comment.