add support for webp; add mimetype in .desktop file

This commit is contained in:
Benoit Favre 2016-03-29 14:48:44 +02:00
parent cf7b407078
commit 8d601df91e
3 changed files with 13 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Mon Feb 29 17:11:27 UTC 2016 # Tue Mar 29 12:48:23 UTC 2016
pkgbase = aseprite pkgbase = aseprite
pkgdesc = Create animated sprites and pixel art pkgdesc = Create animated sprites and pixel art
pkgver = 1.1.3 pkgver = 1.1.3
pkgrel = 1 pkgrel = 2
url = http://www.aseprite.org/ url = http://www.aseprite.org/
arch = x86_64 arch = x86_64
arch = i686 arch = i686
@ -17,10 +17,11 @@ pkgbase = aseprite
depends = libjpeg-turbo depends = libjpeg-turbo
depends = tinyxml depends = tinyxml
depends = freetype2 depends = freetype2
depends = libwebp
source = git+https://github.com/aseprite/aseprite.git#tag=v1.1.3 source = git+https://github.com/aseprite/aseprite.git#tag=v1.1.3
source = aseprite.desktop source = aseprite.desktop
sha256sums = SKIP sha256sums = SKIP
sha256sums = c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa sha256sums = 4faeb782805e3427eedb04d7485e3e2d4eac6680509515b521a9f64ef5d79490
pkgname = aseprite pkgname = aseprite

View File

@ -4,23 +4,25 @@
pkgname=aseprite pkgname=aseprite
pkgver=1.1.3 pkgver=1.1.3
pkgrel=1 pkgrel=2
pkgdesc='Create animated sprites and pixel art' pkgdesc='Create animated sprites and pixel art'
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url='http://www.aseprite.org/' url='http://www.aseprite.org/'
license=('GPL') license=('GPL')
depends=('pixman' 'curl' 'giflib' 'zlib' 'libpng' 'libjpeg-turbo' 'tinyxml' 'freetype2') depends=('pixman' 'curl' 'giflib' 'zlib' 'libpng' 'libjpeg-turbo' 'tinyxml' 'freetype2' 'libwebp')
makedepends=('cmake') makedepends=('cmake')
source=("git+https://github.com/aseprite/aseprite.git#tag=v${pkgver}" source=("git+https://github.com/aseprite/aseprite.git#tag=v${pkgver}"
"aseprite.desktop") "aseprite.desktop")
sha256sums=('SKIP' sha256sums=('SKIP'
'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa') '4faeb782805e3427eedb04d7485e3e2d4eac6680509515b521a9f64ef5d79490')
build() { build() {
cd "$pkgname" cd "$pkgname"
mkdir -p build && cd build mkdir -p build && cd build
git submodule update --init --recursive git submodule update --init --recursive
cmake -DUSE_SHARED_PIXMAN=ON \ cmake -DUSE_SHARED_PIXMAN=ON \
-DWITH_WEBP_SUPPORT=ON \
-DUSE_SHARED_LIBWEBP=ON \
-DUSE_SHARED_CURL=ON \ -DUSE_SHARED_CURL=ON \
-DUSE_SHARED_GIFLIB=ON \ -DUSE_SHARED_GIFLIB=ON \
-DUSE_SHARED_JPEGLIB=ON \ -DUSE_SHARED_JPEGLIB=ON \

View File

@ -3,7 +3,9 @@ Type=Application
Encoding=UTF-8 Encoding=UTF-8
Name=Aseprite Name=Aseprite
Comment=Pixel-art paint program Comment=Pixel-art paint program
Exec=aseprite MimeType=image/bmp;image/gif;image/jpeg;image/png;image/x-pcx;image/x-tga;image/vnd.microsoft.icon;video/x-flic;image/webp;image/x-aseprite;
Exec=aseprite %U
Terminal=false Terminal=false
Categories=Graphics;2DGraphics;RasterGraphics Categories=Graphics;2DGraphics;RasterGraphics;
Icon=aseprite Icon=aseprite
X-Desktop-File-Install-Version=0.22