mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-04 00:35:48 +01:00
Removed aseprite in favor of drauthius overlay.
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
AUX aseprite-1.2.9-system_libarchive.patch 3622 BLAKE2B 1b3d74497a8510c2988b86646823f1972a5f210dd690ede65a5f1c71cfaebdafe2c3f352a3a86dec006cd9d30a4f9d7532b33373d89f92eed4fe7e32e25e1af6 SHA512 0abf6d1329c1aa894adfb09a8a05418c063962bd606abbe2832b4f344911a76541ebed0181dbc1889620aff8d25c061c2a1940ec3fcb5cb65047f250a1676892
|
|
||||||
DIST Aseprite-v1.2.9-Source.zip 23723562 BLAKE2B 6fd168cbd7f8b2fe4e9aae4ad2a14f99ff83f0c8b79142a1ec9c9ee483fd48a4c99dfb754a6071d6cd196951443064442af83405a132d8a6a18cdb4f42bb8da8 SHA512 24800a770d44ebe8ecafb26d454a30c78f5bf7321f14c80711efc2ff101fcaf936b400ee0db256e30ab04864f01b30fa3c1e6523b6b169476da023e2659968db
|
|
||||||
EBUILD aseprite-1.2.9.ebuild 2235 BLAKE2B 49d66eabc5b6bf8f6f1d737dd63a9b7d074fdda44e47bdc92b8052cc02082c4a5be361ac0c34af598902b8fbcebce609313d4f25e66df675d513ede4e8bfb687 SHA512 fb34ed0eb133f604af117a24ce6eb8250353c5067ba606c1ee7238191636fa343a85d638e22e618a2d791276d47e5f71567817818ab7b7942455b785f809754e
|
|
||||||
EBUILD aseprite-9999.ebuild 2076 BLAKE2B 189b128ca1a053f3dc65cddd2288ee92e26b29f752f9321de0ae3f5c9b192ea2d43b83a96641b68e8aada7981f695b3d41c4d4d2469ea5ccdfb29e53fdb2ed26 SHA512 89b1df3117a667148719195ffc4725a4fa5d9f349135ca54073cc3b719621a54af162d5e76d7fdf6bec96d9c0b7e4f5752296daa4091d550d2d32e74adea33d9
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit cmake-utils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Animated sprite editor & pixel art tool"
|
|
||||||
HOMEPAGE="http://www.aseprite.org"
|
|
||||||
LICENSE="Proprietary"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-system_libarchive.patch" )
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999* || ${PV} = *beta* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/aseprite/aseprite"
|
|
||||||
EGIT_BRANCH="master"
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
|
||||||
EGIT_COMMIT="v${PV/_/-}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN^}-v${PV}-Source.zip"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
S="${WORKDIR}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
IUSE="
|
|
||||||
debug
|
|
||||||
memleak
|
|
||||||
webp
|
|
||||||
system-allegro"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-arch/libarchive
|
|
||||||
app-text/cmark
|
|
||||||
dev-libs/tinyxml
|
|
||||||
system-allegro? ( media-libs/allegro:0[X,png] )
|
|
||||||
media-libs/freetype:2
|
|
||||||
>=media-libs/giflib-5.0
|
|
||||||
media-libs/libpng:0
|
|
||||||
webp? ( !!media-libs/libwebp )
|
|
||||||
net-misc/curl
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/jpeg:=
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXxf86dga
|
|
||||||
x11-libs/pixman"
|
|
||||||
DEPEND="$RDEPEND
|
|
||||||
app-arch/unzip"
|
|
||||||
|
|
||||||
DOCS=( EULA.txt
|
|
||||||
docs/ase-file-specs.md
|
|
||||||
docs/LICENSES.md
|
|
||||||
README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
|
|
||||||
if use system-allegro; then
|
|
||||||
ewarn "system-allegro is enabled. It has know issues which are solved"
|
|
||||||
ewarn "in the bundled version:"
|
|
||||||
ewarn " * You will not be able to resize the window."
|
|
||||||
ewarn " * You will have problems adding HSV colours on non-English systems."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use debug && CMAKE_BUILD_TYPE=Debug || CMAKE_BUILD_TYPE=Release
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DENABLE_UPDATER=OFF
|
|
||||||
-DFULLSCREEN_PLATFORM=ON
|
|
||||||
-DBUILD_GMOCK=OFF
|
|
||||||
-DUSE_SHARED_CMARK=ON
|
|
||||||
-DUSE_SHARED_CURL=ON
|
|
||||||
-DUSE_SHARED_GIFLIB=ON
|
|
||||||
-DUSE_SHARED_JPEGLIB=ON
|
|
||||||
-DUSE_SHARED_ZLIB=ON
|
|
||||||
-DUSE_SHARED_LIBARCHIVE=ON
|
|
||||||
-DUSE_SHARED_LIBPNG=ON
|
|
||||||
-DUSE_SHARED_LIBLOADPNG=OFF # Does not exist in the main tree
|
|
||||||
-DUSE_SHARED_TINYXML=ON
|
|
||||||
-DUSE_SHARED_PIXMAN=ON
|
|
||||||
-DUSE_SHARED_FREETYPE=ON
|
|
||||||
-DUSE_SHARED_HARFBUZZ=ON
|
|
||||||
-DUSE_SHARED_ALLEGRO4="$(usex system-allegro)"
|
|
||||||
-DWITH_WEBP_SUPPORT="$(usex webp)"
|
|
||||||
-DENABLE_MEMLEAK="$(usex memleak)"
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Aseprite is for personal use only. You may not distribute it."
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit cmake-utils eutils flag-o-matic git-r3
|
|
||||||
|
|
||||||
DESCRIPTION="Animated sprite editor & pixel art tool"
|
|
||||||
HOMEPAGE="https://www.aseprite.org"
|
|
||||||
SRC_URI=""
|
|
||||||
EGIT_REPO_URI="https://github.com/aseprite/aseprite"
|
|
||||||
CMAKE_MAKEFILE_GENERATOR="ninja"
|
|
||||||
CMAKE_BUILD_TYPE="Release"
|
|
||||||
|
|
||||||
LICENSE="https://github.com/aseprite/aseprite/blob/master/EULA.txt"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="static debug kde gtk3 test +bundled-allegro webp"
|
|
||||||
|
|
||||||
DEPEND="dev-util/cmake
|
|
||||||
dev-util/ninja
|
|
||||||
webp? ( media-libs/libwebp )
|
|
||||||
!static? (
|
|
||||||
!bundled-allegro? ( media-libs/allegro:0[X,png] )
|
|
||||||
app-text/cmark
|
|
||||||
dev-libs/tinyxml
|
|
||||||
media-libs/freetype
|
|
||||||
media-libs/giflib
|
|
||||||
media-libs/harfbuzz
|
|
||||||
media-libs/libpng
|
|
||||||
net-misc/curl
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/jpeg:0
|
|
||||||
x11-libs/pixman
|
|
||||||
)
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXcursor"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use debug && append-cppflags -DDEBUGMODE -D_DEBUG
|
|
||||||
|
|
||||||
local mycmakeargs=()
|
|
||||||
|
|
||||||
use !static &&
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DUSE_SHARED_CMARK=ON
|
|
||||||
-DUSE_SHARED_CURL=ON
|
|
||||||
-DUSE_SHARED_FREETYPE=ON
|
|
||||||
-DUSE_SHARED_GIFLIB=ON
|
|
||||||
-DUSE_SHARED_HARFBUZZ=ON
|
|
||||||
-DUSE_SHARED_JPEGLIB=ON
|
|
||||||
-DUSE_SHARED_LIBPNG=ON
|
|
||||||
-DUSE_SHARED_PIXMAN=ON
|
|
||||||
-DUSE_SHARED_TINYXML=ON
|
|
||||||
-DUSE_SHARED_ZLIB=ON
|
|
||||||
)
|
|
||||||
|
|
||||||
use !bundled-allegro && mycmakeargs+=( -DUSE_SHARED_ALLEGRO4=ON )
|
|
||||||
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DENABLE_TESTS="$(usex test)"
|
|
||||||
-DENABLE_UPDATER=OFF
|
|
||||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
||||||
-DWITH_DESKTOP_INTEGRATION=ON
|
|
||||||
-DWITH_GTK_FILE_DIALOG_SUPPORT="$(usex gtk3)"
|
|
||||||
-DWITH_QT_THUMBNAILER="$(usex kde)"
|
|
||||||
-DWITH_WEBP_SUPPORT="$(usex webp)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin $BUILD_DIR/bin/aseprite
|
|
||||||
mkdir -p "${D}usr/share/aseprite/"
|
|
||||||
cp -a $BUILD_DIR/bin/data "${D}usr/share/aseprite/"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if use !bundled-allegro; 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 "For resizing support enable USE-flag bundled-libs and rebuild package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index dae638be8..dd5d17794 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -64,6 +64,7 @@ option(USE_SHARED_CURL "Use your installed copy of curl" off)
|
|
||||||
option(USE_SHARED_GIFLIB "Use your installed copy of giflib" off)
|
|
||||||
option(USE_SHARED_JPEGLIB "Use your installed copy of jpeglib" off)
|
|
||||||
option(USE_SHARED_ZLIB "Use your installed copy of zlib" off)
|
|
||||||
+option(USE_SHARED_LIBARCHIVE "Use your installed copy of libarchive" off)
|
|
||||||
option(USE_SHARED_LIBPNG "Use your installed copy of libpng" off)
|
|
||||||
option(USE_SHARED_LIBLOADPNG "Use your installed copy of libloadpng" off)
|
|
||||||
option(USE_SHARED_TINYXML "Use your installed copy of tinyxml" off)
|
|
||||||
@@ -193,6 +194,15 @@ else()
|
|
||||||
endif()
|
|
||||||
include_directories(${ZLIB_INCLUDE_DIRS})
|
|
||||||
|
|
||||||
+# libarchive
|
|
||||||
+if(USE_SHARED_LIBARCHIVE)
|
|
||||||
+ find_library(ARCHIVE_LIBRARIES NAMES archive)
|
|
||||||
+ find_path(ARCHIVE_INCLUDE_DIRS NAMES archive.h)
|
|
||||||
+else()
|
|
||||||
+ add_definitions(-DLIBARCHIVE_STATIC)
|
|
||||||
+ set(ARCHIVE_LIBRARIES archive_static)
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
# libpng
|
|
||||||
if(USE_SHARED_LIBPNG)
|
|
||||||
find_package(PNG REQUIRED)
|
|
||||||
@@ -294,7 +304,7 @@ if(USE_SHARED_CMARK)
|
|
||||||
else()
|
|
||||||
add_definitions(-DCMARK_STATIC_DEFINE)
|
|
||||||
set(CMARK_LIBRARIES libcmark_static)
|
|
||||||
- include_directories(${CMAKE_BINARY_DIR}/third_party/cmark)
|
|
||||||
+ include_directories(${CMARK_DIR})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(USE_SHARED_CURL)
|
|
||||||
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
|
|
||||||
index a9e80d73c..619acac92 100644
|
|
||||||
--- a/src/app/CMakeLists.txt
|
|
||||||
+++ b/src/app/CMakeLists.txt
|
|
||||||
@@ -82,9 +82,6 @@ if(WITH_WEBP_SUPPORT)
|
|
||||||
add_definitions(-DASEPRITE_WITH_WEBP_SUPPORT)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
-# libarchive definitions
|
|
||||||
-add_definitions(-DLIBARCHIVE_STATIC)
|
|
||||||
-
|
|
||||||
######################################################################
|
|
||||||
# app-lib target
|
|
||||||
|
|
||||||
@@ -551,7 +548,7 @@ target_link_libraries(app-lib
|
|
||||||
${FREETYPE_LIBRARIES}
|
|
||||||
${HARFBUZZ_LIBRARIES}
|
|
||||||
json11
|
|
||||||
- archive_static
|
|
||||||
+ ${ARCHIVE_LIBRARIES}
|
|
||||||
fmt
|
|
||||||
tinyexpr)
|
|
||||||
|
|
||||||
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
|
|
||||||
index 596ffa2e4..977816439 100644
|
|
||||||
--- a/third_party/CMakeLists.txt
|
|
||||||
+++ b/third_party/CMakeLists.txt
|
|
||||||
@@ -113,15 +113,17 @@ endif()
|
|
||||||
add_subdirectory(json11)
|
|
||||||
|
|
||||||
# libarchive
|
|
||||||
-set(ENABLE_TEST OFF CACHE BOOL "Enable unit and regression tests")
|
|
||||||
-set(ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage (GCC only, automatically sets ENABLE_TEST to ON)")
|
|
||||||
-set(ENABLE_LZMA OFF CACHE BOOL "Enable the use of the system LZMA library if found")
|
|
||||||
-set(ENABLE_CNG OFF CACHE BOOL "Enable the use of CNG(Crypto Next Generation)")
|
|
||||||
-set(ENABLE_BZip2 OFF CACHE BOOL "Enable the use of the system BZip2 library if found")
|
|
||||||
-set(ENABLE_LIBXML2 OFF CACHE BOOL "Enable the use of the system libxml2 library if found")
|
|
||||||
-add_subdirectory(libarchive)
|
|
||||||
-target_include_directories(archive_static INTERFACE
|
|
||||||
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libarchive/libarchive>)
|
|
||||||
+if(NOT USE_SHARED_LIBARCHIVE)
|
|
||||||
+ set(ENABLE_TEST OFF CACHE BOOL "Enable unit and regression tests")
|
|
||||||
+ set(ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage (GCC only, automatically sets ENABLE_TEST to ON)")
|
|
||||||
+ set(ENABLE_LZMA OFF CACHE BOOL "Enable the use of the system LZMA library if found")
|
|
||||||
+ set(ENABLE_CNG OFF CACHE BOOL "Enable the use of CNG(Crypto Next Generation)")
|
|
||||||
+ set(ENABLE_BZip2 OFF CACHE BOOL "Enable the use of the system BZip2 library if found")
|
|
||||||
+ set(ENABLE_LIBXML2 OFF CACHE BOOL "Enable the use of the system libxml2 library if found")
|
|
||||||
+ add_subdirectory(libarchive)
|
|
||||||
+ target_include_directories(archive_static INTERFACE
|
|
||||||
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libarchive/libarchive>)
|
|
||||||
+endif()
|
|
||||||
|
|
||||||
# benchmark
|
|
||||||
if(ENABLE_BENCHMARKS)
|
|
||||||
Reference in New Issue
Block a user