main.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. # Configure and build core library
  3. #
  4. - name: configure ufo-core
  5. command: chdir=/opt/ufo-core cmake . -DPREFIX={{ install_prefix }} -DLIBDIR={{ libdir }} -DCMAKE_BUILD_TYPE=Release
  6. notify:
  7. - build ufo-core
  8. - name: build ufo-core
  9. command: chdir=/opt/ufo-core make
  10. notify:
  11. - install ufo-core
  12. - name: install ufo-core
  13. command: chdir=/opt/ufo-core make install
  14. # Build filters
  15. - name: build filters
  16. command: chdir=/opt/{{ item }} make
  17. notify:
  18. - install filters
  19. with_items:
  20. - ufo-filters
  21. - lamino-filters
  22. - name: install filters
  23. command: chdir=/opt/{{ item }} make install
  24. with_items:
  25. - ufo-filters
  26. - lamino-filters
  27. # Build auxiliary things
  28. - name: install ufo-scripts
  29. command: chdir=/opt/ufo-scripts python setup.py install
  30. - name: install ufo-python-tools
  31. command: chdir=/opt/ufo-python-tools python setup.py install
  32. - name: update typelib
  33. file: src=/usr/local/lib/girepository-1.0/Ufo-0.6.typelib
  34. dest=/usr/lib64/girepository-1.0/Ufo-0.6.typelib
  35. state=link