-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
70 lines (65 loc) · 2.15 KB
/
snapcraft.yaml
File metadata and controls
70 lines (65 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: vidcutter
version: 6.0.0
type: app
architectures:
- amd64
summary: the simplest + fastest media cutter and joiner
description: |
A modern, simple to use, constantly evolving and
hella fast MEDIA CUTTER + JOINER w/ frame-accurate
SmartCut technology + Qt5, libmpv, FFmpeg and
MediaInfo powering the backend.
icon: data/icons/hicolor/512x512/apps/com.ozmartians.VidCutter.png
grade: stable
confinement: strict
apps:
vidcutter:
command: desktop-launch vidcutter
plugs: [unity7, x11, wayland, desktop, home, pulseaudio, gsettings, opengl, mount-observe, network, network-bind, network-manager]
desktop: share/applications/com.ozmartians.VidCutter.desktop
parts:
prepare:
plugin: nil
build-packages:
- software-properties-common
override-build: |
add-apt-repository ppa:mc3man/mpv-tests -y
add-apt-repository ppa:jonathonf/ffmpeg-3 -y
apt update
apt upgrade -yy
prime: [-*]
desktop-qt5:
after: [prepare]
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libgdk-pixbuf2.0-0
- locales-all
- xdg-user-dirs
- mesa-vdpau-drivers
- libglu1-mesa
- libdb5.3
vidcutter:
plugin: python
python-version: python3
after: [prepare, desktop-qt5]
build-packages:
- python3-dev
- python3-setuptools
- libmpv-dev
stage-packages:
- libmpv1
- ffmpeg
- mediainfo
python-packages:
- pyqt5==5.10.1
- pyopengl
- simplejson
install: |
sed -i 's|Icon=.*|Icon=${SNAP}/share/icons/hicolor/512x512/apps/com.ozmartians.VidCutter.png|g' ${SNAPCRAFT_PART_INSTALL}/share/applications/com.ozmartians.VidCutter.desktop
rm ${SNAPCRAFT_PART_INSTALL}/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5WebEngineCore.so.5