Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : mailspring | name : mailspring | ||||
| version : 1.6.1 | version : 1.6.2 | ||||
| release : 23 | release : 24 | ||||
| source : | source : | ||||
| - https://github.com/Foundry376/Mailspring/releases/download/1.6.1/mailspring-1.6.1-amd64.deb : f68cd607daf27375a13ec371505a714af6eda663d79f58d75db044cd08363e7e | - https://github.com/Foundry376/Mailspring/archive/1.6.2.tar.gz : c8f5977e474f431b9b98297148cb48026a5034427086e3c08a82bc1c7be3750b | ||||
| license : | license : | ||||
| - GPL-3.0-or-later | - GPL-3.0-or-later | ||||
| - 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(gconf-2.0) | |||||
| - pkgconfig(gtk+-3.0) | - pkgconfig(gtk+-3.0) | ||||
| - pkgconfig(krb5) | |||||
| - pkgconfig(libsecret-1) | - pkgconfig(libsecret-1) | ||||
| - pkgconfig(pango) | |||||
| - pkgconfig(xkbfile) | - pkgconfig(xkbfile) | ||||
| - pkgconfig(xscrnsaver) | |||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - cups-devel | - cups-devel | ||||
| - git | |||||
| - nodejs | |||||
| rundeps : | rundeps : | ||||
| - gnome-keyring # is required at least until kwallet can handle libsecret. | - gnome-keyring # is required at least until kwallet can handle libsecret. | ||||
| - libglvnd | |||||
| setup : | | setup : | | ||||
| ar x $sources/mailspring-${version}-amd64.deb | %patch -p1 < $pkgfiles/0001-linux-don-t-build-a-deb-or-rpm-please.patch | ||||
| tar xf data.tar.* | %patch -p1 < $pkgfiles/0002-do-not-check-git-history.patch | ||||
| build : | | |||||
| npm config set unsafe-perm=true | |||||
| npm install | |||||
| npm run-script build | |||||
| install : | | install : | | ||||
| install -dm00644 $installdir | # Copy to our destination | ||||
| cp -r usr $installdir | install -dm00755 $installdir/usr/share/mailspring | ||||
| cp -r $workdir/app/dist/mailspring-linux-x64/* $installdir/usr/share/mailspring/ | |||||
| # Install binary to $PATH | |||||
| 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 | |||||
| ls $workdir/app/dist | |||||
JoshStrobl: ls can be removed. The art of debugging during packaging, eh? :D | |||||
xulongwu4AuthorUnsubmitted Not Done Inline ActionsYeah my bad :) xulongwu4: Yeah my bad :) | |||||
| install -Dm00644 $pkgfiles/mailspring.desktop $installdir/usr/share/applications/mailspring.desktop | |||||
| # Link to System Libraries | # Link to System Libraries | ||||
| rm $installdir/usr/share/mailspring/libEGL.so | rm $installdir/usr/share/mailspring/libEGL.so | ||||
| rm $installdir/usr/share/mailspring/libGLESv2.so | rm $installdir/usr/share/mailspring/libGLESv2.so | ||||
| ln -s /usr/lib64/libEGL.so $installdir/usr/share/mailspring/libEGL.so | ln -s /usr/lib64/libEGL.so $installdir/usr/share/mailspring/libEGL.so | ||||
| ln -s /usr/lib64/libGLESv2.so $installdir/usr/share/mailspring/libGLESv2.so | ln -s /usr/lib64/libGLESv2.so $installdir/usr/share/mailspring/libGLESv2.so | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
ls can be removed. The art of debugging during packaging, eh? :D