120 Commits

Author SHA1 Message Date
ISSOtm
e1fbe636bc Use upstream is_clang.py
The new version works fine under Python 3
2022-01-13 19:53:21 +01:00
ISSOtm
9078bc1fac Fix build
Use more recent `gn`
Disable some functionality to broke the build (whether we should enable it back remains TBD)
Change Skia flags to fix up dependencies
Apply patch so missing Skia deps don't break Aseprite's build

Many of these changes were imported from my work on `aseprite-git`
https://github.com/ISSOtm/PKGBUILDs/tree/aseprite-git/aseprite-git
2022-01-13 19:32:37 +01:00
ImperatorStorm
a58e729f86 Updated gn, now have to dl a zip and unpack it. Builds fine, but my linker mold isn't finding laft-ft. I'll work on it tommorrow. 2022-01-12 23:50:07 -08:00
ImperatorStorm
f1f431dac8 Fix up shared-libwebp.patch. 2022-01-12 23:23:40 -08:00
ImperatorStorm
e61b3c9b5b upgpkg: aseprite 1.2.31-1
upstream release

Apparently `common` got yeeted from DEPS, going to see if it builds with it before removing it
2022-01-12 23:06:33 -08:00
ISSOtm
4bbfab660a Use upstream-provided .desktop file
It's identical to ours, except it doesn't have the deprecated `Encoding` key
2022-01-07 19:52:54 +01:00
Eldred Habert
4bf904749f Use brand new PKGBUILD for Aseprite Package (#1)
* Use brand new PKGBUILD instead

Attempting to fix the old one's jank

* Install third-party licenses as well

* Install .desktop file as well

* Add missing build-time dependencies

* Install icons in the icon theme directories instead

Also remove redundant `$srcdir`s in `package()`

* Put font license in the central directory as well

* Bump pkgrel

It was bumped during my work

* Ignore files in subdirectories

* Add missing resource files

* Use underscores for local variable names

https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette
https://github.com/ImperatorStorm/PKGBUILDs/pull/1#discussion_r777122781

* Use HTTPS for upstream URL

* Add myself as co-maintainer

Thanks!

* Remove ICU dependency

We are using a statically-linked version instead, apparently

* Avoid interactive prompts when patching fails

* Clean up $srcdir

Extract Aseprite's sources into a separate directory
Configure Aseprite out-of-tree
Configure Skia in a fresh directory (apparently `gn` does not support out-of-tree)

* Disable Skottie in Skia

This functionality doesn't appear to be used by Aseprite,
and excluding it should reduce build time

* Only pull Skia dependencies that we need

This significantly reduces initial build time (from syncing large repos)
and storage use.
The only remaining dependency that has a chance to be axed is `dng_sdk`,
for which more investigation is needed.

* Avoid printing redundant flags in `gn` args

Brainfart.
"static" flags like `is_debug` were re-printed for each "non-static"
(e.g. `skia_use_*`) variant.
Doing it this way also allows getting rid of weird quote shenanigans.

* Simplify `gn` configure line

`is_official_build=true` sets Skia up to use system libs by default,
so only specify those that we *don't* want

* Pull `gn` version ourselves

That way, we can additionally check its integrity via the SHA256

* Add forgotten `libgl` dependency

What's weird is that the lib seems not to be linked to dynamically,
but I can't see it not being required at run time. Right?

* Maybe use system libwebp? Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch

* Fix system `libwebp`, add `pixman` as makedep

* possibly fix shared-libwebp.patch?

* Disable updater

https://github.com/ImperatorStorm/PKGBUILDs/pull/1#issuecomment-1003838784

* Avoid creating symlinks to Skia deps in their dirs

Would occur if they were already symlinked

* Use system HarfBuzz and FreeType

I remember getting build errors, but cannot reproduce them anymore.
So use the system libs more where possible!

* Find all WebP libs

* Mark libwebp as runtime dep

* Remove CMake variables used by libwebp build

They do nothing now that we are using shared libwebp

* Remove build-time dep on Pixman

It doesn't wind up being used at all in the end

* Trim off a bunch of dependencies from Skia

Only libpng is required to render some of the images, it seems,
so this reduces build time and the amount of sources, which is good!

Co-authored-by: ImperatorStorm <30777770+ImperatorStorm@users.noreply.github.com>
2022-01-05 15:55:41 -08:00
ImperatorStorm
e576abc19c
Nuked checksums for most things, unreliable. 2021-12-30 12:52:27 -08:00
ImperatorStorm
42407660df
Fixed incorrect checksums and downgraded skia to m81, as aseprite v1.2.30 requires m81, not m96 2021-12-30 11:56:21 -08:00
ImperatorStorm
7fb517544c
Updated to v1.2.30. I have no idea what the original maintainers where doing, so I just bumped aseprite to v1.2.30 and skia to aseprite-m96 2021-12-28 14:31:21 -08:00
rouhannb
cfffd018ed Update to v1.2.27, add Python 3 to makedepends 2021-04-20 09:30:21 -04:00
rouhannb
a251c85db5 Change googlesource tarball checksums to SKIP
Every time a tarball snapshot of a git repo is downloaded from
googlesource, the files’ timestamps are set to the request time, meaning
that it’s impossible to hash the raw files.
2020-11-18 03:50:42 -05:00
rouhannb
bfc177e10d Download tarballs instead of git repos 2020-11-16 21:48:52 -05:00
rouhannb
56bf57c504 Update to v1.2.25 2020-08-18 09:37:20 -04:00
rouhannb
280cf67c6b Update to v1.2.24 2020-08-12 20:35:50 -04:00
rouhannb
2e95f4def9 Update to v1.2.23 2020-08-05 02:03:04 -04:00
rouhannb
e9cc513398 Update to v1.2.22 2020-08-04 20:39:23 -04:00
rouhannb
75fb3cc5f2 Update to v1.2.21 2020-06-20 06:56:09 -04:00
rouhannb
2e0004396d Update to 1.2.19.2 2020-05-31 15:38:00 -04:00
rouhannb
bfc7722cf9 Update to 1.2.19 2020-05-28 23:28:02 -04:00
rouhannb
c45e175f87 Update to 1.2.18 2020-04-24 17:09:28 -04:00
rouhannb
0a3859dc23 Replace dependency harfbuzz-icu with harfbuzz 2020-04-12 13:00:13 -04:00
rouhannb
2a4321b4e0 Add freeglut and xorgproto as makedepends
Xorgproto was mentioned in a comment, and the script skia uses to
download dependencies mentions freeglut.
2020-04-11 11:26:05 -04:00
rouhannb
b9cc5d332e Fix checksums for gn 2020-03-13 17:40:44 -04:00
rouhannb
3bc48e49e0 Use static libjpeg
Using libjpeg-turbo on Aseprite gives the error “Wrong JPEG library
version: library is 62, caller expects 80.” I’m not sure if there is any
way to use a shared library right now, so I took the easy way out
and just used the static library compiled with Aseprite.

Additionally, I changed the hack for using Python 2 with depot_tools to
something less messy.
2020-03-13 13:42:30 -04:00
rouhannb
ea6a429477 Update to v1.2.17 2020-03-12 20:05:31 -04:00
rouhannb
d38210d079 Empty pkgrel bump
A few users have been having an issue where the package was always
classified as outdated because the last pkgrel bump wasn't done
properly. Hopefully, this fixes that.
2020-02-19 18:29:28 -05:00
Rohan Bafna
8b1477cd2a Remove skia, update pkgrel 2020-02-11 15:55:45 -05:00
Andrew Bueide
6b9d4761f6 Update srcinfo 2020-02-04 22:42:07 -06:00
rouhannb
b0c2094df4 Fix checksum for aseprite.desktop 2019-11-22 17:28:00 -05:00
rouhannb
d43f492ccf Update to v1.2.16.2
Several changes were made so that the package would mimic the file
structure of the trial package that the Aseprite team distributes. These
include adding a makedepend on pandoc to convert the README into an HTML
file.
2019-11-21 18:18:43 -05:00
rouhannb
6ef79206f6 Update to v1.2.15
Updates the package to v1.2.15, adds skia build, puts maintainer names
in PKGBUILD. Skia deps are downloaded manually as downloading them
during prepare turns out to be bad practice, and long options and
verbosity are used for clarity, though it's not common or necessary.
EULA message was removed as there's no need for it and makepkg should
run without user input anyways.
2019-10-27 11:28:35 -04:00
Andrew Bueide
6172d5d986 Update source info 2019-07-01 23:43:42 -06:00
Andrew Bueide
ad92c64740 Update to 1.2.12 2019-07-01 23:35:54 -06:00
Andrew Bueide
4786021ddd Update to 1.11 2019-05-21 04:56:17 -06:00
Wilson E. Alvarez
2d3ed17c56 Disabled Allegro4 alias fix 2018-08-13 16:10:41 -04:00
Wilson E. Alvarez
91e67f2178 aseprite v1.2.9 2018-07-29 08:57:08 -04:00
Wilson E. Alvarez
d699465f50
aseprite v1.2.8 2018-04-03 20:56:32 -04:00
Wilson E. Alvarez
46ee8df8b2 Fixed dependency error. Cannot use shared libloadpng 2018-03-18 21:23:11 -04:00
Wilson E. Alvarez
f3a56dd79d aseprite v1.2.7.2 2018-03-18 11:34:00 -04:00
Wilson E. Alvarez
c26bd3e56f Do not use the allegro4 library from the official repository 2018-03-17 10:19:07 -04:00
Wilson E. Alvarez
03fef6d621 aseprite v1.2.7 2018-03-16 19:56:30 -04:00
Wilson E. Alvarez
e964b51676 aseprite v1.2.6 2017-12-20 07:52:55 -04:00
Wilson E. Alvarez
1849f02e6a Delete conflicting files with package libarchive. Must disable the compilation of these later on 2017-11-16 10:34:29 -04:00
Wilson E. Alvarez
c6c5dea28c Disabled using the shared freetype library due to a missing file 2017-11-16 09:07:55 -04:00
Wilson E. Alvarez
7f2175e6bf aseprite v1.1.24 2017-11-16 08:36:41 -04:00
Wilson E. Alvarez
cf0996c4f2 Added StartupWMClass=allegro to aseprite.desktop 2017-03-03 16:44:14 -04:00
Wilson E. Alvarez
9ec2eda088 Removed git from makedepends, and git command to fix error in build() 2017-03-03 01:27:56 -04:00
Wilson E. Alvarez
c8db098087 aseprite v1.1.13 2017-03-02 02:26:04 -04:00
Benoit Favre
3e04164a49 add git dependency 2016-12-20 13:44:34 +01:00