From bc439f0a7da1ccb99f8c7a3f2f23133e07f2670a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 18 May 2016 02:14:03 +0800 Subject: [PATCH] + Experiment with snappy / snapcraft --- installer/snappy/.gitignore | 6 ++ installer/snappy/setup/gui/filebot.desktop | 10 ++++ installer/snappy/setup/gui/icon.svg | 68 ++++++++++++++++++++++ installer/snappy/snapcraft.yaml | 33 +++++++++++ 4 files changed, 117 insertions(+) create mode 100644 installer/snappy/.gitignore create mode 100644 installer/snappy/setup/gui/filebot.desktop create mode 100644 installer/snappy/setup/gui/icon.svg create mode 100644 installer/snappy/snapcraft.yaml diff --git a/installer/snappy/.gitignore b/installer/snappy/.gitignore new file mode 100644 index 00000000..688376d8 --- /dev/null +++ b/installer/snappy/.gitignore @@ -0,0 +1,6 @@ +parts +snap +stage + +*.jar +*.snap \ No newline at end of file diff --git a/installer/snappy/setup/gui/filebot.desktop b/installer/snappy/setup/gui/filebot.desktop new file mode 100644 index 00000000..f1b9f867 --- /dev/null +++ b/installer/snappy/setup/gui/filebot.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=FileBot +Comment=The ultimate TV and Movie Renamer / Subtitle Downloader +Type=Application +Exec=filebot +Icon=${SNAP}/meta/gui/icon.svg +Terminal=false +StartupNotify=true +Categories=AudioVideo;Video;Utility;FileTools;Java +X-Ubuntu-Gettext-Domain=filebot diff --git a/installer/snappy/setup/gui/icon.svg b/installer/snappy/setup/gui/icon.svg new file mode 100644 index 00000000..2a9c25c1 --- /dev/null +++ b/installer/snappy/setup/gui/icon.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/installer/snappy/snapcraft.yaml b/installer/snappy/snapcraft.yaml new file mode 100644 index 00000000..63959147 --- /dev/null +++ b/installer/snappy/snapcraft.yaml @@ -0,0 +1,33 @@ +name: filebot +version: 4.7 +summary: The ultimate TV and Movie Renamer / Subtitle Downloader +description: FileBot is the ultimate tool for renaming your movies, tv shows or anime and even downloading subtitles. It's smart, streamlined for simplicity and just works. Putting the super-efficient UI aside, it's also got a full-featured command-line interface and scripting engine for all sorts of automation. Anything is possible. + + +architectures: +- amd64 + + +apps: + filebot: + command: bin/filebot + plugs: + - home + - network + - opengl + - unity7 + +parts: + filebot: + plugin: copy + files: + filebot.sh: bin/filebot + FileBot.jar: filebot/FileBot.jar + mediainfo: + plugin: nil + stage-packages: + - libchromaprint-tools + - mediainfo + java: + plugin: jdk + source: .