Github messages for voidlinux
 help / color / mirror / Atom feed
From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: sayonara-player-1.6.0beta7
Date: Mon, 22 Feb 2021 21:12:37 +0100	[thread overview]
Message-ID: <20210222201237.Ap6SmE5v9tAC3bZcWRszhw_cWRFrpp8Z_IfqyOVCTyk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28984@inbox.vuxu.org>

[-- 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}

  parent reply	other threads:[~2021-02-22 20:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 19:54 [PR PATCH] " 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 ` Logarithmus [this message]
2021-02-23  0:22 ` [PR PATCH] [Updated] " Logarithmus
2021-02-23  0:29 ` Logarithmus
2021-02-23  1:46 ` Logarithmus
2021-03-17 18:02 ` [PR REVIEW] " Logarithmus
2021-03-26 21:44 ` [PR PATCH] [Updated] " Logarithmus
2021-05-02 23:25 ` [PR REVIEW] " Logarithmus
2021-05-02 23:26 ` Logarithmus
2021-05-02 23:35 ` Logarithmus
2021-06-29  2:19 ` [PR PATCH] [Updated] New package: sayonara-player-1.7.0stable2 Logarithmus
2021-06-29  2:21 ` [PR REVIEW] " Logarithmus
2021-07-27  2:02 ` Logarithmus
2021-07-27  2:07 ` [PR PATCH] [Updated] " Logarithmus
2021-07-27  2:07 ` Logarithmus
2022-05-05  2:09 ` New package: sayonara-player-1.7.0stable3 github-actions
2022-05-19  2:15 ` [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=20210222201237.Ap6SmE5v9tAC3bZcWRszhw_cWRFrpp8Z_IfqyOVCTyk@z \
    --to=logarithmus@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).