* [PR PATCH] New package: libobjc2-2.1
@ 2023-11-04 20:46 nsailor
2024-02-05 1:45 ` github-actions
2024-02-20 1:44 ` [PR PATCH] [Closed]: " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: nsailor @ 2023-11-04 20:46 UTC (permalink / raw)
To: ml
[-- 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"
+ }
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-20 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04 20:46 [PR PATCH] New package: libobjc2-2.1 nsailor
2024-02-05 1:45 ` github-actions
2024-02-20 1:44 ` [PR PATCH] [Closed]: " github-actions
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).