Parts
#
# If you're using a modern version of snapcraft (version 2.0 or later), use this page instead:
# https://wiki.ubuntu.com/snapcraft/parts
#
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
desktop/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
desktop/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
desktop/qt4:
source: .
source-subdir: qt
plugin: make
build-packages:
- libqt4-dev
- dpkg-dev
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- shared-mime-info
- libqtgui4
- libgdk-pixbuf2.0-0
- libqt4-svg # for loading icon themes which are svg
- appmenu-qt
desktop/qt5:
source: .
source-subdir: qt
plugin: make
build-packages:
- qtbase5-dev
- dpkg-dev
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5 # for loading icon themes which are svg
- appmenu-qt5Snappy/Parts (last edited 2016-08-26 17:19:38 by ev)