Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
132 additions
and
87 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
HOMEPAGE="https://github.com/joshb/DromeAudio" | ||
SRC_URI="https://github.com/joshb/DromeAudio/archive/v0.3.0.tar.gz" | ||
|
||
CATEGORY="Audio" | ||
SUMMARY="Small audio manipulation and playback library that's written in C++" | ||
DESCRIPTION="DromeAudio is a small audio manipulation and playback library that's written | ||
in C++. It features a simple API for loading, generating, processing, and | ||
playing audio." | ||
|
||
inherit cmake | ||
|
||
PKG_NAMES=" | ||
${PN} | ||
lib${PN}0 | ||
lib${PN}-devel | ||
" | ||
DromeAudio_CONTENTS=" | ||
usr/bin/*.exe | ||
usr/share | ||
" | ||
libDromeAudio0_CONTENTS=" | ||
usr/bin/*.dll | ||
" | ||
libDromeAudio_devel_CONTENTS=" | ||
usr/include | ||
usr/lib | ||
" | ||
DromeAudio_SUMMARY="${SUMMARY} (utilities)" | ||
libDromeAudio0_SUMMARY="${SUMMARY} (runtime)" | ||
libDromeAudio_devel_SUMMARY="${SUMMARY} (development)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/DromeAudio-0.3.0/CMakeLists.txt src/DromeAudio-0.3.0/CMakeLists.txt | ||
--- origsrc/DromeAudio-0.3.0/CMakeLists.txt 2015-07-05 04:15:47.000000000 +0900 | ||
+++ src/DromeAudio-0.3.0/CMakeLists.txt 2016-03-21 09:28:48.665974000 +0900 | ||
@@ -9,10 +9,17 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W - | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall -Wshadow") | ||
|
||
project("DromeAudio") | ||
-set(PROJECT_VERSION "0.2.1") | ||
+set(PROJECT_VERSION "0.3.0") | ||
|
||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules") | ||
|
||
include_directories(include) | ||
|
||
subdirs(include src examples share doc) | ||
+ | ||
+SET(prefix ${CMAKE_INSTALL_PREFIX}) | ||
+SET(exec_prefix ${CMAKE_INSTALL_PREFIX}) | ||
+SET(libdir ${CMAKE_INSTALL_PREFIX}/lib) | ||
+SET(includedir ${CMAKE_INSTALL_PREFIX}/include) | ||
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY) | ||
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) | ||
diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/DromeAudio-0.3.0/DromeAudio.pc.in src/DromeAudio-0.3.0/DromeAudio.pc.in | ||
--- origsrc/DromeAudio-0.3.0/DromeAudio.pc.in 1970-01-01 09:00:00.000000000 +0900 | ||
+++ src/DromeAudio-0.3.0/DromeAudio.pc.in 2016-03-21 09:28:12.769236100 +0900 | ||
@@ -0,0 +1,10 @@ | ||
+prefix=@prefix@ | ||
+exec_prefix=@exec_prefix@ | ||
+libdir=@libdir@ | ||
+includedir=@includedir@ | ||
+ | ||
+Name: DromeAudio | ||
+Description: Small audio manipulation and playback library that's written in C++ | ||
+Version: @PROJECT_VERSION@ | ||
+Libs: -L${libdir} -lDromeAudio | ||
+Cflags: -I${includedir} | ||
diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/DromeAudio-0.3.0/share/CMakeLists.txt src/DromeAudio-0.3.0/share/CMakeLists.txt | ||
--- origsrc/DromeAudio-0.3.0/share/CMakeLists.txt 2015-07-05 04:15:47.000000000 +0900 | ||
+++ src/DromeAudio-0.3.0/share/CMakeLists.txt 2016-03-21 09:26:41.874592200 +0900 | ||
@@ -2,5 +2,5 @@ configure_file(FindDromeAudio.cmake.in $ | ||
|
||
install( | ||
FILES ${CMAKE_CURRENT_BINARY_DIR}/FindDromeAudio.cmake | ||
- DESTINATION ${CMAKE_ROOT}/Modules | ||
+ DESTINATION lib/cmake/DromeAudio | ||
) | ||
diff -wuprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/DromeAudio-0.3.0/src/DromeAudio/CMakeLists.txt src/DromeAudio-0.3.0/src/DromeAudio/CMakeLists.txt | ||
--- origsrc/DromeAudio-0.3.0/src/DromeAudio/CMakeLists.txt 2015-07-05 04:15:47.000000000 +0900 | ||
+++ src/DromeAudio-0.3.0/src/DromeAudio/CMakeLists.txt 2016-03-21 09:25:12.030906900 +0900 | ||
@@ -82,15 +82,16 @@ if(VORBISFILE_FOUND) | ||
add_definitions(-DWITH_VORBIS) | ||
endif(VORBISFILE_FOUND) | ||
|
||
-add_library(DromeAudio STATIC ${SRCS}) | ||
+add_library(DromeAudio SHARED ${SRCS}) | ||
target_link_libraries( | ||
DromeAudio | ||
${LIBS} | ||
) | ||
+set_target_properties(DromeAudio PROPERTIES SOVERSION 0) | ||
|
||
install( | ||
TARGETS DromeAudio | ||
- RUNTIME DESTINATION ${DROMEAUDIO_LIBRARY_DIR} | ||
+ RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION ${DROMEAUDIO_LIBRARY_DIR} | ||
ARCHIVE DESTINATION ${DROMEAUDIO_LIBRARY_DIR} | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.