diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2016-07-12 21:53:57 +0500 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-13 10:52:58 +0200 |
commit | 225c8ab97bc3831b3cbdd8ce6da5c552ce47bba7 (patch) | |
tree | 7cfcdebe3a515f7413c8fe3d5058acc0d1e8d62b /dev-games/aseprite/aseprite-1.1.6.ebuild | |
parent | dev-lang/elixir: bump up to 1.3.1, with erlang-19 support (diff) | |
download | gentoo-225c8ab97bc3831b3cbdd8ce6da5c552ce47bba7.tar.gz gentoo-225c8ab97bc3831b3cbdd8ce6da5c552ce47bba7.tar.bz2 gentoo-225c8ab97bc3831b3cbdd8ce6da5c552ce47bba7.zip |
dev-games/aseprite: Version bump 1.1.6, remove old 1.1.5
* Fix installation KDE thumbnailer into right place
* Add pixmap for desktop entry
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1875
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-games/aseprite/aseprite-1.1.6.ebuild')
-rw-r--r-- | dev-games/aseprite/aseprite-1.1.6.ebuild | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/dev-games/aseprite/aseprite-1.1.6.ebuild b/dev-games/aseprite/aseprite-1.1.6.ebuild new file mode 100644 index 000000000000..97b21ca0694d --- /dev/null +++ b/dev-games/aseprite/aseprite-1.1.6.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils eutils 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=( + -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)" + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + ) + cmake-utils_src_configure +} + +src_install() { + newicon "${S}/data/icons/ase64.png" "${PN}.png" + cmake-utils_src_install +} |