commit: 8418823cc161592810506ee8d8f388e2c6ebcb3b Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Thu May 21 05:11:23 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Thu May 21 05:18:15 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8418823c
dev-games/aseprite: removing, in portage now Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> dev-games/aseprite/aseprite-1.1.9.ebuild | 103 --------------------- .../files/aseprite-1.1.9_type-punned_pointer.patch | 28 ------ dev-games/aseprite/metadata.xml | 24 ----- 3 files changed, 155 deletions(-) diff --git a/dev-games/aseprite/aseprite-1.1.9.ebuild b/dev-games/aseprite/aseprite-1.1.9.ebuild deleted file mode 100644 index 8d177fc..0000000 --- a/dev-games/aseprite/aseprite-1.1.9.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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#license -# Some bundled third-party packages built-in: -# gtest duktape modp_b64 simpleini -LICENSE="Aseprite-EULA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror" - -IUSE="bundled-libs debug kde gtk3 test webp" - -RDEPEND="dev-libs/tinyxml - !bundled-libs? ( 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 - gtk3? ( virtual/pkgconfig ) - webp? ( virtual/pkgconfig )" - -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}" - -PATCHES=( "${FILESDIR}/${P}_type-punned_pointer.patch" ) - -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=$(usex !bundled-libs) - -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 64 "${S}/data/icons/ase64.png" "${PN}.png" - cmake-utils_src_install -} - -pkg_postinst() { - if use !bundled-libs ; then - ewarn "Aseprite has been built with system-wide Allegro 4." - ewarn "Please note that you will not be able to resize the main window." - ewarn "To enable resizing enable USE-flag bundled-libs and rebuild package." - fi -} diff --git a/dev-games/aseprite/files/aseprite-1.1.9_type-punned_pointer.patch b/dev-games/aseprite/files/aseprite-1.1.9_type-punned_pointer.patch deleted file mode 100644 index 0a05914..0000000 --- a/dev-games/aseprite/files/aseprite-1.1.9_type-punned_pointer.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/src/allegro/src/x/xkeyboard.c b/src/allegro/src/x/xkeyboard.c -index f121e62..86fa4f7 100644 ---- a/src/allegro/src/x/xkeyboard.c -+++ b/src/allegro/src/x/xkeyboard.c -@@ -356,6 +356,14 @@ static int find_unknown_key_assignment (int i) - return _xwin.keycode_to_scancode[i]; - } - -+/* unicode_getc: -+ * Reads a character from a Unicode string. -+ */ -+static int unicode_getc(AL_CONST char *s) -+{ -+ return *((unsigned short *)s); -+} -+ - - - /* _xwin_keyboard_handler: -@@ -412,7 +420,7 @@ void _xwin_keyboard_handler(XKeyEvent *event, int dga2_hack) - } - buffer[len] = '\0'; - uconvert(buffer, U_UTF8, buffer2, U_UNICODE, sizeof buffer2); -- unicode = *(unsigned short *)buffer2; -+ unicode = unicode_getc(buffer2); - - #ifdef ALLEGRO_XWINDOWS_WITH_XIM - r = XFilterEvent((XEvent *)event, _xwin.window); diff --git a/dev-games/aseprite/metadata.xml b/dev-games/aseprite/metadata.xml deleted file mode 100644 index d20ad44..0000000 --- a/dev-games/aseprite/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>azamat.hacki...@gmail.com</email> - <name>Azamat H. Hackimov</name> - <description>Proxy maintainer for this package</description> - </maintainer> - <maintainer type="project"> - <email>proxy-ma...@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - Animated sprite editor and pixel art tool - </longdescription> - <use> - <flag name="bundled-libs">Use the upstream provided bundled version of allegro 4.4.2</flag> - <flag name="gtk3">Enable support for the experimental native GTK File Dialog</flag> - <flag name="webp">Enable webp image format support</flag> - </use> - <upstream> - <remote-id type="github">aseprite/aseprite</remote-id> - </upstream> -</pkgmetadata>