dev-games/aseprite: remove old.

Removed old 0.9.5-r1 as linked to Google Code.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2950
This commit is contained in:
Azamat H. Hackimov
2016-12-04 05:50:10 +05:00
committed by Patrice Clement
parent 3ac225b090
commit 8d38c7522a
3 changed files with 0 additions and 105 deletions

View File

@@ -1,3 +1,2 @@
DIST Aseprite-v1.1.6-Source.zip 11801981 SHA256 259c6418d5bc48a04f63a27f4a8c5a0aa44ce759403ba976ebbfad293eab08e8 SHA512 d87bcc5ece64cbc772ea5d4dc1edf29943d9038221905c0263511852afbb4e9119ce82468502a78c286729bb91389d08e3a8b7f358e4f6f8fe88507e7e69c9ac WHIRLPOOL 8f9168551be29d8c453fc1db27930a87e8228081b837c8c1a608045acdb7968715a8eb3994e04df83288f1fb12c5744f2bbb6c0733e578dd20bc4c4a2a234801
DIST Aseprite-v1.1.7-Source.zip 11801711 SHA256 7b5b42d301fc37d3b62a50432a0fbff1483857b8f1829bb6fdac3b1a22d19ade SHA512 9a92853042c7de567a7eb33d10ddd38c6d6bd53acfe4b93dc96e11408a7bda39ef7503c159934c483f0455700933c541dfdc0cb4c505d3385778e40686e474e6 WHIRLPOOL 09097fe4784395370c7d8e1af7ee921943e0798c8e0853fdc6491f2daa0e80e1cf6e637041972a05abcfe687581ab1d2d72f99696def6ddbd69e2b8c1220db5e
DIST aseprite-0.9.5.tar.xz 507744 SHA256 81e0360d9d8a32d6c548775dbacdb1520aac94b54c2d9f1327d52f219737f154 SHA512 fc6df942aefea67fd05e1b688209b70a2d5879a1441f61a6e3ee4d72fcdab4e580e1d4d7392fd493e0a46c45401a3eef759aa3efee17450e4c98df7f310b2d00 WHIRLPOOL 060dcf2754827ab3b30dde55cfcecd25e2d88f6e296b45529737e2194f4a9891d171776d10f9c571890efb9766b64080b85dc3d737102d2ac7be9843d27fdaef

View File

@@ -1,102 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit cmake-utils flag-o-matic
DESCRIPTION="Animated sprite editor & pixel art tool"
HOMEPAGE="http://www.aseprite.org"
SRC_URI="https://aseprite.googlecode.com/files/aseprite-${PV}.tar.xz"
LICENSE="GPL-2 FTL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug memleak static test"
RDEPEND="dev-libs/tinyxml
media-libs/allegro:0[X,png]
media-libs/giflib
media-libs/libpng:0
net-misc/curl
sys-libs/zlib
virtual/jpeg:0
x11-libs/libX11"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
PATCHES=( "${FILESDIR}"/aseprite-0.9.5-as-needed.patch
"${FILESDIR}"/aseprite-0.9.5-underlinking.patch )
DOCS=( docs/quickref.odt
docs/files/ase.txt
docs/files/fli.txt
docs/files/msk.txt
docs/files/pic.txt
docs/files/picpro.txt )
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
# Only do a static link with Allegro if the user explicitly wants it.
if ! use static ; then
sed -i '/-DALLEGRO_STATICLINK/d' CMakeLists.txt || die
fi
# Remove long compiling tests for users with FEATURES="-test",
# also removes the gtest dependency from the build.
if ! use test ; then
sed -i '/^find_unittests/d' src/CMakeLists.txt || die
sed -i '/include_directories(.*third_party\/gtest.*)/d' src/CMakeLists.txt || die
sed -i '/add_subdirectory(gtest)/d' third_party/CMakeLists.txt || die
fi
# Fix from https://465450.bugs.gentoo.org/attachment.cgi?id=345154
# for "error: png_sizeof was not declared in this scope".
sed -i 's/png_\(sizeof\)/\1/g' src/file/png_format.cpp || die
}
src_configure() {
use debug && append-cppflags -DDEBUGMODE -D_DEBUG
local mycmakeargs
mycmakeargs=(
-DENABLE_UPDATER=OFF
-DUSE_SHARED_ALLEGRO4=ON
-DUSE_SHARED_CURL=ON
-DUSE_SHARED_GIFLIB=ON
-DUSE_SHARED_JPEGLIB=ON
-DUSE_SHARED_LIBLOADPNG=ON
-DUSE_SHARED_LIBPNG=ON
-DUSE_SHARED_TINYXML=ON
-DUSE_SHARED_ZLIB=ON
-DFULLSCREEN_PLATFORM=ON
$(cmake-utils_use_enable memleak)
$(cmake-utils_use_use static STATIC_LIBC)
)
if use test ; then
mycmakeargs+=(
-DUSE_SHARED_GTEST=ON
)
fi
cmake-utils_src_configure
}
pkg_postinst() {
elog "Warning: aseprite might not choose the resolution correctly; so, you might need"
elog " to change the resolution once using the -resolution WxH[xBPP] argument."
elog ""
elog " On subsequent runs, aseprite will remember the resolution you have set."
elog ""
elog " For example: \`aseprite -resolution 1440x900\`"
}

View File

@@ -16,8 +16,6 @@
<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="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>
</use>
<upstream>