graphics/libprojectm: update to 3.1.0
PR: 232020 Approved by: yuri (maintainer)
This commit is contained in:
parent
1605fccdb0
commit
5a9571558c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483108
7 changed files with 1878 additions and 169 deletions
|
@ -1,43 +1,49 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libprojectM
|
||||
DISTVERSION= 2.1.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.1.0
|
||||
CATEGORIES= graphics audio
|
||||
MASTER_SITES= SF/${PORTNAME:tl:S/lib//}/${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME:S/lib//}-complete-${DISTVERSION}-Source
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Awesome music visualiser
|
||||
|
||||
LICENSE= LGPL21+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
|
||||
LIB_DEPENDS= libftgl.so:graphics/ftgl \
|
||||
libfreetype.so:print/freetype2 \
|
||||
libvisual-0.4.so:graphics/libvisual04
|
||||
RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
|
||||
|
||||
USES= cmake:outsource localbase:ldflags pkgconfig qt:4
|
||||
USE_QT= corelib gui opengl xml moc_build qmake_build rcc_build uic_build
|
||||
USE_SDL= sdl
|
||||
USES= autoreconf:build gl gmake libtool localbase:ldflags pkgconfig qt:5
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= projectM-visualizer
|
||||
GH_PROJECT= projectm
|
||||
USE_SDL= sdl2
|
||||
USE_QT= buildtools core gui opengl qmake_build widgets xml
|
||||
USE_GL= gl glu glew
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-sdl --enable-qt --enable-gles
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_CXXSTD= c++98
|
||||
|
||||
CMAKE_ARGS= -DUSE_OPENMP=OFF # openmp breaks build on 11.x
|
||||
CMAKE_OFF= INCLUDE-PROJECTM-TEST
|
||||
CXXFLAGS+= -DDATADIR_PATH='\"${LOCALBASE}/share/projectM\"'
|
||||
|
||||
OPTIONS_DEFINE= PULSEAUDIO JACK
|
||||
OPTIONS_DEFAULT= PULSEAUDIO
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
PULSEAUDIO_CMAKE_BOOL= INCLUDE-PROJECTM-PULSEAUDIO
|
||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
|
||||
JACK_CMAKE_BOOL= INCLUDE-PROJECTM-JACK
|
||||
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC}/ && ${SH} autogen.sh
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/share/projectM/config.inp ${STAGEDIR}${PREFIX}/share/projectM/config.inp.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/fonts/Vera.ttf ${STAGEDIR}${PREFIX}/share/projectM/fonts/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1531809872
|
||||
SHA256 (projectM-complete-2.1.0-Source.tar.gz) = 513204f033006bd3dcdf8aada196d816d6b7187266ddcbb1594d0285cc9406ee
|
||||
SIZE (projectM-complete-2.1.0-Source.tar.gz) = 31130351
|
||||
TIMESTAMP = 1538851744
|
||||
SHA256 (projectM-visualizer-projectm-v3.1.0_GH0.tar.gz) = 8ddf99dc141e554d76a2ecf8d8c1fe7996051e30fa8dd4fc133ce024c8defba7
|
||||
SIZE (projectM-visualizer-projectm-v3.1.0_GH0.tar.gz) = 52123464
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- src/libprojectM/CMakeLists.txt.orig 2018-07-17 06:57:00 UTC
|
||||
+++ src/libprojectM/CMakeLists.txt
|
||||
@@ -199,7 +199,7 @@ if(BUILD_PROJECTM_STATIC)
|
||||
${GLEW_LIBRARY}
|
||||
${FTGL_LINK_TARGETS}
|
||||
${MATH_LIBRARIES}
|
||||
- dl
|
||||
+ ${CMAKE_DL_LIBS}
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
else(BUILD_PROJECTM_STATIC)
|
||||
@@ -210,7 +210,7 @@ else(BUILD_PROJECTM_STATIC)
|
||||
${GLEW_LIBRARY}
|
||||
${FTGL_LINK_TARGETS}
|
||||
${MATH_LIBRARIES}
|
||||
- dl
|
||||
+ ${CMAKE_DL_LIBS}
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
endif(BUILD_PROJECTM_STATIC)
|
|
@ -1,17 +0,0 @@
|
|||
--- src/libprojectM/NativePresetFactory/CMakeLists.txt.orig 2018-07-17 06:48:40 UTC
|
||||
+++ src/libprojectM/NativePresetFactory/CMakeLists.txt
|
||||
@@ -5,7 +5,7 @@ SET(NativePresetFactory_SOURCES NativePr
|
||||
IF(NOT MSVC)
|
||||
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||
ENDIF(NOT MSVC)
|
||||
-find_library(DL_LIBRARIES dl)
|
||||
+#find_library(DL_LIBRARIES dl)
|
||||
|
||||
if(MSVC)
|
||||
SET (MATH_LIBRARIES )
|
||||
@@ -15,4 +15,4 @@ endif(MSVC)
|
||||
|
||||
INCLUDE_DIRECTORIES(${projectM_SOURCE_DIR} ${Renderer_SOURCE_DIR})
|
||||
ADD_LIBRARY(NativePresetFactory STATIC ${NativePresetFactory_SOURCES})
|
||||
-TARGET_LINK_LIBRARIES(NativePresetFactory Renderer ${MATH_LIBRARIES} ${DL_LIBRARIES})
|
||||
+TARGET_LINK_LIBRARIES(NativePresetFactory Renderer ${MATH_LIBRARIES} ${CMAKE_DL_LIBS})
|
|
@ -0,0 +1,12 @@
|
|||
--- src/projectM-pulseaudio/Makefile.am.orig 2018-09-08 08:09:28 UTC
|
||||
+++ src/projectM-pulseaudio/Makefile.am
|
||||
@@ -8,8 +8,7 @@ projectM_pulseaudio_qtheaders = \
|
||||
nodist_projectM_pulseaudio_moc_sources = $(projectM_pulseaudio_qtheaders:.hpp=_moc.cpp)
|
||||
|
||||
.hpp_moc.cpp:
|
||||
- @MOC@ -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(MOC_CPPFLAGS)\
|
||||
- $(qt_CPPFLAGS) $(qt_LDFLAGS) $(qt_LIBS) $<
|
||||
+ @MOC@ -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(qt_LDFLAGS) $(qt_LIBS) $<
|
||||
|
||||
ui_PulseDeviceChooserDialog.h: PulseDeviceChooserDialog.ui
|
||||
@UIC@ -o $@ $<
|
12
graphics/libprojectm/files/patch-src_projectM-qt_Makefile.am
Normal file
12
graphics/libprojectm/files/patch-src_projectM-qt_Makefile.am
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- src/projectM-qt/Makefile.am.orig 2018-09-08 08:09:28 UTC
|
||||
+++ src/projectM-qt/Makefile.am
|
||||
@@ -14,8 +14,7 @@ projectM_qt_qtheaders = qprojectm_mainwindow.hpp \
|
||||
nodist_projectM_qt_moc_sources = $(projectM_qt_qtheaders:.hpp=_moc.cpp)
|
||||
|
||||
.hpp_moc.cpp:
|
||||
- @MOC@ -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(MOC_CPPFLAGS)\
|
||||
- $(qt_CPPFLAGS) $(qt_LDFLAGS) $(qt_LIBS) $<
|
||||
+ @MOC@ -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(qt_LDFLAGS) $(qt_LIBS) $<
|
||||
|
||||
ui_qprojectm_mainwindow.h: qprojectm_mainwindow.ui
|
||||
@UIC@ -o $@ $<
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue