pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/gkrellmpc



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Nov 27 10:37:25 UTC 2021

Added Files:
        pkgsrc/audio/gkrellmpc: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/audio/gkrellmpc/patches: patch-mpd.c

Log Message:
Import gkrellmpc-0.1_beta10

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/gkrellmpc/DESCR \
    pkgsrc/audio/gkrellmpc/Makefile pkgsrc/audio/gkrellmpc/PLIST \
    pkgsrc/audio/gkrellmpc/distinfo pkgsrc/audio/gkrellmpc/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/gkrellmpc/patches/patch-mpd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/gkrellmpc/DESCR
diff -u /dev/null pkgsrc/audio/gkrellmpc/DESCR:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/DESCR        Sat Nov 27 10:37:24 2021
@@ -0,0 +1,2 @@
+GKrellMPC is a GKrellm plugin that allows you to control your MPD
+music daemon from within gkrellm.
Index: pkgsrc/audio/gkrellmpc/Makefile
diff -u /dev/null pkgsrc/audio/gkrellmpc/Makefile:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/Makefile     Sat Nov 27 10:37:24 2021
@@ -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"
Index: pkgsrc/audio/gkrellmpc/PLIST
diff -u /dev/null pkgsrc/audio/gkrellmpc/PLIST:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/PLIST        Sat Nov 27 10:37:24 2021
@@ -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
Index: pkgsrc/audio/gkrellmpc/distinfo
diff -u /dev/null pkgsrc/audio/gkrellmpc/distinfo:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/distinfo     Sat Nov 27 10:37:24 2021
@@ -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
Index: pkgsrc/audio/gkrellmpc/options.mk
diff -u /dev/null pkgsrc/audio/gkrellmpc/options.mk:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/options.mk   Sat Nov 27 10:37:24 2021
@@ -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

Index: pkgsrc/audio/gkrellmpc/patches/patch-mpd.c
diff -u /dev/null pkgsrc/audio/gkrellmpc/patches/patch-mpd.c:1.1
--- /dev/null   Sat Nov 27 10:37:25 2021
+++ pkgsrc/audio/gkrellmpc/patches/patch-mpd.c  Sat Nov 27 10:37:24 2021
@@ -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