Github messages for voidlinux
 help / color / mirror / Atom feed
From: moheb2000 <moheb2000@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libresprite-1.0
Date: Mon, 07 Aug 2023 19:16:06 +0200	[thread overview]
Message-ID: <20230807171606.n0BDYIqltZPmMt_vHf5ctTu7AygrCofpoUGyvMXWBDY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45457@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

There is an updated pull request by moheb2000 against master on the void-packages repository

https://github.com/moheb2000/void-packages libresprite
https://github.com/void-linux/void-packages/pull/45457

New package: libresprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/45457.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libresprite-45457.patch --]
[-- Type: text/x-diff, Size: 3395 bytes --]

From 515fb6a65e0fad6f69de64b860c7c477b3826f48 Mon Sep 17 00:00:00 2001
From: Mohammad <moh.ebrahimi2000@gmail.com>
Date: Sun, 6 Aug 2023 22:30:41 +0330
Subject: [PATCH] New package: libresprite-1.0

---
 srcpkgs/libresprite/template | 62 ++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 srcpkgs/libresprite/template

diff --git a/srcpkgs/libresprite/template b/srcpkgs/libresprite/template
new file mode 100644
index 0000000000000..7fdf7ef9e6a62
--- /dev/null
+++ b/srcpkgs/libresprite/template
@@ -0,0 +1,62 @@
+# Template file for 'libresprite'
+pkgname=libresprite
+version=1.0
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+makedepends="zlib-devel libpng-devel freetype-devel giflib-devel gtest-devel libjpeg-turbo-devel libcurl-devel SDL2-devel SDL2_image-devel lua-devel pixman-devel tinyxml-devel"
+short_desc="Animated sprite editor & pixel art tool"
+maintainer="Mohammad Ebrahimi <moh.ebrahimi2000@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://libresprite.github.io"
+_clip_commit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_flic_commit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observable_commit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undo_commit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_duktape_commit=6f715553e706b61e611aa4ae8e6fe90626800dae
+_simpleini_commit=0687587cef1816a04307d632e517be9803bbdca6
+distfiles="
+ https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+ https://github.com/aseprite/clip/archive/${_clip_commit}.tar.gz
+ https://github.com/aseprite/flic/archive/${_flic_commit}.tar.gz
+ https://github.com/dacap/observable/archive/${_observable_commit}.tar.gz
+ https://github.com/aseprite/undo/archive/${_undo_commit}.tar.gz
+ https://github.com/LibreSprite/duktape/archive/${_duktape_commit}.tar.gz
+ https://github.com/aseprite/simpleini/archive/${_simpleini_commit}.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ f08780c5c49cbeb560967016e0c653d68c673a8101f7a175b79cbf0f19ec1fae
+ 5bf8341c01ddbd872aadd372827d2bbd191455abde9693aca867e23075c1286a
+ e26e26e3068a4f0f79b1c3f76dc5a5c825a2f7748db4d38594453e7fdf4cb82a
+ 8881e3d4c7d9d29c91640649ad8d292be5646fa3fd26be6b49bba1d00e38acba
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004
+ 0c00c28a2d85ca9f7cee2462988643b1b6b9c34b692f4f8740c93c988c1e446d"
+
+if [[ "$XBPS_TARGET_MACHINE" != "armv"[67]* ]]
+then
+	makedepends+=" nodejs-devel"
+fi
+
+post_extract() {
+	mv ${wrksrc}/LibreSprite-${version}/* ${wrksrc}
+	rmdir -v ${wrksrc}/src/clip
+	mv ${wrksrc}/clip-${_clip_commit} ${wrksrc}/src/clip
+	rmdir -v ${wrksrc}/src/flic
+	mv ${wrksrc}/flic-${_flic_commit} ${wrksrc}/src/flic
+	rmdir -v ${wrksrc}/src/observable
+	mv ${wrksrc}/observable-${_observable_commit} ${wrksrc}/src/observable
+	rmdir -v ${wrksrc}/src/undo
+	mv ${wrksrc}/undo-${_undo_commit} ${wrksrc}/src/undo
+	rmdir -v ${wrksrc}/third_party/duktape
+	mv ${wrksrc}/duktape-${_duktape_commit} ${wrksrc}/third_party/duktape
+	rmdir -v ${wrksrc}/third_party/simpleini
+	mv ${wrksrc}/simpleini-${_simpleini_commit} ${wrksrc}/third_party/simpleini
+}
+
+post_install() {
+	vdoc ${wrksrc}/docs/files/ase.txt
+	vdoc ${wrksrc}/docs/files/fli.txt
+	vdoc ${wrksrc}/docs/files/msk.txt
+	vdoc ${wrksrc}/docs/files/pic.txt
+	vdoc ${wrksrc}/docs/files/picpro.txt
+}

  parent reply	other threads:[~2023-08-07 17:16 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-06 19:04 [PR PATCH] " moheb2000
2023-08-07 14:50 ` [PR REVIEW] " Chocimier
2023-08-07 14:50 ` Chocimier
2023-08-07 14:50 ` Chocimier
2023-08-07 14:50 ` Chocimier
2023-08-07 17:16 ` moheb2000 [this message]
2023-08-07 17:22 ` moheb2000
2023-08-08 17:26 ` Chocimier
2023-08-08 17:34 ` moheb2000
2023-08-09 13:03 ` [PR PATCH] [Updated] " moheb2000
2023-08-09 13:05 ` moheb2000
2023-08-09 13:07 ` moheb2000
2023-11-08  1:46 ` github-actions
2023-11-22  1:47 ` [PR PATCH] [Closed]: " github-actions
  -- strict thread matches above, loose matches on Subject: below --
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
2024-01-02 15:56 ` [PR PATCH] [Updated] " MIvanchev
2024-01-02 16:04 ` MIvanchev
2024-01-02 16:10 ` MIvanchev
2024-01-02 21:22 ` MIvanchev
2024-01-02 21:23 ` MIvanchev
2024-01-02 21:45 ` MIvanchev
2024-01-02 21:46 ` MIvanchev
2024-01-02 21:48 ` MIvanchev
2024-01-02 21:58 ` MIvanchev
2024-01-02 22:06 ` MIvanchev
2024-01-02 22:09 ` MIvanchev
2024-01-02 22:25 ` MIvanchev
2024-01-02 22:26 ` MIvanchev
2024-01-03  8:22 ` MIvanchev
2024-01-03 13:40 ` sgn
2024-01-03 15:12 ` MIvanchev
2024-02-18 12:41 ` MIvanchev
2024-02-18 12:45 ` MIvanchev
2024-02-18 12:49 ` MIvanchev
2024-02-18 12:52 ` MIvanchev
2024-02-18 13:01 ` MIvanchev
2024-02-18 13:08 ` MIvanchev
2024-02-18 13:13 ` MIvanchev
2024-02-18 13:18 ` MIvanchev
2024-02-18 13:24 ` MIvanchev
2021-12-22  1:54 [PR PATCH] " notthewave
2021-12-22  1:56 ` [PR PATCH] [Updated] " notthewave
2021-12-27 16:16 ` notthewave
2021-12-27 16:39 ` notthewave
2021-12-27 16:47 ` notthewave

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230807171606.n0BDYIqltZPmMt_vHf5ctTu7AygrCofpoUGyvMXWBDY@z \
    --to=moheb2000@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).