Github messages for voidlinux
 help / color / mirror / Atom feed
From: nsailor <nsailor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: libobjc2-2.1
Date: Sat, 04 Nov 2023 21:46:54 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47064@inbox.vuxu.org> (raw)

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

There is a new pull request by nsailor against master on the void-packages repository

https://github.com/nsailor/void-packages libobjc2
https://github.com/void-linux/void-packages/pull/47064

New package: libobjc2-2.1
<!-- 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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


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

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

From 5fd4ecbb2249f91677ef242e509c42665cdc874d Mon Sep 17 00:00:00 2001
From: Jason Barmparesos <jason@jasonb.dev>
Date: Sat, 4 Nov 2023 00:36:21 +0100
Subject: [PATCH] New package: libobjc2-2.1

---
 srcpkgs/libobjc2-devel    |  1 +
 srcpkgs/libobjc2/template | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/libobjc2-devel
 create mode 100644 srcpkgs/libobjc2/template

diff --git a/srcpkgs/libobjc2-devel b/srcpkgs/libobjc2-devel
new file mode 120000
index 0000000000000..5bd622797ea8e
--- /dev/null
+++ b/srcpkgs/libobjc2-devel
@@ -0,0 +1 @@
+libobjc2
\ No newline at end of file
diff --git a/srcpkgs/libobjc2/template b/srcpkgs/libobjc2/template
new file mode 100644
index 0000000000000..04f8502ff3a6e
--- /dev/null
+++ b/srcpkgs/libobjc2/template
@@ -0,0 +1,36 @@
+# Template file for 'libobjc2'
+pkgname=libobjc2
+version=2.1
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
+hostmakedepends="clang"
+short_desc="Objective-C runtime library intended for use with Clang"
+maintainer="Jason Barmparesos <github@jasonb.dev>"
+license="MIT"
+homepage="https://github.com/gnustep/libobjc2"
+changelog="https://github.com/gnustep/libobjc2/blob/master/ANNOUNCE.${version}"
+distfiles="https://github.com/gnustep/libobjc2/archive/v${version}.tar.gz>libobjc2.tar.gz https://github.com/Tessil/robin-map/archive/757de82.tar.gz>round-robin.tar.gz"
+checksum="78fc3711db14bf863040ae98f7bdca08f41623ebeaf7efaea7dd49a38b5f054c 0abd2a272947d1d403ce7467e75aae5bdcfe839f4fc8d513ba5bfe170d5f2057"
+
+post_extract() {
+	mv libobjc2-${version}/* .
+	rm -rf libobjc2-${version}
+
+	mv robin-map-*/* third_party/robin-map/
+	rm -rf robin-map-*
+}
+
+post_install() {
+	vlicense COPYING
+}
+
+libobjc2-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

             reply	other threads:[~2023-11-04 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-04 20:46 nsailor [this message]
2024-02-05  1:45 ` github-actions
2024-02-20  1:44 ` [PR PATCH] [Closed]: " github-actions

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47064@inbox.vuxu.org \
    --to=nsailor@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).