Github messages for voidlinux
 help / color / mirror / Atom feed
From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ardour: add freedesktop support & man page
Date: Tue, 15 Sep 2020 23:42:00 +0200
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24930@inbox.vuxu.org> (raw)

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

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

https://github.com/tibequadorian/void-packages ardour
https://github.com/void-linux/void-packages/pull/24930

ardour: add freedesktop support & man page
fix #15426

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

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

From 7d8c6e86bda4b9363850c2af0f8edfe0a9d805b8 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 15 Sep 2020 23:30:24 +0200
Subject: [PATCH] ardour: add freedesktop support & man page

---
 srcpkgs/ardour/template | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/ardour/template b/srcpkgs/ardour/template
index e9ec7f5562c..bb4a34f610d 100644
--- a/srcpkgs/ardour/template
+++ b/srcpkgs/ardour/template
@@ -1,11 +1,12 @@
 # Template file for 'ardour'
 pkgname=ardour
 version=6.0
-revision=1
+revision=2
 build_style=waf3
 configure_args="--cxx11 --no-phone-home --with-backends=jack,alsa,dummy
- --libjack=weak --optimize --docs --use-external-libs"
-hostmakedepends="python3 git graphviz doxygen pkg-config clang perl"
+ --libjack=weak --optimize --docs --use-external-libs --freedesktop"
+hostmakedepends="python3 git graphviz doxygen pkg-config clang perl itstool
+ gettext"
 makedepends="boost-devel liblrdf-devel liblo-devel lilv-devel suil-devel
  taglib-devel aubio-devel rubberband-devel alsa-lib-devel libsndfile-devel
  vamp-plugin-sdk-devel fftw-devel jack-devel libsamplerate-devel lv2
@@ -20,3 +21,15 @@ nocross="executes test binaries during configure"
 do_fetch() {
 	git clone --depth 1 --branch=$version https://github.com/Ardour/ardour $pkgname-$version
 }
+
+post_install() {
+	# freedesktop
+	vinstall "build/gtk2_ardour/ardour.xml" 644 "/usr/share/mime/packages/"
+	vinstall "build/gtk2_ardour/ardour${version%%.*}.desktop" 644 "/usr/share/applications/"
+	for size in 16 22 32 48 256 512; do
+		vinstall "gtk2_ardour/resources/Ardour-icon_${size}px.png" 644 \
+		 "/usr/share/icons/hicolor/${size}x${size}/apps/" "ardour${version%%.*}.png"
+	done
+	# man page
+	vinstall "ardour.1" 644 "/usr/share/man/man1/"
+}

             reply	other threads:[~2020-09-15 21:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 21:42 tibequadorian [this message]
2020-09-16 16:59 ` [PR PATCH] [Updated] " tibequadorian
2020-09-22 15:09 ` [PR PATCH] [Closed]: " sgn

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-24930@inbox.vuxu.org \
    --to=tibequadorian@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

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