Parts

Revision 30 as of 2016-06-29 06:38:57

Clear message

curl:
        type: autotools-project
        plugin: autotools
        source: http://curl.haxx.se/download/curl-7.44.0.tar.bz2
        source-type: tar
        configflags:
            - --enable-static
            - --enable-shared
            - --disable-manual
        snap:
            - -bin
            - -lib/*.a
            - -lib/pkgconfig
            - -lib/*.la
            - -include
            - -share

# MQTT for python library by eclipse paho project
# Homepage: http://www.eclipse.org/paho/
# Example: https://github.com/campbieil/mqtt-Ubuntu-Core-Thingstudio
mqtt-paho-py3:
        plugin: python3
        source: https://github.com/eclipse/paho.mqtt.python
        source-type: git
        source-tag: v1.1
mqtt-paho-py2:
        plugin: python2
        source: https://github.com/eclipse/paho.mqtt.python
        source-type: git
        source-tag: v1.1


qt5conf:
        build-packages: [dpkg-dev]
        plugin: make
        source: https://github.com/dplanella/qt5conf.git

qt5conf-with-gtk:
        build-packages: [dpkg-dev]
        plugin: make
        source: https://github.com/dplanella/qt5conf.git
        source-branch: with-gtk

qt4conf:
        build-packages: [dpkg-dev]
        plugin: make
        source: https://github.com/kyrofa/qt4conf.git

gtkconf:
        build-packages: [dpkg-dev]
        plugin: make
        source: https://github.com/dplanella/gtkconf.git
        source-type: git
        source-branch: devel

# ffmpeg parts
# from snappy-desktop-exemple/youtube-dl
# posted by Winael on 23/04/2016

ffmpeg:
    plugin: autotools
    configflags: [--enable-gpl, --enable-libass, --enable-libfreetype, --enable-libmp3lame, --enable-libopus, --enable-libtheora, --enable-libv
orbis, --enable-libvpx, --enable-libx264, --enable-libx265, --enable-nonfree]
    source: git://source.ffmpeg.org/ffmpeg.git
    source-type: git
    build-packages:
      - git
      - g++
      - make
      - yasm
      - autoconf
      - libtool
      - cmake
      - pkg-config
      - automake
      - build-essential
      - libass-dev
      - libfreetype6-dev
      - libsdl1.2-dev
      - libtheora-dev
      - libva-dev
      - libvdpau-dev
      - libvorbis-dev
      - libxcb1-dev
      - libxcb-shm0-dev
      - libxcb-xfixes0-dev
      - texinfo
      - zlib1g-dev
      - libx264-dev
      - libmp3lame-dev
      - libopus-dev
      - libx265-dev
      - libvpx-dev
    organize:
      usr/local/bin: usr/bin

plainbox:
    plugin: nil
    stage-packages:
        - plainbox
        - checkbox-ng
    snap:
        - -usr/share/doc
        - -usr/share/man
        - -usr/include

plainbox-provider-snappy:
    plugin: plainbox-provider
    source-type: git
    source: git://git.launchpad.net/plainbox-provider-snappy
    source-subdir: plainbox-provider-snappy
    stage-packages:
        - python3-yaml
        - pciutils
        - usbutils
        - dmidecode
        - fwts
        - lshw
        - bluez-tests
        - python3-dbus
        - bonnie++
        - hdparm
        - tpm-tools

plainbox-provider-snappy-resource:
    plugin: plainbox-provider
    source-type: git
    source: git://git.launchpad.net/plainbox-provider-snappy
    source-subdir: plainbox-provider-snappy-resource

gtk2:
  source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
  source-subdir: gtk
  plugin: make
  build-packages:
    - libgtk2.0-dev
  stage-packages:
    - libxkbcommon0
    - ttf-ubuntu-font-family
    - dmz-cursor-theme
    - light-themes
    - shared-mime-info
    - libgtk2.0-0
    - libgdk-pixbuf2.0-0
    - libglib2.0-bin
    - libgtk2.0-bin
    - unity-gtk2-module

gtk3:
  source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
  source-subdir: gtk
  plugin: make
  build-packages:
    - libgtk-3-dev
  stage-packages:
    - libxkbcommon0
    - ttf-ubuntu-font-family
    - dmz-cursor-theme
    - light-themes
    - shared-mime-info
    - libgtk-3-0
    - libgdk-pixbuf2.0-0
    - libglib2.0-bin
    - libgtk-3-bin
    - unity-gtk3-module