diff options
author | Tom Wijsman <TomWij@live.com> | 2012-12-03 17:36:25 +0100 |
---|---|---|
committer | Tom Wijsman <TomWij@live.com> | 2012-12-03 17:36:25 +0100 |
commit | 8db4448057f2816ee27aeca2c67cf806cd9f2ce9 (patch) | |
tree | 972db8a8f01d54cac1338e88c9e0d5d51f3b8db8 | |
parent | Removed prior Meteor ebuilds; using repoman for QA from now on, added improve... (diff) | |
download | TomWij-8db4448057f2816ee27aeca2c67cf806cd9f2ce9.tar.gz TomWij-8db4448057f2816ee27aeca2c67cf806cd9f2ce9.tar.bz2 TomWij-8db4448057f2816ee27aeca2c67cf806cd9f2ce9.zip |
Added aseprite 0.9.5 ebuild.
-rw-r--r-- | dev-games/aseprite/Manifest | 3 | ||||
-rw-r--r-- | dev-games/aseprite/aseprite-0.9.5.ebuild | 43 | ||||
-rw-r--r-- | dev-games/aseprite/files/aseprite-0.9.5-as-needed.patch | 38 | ||||
-rw-r--r-- | dev-games/aseprite/metadata.xml | 11 |
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-games/aseprite/Manifest b/dev-games/aseprite/Manifest new file mode 100644 index 0000000..9320bbf --- /dev/null +++ b/dev-games/aseprite/Manifest @@ -0,0 +1,3 @@ +AUX aseprite-0.9.5-as-needed.patch 1118 SHA256 66598b90a56c5d79fb1ff7e2f962ec1cefc9274dcc3093116c2a4d6481f26ac6 SHA512 46a9650f99c3749d2f2f95cc5aacb81677035c727515efd9131854debcb44dd7b0292fa10c0cc2df77fa376e64ab58543dfccddcebd0f9a29cb62d816b67eb47 WHIRLPOOL c6ca0c06477102f0af9a17f49056e3751a1ec70fc4f5aa5f0b55827b993c4ccf86a254517a2dfd8aa432a1186f735d020f914a046deda5d8346a30d2a7bfcef3 +DIST aseprite-0.9.5.tar.xz 507744 SHA256 81e0360d9d8a32d6c548775dbacdb1520aac94b54c2d9f1327d52f219737f154 SHA512 fc6df942aefea67fd05e1b688209b70a2d5879a1441f61a6e3ee4d72fcdab4e580e1d4d7392fd493e0a46c45401a3eef759aa3efee17450e4c98df7f310b2d00 WHIRLPOOL 060dcf2754827ab3b30dde55cfcecd25e2d88f6e296b45529737e2194f4a9891d171776d10f9c571890efb9766b64080b85dc3d737102d2ac7be9843d27fdaef +EBUILD aseprite-0.9.5.ebuild 947 SHA256 043882d30068ebcc6f1b710dcc5eb7a48bf1f0d13d26c8d8a4f725a324e0943d SHA512 9fb0a17b1e89a8ac8b8664210651c795d89fd93b349000243294a72322d1d871b20860a4841ac83fb9ff9c60a8e7a0471bad4d51970f8c6ec13f711111695de7 WHIRLPOOL 0f4d7c44a19d448dfe61de605b70684d78345e507108915a9ac9fc9bbe1b65f872c896599df05bdb38a078063e2e4c7d36324401b42032fc3673f5c841f5bdf8 diff --git a/dev-games/aseprite/aseprite-0.9.5.ebuild b/dev-games/aseprite/aseprite-0.9.5.ebuild new file mode 100644 index 0000000..0f11b09 --- /dev/null +++ b/dev-games/aseprite/aseprite-0.9.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Animated sprite editor & pixel art tool" +HOMEPAGE="http://www.aseprite.org" +SRC_URI="http://aseprite.googlecode.com/files/aseprite-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +DEPEND="media-libs/allegro:0 + media-libs/libjpeg-turbo + sys-libs/zlib + media-libs/libpng + media-libs/giflib + dev-libs/tinyxml + dev-cpp/gtest + net-misc/curl" # LIBLOADPNG still missing. + +src_prepare() { + epatch "${FILESDIR}/aseprite-0.9.5-as-needed.patch" +} + +src_configure() { + local mycmakeargs="-D USE_SHARED_ALLEGRO4=ON + -D USE_SHARED_JPEGLIB=ON + -D USE_SHARED_ZLIB=ON + -D USE_SHARED_LIBPNG=ON + -D USE_SHARED_GIFLIB=ON + -D USE_SHARED_TINYXML=ON + -D USE_SHARED_GTEST=ON + -D USE_SHARED_CURL=ON + -D USE_SHARED_LIBLOADPNG=ON + -D FULLSCREEN_PLATFORM=ON" + + cmake-utils_src_configure +}
\ No newline at end of file diff --git a/dev-games/aseprite/files/aseprite-0.9.5-as-needed.patch b/dev-games/aseprite/files/aseprite-0.9.5-as-needed.patch new file mode 100644 index 0000000..b9db4a2 --- /dev/null +++ b/dev-games/aseprite/files/aseprite-0.9.5-as-needed.patch @@ -0,0 +1,38 @@ +Description: fix FTBFS with --as-needed linker option + Libraries must be placed after object files in command line. +Author: Ilya Barygin <randomaction@ubuntu.com> + +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -135,6 +135,10 @@ + # All libraries for .exe files + set(all_libs ${aseprite_libraries} ${libs3rdparty} ${sys_libs}) + ++if(LIBALLEGRO4_LINK_FLAGS) ++ set(all_libs ${all_libs} ${LIBALLEGRO4_LINK_FLAGS}) ++endif() ++ + ###################################################################### + # ASEPRITE libraries + +@@ -405,10 +409,6 @@ + + add_executable(aseprite WIN32 main.cpp ${win32_resources} ${x11_resources}) + target_link_libraries(aseprite ${all_libs}) +-if(LIBALLEGRO4_LINK_FLAGS) +- set_target_properties(aseprite +- PROPERTIES LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS}) +-endif() + + install(TARGETS aseprite + RUNTIME DESTINATION bin) +@@ -450,8 +450,7 @@ + endif() + + if(LIBALLEGRO4_LINK_FLAGS) +- set_target_properties(${testname} +- PROPERTIES LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS}) ++ target_link_libraries(${testname} ${LIBALLEGRO4_LINK_FLAGS}) + endif() + + if(extra_definitions)
\ No newline at end of file diff --git a/dev-games/aseprite/metadata.xml b/dev-games/aseprite/metadata.xml new file mode 100644 index 0000000..f22acd8 --- /dev/null +++ b/dev-games/aseprite/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>tomwij@live.com</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Animated sprite editor and pixel art tool + </longdescription> +</pkgmetadata> |