Import audio/gogglesmm, a music collection manager and player.
ok brett@
This commit is contained in:
parent
38291941d5
commit
ffb663e77f
37
audio/gogglesmm/Makefile
Normal file
37
audio/gogglesmm/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/05/15 06:24:53 bcallah Exp $
|
||||
|
||||
COMMENT = music collection manager and player
|
||||
DISTNAME = gogglesmm-0.12.7
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
CATEGORIES = audio x11
|
||||
|
||||
HOMEPAGE = https://code.google.com/p/gogglesmm/
|
||||
|
||||
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += FOX-1.6 GL GLU X11 c dbus-1 expat
|
||||
WANTLIB += m sqlite3 stdc++ tag xine
|
||||
|
||||
MASTER_SITES = https://gogglesmm.googlecode.com/files/
|
||||
|
||||
MODULES = devel/gettext
|
||||
|
||||
LIB_DEPENDS = audio/taglib \
|
||||
devel/fox \
|
||||
multimedia/xine-lib \
|
||||
x11/dbus
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+2,-guic \
|
||||
x11/tango-icon-theme
|
||||
|
||||
CONFIGURE_ARGS = --with-md5=internal
|
||||
CONFIGURE_STYLE = simple
|
||||
USE_GMAKE = Yes
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/gogglesmm/distinfo
Normal file
2
audio/gogglesmm/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gogglesmm-0.12.7.tar.xz) = zq7JprP0kpAa3FxKkzGo8uBcOOKS3RuPnjEhmyFcu/Q=
|
||||
SIZE (gogglesmm-0.12.7.tar.xz) = 344652
|
46
audio/gogglesmm/patches/patch-Makefile
Normal file
46
audio/gogglesmm/patches/patch-Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2013/05/15 06:24:53 bcallah Exp $
|
||||
--- Makefile.orig Wed Feb 8 21:50:01 2012
|
||||
+++ Makefile Sat May 4 02:56:19 2013
|
||||
@@ -153,24 +153,32 @@ LINGUAS?=$(TRANSLATIONS)
|
||||
#----------------------------------------------------------
|
||||
install: $(BINNAME)
|
||||
@echo " Installing $(INSTALL_DIR)/bin/gogglesmm ..."
|
||||
- @$(INSTALL) -m 755 -D src/gogglesmm $(INSTALL_DIR)/bin/gogglesmm
|
||||
+ @$(INSTALL) -m 755 src/gogglesmm $(INSTALL_DIR)/bin/gogglesmm
|
||||
@echo " Installing $(INSTALL_DIR)/share/applications/gogglesmm.desktop"
|
||||
- @$(INSTALL) -m 644 -D extra/gogglesmm.desktop $(INSTALL_DIR)/share/applications/gogglesmm.desktop
|
||||
+ mkdir -p $(INSTALL_DIR)/share/applications
|
||||
+ @$(INSTALL) -m 644 extra/gogglesmm.desktop $(INSTALL_DIR)/share/applications/gogglesmm.desktop
|
||||
@echo " Installing Icons"
|
||||
- $(INSTALL) -m 644 -D icons/gogglesmm_16.png $(INSTALL_DIR)/share/icons/hicolor/16x16/apps/gogglesmm.png
|
||||
- $(INSTALL) -m 644 -D extra/gogglesmm_22.png $(INSTALL_DIR)/share/icons/hicolor/22x22/apps/gogglesmm.png
|
||||
- $(INSTALL) -m 644 -D extra/gogglesmm_24.png $(INSTALL_DIR)/share/icons/hicolor/24x24/apps/gogglesmm.png
|
||||
- $(INSTALL) -m 644 -D icons/gogglesmm_32.png $(INSTALL_DIR)/share/icons/hicolor/32x32/apps/gogglesmm.png
|
||||
- $(INSTALL) -m 644 -D extra/gogglesmm_48.png $(INSTALL_DIR)/share/icons/hicolor/48x48/apps/gogglesmm.png
|
||||
- $(INSTALL) -m 644 -D extra/gogglesmm.svg $(INSTALL_DIR)/share/icons/hicolor/scalable/apps/gogglesmm.svg
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/16x16/apps/
|
||||
+ $(INSTALL) -m 644 icons/gogglesmm_16.png $(INSTALL_DIR)/share/icons/hicolor/16x16/apps/gogglesmm.png
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/22x22/apps/
|
||||
+ $(INSTALL) -m 644 extra/gogglesmm_22.png $(INSTALL_DIR)/share/icons/hicolor/22x22/apps/gogglesmm.png
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/24x24/apps/
|
||||
+ $(INSTALL) -m 644 extra/gogglesmm_24.png $(INSTALL_DIR)/share/icons/hicolor/24x24/apps/gogglesmm.png
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/32x32/apps/
|
||||
+ $(INSTALL) -m 644 icons/gogglesmm_32.png $(INSTALL_DIR)/share/icons/hicolor/32x32/apps/gogglesmm.png
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/48x48/apps/
|
||||
+ $(INSTALL) -m 644 extra/gogglesmm_48.png $(INSTALL_DIR)/share/icons/hicolor/48x48/apps/gogglesmm.png
|
||||
+ mkdir -p $(INSTALL_DIR)/share/icons/hicolor/scalable/apps/
|
||||
+ $(INSTALL) -m 644 extra/gogglesmm.svg $(INSTALL_DIR)/share/icons/hicolor/scalable/apps/gogglesmm.svg
|
||||
@echo " Installing $(INSTALL_MANDIR)/man1/gogglesmm.1"
|
||||
- @$(INSTALL) -m 644 -D extra/gogglesmm.1 $(INSTALL_MANDIR)/man1/gogglesmm.1
|
||||
+ @$(INSTALL) -m 644 extra/gogglesmm.1 $(INSTALL_MANDIR)/man1/gogglesmm.1
|
||||
ifneq (,$(findstring nls,$(OPTIONS)))
|
||||
@echo " Installing Translations"
|
||||
@linguas='$(filter $(TRANSLATIONS),$(LINGUAS))'; \
|
||||
for tr in $$linguas ; do \
|
||||
echo " Installing $(INSTALL_LOCALEDIR)/$$tr/LC_MESSAGES/gogglesmm.mo" ;\
|
||||
- $(INSTALL) -m 644 -D po/$$tr.mo -T $(INSTALL_LOCALEDIR)/$$tr/LC_MESSAGES/gogglesmm.mo ; \
|
||||
+ mkdir -p $(INSTALL_LOCALEDIR)/$$tr/LC_MESSAGES/ ; \
|
||||
+ $(INSTALL) -m 644 po/$$tr.mo $(INSTALL_LOCALEDIR)/$$tr/LC_MESSAGES/gogglesmm.mo ; \
|
||||
done;
|
||||
endif
|
||||
|
16
audio/gogglesmm/patches/patch-src_ap_http_cpp
Normal file
16
audio/gogglesmm/patches/patch-src_ap_http_cpp
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_ap_http_cpp,v 1.1.1.1 2013/05/15 06:24:53 bcallah Exp $
|
||||
|
||||
No AI_ADDRCONFIG on OpenBSD. Google suggested this "fix."
|
||||
|
||||
--- src/ap_http.cpp.orig Sat May 4 02:10:01 2013
|
||||
+++ src/ap_http.cpp Sat May 4 02:11:26 2013
|
||||
@@ -32,6 +32,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifndef AI_ADDRCONFIG
|
||||
+#define AI_ADDRCONFIG 0
|
||||
+#endif
|
||||
|
||||
using namespace ap;
|
||||
|
4
audio/gogglesmm/pkg/DESCR
Normal file
4
audio/gogglesmm/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Goggles Music Manager is a music collection manager and player that
|
||||
automatically categorizes your music files based on genre, artist,
|
||||
album, and song. It supports gapless playback and features easy tag
|
||||
editing.
|
21
audio/gogglesmm/pkg/PLIST
Normal file
21
audio/gogglesmm/pkg/PLIST
Normal file
@ -0,0 +1,21 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/05/15 06:24:53 bcallah Exp $
|
||||
@bin bin/gogglesmm
|
||||
@man man/man1/gogglesmm.1
|
||||
share/applications/gogglesmm.desktop
|
||||
share/icons/hicolor/16x16/apps/gogglesmm.png
|
||||
share/icons/hicolor/22x22/apps/gogglesmm.png
|
||||
share/icons/hicolor/24x24/apps/gogglesmm.png
|
||||
share/icons/hicolor/32x32/apps/gogglesmm.png
|
||||
share/icons/hicolor/48x48/apps/gogglesmm.png
|
||||
share/icons/hicolor/scalable/apps/gogglesmm.svg
|
||||
share/locale/cs/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/de/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/es/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/fr/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/hu/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/pt/LC_MESSAGES/gogglesmm.mo
|
||||
share/locale/ru/LC_MESSAGES/gogglesmm.mo
|
||||
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
||||
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
Loading…
x
Reference in New Issue
Block a user