Icon and .desktop file working for Flatpak
This commit is contained in:
@@ -47,7 +47,7 @@ build:
|
||||
|
||||
build_logo:
|
||||
image: ubuntu:20.04
|
||||
stage: build
|
||||
stage: test
|
||||
before_script:
|
||||
- export DEBIAN_FRONTEND=noninteractive
|
||||
- apt update && apt install -y inkscape make wget unzip
|
||||
|
@@ -1,3 +1,9 @@
|
||||
v0.9.2
|
||||
======
|
||||
|
||||
* **Flatpak support is back!** After resolving a build error that's been
|
||||
plaguing us since **v0.8.9**, we once again have a Flatpak build!
|
||||
|
||||
v0.9.1
|
||||
======
|
||||
|
||||
|
@@ -7,17 +7,17 @@
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
id="Layer_1"
|
||||
data-name="Layer 1"
|
||||
viewBox="0 0 190.5 177.28"
|
||||
version="1.1"
|
||||
sodipodi:docname="icon.svg"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14"
|
||||
width="190.5"
|
||||
height="177.28"
|
||||
inkscape:export-filename="/home/sumner/projects/sublime-music/docs/logo/icon.png"
|
||||
inkscape:export-ydpi="287.20221"
|
||||
inkscape:export-xdpi="287.20221"
|
||||
inkscape:export-ydpi="287.20221">
|
||||
inkscape:export-filename="/home/sumner/projects/sublime-music/docs/logo/icon.png"
|
||||
height="190.5"
|
||||
width="190.5"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="icon.svg"
|
||||
version="1.1"
|
||||
viewBox="0 0 190.5 190.49999"
|
||||
data-name="Layer 1"
|
||||
id="Layer_1">
|
||||
<metadata
|
||||
id="metadata37">
|
||||
<rdf:RDF>
|
||||
@@ -31,29 +31,30 @@
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="844"
|
||||
inkscape:window-height="1404"
|
||||
id="namedview35"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.6675088"
|
||||
inkscape:cx="117.32803"
|
||||
inkscape:cy="-40.615259"
|
||||
inkscape:window-x="1710"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="Layer_1"
|
||||
fit-margin-top="5"
|
||||
fit-margin-left="5"
|
||||
inkscape:document-rotation="0"
|
||||
fit-margin-bottom="11.61"
|
||||
fit-margin-right="5"
|
||||
fit-margin-bottom="5" />
|
||||
fit-margin-left="5"
|
||||
fit-margin-top="11.61"
|
||||
inkscape:current-layer="Layer_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="52.632917"
|
||||
inkscape:cx="29.754442"
|
||||
inkscape:zoom="3.776"
|
||||
showgrid="false"
|
||||
id="namedview35"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<defs
|
||||
id="defs4">
|
||||
<style
|
||||
@@ -62,11 +63,11 @@
|
||||
<title
|
||||
id="title6">Logo 1</title>
|
||||
<path
|
||||
class="cls-1"
|
||||
d="M 124.85,5 H 65 A 53.74,53.74 0 0 0 11.26,58.73 v 59.81 A 53.74,53.74 0 0 0 65,172.28 h 59.85 a 53.73,53.73 0 0 0 53.73,-53.74 V 58.73 A 53.73,53.73 0 0 0 124.85,5 Z M 73.76,63.75 a 11.75,11.75 0 0 0 1,4.92 c 7.59,16.61 62.77,8.37 61.8,45.33 -1.1,39.94 -59,40.88 -80.65,23 C 51.26,138.56 5,161.64 5,161.64 c 0,0 62.85,-41.44 62.7,-41.15 12.89,8.8 46.06,15.41 48.42,-6.92 C 114.33,93.2 63.99,101.37 54.76,73.76 q -0.15,-0.42 -0.27,-0.84 l -0.09,-0.3 q -0.19,-0.69 -0.36,-1.41 v 0 a 31.34,31.34 0 0 1 -0.72,-7.86 c 1.1,-39.94 59,-40.88 80.65,-23 4.65,-1.57 51.53,-24.13 51.53,-24.13 0,0 -63.47,40.93 -63.32,40.64 C 109.25,48.02 74.9,41.33 73.72,63.75 Z m 46.47,5.78 a 5.09,5.09 0 1 1 -5.31,-4.87 5.11,5.11 0 0 1 5.27,4.87 z M 107.68,65.7 a 5.1,5.1 0 1 1 -5.32,-4.87 5.1,5.1 0 0 1 5.28,4.87 z M 95.12,61.87 A 5.1,5.1 0 1 1 89.81,57 a 5.1,5.1 0 0 1 5.27,4.87 z m -24.16,47.46 a 5.1,5.1 0 1 1 5.36,4.83 5.1,5.1 0 0 1 -5.4,-4.83 z m 12.59,3.71 a 5.1,5.1 0 1 1 5.36,4.83 5.1,5.1 0 0 1 -5.4,-4.83 z m 12.59,3.71 a 5.1,5.1 0 1 1 5.36,4.83 5.11,5.11 0 0 1 -5.4,-4.83 z"
|
||||
id="path8"
|
||||
style="fill:#ff6801;fill-opacity:1"
|
||||
inkscape:export-xdpi="160"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-ydpi="160"
|
||||
inkscape:connector-curvature="0" />
|
||||
inkscape:export-xdpi="160"
|
||||
style="fill:#ff6801;fill-opacity:1"
|
||||
id="path8"
|
||||
d="M 124.85,11.61 H 65 A 53.74,53.74 0 0 0 11.26,65.34 v 59.81 A 53.74,53.74 0 0 0 65,178.89 h 59.85 a 53.73,53.73 0 0 0 53.73,-53.74 V 65.34 A 53.73,53.73 0 0 0 124.85,11.61 Z M 73.76,70.36 a 11.75,11.75 0 0 0 1,4.92 c 7.59,16.61 62.77,8.37 61.8,45.33 -1.1,39.94 -59,40.88 -80.65,23 C 51.26,145.17 5,168.25 5,168.25 c 0,0 62.85,-41.44 62.7,-41.15 12.89,8.8 46.06,15.41 48.42,-6.92 -1.79,-20.37 -52.13,-12.2 -61.36,-39.81 q -0.15,-0.42 -0.27,-0.84 l -0.09,-0.3 q -0.19,-0.69 -0.36,-1.41 v 0 a 31.34,31.34 0 0 1 -0.72,-7.86 c 1.1,-39.94 59,-40.88 80.65,-23 4.65,-1.57 51.53,-24.13 51.53,-24.13 0,0 -63.47,40.93 -63.32,40.64 C 109.25,54.63 74.9,47.94 73.72,70.36 Z m 46.47,5.78 a 5.09,5.09 0 1 1 -5.31,-4.87 5.11,5.11 0 0 1 5.27,4.87 z m -12.55,-3.83 a 5.1,5.1 0 1 1 -5.32,-4.87 5.1,5.1 0 0 1 5.28,4.87 z M 95.12,68.48 a 5.1,5.1 0 1 1 -5.31,-4.87 5.1,5.1 0 0 1 5.27,4.87 z m -24.16,47.46 a 5.1,5.1 0 1 1 5.36,4.83 5.1,5.1 0 0 1 -5.4,-4.83 z m 12.59,3.71 a 5.1,5.1 0 1 1 5.36,4.83 5.1,5.1 0 0 1 -5.4,-4.83 z m 12.59,3.71 a 5.1,5.1 0 1 1 5.36,4.83 5.11,5.11 0 0 1 -5.4,-4.83 z"
|
||||
class="cls-1" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -4,6 +4,8 @@
|
||||
"runtime-version": "3.34",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"command": "sublime-music",
|
||||
"rename-icon": "sublime-music",
|
||||
"rename-desktop-file": "sublime-music.desktop",
|
||||
"add-extentions": {
|
||||
"org.freedesktop.Platform.ffmpeg-full": {
|
||||
"directory": "lib/ffmpeg",
|
||||
@@ -23,6 +25,42 @@
|
||||
"--filesystem=xdg-data/sublime-music"
|
||||
],
|
||||
"modules": [
|
||||
{
|
||||
"name": "desktop",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"install -Dm644 sublime-music.desktop /app/share/applications/sublime-music.desktop"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "file",
|
||||
"path": "../sublime-music.desktop"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icons",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"install -Dm644 16x16.png /app/share/icons/hicolor/16x16/apps/sublime-music.png",
|
||||
"install -Dm644 22x22.png /app/share/icons/hicolor/22x22/apps/sublime-music.png",
|
||||
"install -Dm644 32x32.png /app/share/icons/hicolor/32x32/apps/sublime-music.png",
|
||||
"install -Dm644 36x36.png /app/share/icons/hicolor/36x36/apps/sublime-music.png",
|
||||
"install -Dm644 48x48.png /app/share/icons/hicolor/48x48/apps/sublime-music.png",
|
||||
"install -Dm644 64x64.png /app/share/icons/hicolor/64x64/apps/sublime-music.png",
|
||||
"install -Dm644 72x72.png /app/share/icons/hicolor/72x72/apps/sublime-music.png",
|
||||
"install -Dm644 96x96.png /app/share/icons/hicolor/96x96/apps/sublime-music.png",
|
||||
"install -Dm644 128x128.png /app/share/icons/hicolor/128x128/apps/sublime-music.png",
|
||||
"install -Dm644 192x192.png /app/share/icons/hicolor/192x192/apps/sublime-music.png",
|
||||
"install -Dm644 512x512.png /app/share/icons/hicolor/512x512/apps/sublime-music.png"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
"path": "../docs/logo/build"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "sublime",
|
||||
"buildsystem": "simple",
|
||||
@@ -39,7 +77,11 @@
|
||||
"pypi-dependencies.json",
|
||||
{
|
||||
"name": "libmpv",
|
||||
"cleanup": [ "/include", "/lib/pkgconfig", "/share/man" ],
|
||||
"cleanup": [
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share/man"
|
||||
],
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-oss-audio --disable-alsa",
|
||||
@@ -63,7 +105,13 @@
|
||||
{
|
||||
"name": "luajit",
|
||||
"no-autogen": true,
|
||||
"cleanup": [ "/bin", "/lib/*.a", "/include", "/lib/pkgconfig", "/share/man" ],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/lib/*.a",
|
||||
"/include",
|
||||
"/lib/pkgconfig",
|
||||
"/share/man"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
@@ -72,19 +120,29 @@
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"commands": [ "sed -i 's|/usr/local|/app|' ./Makefile" ]
|
||||
"commands": [
|
||||
"sed -i 's|/usr/local|/app|' ./Makefile"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "libass",
|
||||
"cleanup": [ "/include", "/lib/*.la", "/lib/pkgconfig" ],
|
||||
"config-opts": [ "--disable-static" ],
|
||||
"sources": [{
|
||||
"cleanup": [
|
||||
"/include",
|
||||
"/lib/*.la",
|
||||
"/lib/pkgconfig"
|
||||
],
|
||||
"config-opts": [
|
||||
"--disable-static"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz",
|
||||
"sha256": "881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2"
|
||||
}]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "uchardet",
|
||||
|
@@ -7,7 +7,9 @@ REPO=${REPO:-/repo}
|
||||
rm -rf flatpak-builder-tools
|
||||
git clone https://github.com/flatpak/flatpak-builder-tools.git
|
||||
|
||||
python3 ./flatpak-builder-tools/pip/flatpak-pip-generator --requirements-file=flatpak-requirements.txt --output pypi-dependencies
|
||||
python3 ./flatpak-builder-tools/pip/flatpak-pip-generator \
|
||||
--requirements-file=flatpak-requirements.txt \
|
||||
--output pypi-dependencies
|
||||
|
||||
mkdir -p $REPO
|
||||
|
||||
|
@@ -5,7 +5,7 @@ Name=Sublime Music
|
||||
Name[es]=Música Sublime
|
||||
GenericName=Music Player
|
||||
Comment=Native Subsonic client for Linux
|
||||
Exec=/usr/bin/sublime-music
|
||||
Exec=sublime-music
|
||||
Icon=sublime-music
|
||||
Terminal=false
|
||||
Categories=AudioVideo;Audio;Music;
|
||||
|
Reference in New Issue
Block a user