gnu: Remove aseprite.

This package is the last GPL2 revision of a package that is now distributed
under a non-free license.  We already have its libre fork libresprite in
Guix, and it depends on the outdated allegro@4.

* gnu/packages/game-development.scm (aseprite): Delete variable.

Change-Id: I4e0f2a4df24dcd98fff4d9074e84c50b9ed60715
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Nicolas Graves 2024-11-13 10:05:01 +01:00 committed by Andreas Enge
parent c9a80be7d6
commit d4889712fb
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1387,65 +1387,6 @@ etc.")
(home-page "https://liballeg.org")
(license license:bsd-3)))
(define-public aseprite
(package
(name "aseprite")
(version "1.1.7") ; After 1.1.7 the source is no longer distributed under the GPL.
;; TODO: Unbundle third party software.
(source (origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/aseprite/aseprite"
"/releases/download/v" version
"/Aseprite-v" version "-Source.zip"))
(sha256
(base32
"1plss4i1lfxcznv9p0pip1bkhj7ipw7jlhsh5avd6dzw079l4nvv"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags
;; Use shared libraries instead of building bundled source.
(list "-DWITH_WEBP_SUPPORT=1"
"-DUSE_SHARED_CURL=1"
"-DUSE_SHARED_GIFLIB=1"
"-DUSE_SHARED_JPEGLIB=1"
"-DUSE_SHARED_ZLIB=1"
"-DUSE_SHARED_LIBPNG=1"
"-DUSE_SHARED_LIBLOADPNG=1"
"-DUSE_SHARED_LIBWEBP=1"
"-DUSE_SHARED_TINYXML=1"
"-DUSE_SHARED_PIXMAN=1"
"-DUSE_SHARED_FREETYPE=1"
"-DUSE_SHARED_ALLEGRO4=1"
"-DENABLE_UPDATER=0" ; no auto-updates
(string-append "-DFREETYPE_INCLUDE_DIR="
(assoc-ref %build-inputs "freetype")
"/include/freetype2"))))
(native-inputs
(list pkg-config))
;; TODO: Use a patched Allegro 4 that supports window resizing. This
;; patched version is bundled with Aseprite, but the patches should be
;; extracted and applied on top of a standalone Allegro 4 package.
(inputs
`(("allegro" ,allegro-4)
("curl" ,curl)
("freetype" ,freetype)
("giflib" ,giflib)
("libjpeg" ,libjpeg-turbo)
("libpng" ,libpng)
("libwebp" ,libwebp)
("libx11" ,libx11)
("libxext" ,libxext)
("libxxf86vm" ,libxxf86vm)
("pixman" ,pixman)
("tinyxml" ,tinyxml)
("zlib" ,zlib)))
(synopsis "Animated sprite editor and pixel art tool")
(description "Aseprite is a tool for creating 2D pixel art for video
games. In addition to basic pixel editing features, Aseprite can assist in
the creation of animations, tiled graphics, texture atlases, and more.")
(home-page "https://www.aseprite.org/")
(license license:gpl2+)))
(define-public libresprite
(package
(name "libresprite")