pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/gkrellmpc Import gkrellmpc-0.1_beta10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab308a5679dd
branches:  trunk
changeset: 770196:ab308a5679dd
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Nov 27 10:37:24 2021 +0000

description:
Import gkrellmpc-0.1_beta10

GKrellMPC is a GKrellm plugin that allows you to control your MPD
music daemon from within gkrellm.

diffstat:

 audio/gkrellmpc/DESCR               |   2 ++
 audio/gkrellmpc/Makefile            |  28 ++++++++++++++++++++++++++++
 audio/gkrellmpc/PLIST               |   4 ++++
 audio/gkrellmpc/distinfo            |   6 ++++++
 audio/gkrellmpc/options.mk          |  16 ++++++++++++++++
 audio/gkrellmpc/patches/patch-mpd.c |  15 +++++++++++++++
 6 files changed, 71 insertions(+), 0 deletions(-)

diffs (95 lines):

diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/DESCR     Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,2 @@
+GKrellMPC is a GKrellm plugin that allows you to control your MPD
+music daemon from within gkrellm.
diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/Makefile  Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/11/27 10:37:24 pho Exp $
+DISTNAME=      gkrellmpc-0.1_beta10
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=simark/}
+GITHUB_PROJECT=        gkrellm-gkrellmpc
+GITHUB_TAG=    da1a6d988162c248e0c86a9af6db8f9a5a094bc8
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/simark/gkrellm-gkrellmpc
+COMMENT=       GKrellM plugin to control musicpd
+LICENSE=       gnu-gpl-v2
+
+USE_TOOLS+=    pkg-config gmake
+
+.include "options.mk"
+
+INSTALLATION_DIRS+=    ${PKGLOCALEDIR}/locale
+INSTALLATION_DIRS+=    lib/gkrellm2/plugins
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+do-install:
+       ${INSTALL_LIB} "${WRKSRC}/gkrellmpc.so" \
+               "${DESTDIR}${PREFIX}/lib/gkrellm2/plugins"
+       ${INSTALL_DATA} "${WRKSRC}/README.txt" \
+               "${DESTDIR}${PREFIX}/share/doc/${PKGBASE}"
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/PLIST     Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/27 10:37:24 pho Exp $
+lib/gkrellm2/plugins/gkrellmpc.so
+share/doc/gkrellmpc/README.txt
+share/locale/ru/LC_MESSAGES/gkrellmpc.mo
diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/distinfo  Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/27 10:37:24 pho Exp $
+
+BLAKE2s (gkrellmpc-0.1_beta10-da1a6d988162c248e0c86a9af6db8f9a5a094bc8.tar.gz) = 4ced78a2e400528071e5bcc8aad3f143d213e39b1a942fc83dd67fe19962852e
+SHA512 (gkrellmpc-0.1_beta10-da1a6d988162c248e0c86a9af6db8f9a5a094bc8.tar.gz) = 
270f1d106e7fa58e0377c8825d3faef9a7c502928c9df5dd384492bf5762b271a65f49abd31f5150b28237783861bff8933aea7114c81b086adbe087f4905ec1
+Size (gkrellmpc-0.1_beta10-da1a6d988162c248e0c86a9af6db8f9a5a094bc8.tar.gz) = 30352 bytes
+SHA1 (patch-mpd.c) = 9c700624d49cab0276bb0de26e394ee073549f3f
diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/options.mk        Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2021/11/27 10:37:24 pho Exp $
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gkrellmpc
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS= nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnls)
+USE_TOOLS+=    gmake msgfmt
+MAKE_FLAGS+=   enable_nls=1
+post-install:
+       ${GMAKE} -C "${WRKSRC}/po" \
+               ${MAKE_FLAGS} \
+               LOCALEDIR="${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale" \
+               install
+.endif
diff -r f320b6706be8 -r ab308a5679dd audio/gkrellmpc/patches/patch-mpd.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gkrellmpc/patches/patch-mpd.c       Sat Nov 27 10:37:24 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mpd.c,v 1.1 2021/11/27 10:37:24 pho Exp $
+
+Fix build on NetBSD: struct sockaddr_in is not defined unless
+<netinet/in.h> is #include'd.
+
+--- mpd.c.orig 2021-11-27 10:11:28.288468327 +0000
++++ mpd.c
+@@ -11,6 +11,7 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netdb.h>
++#include <netinet/in.h>
+ 
+ GIOChannel   * mpc_mpd = NULL;
+ 



Home | Main Index | Thread Index | Old Index