Commit dc0e1b49 authored by Carlos Suárez's avatar Carlos Suárez

Update gitlab-ci and delete snap

parent b9cd1d68
......@@ -27,7 +27,8 @@ variables:
- git clone $METEO_REPO
- cd meteo && dpkg-checkbuilddeps && dpkg-buildpackage
- mkdir -p releases
- mv ../*.deb releases/
- ls ../
- mv ../*.deb releases/*.deb
only:
- tags
artifacts:
......@@ -100,28 +101,3 @@ package:fedora:
- meteo-0.9.8-1.fc30.x86_64.rpm
- meteo-0.9.8-1.fc30.src.rpm
expire_in: 90 days
## Snap
package:snap:
image: ubuntu:18.04
stage: package
before_script:
- apt-get update -y
- apt-get -y install snapcraft
script:
- snapcraft
- echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
- snapcraft login --with snapcraft.login
- snapcraft push *.snap --release beta
allow_failure: false
only:
- tags
artifacts:
paths: ['./*.snap']
expire_in: 90 days
[Desktop Entry]
Name=Meteo
GenericName=Meteo
Comment[en]=Forecast App for desktop
Comment[es]=Aplicación de predicción para el escritorio
Comment[es_ES]=Aplicación de predicción para el escritorio
Comment[fr]=Application à la Prévision pour le bureau
Comment[lt]=Orų prognozės programa darbalaukiui
Comment[pt]=Aplicativo de Previsão do ambiente de trabalho
Comment[pt_BR]=Aplicativo de Previsão do ambiente de trabalho
Comment[pt_PT]=Aplicativo de Previsão do ambiente de trabalho
Comment=Forecast App for desktop
Categories=Utility;Education;Science;
Exec=meteo
Icon=${SNAP}/meta/gui/meteo.svg
Terminal=false
Type=Application
X-GNOME-Gettext-Domain=com.gitlab.bitseater.meteo
Keywords[en]=Weather;Forecast;Temperature;Wind;Snow;Rain;
Keywords[es]=Tiempo;Previsión;Temperatura;Viento;Nieve;Lluvia;
Keywords[es_ES]=Tiempo;Previsión;Temperatura;Viento;Nieve;Lluvia;
Keywords[fr]=Prévisions;Météo;Température;Vent;Neige;Pluie;
Keywords[lt]=Orai;Prognozė;Temperatūra;Vėjas;Oras;Sniegas;Lietus;
Keywords[pt]=Previsão;Tempo;Temperatura;Vento;Neve;Chuva;
Keywords[pt_BR]=Previsão;Tempo;Temperatura;Vento;Neve;Chuva;
Keywords[pt_PT]=Previsão;Tempo;Temperatura;Vento;Neve;Chuva;
Keywords=Weather;Forecast;Temperature;Wind;Snow;Rain;
X-GNOME-UsesNotifications=true
This diff is collapsed.
name: meteo
version: '0.9.8'
summary: Know the forecast of the next hours and days, with data and maps
description: |
Current weather, with information about temperature, pressure, wind
speed and direction, sunrise and sunset. Show awesome maps with all
this information. Switch between some maps distributors.
grade: stable
confinement: strict
base: core18
slots:
dbus-meteo:
interface: dbus
bus: session
name: com.gitlab.bitseater.meteo
apps:
meteo:
command: bin/desktop-launch $SNAP/bin/snapcraft-preload $SNAP/usr/bin/com.gitlab.bitseater.meteo
plugs:
- x11
- desktop
- desktop-legacy
- wayland
- unity7
- home
- browser-support
- locale-control
- gsettings
- network
- opengl
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
LD_LIBRARY_PATH: $SNAP/usr/lib/*/webkit2gtk-4.0/:$LD_LIBRARY_PATH
desktop: usr/share/applications/com.gitlab.bitseater.meteo.desktop
parts:
meson:
plugin: nil
override-build: |
apt install -y python3 python3-setuptools python3-pip ninja-build
pip3 install meson
meteo-app:
after: [meson, desktop-gtk3, snapcraft-preload]
source: https://gitlab.com/bitseater/meteo/-/archive/0.9.8/meteo-0.9.8.tar
source-type: tar
plugin: meson
meson-parameters: [--prefix=/usr]
build-packages:
- build-essential
- gettext
- libgtk-3-dev
- valac
- libjson-glib-dev
- meson
- ninja-build
- debhelper
- libsoup2.4-dev
- libgeocode-glib-dev
- libwebkit2gtk-4.0-dev
- libappindicator3-dev
stage-packages:
- dbus
- libgtk-3-0
- libgeocode-glib0
- libwebkit2gtk-4.0-37
- libappindicator3-1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment