-
Notifications
You must be signed in to change notification settings - Fork 110
/
snapcraft.yaml
32 lines (29 loc) · 904 Bytes
/
snapcraft.yaml
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
base: core20
name: phockup
grade: stable
confinement: strict
adopt-info: set-version
summary: Photo and video sorting tool
description: |
Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
The software will collect all files from the input directory and copy them to the output directory without
changing the files content. It will only rename the files and place them in the proper directory for year, month and day.
apps:
phockup:
command: phockup.sh
plugs: [home, removable-media, raw-usb]
parts:
set-version:
plugin: nil
source: .
override-pull: |
snapcraftctl pull
snapcraftctl set-version `cat phockup.py | grep '__version__ = ' | sed "s/.*'\(.*\)'/\1/"`
files:
plugin: dump
source: .
stage-packages:
- locales-all
- python3
- python3-tqdm
- libimage-exiftool-perl