Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mp3info: split gtk and ncurses executable
Date: Tue, 23 Jul 2019 12:48:46 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13295@inbox.vuxu.org> (raw)

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

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

https://github.com/the-eater/neo-void-packages feature/mp3info/split-gtk
https://github.com/void-linux/void-packages/pull/13295

mp3info: split gtk and ncurses executable
Currently gtk+ and dependencies are installed if I install `mp3info` which is undesired.

`gmp3info` and `mp3info` are don't depend on each other.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feature/mp3info/split-gtk-13295.patch --]
[-- Type: application/text/x-diff, Size: 1158 bytes --]

From 7faf896c0adc7308fe27760ddae5697db7be65ae Mon Sep 17 00:00:00 2001
From: eater <=@eater.me>
Date: Tue, 23 Jul 2019 12:45:21 +0200
Subject: [PATCH] mp3info: split gtk and ncurses executable

---
 srcpkgs/mp3info-gtk      |  1 +
 srcpkgs/mp3info/template | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/mp3info-gtk

diff --git a/srcpkgs/mp3info-gtk b/srcpkgs/mp3info-gtk
new file mode 120000
index 00000000000..35702d9dbd3
--- /dev/null
+++ b/srcpkgs/mp3info-gtk
@@ -0,0 +1 @@
+mp3info
\ No newline at end of file
diff --git a/srcpkgs/mp3info/template b/srcpkgs/mp3info/template
index e7d4ed493bf..4287ec90d64 100644
--- a/srcpkgs/mp3info/template
+++ b/srcpkgs/mp3info/template
@@ -1,7 +1,7 @@
 # Template file for 'mp3info'
 pkgname=mp3info
 version=0.8.5a
-revision=3
+revision=4
 build_style=gnu-makefile
 hostmakedepends="pkg-config"
 makedepends="gtk+-devel ncurses-devel"
@@ -27,3 +27,11 @@ do_install() {
 
 	make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man/man1 install
 }
+
+mp3info-gtk_package() {
+	short_desc+=" - gtk user interface"
+
+	pkg_install() {
+		vmove usr/bin/gmp3info
+	}
+}

             reply	other threads:[~2019-07-23 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23 10:48 voidlinux-github [this message]
2019-07-23 11:29 ` voidlinux-github
2019-07-23 11:38 ` voidlinux-github
2019-07-23 11:41 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-23 11:41 ` voidlinux-github
2019-07-23 11:52 ` voidlinux-github
2019-07-24 21:51 ` [PR PATCH] [Merged]: " voidlinux-github

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-13295@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).