加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
snapcraft.yaml 910 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ivan Dokov 提交于 2021-06-06 12:46 . Fixed version extraction for snaps
base: core18
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
VERSION=`cat phockup.py | grep '__version__ = ' | sed sed "s/.*'\(.*\)'/\1/"`
snapcraftctl set-version $VERSION
files:
plugin: dump
source: .
stage-packages:
- locales-all
- python3
- libimage-exiftool-perl
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化