generated from archlinux/template
Get rid of buildtools
and common
dependencies
This commit is contained in:
parent
265487a194
commit
acea23a10b
4
.SRCINFO
4
.SRCINFO
@ -34,8 +34,6 @@ pkgbase = aseprite
|
|||||||
noextract = Aseprite-v1.2.31-Source.zip
|
noextract = Aseprite-v1.2.31-Source.zip
|
||||||
source = https://github.com/aseprite/aseprite/releases/download/v1.2.31/Aseprite-v1.2.31-Source.zip
|
source = https://github.com/aseprite/aseprite/releases/download/v1.2.31/Aseprite-v1.2.31-Source.zip
|
||||||
source = git+https://github.com/aseprite/skia.git#branch=aseprite-m96
|
source = git+https://github.com/aseprite/skia.git#branch=aseprite-m96
|
||||||
source = git+https://chromium.googlesource.com/chromium/buildtools.git#commit=505de88083136eefd056e5ee4ca0f01fe9b33de8
|
|
||||||
source = git+https://skia.googlesource.com/common.git#commit=9737551d7a52c3db3262db5856e6bcd62c462b92
|
|
||||||
source = desktop.patch
|
source = desktop.patch
|
||||||
source = shared-libarchive.patch
|
source = shared-libarchive.patch
|
||||||
source = shared-libwebp.patch
|
source = shared-libwebp.patch
|
||||||
@ -43,8 +41,6 @@ pkgbase = aseprite
|
|||||||
source = optional-pixman.patch
|
source = optional-pixman.patch
|
||||||
sha256sums = 966bd940e1072ed24b70e211ca2bb1eb9aa6432ca12972a8e1df5f1e0150213d
|
sha256sums = 966bd940e1072ed24b70e211ca2bb1eb9aa6432ca12972a8e1df5f1e0150213d
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = SKIP
|
|
||||||
sha256sums = SKIP
|
|
||||||
sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9
|
sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9
|
||||||
sha256sums = e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7
|
sha256sums = e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7
|
||||||
sha256sums = 2d6b5f33f23adc4f9912511ac35311a776ce34519ef40e9db3659e4c5457f055
|
sha256sums = 2d6b5f33f23adc4f9912511ac35311a776ce34519ef40e9db3659e4c5457f055
|
||||||
|
16
PKGBUILD
16
PKGBUILD
@ -36,10 +36,6 @@ makedepends=(# "Meta" dependencies
|
|||||||
source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-Source.zip"
|
source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-Source.zip"
|
||||||
# Which branch a given build of Aseprite requires is noted in its `INSTALL.md`
|
# Which branch a given build of Aseprite requires is noted in its `INSTALL.md`
|
||||||
"git+https://github.com/aseprite/skia.git#branch=aseprite-m96"
|
"git+https://github.com/aseprite/skia.git#branch=aseprite-m96"
|
||||||
# Skia dependencies, determined from `skia/DEPS`
|
|
||||||
# Only pulling what we need, though
|
|
||||||
"git+https://chromium.googlesource.com/chromium/buildtools.git#commit=505de88083136eefd056e5ee4ca0f01fe9b33de8"
|
|
||||||
"git+https://skia.googlesource.com/common.git#commit=9737551d7a52c3db3262db5856e6bcd62c462b92"
|
|
||||||
desktop.patch
|
desktop.patch
|
||||||
# Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
|
# Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
|
||||||
shared-libarchive.patch
|
shared-libarchive.patch
|
||||||
@ -49,8 +45,6 @@ source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprit
|
|||||||
optional-pixman.patch)
|
optional-pixman.patch)
|
||||||
noextract=("${source[0]##*/}") # Don't extract Aseprite sources at the root
|
noextract=("${source[0]##*/}") # Don't extract Aseprite sources at the root
|
||||||
sha256sums=('966bd940e1072ed24b70e211ca2bb1eb9aa6432ca12972a8e1df5f1e0150213d'
|
sha256sums=('966bd940e1072ed24b70e211ca2bb1eb9aa6432ca12972a8e1df5f1e0150213d'
|
||||||
'SKIP'
|
|
||||||
'SKIP'
|
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
|
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
|
||||||
'e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7'
|
'e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7'
|
||||||
@ -63,16 +57,6 @@ prepare() {
|
|||||||
mkdir -p aseprite
|
mkdir -p aseprite
|
||||||
bsdtar -xf "${noextract[0]}" -C aseprite
|
bsdtar -xf "${noextract[0]}" -C aseprite
|
||||||
|
|
||||||
# Symlink Skia's build dependencies
|
|
||||||
# Sort of emulating `skia/tools/git-sync-deps`, but only grabbing what we need
|
|
||||||
mkdir -p skia/third_party/externals
|
|
||||||
# Key = repo name (from above), value = path under `src/skia/`
|
|
||||||
local -A _skiadeps=([buildtools]=buildtools
|
|
||||||
[common]=common) _dep
|
|
||||||
for _dep in "${!_skiadeps[@]}"; do
|
|
||||||
ln -svfT "$(realpath $_dep)" "skia/${_skiadeps[$_dep]}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Fix up Aseprite's desktop integration
|
# Fix up Aseprite's desktop integration
|
||||||
env -C aseprite patch -tp1 <desktop.patch
|
env -C aseprite patch -tp1 <desktop.patch
|
||||||
# Allow using shared libarchive (the bundled version prevents using the `None` build type...)
|
# Allow using shared libarchive (the bundled version prevents using the `None` build type...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user