aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-08-14 08:40:41 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-08-14 08:40:41 +0000
commitf813a7abfa862f458595612e3f8563f97b158f49 (patch)
treee20522295e1c262b3c674130cc415c6050c06c85
parentc77e4f098f40d37206d12e7ce505109312c56575 (diff)
downloadports-f813a7abfa862f458595612e3f8563f97b158f49.tar.gz
ports-f813a7abfa862f458595612e3f8563f97b158f49.zip
audio/ocp: Add an option for libgme support
Incorporate a selectable option for libgme support, introducing extended compatibility for various video game music formats.
-rw-r--r--audio/ocp/Makefile9
-rw-r--r--audio/ocp/pkg-plist1
2 files changed, 8 insertions, 2 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 7aeffaa75507..590b7b6f257e 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ocp
PORTVERSION= 0.2.106
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= https://stian.cubic.org/ocp/
@@ -42,11 +43,12 @@ CONFLICTS_INSTALL= alliance # man/man1/ocp.1.gz
INFO= ocp
-OPTIONS_DEFINE= ADPLUG ALSA DOCS FLAC MIDI OSS SDL X11
-OPTIONS_DEFAULT= ADPLUG ALSA FLAC MIDI OSS SDL X11
+OPTIONS_DEFINE= ADPLUG ALSA DOCS FLAC GME MIDI OSS SDL X11
+OPTIONS_DEFAULT= ADPLUG ALSA FLAC GME MIDI OSS SDL X11
OPTIONS_SUB= yes
ADPLUG_DESC= adplug support
+GME_DESC= libgme support for additional video game music support
MIDI_DESC= timidity support
ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \
@@ -59,6 +61,9 @@ ALSA_CONFIGURE_WITH= alsa
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
FLAC_CONFIGURE_WITH= flac
+GME_LIB_DEPENDS= libgme.so:audio/libgme
+GME_CONFIGURE_WITH= libgme
+
MIDI_RUN_DEPENDS= eawpats>0:audio/eawpats
OSS_CONFIGURE_WITH= oss
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 71b080c44476..1110df27c986 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -91,6 +91,7 @@ share/mime/packages/opencubicplayer.xml
%%DATADIR%%/etc/ocp.ini
%%DESKTOP%%share/applications/cubic.org-opencubicplayer.desktop
%%FLAC%%lib/ocp/autoload/95-playflac.so
+%%GME%%lib/ocp/autoload/95-playgme.so
%%OSS%%lib/ocp/autoload/35-devposs.so
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS