From b911e5438c4c7dd709abbc9ee0f3dfa3f94cf105 Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Mon, 15 Nov 2010 16:38:24 +0000 Subject: [PATCH] Add game music emu (gme) gstreamer plugin. Submitted by: Raphael Kubo da Costa --- Mk/bsd.gstreamer.mk | 4 +++- audio/Makefile | 1 + audio/gstreamer-plugins-gme/Makefile | 17 +++++++++++++++++ multimedia/gstreamer-plugins/Makefile.common | 8 +++++++- 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 audio/gstreamer-plugins-gme/Makefile diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk index f26dbbf9b8c5..fcb66b500035 100644 --- a/Mk/bsd.gstreamer.mk +++ b/Mk/bsd.gstreamer.mk @@ -55,7 +55,7 @@ GST_SHLIB_VERSION= 1 # _USE_GSTREAMER10_ALL= a52dec aalib amrnb amrwbdec annodex bz2 cairo \ cdaudio cdparanoia dts dv dvd esound faac faad \ - ffmpeg flac gconf gio gl gnomevfs gnonlin \ + ffmpeg flac gconf gio gl gme gnomevfs gnonlin \ gsm hal jack jpeg ladspa lame libcaca libmms \ libpng libvisual mm mp3 mpeg2enc mpeg2dec musepack \ nas neon ogg pango pulse python resindvd schroedinger \ @@ -103,6 +103,8 @@ flac_DEPENDS= audio/gstreamer-plugins-flac fluendo-mp3_DEPENDS= audio/gstreamer-plugins-fluendo-mp3 +gme_DEPENDS= audio/gstreamer-plugins-gme + gsm_DEPENDS= audio/gstreamer-plugins-gsm hal_DEPENDS= sysutils/gstreamer-plugins-hal diff --git a/audio/Makefile b/audio/Makefile index 30ba9b7975c0..8110181e3080 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -274,6 +274,7 @@ SUBDIR += gstreamer-plugins-faad SUBDIR += gstreamer-plugins-flac SUBDIR += gstreamer-plugins-fluendo-mp3 + SUBDIR += gstreamer-plugins-gme SUBDIR += gstreamer-plugins-gsm SUBDIR += gstreamer-plugins-jack SUBDIR += gstreamer-plugins-ladspa diff --git a/audio/gstreamer-plugins-gme/Makefile b/audio/gstreamer-plugins-gme/Makefile new file mode 100644 index 000000000000..8d8d56c19c95 --- /dev/null +++ b/audio/gstreamer-plugins-gme/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: gstreamer-plugins-gme +# Date created: 15 Nov 2010 +# Whom: Raphael Kubo da Costa +# +# $FreeBSD$ +# + +PORTREVISION= 0 +CATEGORIES= audio + +COMMENT= Gstreamer game-music-emu (libgme) frontend + +GST_PLUGIN= gme + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index f88c87120b77..ecfd4896d417 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -308,6 +308,12 @@ gst_gio_PLIST_FILES= ${GST_LIB_DIR}/libgstgio.la \ ${GST_LIB_DIR}/libgstgio.so gst_gio_DIST= base +# gme +gst_gme_LIB_DEPENDS+= gme.0:${PORTSDIR}/audio/libgme +gst_gme_PLIST_FILES= ${GST_LIB_DIR}/libgstgme.la \ + ${GST_LIB_DIR}/libgstgme.so +gst_gme_DIST= bad + # gnomevfs gst_gnomevfs_USE_GNOME+= gnomevfs2 gst_gnomevfs_CONFIGURE_ARGS+=--enable-gnome_vfs @@ -470,7 +476,7 @@ gst_soundtouch_LIB_DEPENDS+= SoundTouch.0:${PORTSDIR}/audio/soundtouch gst_soundtouch_PLIST_FILES= ${GST_LIB_DIR}/libgstsoundtouch.la \ ${GST_LIB_DIR}/libgstsoundtouch.so gst_soundtouch_DIST= bad - + # souphttpsrc gst_soup_LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup gst_soup_GST_PLUGIN_DIR=ext/soup