Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: sayonara-player-1.6.0beta7
@ 2021-02-22 19:54 Logarithmus
  2021-02-22 20:01 ` [PR REVIEW] " ericonr
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-22 19:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Logarithmus/void-packages sayonara
https://github.com/void-linux/void-packages/pull/28984

New package: sayonara-player-1.6.0beta7
<!-- 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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-musl)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Closes https://github.com/void-linux/void-packages/issues/27881

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

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

From 2af0055e42b1dc2d2d332bd2c4f3c54388277d5a Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Mon, 22 Feb 2021 21:09:33 +0300
Subject: [PATCH] New package: sayonara-player-1.6.0beta7

---
 .../patches/00-musl-execinfo.patch            | 33 +++++++++++++++++++
 srcpkgs/sayonara-player/template              | 20 +++++++++++
 srcpkgs/sayonara-player/update                |  2 ++
 3 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
 create mode 100644 srcpkgs/sayonara-player/template
 create mode 100644 srcpkgs/sayonara-player/update

diff --git a/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
new file mode 100644
index 00000000000..d4ed2185756
--- /dev/null
+++ b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
@@ -0,0 +1,33 @@
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -128,18 +128,23 @@
+ 	set(WIN32 0)
+ endif()
+ 
+-# check execinfo for FreeBSD
++# check libexecinfo for non-glibc systems
+ if(WIN32)
+ 	link_directories(${GIO_LIBRARY_DIRS})
+-elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+-	find_library(execinfo_LIB execinfo)
+-	if(NOT execinfo_LIB)
+-		message(FATAL_ERROR "FreeBSD requires execinfo library")
++else()
++	include(CheckSymbolExists)
++	message("Checking if backtrace symbol present")
++	check_symbol_exists(backtrace execinfo.h backtrace_exists)
++	if(NOT backtrace_exists)
++		message("backtrace is missing (non-glibc platform), trying to find libexecinfo")
++		find_library(execinfo_LIB execinfo)
++		if(NOT execinfo_LIB)
++			message(FATAL_ERROR "libexecinfo not found")
++		endif()
++		set(OS_LIBRARIES ${execinfo_LIB})
+ 	endif()
+-	set(OS_LIBRARIES ${execinfo_LIB})
+ endif()
+ 
+-
+ # Check demangle
+ check_include_file_cxx("cxxabi.h" HAVE_CXX_ABI)
+ if(${HAVE_CXX_ABI})
diff --git a/srcpkgs/sayonara-player/template b/srcpkgs/sayonara-player/template
new file mode 100644
index 00000000000..cc1e65b4a0a
--- /dev/null
+++ b/srcpkgs/sayonara-player/template
@@ -0,0 +1,20 @@
+# Template file for 'sayonara-player'
+pkgname=sayonara-player
+_ver=1.6.0
+_rev=beta7
+version=${_ver}${_rev}
+revision=1
+wrksrc=${pkgname}-${_ver}-${_rev}
+build_style=cmake
+hostmakedepends="pkgconf qt5-host-tools"
+makedepends="libexecinfo-devel
+ qt5-devel qt5-tools-devel qt5-svg-devel
+ qt5-plugin-sqlite qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds
+ gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-devel gst-plugins-ugly1"
+depends="qt5-plugin-sqlite"
+short_desc="Fast audio player for Linux in C++ using Qt & GStreamer"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-or-later"
+homepage="http://sayonara-player.com"
+distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/${_ver}-${_rev}/sayonara-player-${_ver}-${_rev}.tar.gz"
+checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe
diff --git a/srcpkgs/sayonara-player/update b/srcpkgs/sayonara-player/update
new file mode 100644
index 00000000000..b92051e2071
--- /dev/null
+++ b/srcpkgs/sayonara-player/update
@@ -0,0 +1,2 @@
+pattern="/"${pkgname}"-\K[\d\.]+-?\w*(?=\.tar\.gz)"
+version=${_ver}-${_rev}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
@ 2021-02-22 20:01 ` ericonr
  2021-02-22 20:01 ` ericonr
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-02-22 20:01 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28984#discussion_r580550987

Comment:
They seem to have some stable releases. Why go with beta here?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
  2021-02-22 20:01 ` [PR REVIEW] " ericonr
@ 2021-02-22 20:01 ` ericonr
  2021-02-22 20:06 ` Logarithmus
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-02-22 20:01 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28984#discussion_r580550813

Comment:
This looks upstreamable, have you PR'd it? :)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
  2021-02-22 20:01 ` [PR REVIEW] " ericonr
  2021-02-22 20:01 ` ericonr
@ 2021-02-22 20:06 ` Logarithmus
  2021-02-22 20:07 ` Logarithmus
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-22 20:06 UTC (permalink / raw)
  To: ml

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

New review comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/pull/28984#discussion_r580554142

Comment:
> They seem to have some stable releases. Why go with beta here?

Because the latest stable release is 1.5 years old: https://gitlab.com/luciocarreras/sayonara-player/-/tags/1.5.1-stable5
BTW, `luajit` version is also beta: https://github.com/void-linux/void-packages/blob/master/srcpkgs/LuaJIT/template

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR REVIEW] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
                   ` (2 preceding siblings ...)
  2021-02-22 20:06 ` Logarithmus
@ 2021-02-22 20:07 ` Logarithmus
  2021-02-22 20:12 ` [PR PATCH] [Updated] " Logarithmus
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-22 20:07 UTC (permalink / raw)
  To: ml

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

New review comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/pull/28984#discussion_r580554711

Comment:
Not yet, I've just created the package today, but will try to get it upstreamed for sure.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
                   ` (3 preceding siblings ...)
  2021-02-22 20:07 ` Logarithmus
@ 2021-02-22 20:12 ` Logarithmus
  2021-02-23  0:22 ` Logarithmus
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-22 20:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Logarithmus/void-packages sayonara
https://github.com/void-linux/void-packages/pull/28984

New package: sayonara-player-1.6.0beta7
<!-- 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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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.
-->

#### Does it build and run successfully? 
- [x] I built this PR locally for my native architecture, (`x86_64-musl`)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] `aarch64-musl`
  - [ ] `armv7l`
  - [ ] `armv6l-musl`

Closes https://github.com/void-linux/void-packages/issues/27881

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

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

From c806cc2333333984b4186de6cfad4110fa387f2c Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Mon, 22 Feb 2021 21:09:33 +0300
Subject: [PATCH] New package: sayonara-player-1.6.0beta7

---
 .../patches/00-musl-execinfo.patch            | 33 +++++++++++++++++++
 srcpkgs/sayonara-player/template              | 20 +++++++++++
 srcpkgs/sayonara-player/update                |  2 ++
 3 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
 create mode 100644 srcpkgs/sayonara-player/template
 create mode 100644 srcpkgs/sayonara-player/update

diff --git a/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
new file mode 100644
index 00000000000..d4ed2185756
--- /dev/null
+++ b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
@@ -0,0 +1,33 @@
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -128,18 +128,23 @@
+ 	set(WIN32 0)
+ endif()
+ 
+-# check execinfo for FreeBSD
++# check libexecinfo for non-glibc systems
+ if(WIN32)
+ 	link_directories(${GIO_LIBRARY_DIRS})
+-elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+-	find_library(execinfo_LIB execinfo)
+-	if(NOT execinfo_LIB)
+-		message(FATAL_ERROR "FreeBSD requires execinfo library")
++else()
++	include(CheckSymbolExists)
++	message("Checking if backtrace symbol present")
++	check_symbol_exists(backtrace execinfo.h backtrace_exists)
++	if(NOT backtrace_exists)
++		message("backtrace is missing (non-glibc platform), trying to find libexecinfo")
++		find_library(execinfo_LIB execinfo)
++		if(NOT execinfo_LIB)
++			message(FATAL_ERROR "libexecinfo not found")
++		endif()
++		set(OS_LIBRARIES ${execinfo_LIB})
+ 	endif()
+-	set(OS_LIBRARIES ${execinfo_LIB})
+ endif()
+ 
+-
+ # Check demangle
+ check_include_file_cxx("cxxabi.h" HAVE_CXX_ABI)
+ if(${HAVE_CXX_ABI})
diff --git a/srcpkgs/sayonara-player/template b/srcpkgs/sayonara-player/template
new file mode 100644
index 00000000000..53b16a64c4e
--- /dev/null
+++ b/srcpkgs/sayonara-player/template
@@ -0,0 +1,20 @@
+# Template file for 'sayonara-player'
+pkgname=sayonara-player
+_ver=1.6.0
+_rev=beta7
+version=${_ver}${_rev}
+revision=1
+wrksrc=${pkgname}-${_ver}-${_rev}
+build_style=cmake
+hostmakedepends="pkgconf qt5-host-tools qt5-qmake"
+makedepends="libexecinfo-devel
+ qt5-devel qt5-tools-devel qt5-svg-devel
+ qt5-plugin-sqlite qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds
+ gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-devel gst-plugins-ugly1"
+depends="qt5-plugin-sqlite"
+short_desc="Fast audio player for Linux in C++ using Qt & GStreamer"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-or-later"
+homepage="http://sayonara-player.com"
+distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/${_ver}-${_rev}/sayonara-player-${_ver}-${_rev}.tar.gz"
+checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe
diff --git a/srcpkgs/sayonara-player/update b/srcpkgs/sayonara-player/update
new file mode 100644
index 00000000000..b92051e2071
--- /dev/null
+++ b/srcpkgs/sayonara-player/update
@@ -0,0 +1,2 @@
+pattern="/"${pkgname}"-\K[\d\.]+-?\w*(?=\.tar\.gz)"
+version=${_ver}-${_rev}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
                   ` (4 preceding siblings ...)
  2021-02-22 20:12 ` [PR PATCH] [Updated] " Logarithmus
@ 2021-02-23  0:22 ` Logarithmus
  2021-02-23  0:29 ` Logarithmus
  2021-02-23  1:46 ` Logarithmus
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-23  0:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Logarithmus/void-packages sayonara
https://github.com/void-linux/void-packages/pull/28984

New package: sayonara-player-1.6.0beta7
<!-- 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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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.
-->

#### Does it build and run successfully? 
- [x] I built this PR locally for my native architecture, (`x86_64-musl`)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] `aarch64-musl`
  - [ ] `armv7l`
  - [ ] `armv6l-musl`

Closes https://github.com/void-linux/void-packages/issues/27881

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

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

From 7e236c80ad08d9aa5f06dd024e3c38d1d09d2f7b Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Mon, 22 Feb 2021 21:09:33 +0300
Subject: [PATCH] New package: sayonara-player-1.6.0beta7

---
 .../patches/00-musl-execinfo.patch            | 33 +++++++++++++++++++
 srcpkgs/sayonara-player/template              | 23 +++++++++++++
 srcpkgs/sayonara-player/update                |  2 ++
 3 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
 create mode 100644 srcpkgs/sayonara-player/template
 create mode 100644 srcpkgs/sayonara-player/update

diff --git a/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
new file mode 100644
index 00000000000..d4ed2185756
--- /dev/null
+++ b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
@@ -0,0 +1,33 @@
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -128,18 +128,23 @@
+ 	set(WIN32 0)
+ endif()
+ 
+-# check execinfo for FreeBSD
++# check libexecinfo for non-glibc systems
+ if(WIN32)
+ 	link_directories(${GIO_LIBRARY_DIRS})
+-elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+-	find_library(execinfo_LIB execinfo)
+-	if(NOT execinfo_LIB)
+-		message(FATAL_ERROR "FreeBSD requires execinfo library")
++else()
++	include(CheckSymbolExists)
++	message("Checking if backtrace symbol present")
++	check_symbol_exists(backtrace execinfo.h backtrace_exists)
++	if(NOT backtrace_exists)
++		message("backtrace is missing (non-glibc platform), trying to find libexecinfo")
++		find_library(execinfo_LIB execinfo)
++		if(NOT execinfo_LIB)
++			message(FATAL_ERROR "libexecinfo not found")
++		endif()
++		set(OS_LIBRARIES ${execinfo_LIB})
+ 	endif()
+-	set(OS_LIBRARIES ${execinfo_LIB})
+ endif()
+ 
+-
+ # Check demangle
+ check_include_file_cxx("cxxabi.h" HAVE_CXX_ABI)
+ if(${HAVE_CXX_ABI})
diff --git a/srcpkgs/sayonara-player/template b/srcpkgs/sayonara-player/template
new file mode 100644
index 00000000000..6ef7dcc75b1
--- /dev/null
+++ b/srcpkgs/sayonara-player/template
@@ -0,0 +1,23 @@
+# Template file for 'sayonara-player'
+pkgname=sayonara-player
+_ver=1.6.0
+_rev=beta7
+version=${_ver}${_rev}
+revision=1
+wrksrc=${pkgname}-${_ver}-${_rev}
+build_style=cmake
+hostmakedepends="pkgconf qt5-host-tools qt5-qmake"
+makedepends="qt5-devel qt5-tools-devel qt5-svg-devel
+ qt5-plugin-sqlite qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds
+ gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-devel gst-plugins-ugly1"
+depends="qt5-plugin-sqlite"
+short_desc="Fast audio player for Linux in C++ using Qt & GStreamer"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-or-later"
+homepage="http://sayonara-player.com"
+distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/${_ver}-${_rev}/sayonara-player-${_ver}-${_rev}.tar.gz"
+checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+    makedepends+=" libexecinfo-devel"
+fi
diff --git a/srcpkgs/sayonara-player/update b/srcpkgs/sayonara-player/update
new file mode 100644
index 00000000000..b92051e2071
--- /dev/null
+++ b/srcpkgs/sayonara-player/update
@@ -0,0 +1,2 @@
+pattern="/"${pkgname}"-\K[\d\.]+-?\w*(?=\.tar\.gz)"
+version=${_ver}-${_rev}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
                   ` (5 preceding siblings ...)
  2021-02-23  0:22 ` Logarithmus
@ 2021-02-23  0:29 ` Logarithmus
  2021-02-23  1:46 ` Logarithmus
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-23  0:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Logarithmus/void-packages sayonara
https://github.com/void-linux/void-packages/pull/28984

New package: sayonara-player-1.6.0beta7
<!-- 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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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.
-->

#### Does it build and run successfully? 
- [x] I built this PR locally for my native architecture, (`x86_64-musl`)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] `aarch64-musl`
  - [ ] `armv7l`
  - [ ] `armv6l-musl`

Closes https://github.com/void-linux/void-packages/issues/27881

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

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

From 9557c4353d272e87e812ab4cbccf3994aed50634 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Mon, 22 Feb 2021 21:09:33 +0300
Subject: [PATCH] New package: sayonara-player-1.6.0beta7

---
 .../patches/00-musl-execinfo.patch            | 33 +++++++++++++++++++
 srcpkgs/sayonara-player/template              | 23 +++++++++++++
 srcpkgs/sayonara-player/update                |  2 ++
 3 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
 create mode 100644 srcpkgs/sayonara-player/template
 create mode 100644 srcpkgs/sayonara-player/update

diff --git a/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
new file mode 100644
index 00000000000..d4ed2185756
--- /dev/null
+++ b/srcpkgs/sayonara-player/patches/00-musl-execinfo.patch
@@ -0,0 +1,33 @@
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -128,18 +128,23 @@
+ 	set(WIN32 0)
+ endif()
+ 
+-# check execinfo for FreeBSD
++# check libexecinfo for non-glibc systems
+ if(WIN32)
+ 	link_directories(${GIO_LIBRARY_DIRS})
+-elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+-	find_library(execinfo_LIB execinfo)
+-	if(NOT execinfo_LIB)
+-		message(FATAL_ERROR "FreeBSD requires execinfo library")
++else()
++	include(CheckSymbolExists)
++	message("Checking if backtrace symbol present")
++	check_symbol_exists(backtrace execinfo.h backtrace_exists)
++	if(NOT backtrace_exists)
++		message("backtrace is missing (non-glibc platform), trying to find libexecinfo")
++		find_library(execinfo_LIB execinfo)
++		if(NOT execinfo_LIB)
++			message(FATAL_ERROR "libexecinfo not found")
++		endif()
++		set(OS_LIBRARIES ${execinfo_LIB})
+ 	endif()
+-	set(OS_LIBRARIES ${execinfo_LIB})
+ endif()
+ 
+-
+ # Check demangle
+ check_include_file_cxx("cxxabi.h" HAVE_CXX_ABI)
+ if(${HAVE_CXX_ABI})
diff --git a/srcpkgs/sayonara-player/template b/srcpkgs/sayonara-player/template
new file mode 100644
index 00000000000..579def04dd6
--- /dev/null
+++ b/srcpkgs/sayonara-player/template
@@ -0,0 +1,23 @@
+# Template file for 'sayonara-player'
+pkgname=sayonara-player
+_ver=1.6.0
+_rev=beta7
+version=${_ver}${_rev}
+revision=1
+wrksrc=${pkgname}-${_ver}-${_rev}
+build_style=cmake
+hostmakedepends="pkgconf qt5-host-tools qt5-qmake"
+makedepends="qt5-devel qt5-tools-devel qt5-svg-devel
+ qt5-plugin-sqlite qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-tds
+ gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-devel gst-plugins-ugly1"
+depends="qt5-plugin-sqlite"
+short_desc="Fast audio player for Linux in C++ using Qt & GStreamer"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-3.0-or-later"
+homepage="http://sayonara-player.com"
+distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/${_ver}-${_rev}/sayonara-player-${_ver}-${_rev}.tar.gz"
+checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" libexecinfo-devel"
+fi
diff --git a/srcpkgs/sayonara-player/update b/srcpkgs/sayonara-player/update
new file mode 100644
index 00000000000..b92051e2071
--- /dev/null
+++ b/srcpkgs/sayonara-player/update
@@ -0,0 +1,2 @@
+pattern="/"${pkgname}"-\K[\d\.]+-?\w*(?=\.tar\.gz)"
+version=${_ver}-${_rev}

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New package: sayonara-player-1.6.0beta7
  2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
                   ` (6 preceding siblings ...)
  2021-02-23  0:29 ` Logarithmus
@ 2021-02-23  1:46 ` Logarithmus
  7 siblings, 0 replies; 9+ messages in thread
From: Logarithmus @ 2021-02-23  1:46 UTC (permalink / raw)
  To: ml

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

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/pull/28984#issuecomment-783805194

Comment:
@ericonr it seems that it builds successfully for all 7 targets!

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-23  1:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 19:54 [PR PATCH] New package: sayonara-player-1.6.0beta7 Logarithmus
2021-02-22 20:01 ` [PR REVIEW] " ericonr
2021-02-22 20:01 ` ericonr
2021-02-22 20:06 ` Logarithmus
2021-02-22 20:07 ` Logarithmus
2021-02-22 20:12 ` [PR PATCH] [Updated] " Logarithmus
2021-02-23  0:22 ` Logarithmus
2021-02-23  0:29 ` Logarithmus
2021-02-23  1:46 ` Logarithmus

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git