Github messages for voidlinux
 help / color / mirror / Atom feed
From: prez <prez@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: vimix-0.7.0
Date: Mon, 11 Apr 2022 16:45:58 +0200	[thread overview]
Message-ID: <20220411144558.zK2Yk5Kao-HGq_SSBxLqtpcVdtLidFahGqj3s_Yb_H8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30782@inbox.vuxu.org>

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

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

https://github.com/prez/void-packages vimix
https://github.com/void-linux/void-packages/pull/30782

New package: vimix-0.7.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

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

From ba2ebb3effadaf84fcc35ef2ad67f907b0c35cec Mon Sep 17 00:00:00 2001
From: prez <prez@national.shitposting.agency>
Date: Mon, 10 May 2021 18:28:22 +0200
Subject: [PATCH] New package: vimix-0.7.0

---
 srcpkgs/vimix/patches/musl.patch | 66 ++++++++++++++++++++++++++++++++
 srcpkgs/vimix/template           | 63 ++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)
 create mode 100644 srcpkgs/vimix/patches/musl.patch
 create mode 100644 srcpkgs/vimix/template

diff --git a/srcpkgs/vimix/patches/musl.patch b/srcpkgs/vimix/patches/musl.patch
new file mode 100644
index 000000000000..336aab32839b
--- /dev/null
+++ b/srcpkgs/vimix/patches/musl.patch
@@ -0,0 +1,66 @@
+--- a/ImageShader.h
++++ b/ImageShader.h
+@@ -3,10 +3,7 @@
+ 
+ #include <string>
+ #include <map>
+-
+-#ifdef __APPLE__
+ #include <sys/types.h>
+-#endif
+ 
+ #include "Shader.h"
+ 
+diff --git a/Resource.h b/Resource.h
+index 1d8463d..68b5574 100644
+--- a/Resource.h
++++ b/Resource.h
+@@ -3,9 +3,7 @@
+ 
+ #include <string>
+ #include <map>
+-#ifdef __APPLE__
+ #include <sys/types.h>
+-#endif
+ 
+ namespace Resource
+ {
+@@ -14,7 +12,7 @@ namespace Resource
+     // return file tyext content as one string
+     std::string getText(const std::string& path);
+ 
+-    // Support DDS files, DXT1, DXT5 and DXT5 
++    // Support DDS files, DXT1, DXT5 and DXT5
+     // Returns the OpenGL generated Texture index
+     uint getTextureDDS(const std::string& path, float *aspect_ratio = nullptr);
+ 
+diff --git a/Scene.h b/Scene.h
+index ee33b15..19614d1 100644
+--- a/Scene.h
++++ b/Scene.h
+@@ -3,10 +3,7 @@
+ 
+ #define INVALID_ID -1
+ 
+-#ifdef __APPLE__
+ #include <sys/types.h>
+-#endif
+-
+ #include <set>
+ #include <list>
+ #include <vector>
+diff --git a/Settings.h b/Settings.h
+index 3eaca67..5174773 100644
+--- a/Settings.h
++++ b/Settings.h
+@@ -1,10 +1,7 @@
+ #ifndef __SETTINGS_H_
+ #define __SETTINGS_H_
+ 
+-#ifdef __APPLE__
+ #include <sys/types.h>
+-#endif
+-
+ #include <string>
+ #include <map>
+ #include <vector>
diff --git a/srcpkgs/vimix/template b/srcpkgs/vimix/template
new file mode 100644
index 000000000000..93ba27af3cfa
--- /dev/null
+++ b/srcpkgs/vimix/template
@@ -0,0 +1,63 @@
+# Template file for 'vimix'
+pkgname=vimix
+version=0.7.0
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release"
+hostmakedepends="pkg-config git cmake"
+makedepends="gtk+3-devel icu-devel glfw-devel libpng-devel tinyxml2-devel glm
+ gstreamer1-devel gst-plugins-base1-devel gst-plugins-good1 gst-plugins-bad1-devel gst-plugins-ugly1 gst-libav"
+depends="gstreamer1 gst-plugins-base1 gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1 gst-libav"
+short_desc="Live Video Mixer"
+maintainer="prez <prez@national.shitposting.agency>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/brunoherbelin/vimix"
+_Dirent_commit=c885633e126a3a949ec0497273ec13e2c03e862c
+_ImGuiColorTextEdit_commit=0a88824f7de8d0bd11d8419066caa7d3469395c4
+_imgui_commit=0850b46c88daa92443dedf8609a80dbc1da52558
+_stb_commit=f54acd4e13430c5122cab4ca657705c84aa61b08
+_tfd_commit=2681e426ddaebc8e2764a7823b4b9d69564d1684
+_link_commit=14f6cc99ac41466d52ce780aa37e432fe92c289b
+_asio_commit=01b4e87c04abd4daec58e40463bcdc150085b269
+distfiles="
+ https://github.com/brunoherbelin/vimix/archive/${version%.0}.tar.gz>vimix-${version}.tar.gz
+ https://github.com/tronkko/dirent/archive/${_Dirent_commit}.tar.gz>dirent-${_Dirent_commit}.tar.gz
+ https://github.com/BalazsJako/ImGuiColorTextEdit/archive/${_ImGuiColorTextEdit_commit}.tar.gz>ImGuiColorTextEdit-${_ImGuiColorTextEdit_commit}.tar.gz
+ https://github.com/ocornut/imgui/archive/${_imgui_commit}.tar.gz>imgui-${_imgui_commit}.tar.gz
+ https://github.com/nothings/stb/archive/${_stb_commit}.tar.gz>stb-${_stb_commit}.tar.gz
+ https://sourceforge.net/code-snapshots/git/t/ti/tinyfiledialogs/code.git/tinyfiledialogs-code-${_tfd_commit}.zip>tinyfiledialogs-${_tfd_commit}.zip
+ https://github.com/Ableton/link/archive/${_link_commit}.tar.gz>link-${_link_commit}.tar.gz
+ https://github.com/chriskohlhoff/asio/archive/${_asio_commit}.tar.gz>asio-${_asio_commit}.tar.gz"
+checksum="
+ 429418e3abef794c7eb801da49826f57e89233d941b84a7177b653c8f338d512
+ aab1f1d02c3148a3d49a18b8de878603263e62e4a48622121efec92e5b40710b
+ 55063528d8a66dc081dd9cad239feadc447f2ffe14a41273bb0c3889d87a1a00
+ ceb34285fa722a7aab23efb474320955ac2163f9a064c899d4a42f9120f27f08
+ bf403306246d37e1f03168aea47d4841aaec62f1c7b1e7bf43bf9f9d9e069e2d
+ 9447c1cf119e2e8d56e765ce38a236ca46616e8751fb763848948d59bbeb872c
+ d24ed32e0dc3b3183480157782493502bcc2e21c1bce3f93c999dfeaa7b24d1e
+ c8cce67ed6035887cdfc1fff62b6c994f03940fef6b19b8ff6e5e4177b0e335e"
+
+post_extract() {
+	# tag does not correspond to version
+	mv -v ${XBPS_BUILDDIR}/vimix-${version%.0} ${wrksrc}
+}
+
+pre_configure() {
+	rmdir ext/Dirent
+	rmdir ext/ImGuiColorTextEdit
+	rmdir ext/imgui
+	rmdir ext/stb
+	rmdir ext/tfd
+	rmdir ext/link
+
+	mv -v ../dirent-${_Dirent_commit} ext/Dirent
+	mv -v ../ImGuiColorTextEdit-${_ImGuiColorTextEdit_commit} ext/ImGuiColorTextEdit
+	mv -v ../imgui-${_imgui_commit} ext/imgui
+	mv -v ../stb-${_stb_commit} ext/stb
+	mv -v ../tinyfiledialogs-code-${_tfd_commit} ext/tfd
+	mv -v ../link-${_link_commit} ext/link
+
+	rmdir ext/link/modules/asio-standalone
+	mv -v ../asio-${_asio_commit} ext/link/modules/asio-standalone
+}

  parent reply	other threads:[~2022-04-11 14:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 16:34 [PR PATCH] New package: vimix-0.6.0 prez
2022-04-11 14:04 ` [PR PATCH] [Updated] " prez
2022-04-11 14:31 ` [PR PATCH] [Updated] New package: vimix-0.7.0 prez
2022-04-11 14:45 ` prez [this message]
2022-04-11 14:55 ` prez
2022-04-11 15:03 ` prez
2022-07-11  2:13 ` github-actions
2022-07-11 10:24 ` prez
2022-10-11  2:13 ` github-actions
2022-10-14 11:11 ` prez
2022-10-14 11:12 ` prez
2022-10-14 11:12 ` prez
2022-10-14 11:13 ` prez
2022-11-20 12:46 ` [PR PATCH] [Updated] " prez
2023-02-19  2:01 ` New package: vimix-0.7.2 github-actions
2023-03-05  2:09 ` [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=20220411144558.zK2Yk5Kao-HGq_SSBxLqtpcVdtLidFahGqj3s_Yb_H8@z \
    --to=prez@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).