summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2016-05-06 00:02:22 +0500
committerPatrice Clement <monsieurp@gentoo.org>2016-05-05 21:57:23 +0000
commitf05837a065be9593230680a3bacd6c6570c08843 (patch)
tree2db59bda349040f3df6db71c84168efbf4725c62 /dev-games
parentdev-python/pymediainfo: remove old (diff)
downloadgentoo-f05837a065be9593230680a3bacd6c6570c08843.tar.gz
gentoo-f05837a065be9593230680a3bacd6c6570c08843.tar.bz2
gentoo-f05837a065be9593230680a3bacd6c6570c08843.zip
dev-games/aseprite: bump to 1.1.5.1
Package-Manager: portage-2.2.26 Closes: https://github.com/gentoo/gentoo/pull/1415 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/aseprite/Manifest1
-rw-r--r--dev-games/aseprite/aseprite-1.1.5.1.ebuild105
-rw-r--r--dev-games/aseprite/metadata.xml1
3 files changed, 107 insertions, 0 deletions
diff --git a/dev-games/aseprite/Manifest b/dev-games/aseprite/Manifest
index b04c4f000bcb..6fe73f9764cc 100644
--- a/dev-games/aseprite/Manifest
+++ b/dev-games/aseprite/Manifest
@@ -1,2 +1,3 @@
DIST Aseprite-v1.1.4.1-Source.zip 11723085 SHA256 731ac44259217626dde91cdcae9a24cdd4337540fc91bbe5c05cebcb12869879 SHA512 deeb42c123517e17378498584bb788f375e8aaaf046d5f9732848a5bd794a1af1d8381ff51271f9e30c198478e0f716ae23495972b693db9049ff4c2b8968672 WHIRLPOOL 5c2bd1bf8f5d187c385086a431ab070f55308b01089ce703e54093963402a9300295ea1cbf3602021fea1211ae68c6a2a07391e8e054827ce82ee60462001c4a
+DIST Aseprite-v1.1.5.1-Source.zip 11753037 SHA256 0579f8d78e492de22accfa390f5ab98b14de0f760bb4354f4ee8dc66fd3ee167 SHA512 2f12c6f2a47f8646cb540334c2ea71742f24e18b4e117be713c85c5faa55ea714a938cf204d7a9abf2d0cc97261f76186ca02199d52bfdc30ee63bc1f1c006c5 WHIRLPOOL 9cdb1ce31daee2f98e4576b01d0a274373621c7c1180433510529c5f11d6d074342c0c1bae65658e85c1e9db77affaa6aebb0697d7d956305282c045df8be5e3
DIST aseprite-0.9.5.tar.xz 507744 SHA256 81e0360d9d8a32d6c548775dbacdb1520aac94b54c2d9f1327d52f219737f154 SHA512 fc6df942aefea67fd05e1b688209b70a2d5879a1441f61a6e3ee4d72fcdab4e580e1d4d7392fd493e0a46c45401a3eef759aa3efee17450e4c98df7f310b2d00 WHIRLPOOL 060dcf2754827ab3b30dde55cfcecd25e2d88f6e296b45529737e2194f4a9891d171776d10f9c571890efb9766b64080b85dc3d737102d2ac7be9843d27fdaef
diff --git a/dev-games/aseprite/aseprite-1.1.5.1.ebuild b/dev-games/aseprite/aseprite-1.1.5.1.ebuild
new file mode 100644
index 000000000000..773babf60c2a
--- /dev/null
+++ b/dev-games/aseprite/aseprite-1.1.5.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Animated sprite editor & pixel art tool"
+HOMEPAGE="http://www.aseprite.org"
+SRC_URI="https://github.com/aseprite/aseprite/releases/download/v${PV}/Aseprite-v${PV}-Source.zip"
+
+# See https://github.com/aseprite/aseprite#credits
+# Some bundled third-party packages built-in:
+# gtest duktape modp_b64 simpleini
+LICENSE="BSD GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="debug kde gtk3 test webp"
+
+RDEPEND="dev-libs/tinyxml
+ media-libs/allegro:0[X,png]
+ media-libs/freetype
+ media-libs/giflib:=
+ webp? ( media-libs/libwebp )
+ media-libs/libpng:0=
+ net-misc/curl
+ sys-libs/zlib
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-libs/pixman
+ gtk3? ( dev-cpp/gtkmm:3.0 )
+ kde? (
+ dev-qt/qtcore:5
+ kde-frameworks/kio:5 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+DOCS=( docs/files/ase.txt
+ docs/files/fli.txt
+ docs/files/msk.txt
+ docs/files/pic.txt
+ docs/files/picpro.txt
+ README.md )
+
+S="${WORKDIR}"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ # Fix to make flag-o-matic work.
+ if use debug ; then
+ sed -i '/-DNDEBUG/d' CMakeLists.txt || die
+ fi
+
+ # Fix shebang in thumbnailer
+ sed -i -e 's:#!/usr/bin/sh:#!/bin/sh:' desktop/aseprite-thumbnailer || die
+}
+
+src_configure() {
+ use debug && append-cppflags -DDEBUGMODE -D_DEBUG
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=OFF # Don't compile internal libs as shared
+ -DENABLE_UPDATER=OFF
+ -DFULLSCREEN_PLATFORM=ON
+ -DUSE_SHARED_ALLEGRO4=ON
+ -DUSE_SHARED_CURL=ON
+ -DUSE_SHARED_FREETYPE=ON
+ -DUSE_SHARED_GIFLIB=ON
+ -DUSE_SHARED_JPEGLIB=ON
+ -DUSE_SHARED_LIBLOADPNG=ON
+ -DUSE_SHARED_LIBPNG=ON
+ -DUSE_SHARED_PIXMAN=ON
+ -DUSE_SHARED_TINYXML=ON
+ -DUSE_SHARED_ZLIB=ON
+ -DUSE_SHARED_LIBWEBP=ON
+ -DWITH_DESKTOP_INTEGRATION=ON
+ -DWITH_GTK_FILE_DIALOG_SUPPORT="$(usex gtk3)"
+ -DWITH_QT_THUMBNAILER="$(usex kde)"
+ -DWITH_WEBP_SUPPORT="$(usex webp)"
+ -DENABLE_TESTS="$(usex test)"
+ )
+ cmake-utils_src_configure
+
+ if use kde; then
+ mycmakeargs=( )
+ CMAKE_USE_DIR="${S}/desktop/kde" \
+ BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
+ cmake-utils_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use kde && BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ use kde && BUILD_DIR="${WORKDIR}/${P}_desktop_build" \
+ cmake-utils_src_install
+}
diff --git a/dev-games/aseprite/metadata.xml b/dev-games/aseprite/metadata.xml
index 8220b8a39268..dff8a1c937b9 100644
--- a/dev-games/aseprite/metadata.xml
+++ b/dev-games/aseprite/metadata.xml
@@ -14,6 +14,7 @@
Animated sprite editor and pixel art tool
</longdescription>
<use>
+ <flag name="gtk3">Enable support for the experimental native GTK File Dialog</flag>
<flag name="memleak">Enable memory-leaks detector (only for developers)</flag>
<flag name="static">Link against static version of C and C++ runtimes</flag>
<flag name="webp">Enable webp image format support</flag>