diff options
author | Albert Diserholt <albert@diserholt.com> | 2022-06-07 11:32:59 +0200 |
---|---|---|
committer | Albert Diserholt <albert@diserholt.com> | 2022-06-07 11:32:59 +0200 |
commit | 1f75ada60c43ae3bb82dfceece46c267ba43da80 (patch) | |
tree | c3b5057a3eeaff3eda4041f57b7489699f3d596b | |
parent | dev-games/aseprite-1.2.34.1 (diff) | |
download | Drauthius-1f75ada60c43ae3bb82dfceece46c267ba43da80.tar.gz Drauthius-1f75ada60c43ae3bb82dfceece46c267ba43da80.tar.bz2 Drauthius-1f75ada60c43ae3bb82dfceece46c267ba43da80.zip |
dev-games/aseprite-1.2.35
Signed-off-by: Albert Diserholt <albert@diserholt.com>
-rw-r--r-- | dev-games/aseprite-skia/Manifest | 1 | ||||
-rw-r--r-- | dev-games/aseprite-skia/aseprite-skia-9999-r102.ebuild | 89 | ||||
-rw-r--r-- | dev-games/aseprite/Manifest | 10 | ||||
-rw-r--r-- | dev-games/aseprite/aseprite-1.2.35.ebuild (renamed from dev-games/aseprite/aseprite-1.2.33.ebuild) | 2 | ||||
-rw-r--r-- | dev-games/aseprite/files/aseprite-1.2.35-system_harfbuzz.patch (renamed from dev-games/aseprite/files/aseprite-1.2.33-system_harfbuzz.patch) | 0 | ||||
-rw-r--r-- | dev-games/aseprite/files/aseprite-1.2.35-system_libarchive.patch (renamed from dev-games/aseprite/files/aseprite-1.2.33-system_libarchive.patch) | 6 | ||||
-rw-r--r-- | dev-games/aseprite/files/aseprite-1.2.35-system_libwebp.patch (renamed from dev-games/aseprite/files/aseprite-1.2.33-system_libwebp.patch) | 0 |
7 files changed, 101 insertions, 7 deletions
diff --git a/dev-games/aseprite-skia/Manifest b/dev-games/aseprite-skia/Manifest index eb5c543..06b7869 100644 --- a/dev-games/aseprite-skia/Manifest +++ b/dev-games/aseprite-skia/Manifest @@ -1 +1,2 @@ +EBUILD aseprite-skia-9999-r102.ebuild 2147 BLAKE2B 933fbcf7185e0f8cc4da4ec727c11e901dbc999806c0ff6b36b10f1eaffb15b23e8b13ef94d27c8cad95f17c50fd8387ee27b8ff2fb5c5a435176a32fb0fd188 SHA512 0dabaa53975d6b857837a1072e7a057088d6b327fc789b2421f6b2b305d13740193ae9dff708239577b708600789c5d73fd2bd68c00edc2b3301e05ee0e2ef06 EBUILD aseprite-skia-9999-r96.ebuild 2147 BLAKE2B 933fbcf7185e0f8cc4da4ec727c11e901dbc999806c0ff6b36b10f1eaffb15b23e8b13ef94d27c8cad95f17c50fd8387ee27b8ff2fb5c5a435176a32fb0fd188 SHA512 0dabaa53975d6b857837a1072e7a057088d6b327fc789b2421f6b2b305d13740193ae9dff708239577b708600789c5d73fd2bd68c00edc2b3301e05ee0e2ef06 diff --git a/dev-games/aseprite-skia/aseprite-skia-9999-r102.ebuild b/dev-games/aseprite-skia/aseprite-skia-9999-r102.ebuild new file mode 100644 index 0000000..a55cc11 --- /dev/null +++ b/dev-games/aseprite-skia/aseprite-skia-9999-r102.ebuild @@ -0,0 +1,89 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9,10} ) + +inherit python-any-r1 git-r3 ninja-utils + +DESCRIPTION="Skia library for Aseprite" +HOMEPAGE="https://skia.org" + +EGIT_REPO_URI="https://github.com/aseprite/skia" +EGIT_BRANCH="aseprite-m${PR/r/}" + +DEPOT_TOOLS_URI="https://chromium.googlesource.com/chromium/tools/depot_tools.git" +DEPOT_TOOLS_COMMIT="main" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="debug" + +RDEPEND=" + dev-libs/expat + media-libs/harfbuzz + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/libwebp + media-libs/freetype:2 + sys-libs/zlib" +BDEPEND=" + ${PYTHON_DEPS} + dev-util/ninja" + +src_unpack() { + git-r3_src_unpack + + sed -ri '/third_party\/externals\/(expat|icu|libjpeg|libpng|libwebp|zlib|harfbuzz|freetype)/d' "${S}/DEPS" + + cd "${S}" + ./tools/git-sync-deps || die "Failed to sync dependencies" + + EGIT_BRANCH="$DEPOT_TOOLS_COMMIT" + git-r3_fetch "$DEPOT_TOOLS_URI" + git-r3_checkout "$DEPOT_TOOLS_URI" depot_tools +} + +src_configure() { + local myskiaargs=( + is_debug=$(usex debug true false) + is_official_build=true + skia_use_system_expat=true + skia_use_system_icu=true + skia_use_system_libjpeg_turbo=true + skia_use_system_libpng=true + skia_use_system_libwebp=true + skia_use_system_zlib=true + skia_use_sfntly=false + skia_use_freetype=true + skia_use_harfbuzz=true + skia_pdf_subset_harfbuzz=true + skia_use_system_freetype2=true + skia_use_system_harfbuzz=true + ) + + cd "${S}" + export PATH="$PATH:${S}/depot_tools" + gn gen out/$(usex debug Debug Release) --args="${myskiaargs[*]}" || die "Failed to configure skia" +} + +src_compile() { + eninja -C "out/$(usex debug Debug Release)" skia modules || die "Failed to compile skia" +} + +src_install() { + insinto /var/lib/aseprite-skia/ + doins -r include + doins -r modules + insinto /var/lib/aseprite-skia/src + doins -r src/gpu + doins -r src/core + insinto /var/lib/aseprite-skia/third_party + doins -r third_party/skcms + + insinto /var/lib/aseprite-skia/out/$(usex debug Debug Release) + dodir /var/lib/aseprite-skia/out/$(usex debug Debug Release) + doins out/$(usex debug Debug Release)/lib*.a +} diff --git a/dev-games/aseprite/Manifest b/dev-games/aseprite/Manifest index 0cc548c..fa218d6 100644 --- a/dev-games/aseprite/Manifest +++ b/dev-games/aseprite/Manifest @@ -2,21 +2,21 @@ AUX aseprite-1.2.21-system_libarchive.patch 3563 BLAKE2B 478a69322ec4cf6b7588b8f AUX aseprite-1.2.21-system_libwebp.patch 1595 BLAKE2B 5bd386fae6723de0d6068b25d8ba75eedf1ebc4abd94d91325dbc856752eb67c7d851a3a02976b6d048cec4c0d57b5d16007b83fdc32285355b7e94fc0930010 SHA512 14d3ab4c345046cf91e6237825456ef94703f334e1fd9fc6d09a4606c89ea04518e12fdc20956638a60fc42302fca5f47beb73fa3318a3ba4e78f3cac35527cb AUX aseprite-1.2.30-system_libarchive.patch 3897 BLAKE2B 40afbda3676a2db0ab755b0f748876ec72e980dd758fbe40b15286ff877530d6d44fda503c6fd54f076ac67b6042e5d37a6ae48f40f812ff0251d2a5e6b2b7ee SHA512 f4607555cec237f9889995ff679ac65f94fc230f0d8e1d71ab181b2e25664cb03a218794dcff2b8e7b591658e5160771e1ca7752ca96a0d9a7f607cb00d79496 AUX aseprite-1.2.30-system_libwebp.patch 1595 BLAKE2B 5bd386fae6723de0d6068b25d8ba75eedf1ebc4abd94d91325dbc856752eb67c7d851a3a02976b6d048cec4c0d57b5d16007b83fdc32285355b7e94fc0930010 SHA512 14d3ab4c345046cf91e6237825456ef94703f334e1fd9fc6d09a4606c89ea04518e12fdc20956638a60fc42302fca5f47beb73fa3318a3ba4e78f3cac35527cb -AUX aseprite-1.2.33-system_harfbuzz.patch 580 BLAKE2B 76874db3b8d1b164dfe46926ebd30dd7f782081104a000ff2c74733f4283aa20710072ddee0cae3022af4d9cf8d5ebd90c5db93dae8f46c05d5b08c2b1efcb3a SHA512 fa36b354e5d42beb7c846a89edbda2d2b6071047eddc1c522a1115fa58b9ccf83a680ff0318cc022feebdda3c98818677c748e10d18c81c0b728b819aca52fc1 -AUX aseprite-1.2.33-system_libarchive.patch 4375 BLAKE2B 15d0956e267d3ab756fd5c1c1799718dd484c501b501a9683b3f3709aded515ece3f0fd2eb87afc3a70e53015cf77d8b9a36505f83d0d8823aca64b3b35e2207 SHA512 ff07fa565fff198e59a4e2667c731d1b7f60886d6ebd34b3d3d513acf51f59f666b6b2743c2e27cf67bc0986936eb11524f2d42b7f629cbfd3930dd6d8218a55 -AUX aseprite-1.2.33-system_libwebp.patch 1871 BLAKE2B 399933e038f6eefa71e95c3256b3ba9f9ac93cc230cf9e6c04f76af5ed77e085f929b1edc5d8a3ce8d69b4f84a384877c9e0745721b9c074c7f56e385b093f44 SHA512 7fb7b7e3a9a5d97e7dcb1668b3aecba33b1903e36ddeaea2d6d5e1c0a39bafc7164345c162133cf198edbbaee5aff81ee19836b660e1fd6af175425d90201f2e AUX aseprite-1.2.34.1-system_harfbuzz.patch 580 BLAKE2B 76874db3b8d1b164dfe46926ebd30dd7f782081104a000ff2c74733f4283aa20710072ddee0cae3022af4d9cf8d5ebd90c5db93dae8f46c05d5b08c2b1efcb3a SHA512 fa36b354e5d42beb7c846a89edbda2d2b6071047eddc1c522a1115fa58b9ccf83a680ff0318cc022feebdda3c98818677c748e10d18c81c0b728b819aca52fc1 AUX aseprite-1.2.34.1-system_libarchive.patch 4375 BLAKE2B 15d0956e267d3ab756fd5c1c1799718dd484c501b501a9683b3f3709aded515ece3f0fd2eb87afc3a70e53015cf77d8b9a36505f83d0d8823aca64b3b35e2207 SHA512 ff07fa565fff198e59a4e2667c731d1b7f60886d6ebd34b3d3d513acf51f59f666b6b2743c2e27cf67bc0986936eb11524f2d42b7f629cbfd3930dd6d8218a55 AUX aseprite-1.2.34.1-system_libwebp.patch 1871 BLAKE2B 399933e038f6eefa71e95c3256b3ba9f9ac93cc230cf9e6c04f76af5ed77e085f929b1edc5d8a3ce8d69b4f84a384877c9e0745721b9c074c7f56e385b093f44 SHA512 7fb7b7e3a9a5d97e7dcb1668b3aecba33b1903e36ddeaea2d6d5e1c0a39bafc7164345c162133cf198edbbaee5aff81ee19836b660e1fd6af175425d90201f2e +AUX aseprite-1.2.35-system_harfbuzz.patch 580 BLAKE2B 76874db3b8d1b164dfe46926ebd30dd7f782081104a000ff2c74733f4283aa20710072ddee0cae3022af4d9cf8d5ebd90c5db93dae8f46c05d5b08c2b1efcb3a SHA512 fa36b354e5d42beb7c846a89edbda2d2b6071047eddc1c522a1115fa58b9ccf83a680ff0318cc022feebdda3c98818677c748e10d18c81c0b728b819aca52fc1 +AUX aseprite-1.2.35-system_libarchive.patch 4731 BLAKE2B 4328fa75d65ed2eec2d55335f00dffba8e9b5d1b88ac1233684fef57aba0aa9d965ef9d9081567842f70fc5f34170cae708cf919c709410f984d59d5882658bb SHA512 a1b0b36eada13cc73b2739d5af9701322e94c71b3052e9ed017097664a8fd7bda06171ac2add3608f8902b2f16f553984c01547e34f05825c9bec2564a3a60bf +AUX aseprite-1.2.35-system_libwebp.patch 1871 BLAKE2B 399933e038f6eefa71e95c3256b3ba9f9ac93cc230cf9e6c04f76af5ed77e085f929b1edc5d8a3ce8d69b4f84a384877c9e0745721b9c074c7f56e385b093f44 SHA512 7fb7b7e3a9a5d97e7dcb1668b3aecba33b1903e36ddeaea2d6d5e1c0a39bafc7164345c162133cf198edbbaee5aff81ee19836b660e1fd6af175425d90201f2e DIST Aseprite-v1.1.13-Source.zip 12809688 BLAKE2B e9d6d58cfeb4b07d63945025a31e5a52c2f65e59f01a65bc3ac2f8feef725b2caeef94f542c70132834280c3227a3a1cf7756a708f6970c12d4fd7aca4e646c3 SHA512 b6dd948223885bc9511a8a0f8427540011dc2a6a4ec3448d3461a5661c7de574487e2306024f9522240490b1784a4231818f2790466d106f8b21259c188ca258 DIST Aseprite-v1.2.21-Source.zip 24477477 BLAKE2B b497cf5b6ba677eb742e44d2ee5d28c60ba57956ca04989e27ac8623832e08161c1cf0b64a9440c4fecf103e083556404d918a09ca61d7c496fdac7fb927b196 SHA512 17b2570f0114213b86e18f65a943867d72a497245b8f45bf22a23ad6ed32bb016c69391341cc0449c4fbc9d31e6f5d564c48a204df1c9f13488ffb4658393fee DIST Aseprite-v1.2.30-Source.zip 30057883 BLAKE2B fc3a0923c963ae4adf0afc4f2bc9949a5f86123250eb0600ada35e711da35363b7719cbfe0296f1b6faf90e948b58318a56918f926eb3361baf576a81c16280b SHA512 c8534cc093a22078b44c3ae265625292e228e44bca894fbeb137759259862cc8956027a04d6982fdf1b6af2d8cd349842e1fc128827064e000de03e851e6620f -DIST Aseprite-v1.2.33-Source.zip 56234668 BLAKE2B 4afeaa210a31b26e76fb69c0b13b3c79598336241573c7db17248b37b28776eb95173da6181593f876591c851f4d480e8a83b2360c58b4f10524c05659fbefe0 SHA512 a965b6728283808a8fb8498ff557570014a0247fcb07585f0278088ddb65a79b2727bbfe57ba2edd1f275982c727c733a23013250ce82b1d2a242467b3105337 DIST Aseprite-v1.2.34.1-Source.zip 56240404 BLAKE2B 14a7867955f34332584ff137efbb77605ffda6d01e6902e40fa34a6ba6453a29b0de9e8c121232b5e65c3c8c266f2540a1cf98eaeaba486233b8bc2d67404b36 SHA512 43a7eeb542f621d2b4dc236b803a7fe3816d08a26c4b4974ba98c30d921da6f481234542bad715ffacd3efd175e404deda0e20611819c565bc41d2e60da2047a +DIST Aseprite-v1.2.35-Source.zip 61972632 BLAKE2B f9e24d04a19756f65041cb9c96a4142fe5078a4f6d8b48f69e79501822ff8a5070f350cf9016e5500fec5aeb82d4d8eb2c8d8b42a73fd8bc73aecab185d002fe SHA512 2577a683516adc9c601300da15e9099d6fa698fec32f4b62ce95c46412c1dd26b0538cc23996e0a1060ac4a4de47c2538124c4a01ade375f3b4efcbc99fbbdc8 DIST aseprite-skia-m81-b607b32047-amd64.zip 35390542 BLAKE2B f5f5bc6d237c92a302dd593cb91f02904426d342a5c1484589e9ac3444e226637791c5ae951a7406adf4a75a192009aa19beee0f36c4563e10cd32b6b4c6768e SHA512 6c417f289cc1874aefc4dc08ce2edf055c50106c9351476eafe2d554296e9075046eb726465c58097b0a894e2a709f9830208c44eb6c3c7f6ad53cc7d24e70ce DIST aseprite-skia-m81-b607b32047-x86.zip 33398654 BLAKE2B b312f09d54e81b1b77c8100443ae1464bbe22edb9ce21fdb17a1b0f56dff728665070ad5b895f70420c0671fac973267271eb864b240fc8a070ca9f2e676b363 SHA512 37a093fb9ab9f6c766f406fa62a610921108b118d2a324cf1e0d6f3b635992034f222ba3eb9a023dc968312e53ede29b6fa18628cfd484eddd52bcfe8383823c EBUILD aseprite-1.1.13.ebuild 3008 BLAKE2B 7419fdaaa1d9506d841ec9c0af3fa04b930afa98373accff9c9d6ee150d9e2ff3c64e670a800c1e40a118f608b2a6f362a779637c397f77a90802a97eef9557d SHA512 58cb3df2e8b33502021b90adde0459004507c9809ee4e0a06f5ddcbefef3c9758cd7374e7f529309a1c876a98e8983305e18f7f9344350221470a7bcebe9ce49 EBUILD aseprite-1.2.21.ebuild 2189 BLAKE2B c01a0b8b93e6840a60066bfbab19ce275bfd67c0ed5957876d33b3d9afe491b2fb7192bb5b8a57deac7b5df5f933027128d877949e0c9f01c23f17292ae78f67 SHA512 ae8f1833c4041c6aa6bb7b34e15788095d0ec1bb63f8e7aed5cce8219cee1966bd48d794d4cf497b9f6d6877a132676d2d57c3bf31152d5b28b7081dfd20be72 EBUILD aseprite-1.2.30.ebuild 2769 BLAKE2B e930dc6f025e428a194d3543fabedc963177cb625dd8354a38f70f5b6d8b8d4c3212a1e3b31771415fa2a3d26953e55db51770fd6f1291aa18b04162dfdb17e5 SHA512 9ee2454b560b5479bc4a55477d50bea3dd6c86175e5a6b816cc95527709b44a4a0e1afdd27d95c5a130e05816afa44b3005445669c7cd9bf1dc7aee391a03c4b -EBUILD aseprite-1.2.33.ebuild 2529 BLAKE2B 6894a72da565dce8243921de92546db8d448e440f2a9814624a6bdbbaff0cebc32e2c9b455f41fe84c4d003c2dc65e4d73d9e1da100d09424693ba9d1aa2d327 SHA512 e6b88031a9ccf1cbb5dcb0e54bae86a7483c18245bede5798939832bdca6fab22be604691432e44abdfaa484d782b3c05c10d75686ba9e15f46fd37e00c71716 EBUILD aseprite-1.2.34.1.ebuild 2529 BLAKE2B 6894a72da565dce8243921de92546db8d448e440f2a9814624a6bdbbaff0cebc32e2c9b455f41fe84c4d003c2dc65e4d73d9e1da100d09424693ba9d1aa2d327 SHA512 e6b88031a9ccf1cbb5dcb0e54bae86a7483c18245bede5798939832bdca6fab22be604691432e44abdfaa484d782b3c05c10d75686ba9e15f46fd37e00c71716 +EBUILD aseprite-1.2.35.ebuild 2530 BLAKE2B fd1c54467a1a54aa69e6b8983f22e1aff91e0c9c81fa41c8bfa574919feb8c62b6b710b8f260c337c6db272725e30c922087b109fbe89a5f8bb49e650983c7da SHA512 d17f5f52b1ebc2d33f8ff2de456cab3083dcd3682f55bc62eb5648bb2815baad59e020f8e5d7f417571324e5352b4f40d5b69cdd4e79462a462f1a9d61faf94b diff --git a/dev-games/aseprite/aseprite-1.2.33.ebuild b/dev-games/aseprite/aseprite-1.2.35.ebuild index 96d4a58..79d6112 100644 --- a/dev-games/aseprite/aseprite-1.2.33.ebuild +++ b/dev-games/aseprite/aseprite-1.2.35.ebuild @@ -35,7 +35,7 @@ RDEPEND=" app-text/cmark dev-libs/expat dev-libs/tinyxml - =dev-games/aseprite-skia-9999-r96 + =dev-games/aseprite-skia-9999-r102 media-libs/freetype:2 >=media-libs/giflib-5.0 media-libs/fontconfig diff --git a/dev-games/aseprite/files/aseprite-1.2.33-system_harfbuzz.patch b/dev-games/aseprite/files/aseprite-1.2.35-system_harfbuzz.patch index f7c8543..f7c8543 100644 --- a/dev-games/aseprite/files/aseprite-1.2.33-system_harfbuzz.patch +++ b/dev-games/aseprite/files/aseprite-1.2.35-system_harfbuzz.patch diff --git a/dev-games/aseprite/files/aseprite-1.2.33-system_libarchive.patch b/dev-games/aseprite/files/aseprite-1.2.35-system_libarchive.patch index 8b23f45..699d3bd 100644 --- a/dev-games/aseprite/files/aseprite-1.2.33-system_libarchive.patch +++ b/dev-games/aseprite/files/aseprite-1.2.35-system_libarchive.patch @@ -50,7 +50,7 @@ diff -uNr a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt diff -uNr a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt --- a/third_party/CMakeLists.txt 2022-01-12 15:10:34.000000000 +0100 +++ b/third_party/CMakeLists.txt 2022-01-18 15:06:41.357885045 +0100 -@@ -119,22 +119,24 @@ +@@ -119,24 +119,26 @@ add_subdirectory(json11) # libarchive @@ -63,10 +63,12 @@ diff -uNr a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt -set(ENABLE_ZSTD OFF CACHE BOOL "Enable the use of the system zstd 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_EXPAT OFF CACHE BOOL "Enable the use of the system EXPAT library if found") -set(ENABLE_LIBXML2 OFF CACHE BOOL "Enable the use of the system libxml2 library if found") -set(ENABLE_CAT OFF CACHE BOOL "Enable cat building") -set(ENABLE_TAR OFF CACHE BOOL "Enable tar building") -set(ENABLE_CPIO OFF CACHE BOOL "Enable cpio building") +-set(ENABLE_LIBB2 OFF CACHE BOOL "Enable the use of the system LIBB2 library if found") -add_subdirectory(libarchive) -target_include_directories(archive_static INTERFACE - $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libarchive/libarchive>) @@ -80,10 +82,12 @@ diff -uNr a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt + set(ENABLE_ZSTD OFF CACHE BOOL "Enable the use of the system zstd 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_EXPAT OFF CACHE BOOL "Enable the use of the system EXPAT library if found") + set(ENABLE_LIBXML2 OFF CACHE BOOL "Enable the use of the system libxml2 library if found") + set(ENABLE_CAT OFF CACHE BOOL "Enable cat building") + set(ENABLE_TAR OFF CACHE BOOL "Enable tar building") + set(ENABLE_CPIO OFF CACHE BOOL "Enable cpio building") ++ set(ENABLE_LIBB2 OFF CACHE BOOL "Enable the use of the system LIBB2 library if found") + add_subdirectory(libarchive) + target_include_directories(archive_static INTERFACE + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libarchive/libarchive>) diff --git a/dev-games/aseprite/files/aseprite-1.2.33-system_libwebp.patch b/dev-games/aseprite/files/aseprite-1.2.35-system_libwebp.patch index 161e4f8..161e4f8 100644 --- a/dev-games/aseprite/files/aseprite-1.2.33-system_libwebp.patch +++ b/dev-games/aseprite/files/aseprite-1.2.35-system_libwebp.patch |