summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Nascimento2020-10-09 12:05:21 -0300
committerFilipe Nascimento2020-10-09 12:05:21 -0300
commit6529f296878ae6f4ac511cafd589ef0c2dd170e2 (patch)
treea784c63eb5f049d7f188cb2245085b76595a094c
parent8ac4e1e8b8dcb020af17b3d7de050d360a7ffbde (diff)
downloadaur-6529f296878ae6f4ac511cafd589ef0c2dd170e2.tar.gz
upgpkg: emulsion 6.0.0-1
upstream release
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD17
-rwxr-xr-xemulsion.desktop4
3 files changed, 23 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 708cc019c05..238d6471f8c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,24 @@
pkgbase = emulsion
pkgdesc = A fast and minimalistic image viewer
- pkgver = 5.0.0
+ pkgver = 6.0.0
pkgrel = 1
url = https://github.com/ArturKovacs/emulsion
arch = i686
arch = x86_64
license = MIT
+ makedepends = cmake
+ makedepends = meson
+ makedepends = nasm
+ makedepends = ninja
+ makedepends = python
makedepends = rust
depends = gcc-libs
depends = hicolor-icon-theme
- source = emulsion-5.0.0.tar.gz::https://github.com/ArturKovacs/emulsion/archive/v5.0.tar.gz
+ depends = libxcb
+ source = emulsion-6.0.0.tar.gz::https://github.com/ArturKovacs/emulsion/archive/v6.0.tar.gz
source = emulsion.desktop
- sha256sums = 080c82e0297a6f86bf9c35fabf943af231362a31f735841df1deb57ef5108bcd
- sha256sums = 7003f0a26dec380e22b2f0fedd044e266663f5a49e2557d6e4dc738933561e40
+ sha256sums = 2d3a1a40a82b63179f4e3413565f79e99e9ed8a0ab3bac60ec459012ba35e58d
+ sha256sums = a1bdf607a12a4c9a10e15586c6c90afef6985a3f4bd7c451e7c022c17f986aed
pkgname = emulsion
diff --git a/PKGBUILD b/PKGBUILD
index d300825572a..fe193cb9d08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,27 @@
# Maintainer: Filipe Nascimento <flipee at tuta dot io>
pkgname=emulsion
-pkgver=5.0.0
+pkgver=6.0.0
pkgrel=1
pkgdesc="A fast and minimalistic image viewer"
arch=('i686' 'x86_64')
url="https://github.com/ArturKovacs/emulsion"
license=('MIT')
-depends=('gcc-libs' 'hicolor-icon-theme')
-makedepends=('rust')
+depends=('gcc-libs' 'hicolor-icon-theme' 'libxcb')
+makedepends=('cmake' 'meson' 'nasm' 'ninja' 'python' 'rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v${pkgver%.*}.tar.gz"
"emulsion.desktop")
-sha256sums=('080c82e0297a6f86bf9c35fabf943af231362a31f735841df1deb57ef5108bcd'
- '7003f0a26dec380e22b2f0fedd044e266663f5a49e2557d6e4dc738933561e40')
+sha256sums=('2d3a1a40a82b63179f4e3413565f79e99e9ed8a0ab3bac60ec459012ba35e58d'
+ 'a1bdf607a12a4c9a10e15586c6c90afef6985a3f4bd7c451e7c022c17f986aed')
build() {
cd $pkgname-${pkgver%.*}
- cargo build --release --locked --no-default-features
+ cargo build --release --locked --features avif
+}
+
+check() {
+ cd $pkgname-${pkgver%.*}
+ cargo test --release --locked --features avif
}
package() {
diff --git a/emulsion.desktop b/emulsion.desktop
index 7b25c6baf73..5dbbe3a0aa8 100755
--- a/emulsion.desktop
+++ b/emulsion.desktop
@@ -1,9 +1,9 @@
[Desktop Entry]
Name=Emulsion
Comment=A fast and minimalistic image viewer
-Exec=emulsion %U
+Exec=emulsion %f
Terminal=false
Icon=emulsion
Type=Application
Categories=Graphics;Viewer;Photography;
-MimeType=inode/directory;image/gif;image/jpeg;image/png;image/bmp;image/x-eps;image/x-icns;image/x-ico;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/tiff;image/x-psd;image/x-webp;image/webp;image/x-tga;application/x-krita;image/x-kde-raw;image/x-canon-cr2;image/x-canon-crw;image/x-kodak-dcr;image/x-adobe-dng;image/x-kodak-k25;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-olympus-orf;image/x-pentax-pef;image/x-fuji-raf;image/x-panasonic-rw;image/x-sony-sr2;image/x-sony-srf;image/x-sigma-x3f;image/x-sony-arw;image/x-panasonic-rw2;
+MimeType=image/jpeg;image/jpg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/tiff;image/bmp;image/avif;image/x-png;image/x-tga;image/x-targa;image/x-bmp;image/x-icon;image/vnd.radiance;image/x‑portable‑bitmap;image/x‑portable‑graymap;image/x‑portable‑pixmap;image/x‑portable‑anymap;