Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2018 17:49:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468951 - in head/audio: . oaml oaml/files
Message-ID:  <201805031749.w43HnqYA011834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May  3 17:49:52 2018
New Revision: 468951
URL: https://svnweb.freebsd.org/changeset/ports/468951

Log:
  OAML is a library the makes it easy to implement adaptive music in
  games.
  
  Adaptive music, also known as interactive music or dynamic music,
  is music that reacts to what's happening on the video game. For
  example, if there is a battle going on, music will get more tense
  to stimulate the player's reaction to the battle.
  
  WWW: https://oamldev.github.io/

Added:
  head/audio/oaml/
  head/audio/oaml/Makefile   (contents, props changed)
  head/audio/oaml/distinfo   (contents, props changed)
  head/audio/oaml/files/
  head/audio/oaml/files/patch-CMakeLists.txt   (contents, props changed)
  head/audio/oaml/files/patch-cmake_modules_FindVorbisFile.cmake   (contents, props changed)
  head/audio/oaml/pkg-descr   (contents, props changed)
  head/audio/oaml/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Thu May  3 17:42:45 2018	(r468950)
+++ head/audio/Makefile	Thu May  3 17:49:52 2018	(r468951)
@@ -515,8 +515,8 @@
     SUBDIR += minitunes
     SUBDIR += mixer.app
     SUBDIR += mixmos
-    SUBDIR += mixxx20
     SUBDIR += mixxx
+    SUBDIR += mixxx20
     SUBDIR += mma
     SUBDIR += moc
     SUBDIR += modplugplay
@@ -577,6 +577,7 @@
     SUBDIR += nosefart
     SUBDIR += nspmod
     SUBDIR += nuvolaplayer
+    SUBDIR += oaml
     SUBDIR += ocp
     SUBDIR += ogg2mp3
     SUBDIR += openal

Added: head/audio/oaml/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/Makefile	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,36 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	oaml
+PORTVERSION=	1.3.2
+DISTVERSIONPREFIX=	v
+CATEGORIES=	audio
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Open Adaptive Music Library
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libogg.so:audio/libogg \
+		libvorbis.so:audio/libvorbis \
+		libvorbisfile.so:audio/libvorbis
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	oamldev
+
+USES=		cmake
+CMAKE_ARGS=	-DENABLE_UNITYPLUGIN:BOOL=OFF
+
+PORTDOCS=	*
+
+OPTIONS_DEFINE=		DOCS SOXR
+OPTIONS_DEFAULT=	SOXR
+SOXR_LIB_DEPENDS=	libsoxr.so:audio/libsoxr
+SOXR_CMAKE_BOOL=	ENABLE_SOXR
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>

Added: head/audio/oaml/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/distinfo	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1524750684
+SHA256 (oamldev-oaml-v1.3.2_GH0.tar.gz) = 98713d442552c1ac7c9dfa7f5183302ec5967b0e8df6b791ce36f453bacea4ce
+SIZE (oamldev-oaml-v1.3.2_GH0.tar.gz) = 155490

Added: head/audio/oaml/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/files/patch-CMakeLists.txt	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2018-04-16 17:54:59 UTC
++++ CMakeLists.txt
+@@ -176,7 +176,7 @@ if (ENABLE_RTAUDIO)
+ 
+ 	# JACK supported on many Unices
+ 	if (UNIX)
+-		find_library(JACK_LIB jack)
++		#find_library(JACK_LIB jack)
+ 		if (JACK_LIB)
+ 			list(APPEND OAML_LIBS ${JACK_LIB})
+ 			add_definitions(-D__UNIX_JACK__)

Added: head/audio/oaml/files/patch-cmake_modules_FindVorbisFile.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/files/patch-cmake_modules_FindVorbisFile.cmake	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,56 @@
+--- cmake/modules/FindVorbisFile.cmake.orig	2018-04-16 17:54:59 UTC
++++ cmake/modules/FindVorbisFile.cmake
+@@ -13,53 +13,14 @@
+ 
+ FIND_PATH(VORBISFILE_INCLUDE_DIRS
+ 	vorbis/vorbisfile.h
+-	HINTS
+-	$ENV{VORBISDIR}
+-	$ENV{VORBIS_PATH}
+-	PATH_SUFFIXES include
+-	PATHS
+-	~/Library/Frameworks
+-	/Library/Frameworks
+-	/usr/local
+-	/usr
+-	/sw # Fink
+-	/opt/local # DarwinPorts
+-	/opt/csw # Blastwave
+-	/opt
+ )
+ 
+ FIND_LIBRARY(VORBISFILE_LIBRARIES 
+ 	NAMES vorbisfile
+-	HINTS
+-	$ENV{VORBISDIR}
+-	$ENV{VORBIS_PATH}
+-	PATH_SUFFIXES win32/VorbisFile_Dynamic_Release lib
+-	PATHS
+-	~/Library/Frameworks
+-	/Library/Frameworks
+-	/usr/local
+-	/usr
+-	/sw
+-	/opt/local
+-	/opt/csw
+-	/opt
+ )
+ 
+ FIND_LIBRARY(VORBISFILE_LIBRARIES_DEBUG 
+ 	NAMES VorbisFile_d
+-	HINTS
+-	$ENV{VORBISDIR}
+-	$ENV{VORBIS_PATH}
+-	PATH_SUFFIXES win32/VorbisFile_Dynamic_Debug lib
+-	PATHS
+-	~/Library/Frameworks
+-	/Library/Frameworks
+-	/usr/local
+-	/usr
+-	/sw
+-	/opt/local
+-	/opt/csw
+-	/opt
+ )
+ 
+ SET(VORBISFILE_FOUND "NO")

Added: head/audio/oaml/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/pkg-descr	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,9 @@
+OAML is a library the makes it easy to implement adaptive music in
+games.
+
+Adaptive music, also known as interactive music or dynamic music,
+is music that reacts to what's happening on the video game. For
+example, if there is a battle going on, music will get more tense
+to stimulate the player's reaction to the battle.
+
+WWW: https://oamldev.github.io/

Added: head/audio/oaml/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/oaml/pkg-plist	Thu May  3 17:49:52 2018	(r468951)
@@ -0,0 +1,7 @@
+include/oaml.h
+lib/cmake/oaml/oaml.cmake
+lib/liboaml.a
+lib/liboaml.so
+lib/liboaml.so.1
+lib/liboaml.so.1.3.2
+libdata/pkgconfig/oaml.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805031749.w43HnqYA011834>