Created
September 14, 2015 14:30
Revisions
-
infovore renamed this gist
Sep 14, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
infovore created this gist
Sep 14, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,50 @@ --- - hosts: YOUR_HOST_HERE tasks: - name: Install audiowaveform dependencies apt: pkg={{item}} state=installed with_items: - git-core - make - cmake - gcc - g++ - libmad0-dev - libsndfile1-dev - libgd2-xpm-dev - libboost-filesystem-dev - libboost-program-options-dev - libboost-regex-dev - unzip register: aw_deps_installed - name: Clone audiowaveform repository git: repo=https://github.com/bbcrd/audiowaveform.git dest=/tmp/audiowaveform when: aw_deps_installed|success register: aw_cloned - name: Download GMock get_url: url=https://googlemock.googlecode.com/files/gmock-1.7.0.zip dest=/tmp/audiowaveform/ when: aw_cloned|success register: gmock_downloaded - name: Unzip GMock unarchive: src=/tmp/audiowaveform/gmock-1.7.0.zip dest=/tmp/audiowaveform/ copy=no when: gmock_downloaded|success register: gmock_unzipped - name: Symlink GMock file: src=/tmp/audiowaveform/gmock-1.7.0 dest=/tmp/audiowaveform/gmock state=link when: gmock_unzipped|success register: gmock_symlinked - name: Compile audiowaveform shell: 'cd /tmp/audiowaveform;{{ item }}' with_items: - mkdir build - cd build; cmake .. - cd build; make - cd build; make install