Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : mailspring | name : mailspring | ||||
| version : 1.0.12 | version : 1.1.4 | ||||
| release : 5 | release : 6 | ||||
| source : | source : | ||||
| - https://github.com/Foundry376/Mailspring/archive/1.0.12.tar.gz : 593d1861151db5274565bb19e1238f9575b58b6644963327e449ac074429a5bd | - https://github.com/Foundry376/Mailspring/releases/download/1.1.4/mailspring-1.1.4-amd64.deb : edd32d06aa16ae3bc460c94f6ddddbbe12c3b1ae772aaa5d234e6ddadffd9544 | ||||
| license : | license : | ||||
| - GPL-3.0 | - GPL-3.0 | ||||
| - Distributable # mailsync | - Distributable # mailsync | ||||
| component : network.mail | component : network.mail | ||||
| summary : A beautiful, fast and maintained fork of Nylas Mail by one of the original authors. | summary : A beautiful, fast and maintained fork of Nylas Mail by one of the original authors. | ||||
| description: | | description: | | ||||
| Leaving Nylas Mail? Mailspring is a new version by one of the original authors. It's faster, leaner, and shipping today! Mailspring replaces the JavaScript mailsync code in Nylas Mail with a new C++ sync engine based on Mailcore2. It uses roughly half the RAM and CPU of Nylas Mail and idles with almost zero "CPU Wakes", which translates to great battery life. A major overhaul of the package manager and dependency tree mean it launches faster too. You might not even notice it's an Electron app! | Leaving Nylas Mail? Mailspring is a new version by one of the original authors. It's faster, leaner, and shipping today! Mailspring replaces the JavaScript mailsync code in Nylas Mail with a new C++ sync engine based on Mailcore2. It uses roughly half the RAM and CPU of Nylas Mail and idles with almost zero "CPU Wakes", which translates to great battery life. A major overhaul of the package manager and dependency tree mean it launches faster too. You might not even notice it's an Electron app! | ||||
| extract : no | |||||
| networking : yes | networking : yes | ||||
| replaces : n1 | replaces : n1 | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(alsa) | - pkgconfig(alsa) | ||||
| - pkgconfig(fontconfig) | - pkgconfig(fontconfig) | ||||
| - pkgconfig(gconf-2.0) | - pkgconfig(gconf-2.0) | ||||
| - pkgconfig(gtk+-2.0) | - pkgconfig(gtk+-2.0) | ||||
| - pkgconfig(krb5) | - pkgconfig(krb5) | ||||
| - pkgconfig(libsecret-1) | - pkgconfig(libsecret-1) | ||||
| - pkgconfig(xi) | - pkgconfig(xi) | ||||
| - pkgconfig(xkbfile) | - pkgconfig(xkbfile) | ||||
| - pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - cups-devel | - cups-devel | ||||
| - git | |||||
| - nodejs | |||||
| setup : | | |||||
| %patch -p1 < $pkgfiles/0001-linux-don-t-build-a-deb-or-rpm-please.patch | |||||
| # Dirty, workaround as we can't build from git as solbuild tries to download the private submodule, | |||||
| # but, the build process needs git history or fails. | |||||
| git init | |||||
| git add * | |||||
| git commit -m "mailspring" | |||||
| build : | | |||||
| npm config set unsafe-perm=true | |||||
| npm install | |||||
| npm run-script build | |||||
| install : | | install : | | ||||
| # Copy to our destination | ar x $sources/mailspring-${version}-amd64.deb | ||||
| install -dm00755 $installdir/usr/share/mailspring | tar xf data.tar.* | ||||
| cp -r $workdir/app/dist/mailspring-linux-x64/* $installdir/usr/share/mailspring/ | mkdir -p %installroot% | ||||
| cp -r usr %installroot%/ | |||||
| # Install binary to $PATH | cp %installroot%/usr/share/icons/hicolor/64x64/apps/mailspring.png $installdir/usr/share/pixmaps/mailspring.png | ||||
| install -dm00755 $installdir/usr/bin/ | |||||
| ln -sv /usr/share/mailspring/mailspring $installdir/usr/bin/mailspring | |||||
| # Install icons | |||||
| for size in 16 32 64 128 256 512; do | |||||
| install -Dm00644 $workdir/app/build/resources/linux/icons/$size.png \ | |||||
| $installdir/usr/share/icons/hicolor/${size}x${size}/apps/mailspring.png | |||||
| done | |||||
| # Install desktop file | |||||
| install -Dm00644 $pkgfiles/mailspring.desktop $installdir/usr/share/applications/mailspring.desktop | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.