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