Skip to content

Commit

Permalink
Build snap
Browse files Browse the repository at this point in the history
* added snap stuff

* add snap info

* add snap badge

Co-authored-by: kristbaum <max@kristenonline.de>
  • Loading branch information
kristbaum and kristbaum authored Jun 21, 2020
1 parent b80e65b commit 6b7a639
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Penguin Subtitle Player [![GitHub release](https://img.shields.io/github/release/carsonip/Penguin-Subtitle-Player.svg)](https://github.com/carsonip/Penguin-Subtitle-Player/releases) [![Build Status](https://travis-ci.org/carsonip/Penguin-Subtitle-Player.svg?branch=master)](https://travis-ci.org/carsonip/Penguin-Subtitle-Player) [![SourceForge](https://img.shields.io/sourceforge/dt/PenguinSubtitlePlayer.svg)](https://sourceforge.net/projects/penguinsubtitleplayer/) [![Github All Releases](https://img.shields.io/github/downloads/carsonip/Penguin-Subtitle-Player/total.svg)](https://github.com/carsonip/Penguin-Subtitle-Player/releases)
# Penguin Subtitle Player [![GitHub release](https://img.shields.io/github/release/carsonip/Penguin-Subtitle-Player.svg)](https://github.com/carsonip/Penguin-Subtitle-Player/releases) [![Build Status](https://travis-ci.org/carsonip/Penguin-Subtitle-Player.svg?branch=master)](https://travis-ci.org/carsonip/Penguin-Subtitle-Player) [![SourceForge](https://img.shields.io/sourceforge/dt/PenguinSubtitlePlayer.svg)](https://sourceforge.net/projects/penguinsubtitleplayer/) [![Github All Releases](https://img.shields.io/github/downloads/carsonip/Penguin-Subtitle-Player/total.svg)](https://github.com/carsonip/Penguin-Subtitle-Player/releases) [![penguin-subtitle-player](https://snapcraft.io//penguin-subtitle-player/badge.svg)](https://snapcraft.io/penguin-subtitle-player)

Penguin Subtitle Player is an open-source, cross-platform standalone subtitle player, as an alternative to [Greenfish Subtitle Player](http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/Greenfish-Subtitle-Player.shtml), [SrtViewer (Mac)](https://sourceforge.net/projects/srtviewer/), [SRTPlayer](https://sourceforge.net/projects/subtitleplayer/), [JustSubsPlayer](https://justsubsplayer.codeplex.com/) and [Free Subtitle Player](http://sourceforge.net/projects/freesubtitleplayer/).

Expand Down Expand Up @@ -28,7 +28,9 @@ To download the latest version of Penguin Subtitle Player for Windows, macOS (ak
* [SourceForge](https://sourceforge.net/projects/penguinsubtitleplayer/)
* [GitHub Release](https://github.com/carsonip/Penguin-Subtitle-Player/releases)

For Linux, it is recommended to download from your package manager instead of using the standalone version.
For Linux, it is recommended to download from your package manager instead of using the standalone version. There is also a snap available:

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/penguin-subtitle-player)

* Ubuntu

Expand Down
5 changes: 5 additions & 0 deletions snap/gui/penguin-subtitle-player.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Penguin Subtitle Player
Exec=penguin-subtitle-player
Icon=${SNAP}/meta/gui/penguin-subtitle-player.png
Binary file added snap/gui/penguin-subtitle-player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: penguin-subtitle-player # you probably want to 'snapcraft register <name>'
base: core18
version: '1.3.0'
summary: An open-source, cross-platform standalone subtitle player # 79 char long summary
description: |
You download the subtitle file (.srt, .ssa, .ass) file from any sites you like and load it into the subtitle player.
The subtitle player provides a translucent window which always stays on the top so that subtitles can be shown on top of the video without blocking anything.
With Penguin Subtitle Player, just open your favorite online streaming site, load the subtitle file into the player, and enjoy.
grade: stable
confinement: strict

apps:
penguin-subtitle-player:
extensions:
- kde-neon
command: bin/PenguinSubtitlePlayer
plugs: [home]

parts:
penguin-subtitle-player:
source: https://github.com/carsonip/Penguin-Subtitle-Player.git
options:
- "target.path=/bin"
- "INSTALLS+=target"
plugin: qmake
project-files: [PenguinSubtitlePlayer.pro]

0 comments on commit 6b7a639

Please sign in to comment.