diff options
author | Jorge Araya Navarro <elcorreo@deshackra.com> | 2016-05-25 17:50:22 -0600 |
---|---|---|
committer | Jorge Araya Navarro <elcorreo@deshackra.com> | 2016-05-25 17:50:22 -0600 |
commit | e0d883bd5ddc0909072adddcd5cf679860ec1e6c (patch) | |
tree | 41e2d38b2459fe1bb51cc1b1542ec849d091b3dc /pcr/aseprite | |
parent | fff980b91cd6dcd957e1b7dc991b7348f0ba402f (diff) | |
download | abslibre-e0d883bd5ddc0909072adddcd5cf679860ec1e6c.tar.gz abslibre-e0d883bd5ddc0909072adddcd5cf679860ec1e6c.tar.bz2 abslibre-e0d883bd5ddc0909072adddcd5cf679860ec1e6c.zip |
Updating aseprite after 3 years
Diffstat (limited to 'pcr/aseprite')
-rw-r--r-- | pcr/aseprite/PKGBUILD | 47 | ||||
-rw-r--r-- | pcr/aseprite/SRCBUILD | 36 |
2 files changed, 70 insertions, 13 deletions
diff --git a/pcr/aseprite/PKGBUILD b/pcr/aseprite/PKGBUILD index 27648972a..1097a8705 100644 --- a/pcr/aseprite/PKGBUILD +++ b/pcr/aseprite/PKGBUILD @@ -1,33 +1,54 @@ +# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> # Maintainer (Arch): Benoit Favre <benoit.favre@gmail.com> # Contributor (Arch): Alexander Rødseth <rodseth@gmail.com> +# Contributor: Kamil Biduś <kamil.bidus@gmail.com> pkgname=aseprite -pkgver=0.9.5 -pkgrel=3 +pkgver=1.1.5.6 +pkgrel=1 pkgdesc='Create animated sprites and pixel art' arch=('x86_64' 'i686') url='http://www.aseprite.org/' license=('GPL') -depends=('allegro') -makedepends=('cmake') -source=("http://aseprite.googlecode.com/files/$pkgname-$pkgver.zip" aseprite.desktop) -sha256sums=('ce4f1e011744f9a5927a5341fccc3938b67f15f6a66d5df6b4282c5498fb8fd5' 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa') +depends=('pixman' 'curl' 'giflib' 'zlib' 'libpng' 'libjpeg-turbo' 'tinyxml' + 'freetype2' 'libwebp' 'libxext') +makedepends=('cmake' 'git') +source=("libre://aseprite-1.1.5.6-2-i686.src.tar.xz" + aseprite.desktop) +sha256sums=('2c825fd6e9efc6dd195fceae1846422df3ded45d6da1c96e120cd061209aac2a' + 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa') build() { - cd "$pkgname-$pkgver" + cd "$pkgname" - cmake -DCMAKE_INSTALL_PREFIX:STRING=/usr . - make + mkdir -p build && cd build + + cmake -DUSE_SHARED_PIXMAN=ON \ + -DWITH_WEBP_SUPPORT=ON \ + -DUSE_SHARED_LIBWEBP=ON \ + -DUSE_SHARED_CURL=ON \ + -DUSE_SHARED_GIFLIB=ON \ + -DUSE_SHARED_JPEGLIB=ON \ + -DUSE_SHARED_ZLIB=ON \ + -DUSE_SHARED_LIBPNG=ON \ + -DUSE_SHARED_LIBLOADPNG=OFF \ + -DUSE_SHARED_TINYXML=ON \ + -DENABLE_UPDATER=OFF \ + -DUSE_SHARED_FREETYPE=ON \ + -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ + -Wno-dev \ + -DCMAKE_INSTALL_PREFIX:STRING=/usr .. + make aseprite } package() { - cd "$pkgname-$pkgver" + cd "$pkgname"/build - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir/" install/fast install -Dm644 "$srcdir/$pkgname.desktop" \ - "$pkgdir/usr/share/applications/$pkgname.desktop" + "$pkgdir/usr/share/applications/$pkgname.desktop" install -Dm644 "data/icons/ase48.png" \ - "$pkgdir/usr/share/pixmaps/$pkgname.png" + "$pkgdir/usr/share/pixmaps/$pkgname.png" } # vim:set ts=2 sw=2 et: diff --git a/pcr/aseprite/SRCBUILD b/pcr/aseprite/SRCBUILD new file mode 100644 index 000000000..5c54afef7 --- /dev/null +++ b/pcr/aseprite/SRCBUILD @@ -0,0 +1,36 @@ +# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> + +pkgname=aseprite +pkgver=1.1.5.6 +pkgrel=2 +pkgdesc='Create animated sprites and pixel art' +arch=('x86_64' 'i686') +url='http://www.aseprite.org/' +license=('GPL') +source=("git+https://github.com/aseprite/aseprite.git#tag=v${pkgver}" + aseprite.desktop) +makedepends=('git') +sha256sums=('SKIP' + 'c9e624b9fd095ebb3eec8220a58d4a9422f39d68477bafcc0047d773814ba0aa') + +build() { + cd ${srcdir}/${pkgname} + + export PKGEXT=.src.tar.xz + + # get submodules to have the entire source code + git submodule update --init third_party/duktape + git submodule update --init third_party/gtest + git submodule update --init third_party/simpleini +} + +package() { + cd ${srcdir} + export PKGEXT=.src.tar.xz + export PKGDEST=${startdir} + + mv ${pkgname} ${pkgdir}/ + +} + +# vim:set ts=2 sw=2 et: |