View | Details | Raw Unified | Return to bug 95295
Collapse All | Expand All

(-)gmpc/Makefile (-12 / +17 lines)
Lines 6-23 Link Here
6
#
6
#
7
7
8
PORTNAME=	gmpc
8
PORTNAME=	gmpc
9
PORTVERSION=	0.11.2
9
PORTVERSION=	0.13.0
10
PORTREVISION=	3
11
PORTEPOCH=	1
10
PORTEPOCH=	1
12
CATEGORIES=	audio
11
CATEGORIES=	audio
13
MASTER_SITES=	http://mercury.chem.pitt.edu/~shank/ \
12
MASTER_SITES=	http://download.qballcow.nl/programs/gmpc-0.13/
14
		http://download.qballcow.nl/programs/gmpc/
15
13
16
MAINTAINER=	ports@mark.reidel.info
14
MAINTAINER=	redchrom@gmail.com
17
COMMENT=	Tray-aware GTK2 client for musicpd
15
COMMENT=	Tray-aware GTK2 client for musicpd
18
16
17
LIB_DEPENDS=	mpd:${PORTSDIR}/audio/libmpd
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_GNOME=	libglade2 gnomevfs2
20
USE_GNOME=	libglade2 gnomevfs2
21
USE_X_PREFIX=	yes
21
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
22
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
22
		LDFLAGS="-L${LOCALBASE}/lib" \
23
		LDFLAGS="-L${LOCALBASE}/lib" \
23
24
Lines 25-44 Link Here
25
26
26
OPTIONS=	NLS "Native language support" on
27
OPTIONS=	NLS "Native language support" on
27
28
29
.include <bsd.port.pre.mk>
30
28
.if !defined(WITHOUT_NLS)
31
.if !defined(WITHOUT_NLS)
32
USE_GETTEXT=	yes
29
PLIST_FILES+=	share/locale/fr/LC_MESSAGES/gmpc.mo
33
PLIST_FILES+=	share/locale/fr/LC_MESSAGES/gmpc.mo
34
PLIST_FILES+=	share/locale/ru/LC_MESSAGES/gmpc.mo
30
.endif
35
.endif
31
36
32
do-install:
37
post-patch:
33
	${INSTALL_PROGRAM} ${WRKSRC}/src/gmpc ${PREFIX}/bin/
38
	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
34
	${MKDIR} ${DATADIR}
39
		${WRKSRC}/data/Makefile.in
35
	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}
40
36
	${INSTALL_DATA} ${WRKSRC}/glade/*.glade ${DATADIR}
41
post-install:
37
.if !defined(WITHOUT_NLS)
42
.if !defined(WITHOUT_NLS)
38
.for language in fr
43
.for language in fr ru
39
	${MKDIR} ${LOCALBASE}/share/locale/${language}/LC_MESSAGES
44
	${MKDIR} ${LOCALBASE}/share/locale/${language}/LC_MESSAGES
40
	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/gmpc.mo
45
	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/gmpc.mo
41
.endfor
46
.endfor
42
.endif
47
.endif
43
48
44
.include <bsd.port.mk>
49
.include <bsd.port.post.mk>
(-)gmpc/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gmpc-0.11.2.tar.gz) = a7cc8c0734fef9e0b05be76cea3c0a20
1
MD5 (gmpc-0.13.0.tar.gz) = dbbb1880feb8b9c2493ece670520299b
2
SHA256 (gmpc-0.11.2.tar.gz) = cacf881ccdbc3fe5568636bf279392b5d339a481a5fb2c03d5c70a2de58f7407
2
SHA256 (gmpc-0.13.0.tar.gz) = 7b47fd0d2e5a2f2d626b3e9e903ff8a0c0ce7c926925944dcea1f9ca3e6cfda1
3
SIZE (gmpc-0.11.2.tar.gz) = 210365
3
SIZE (gmpc-0.13.0.tar.gz) = 476926
(-)gmpc/files/patch-src-tray-icon.c (-14 lines)
Lines 1-14 Link Here
1
--- src/tray-icon.c.orig	Sun Oct 17 00:43:58 2004
2
+++ src/tray-icon.c	Wed Oct 27 00:08:40 2004
3
@@ -201,10 +201,10 @@
4
 	int monitor = gdk_screen_get_monitor_at_window(
5
 			gtk_widget_get_screen(tv), tv->window);
6
 	GtkWidget *eventb;
7
+	char *tooltiptext = NULL;
8
 	if(tip != NULL) return FALSE;
9
 
10
 
11
-	char *tooltiptext = NULL;
12
 
13
 	tooltiptext = tray_get_tooltip_text();
14
 	gdk_screen_get_monitor_geometry(
(-)gmpc/pkg-plist (-1 / +9 lines)
Lines 1-19 Link Here
1
bin/gmpc
1
bin/gmpc
2
%%DATADIR%%/gmpc-tray.png
2
%%DATADIR%%/gmpc-tray.png
3
%%DATADIR%%/gmpc.png
3
%%DATADIR%%/gmpc.png
4
%%DATADIR%%/icecast.png
4
%%DATADIR%%/media-album.png
5
%%DATADIR%%/media-album.png
5
%%DATADIR%%/media-artist.png
6
%%DATADIR%%/media-artist.png
6
%%DATADIR%%/media-audiofile.png
7
%%DATADIR%%/media-audiofile.png
7
%%DATADIR%%/media-next.png
8
%%DATADIR%%/media-next.png
8
%%DATADIR%%/media-pause.png
9
%%DATADIR%%/media-pause.png
9
%%DATADIR%%/media-play.png
10
%%DATADIR%%/media-play.png
11
%%DATADIR%%/media-playlist.png
10
%%DATADIR%%/media-prev.png
12
%%DATADIR%%/media-prev.png
11
%%DATADIR%%/media-stop.png
13
%%DATADIR%%/media-stop.png
12
%%DATADIR%%/media-stream.png
14
%%DATADIR%%/media-stream.png
13
%%DATADIR%%/player-repeat.png
15
%%DATADIR%%/player-repeat.png
14
%%DATADIR%%/player-shuffle.png
16
%%DATADIR%%/player-shuffle.png
15
%%DATADIR%%/gmpc.glade
17
%%DATADIR%%/gmpc.glade
16
%%DATADIR%%/playlist.glade
18
%%DATADIR%%/playlist3.glade
17
%%DATADIR%%/open-location.glade
19
%%DATADIR%%/open-location.glade
18
%%DATADIR%%/add-browser.glade
20
%%DATADIR%%/add-browser.glade
21
include/gmpc/config1.h
22
include/gmpc/cover-art.h
23
include/gmpc/plugin.h
24
include/gmpc/qthread.h
25
@dirrm include/gmpc
26
libdata/pkgconfig/gmpc.pc
19
@dirrm %%DATADIR%%
27
@dirrm %%DATADIR%%

Return to bug 95295