Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-games/aseprite/, dev-games/aseprite/files/
Date: Thu, 21 May 2020 05:18:22
Message-Id: 1590038295.8418823cc161592810506ee8d8f388e2c6ebcb3b.winterheart@gentoo
1 commit: 8418823cc161592810506ee8d8f388e2c6ebcb3b
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu May 21 05:11:23 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu May 21 05:18:15 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8418823c
7
8 dev-games/aseprite: removing, in portage now
9
10 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
11
12 dev-games/aseprite/aseprite-1.1.9.ebuild | 103 ---------------------
13 .../files/aseprite-1.1.9_type-punned_pointer.patch | 28 ------
14 dev-games/aseprite/metadata.xml | 24 -----
15 3 files changed, 155 deletions(-)
16
17 diff --git a/dev-games/aseprite/aseprite-1.1.9.ebuild b/dev-games/aseprite/aseprite-1.1.9.ebuild
18 deleted file mode 100644
19 index 8d177fc..0000000
20 --- a/dev-games/aseprite/aseprite-1.1.9.ebuild
21 +++ /dev/null
22 @@ -1,103 +0,0 @@
23 -# Copyright 1999-2016 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI=6
28 -
29 -inherit cmake-utils eutils flag-o-matic
30 -
31 -DESCRIPTION="Animated sprite editor & pixel art tool"
32 -HOMEPAGE="http://www.aseprite.org"
33 -SRC_URI="https://github.com/aseprite/aseprite/releases/download/v${PV}/Aseprite-v${PV}-Source.zip"
34 -
35 -# See https://github.com/aseprite/aseprite#license
36 -# Some bundled third-party packages built-in:
37 -# gtest duktape modp_b64 simpleini
38 -LICENSE="Aseprite-EULA"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~x86"
41 -RESTRICT="mirror"
42 -
43 -IUSE="bundled-libs debug kde gtk3 test webp"
44 -
45 -RDEPEND="dev-libs/tinyxml
46 - !bundled-libs? ( media-libs/allegro:0[X,png] )
47 - media-libs/freetype
48 - media-libs/giflib:=
49 - webp? ( media-libs/libwebp )
50 - media-libs/libpng:0=
51 - net-misc/curl
52 - sys-libs/zlib
53 - virtual/jpeg:0
54 - x11-libs/libX11
55 - x11-libs/pixman
56 - gtk3? ( dev-cpp/gtkmm:3.0 )
57 - kde? (
58 - dev-qt/qtcore:5
59 - kde-frameworks/kio:5 )"
60 -DEPEND="${RDEPEND}
61 - app-arch/unzip
62 - gtk3? ( virtual/pkgconfig )
63 - webp? ( virtual/pkgconfig )"
64 -
65 -DOCS=( docs/files/ase.txt
66 - docs/files/fli.txt
67 - docs/files/msk.txt
68 - docs/files/pic.txt
69 - docs/files/picpro.txt
70 - README.md )
71 -
72 -S="${WORKDIR}"
73 -
74 -PATCHES=( "${FILESDIR}/${P}_type-punned_pointer.patch" )
75 -
76 -src_prepare() {
77 - cmake-utils_src_prepare
78 -
79 - # Fix to make flag-o-matic work.
80 - if use debug ; then
81 - sed -i '/-DNDEBUG/d' CMakeLists.txt || die
82 - fi
83 - # Fix shebang in thumbnailer
84 - sed -i -e 's:#!/usr/bin/sh:#!/bin/sh:' desktop/aseprite-thumbnailer || die
85 -}
86 -
87 -src_configure() {
88 - use debug && append-cppflags -DDEBUGMODE -D_DEBUG
89 -
90 - local mycmakeargs=(
91 - -DENABLE_UPDATER=OFF
92 - -DFULLSCREEN_PLATFORM=ON
93 - -DUSE_SHARED_ALLEGRO4=$(usex !bundled-libs)
94 - -DUSE_SHARED_CURL=ON
95 - -DUSE_SHARED_FREETYPE=ON
96 - -DUSE_SHARED_GIFLIB=ON
97 - -DUSE_SHARED_JPEGLIB=ON
98 - -DUSE_SHARED_LIBLOADPNG=ON
99 - -DUSE_SHARED_LIBPNG=ON
100 - -DUSE_SHARED_PIXMAN=ON
101 - -DUSE_SHARED_TINYXML=ON
102 - -DUSE_SHARED_ZLIB=ON
103 - -DUSE_SHARED_LIBWEBP=ON
104 - -DWITH_DESKTOP_INTEGRATION=ON
105 - -DWITH_GTK_FILE_DIALOG_SUPPORT="$(usex gtk3)"
106 - -DWITH_QT_THUMBNAILER="$(usex kde)"
107 - -DWITH_WEBP_SUPPORT="$(usex webp)"
108 - -DENABLE_TESTS="$(usex test)"
109 - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
110 - )
111 - cmake-utils_src_configure
112 -}
113 -
114 -src_install() {
115 - newicon -s 64 "${S}/data/icons/ase64.png" "${PN}.png"
116 - cmake-utils_src_install
117 -}
118 -
119 -pkg_postinst() {
120 - if use !bundled-libs ; then
121 - ewarn "Aseprite has been built with system-wide Allegro 4."
122 - ewarn "Please note that you will not be able to resize the main window."
123 - ewarn "To enable resizing enable USE-flag bundled-libs and rebuild package."
124 - fi
125 -}
126
127 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
128 deleted file mode 100644
129 index 0a05914..0000000
130 --- a/dev-games/aseprite/files/aseprite-1.1.9_type-punned_pointer.patch
131 +++ /dev/null
132 @@ -1,28 +0,0 @@
133 -diff --git a/src/allegro/src/x/xkeyboard.c b/src/allegro/src/x/xkeyboard.c
134 -index f121e62..86fa4f7 100644
135 ---- a/src/allegro/src/x/xkeyboard.c
136 -+++ b/src/allegro/src/x/xkeyboard.c
137 -@@ -356,6 +356,14 @@ static int find_unknown_key_assignment (int i)
138 - return _xwin.keycode_to_scancode[i];
139 - }
140 -
141 -+/* unicode_getc:
142 -+ * Reads a character from a Unicode string.
143 -+ */
144 -+static int unicode_getc(AL_CONST char *s)
145 -+{
146 -+ return *((unsigned short *)s);
147 -+}
148 -+
149 -
150 -
151 - /* _xwin_keyboard_handler:
152 -@@ -412,7 +420,7 @@ void _xwin_keyboard_handler(XKeyEvent *event, int dga2_hack)
153 - }
154 - buffer[len] = '\0';
155 - uconvert(buffer, U_UTF8, buffer2, U_UNICODE, sizeof buffer2);
156 -- unicode = *(unsigned short *)buffer2;
157 -+ unicode = unicode_getc(buffer2);
158 -
159 - #ifdef ALLEGRO_XWINDOWS_WITH_XIM
160 - r = XFilterEvent((XEvent *)event, _xwin.window);
161
162 diff --git a/dev-games/aseprite/metadata.xml b/dev-games/aseprite/metadata.xml
163 deleted file mode 100644
164 index d20ad44..0000000
165 --- a/dev-games/aseprite/metadata.xml
166 +++ /dev/null
167 @@ -1,24 +0,0 @@
168 -<?xml version="1.0" encoding="UTF-8"?>
169 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
170 -<pkgmetadata>
171 - <maintainer type="person">
172 - <email>azamat.hackimov@×××××.com</email>
173 - <name>Azamat H. Hackimov</name>
174 - <description>Proxy maintainer for this package</description>
175 - </maintainer>
176 - <maintainer type="project">
177 - <email>proxy-maint@g.o</email>
178 - <name>Proxy Maintainers</name>
179 - </maintainer>
180 - <longdescription>
181 - Animated sprite editor and pixel art tool
182 - </longdescription>
183 - <use>
184 - <flag name="bundled-libs">Use the upstream provided bundled version of allegro 4.4.2</flag>
185 - <flag name="gtk3">Enable support for the experimental native GTK File Dialog</flag>
186 - <flag name="webp">Enable webp image format support</flag>
187 - </use>
188 - <upstream>
189 - <remote-id type="github">aseprite/aseprite</remote-id>
190 - </upstream>
191 -</pkgmetadata>