- Update to 1.2.6
- Use github - Remove DEPRECATED - Switch to qt5
This commit is contained in:
parent
15fac2ccfa
commit
a3a4bbab29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488406
9 changed files with 25 additions and 84 deletions
|
@ -2,28 +2,25 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fmit
|
||||
PORTVERSION= 0.99.5
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 1.2.6
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.gna.org/fmit/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
|
||||
|
||||
MAINTAINER= danilo@FreeBSD.org
|
||||
COMMENT= Free Music Instrument Tuner
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Qt4 has been EOL since december 2015
|
||||
EXPIRATION_DATE= 2019-03-15
|
||||
|
||||
LIB_DEPENDS= libfftw3.so:math/fftw3
|
||||
|
||||
USE_XORG= xmu
|
||||
USE_QT= corelib gui opengl \
|
||||
linguist_build moc_build qmake_build rcc_build uic_build
|
||||
USE_GL= glut
|
||||
USES= cmake pkgconfig qt:4 tar:bzip2
|
||||
INSTALLS_ICONS= yes
|
||||
USES= gl gnome pkgconfig qmake qt:5 tar:bzip2
|
||||
|
||||
USE_QT= buildtools core gui opengl qmake_build multimedia network svg widgets
|
||||
USE_GL= gl glut
|
||||
QMAKE_ARGS+= PREFIXSHORTCUT=${PREFIX}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gillesdegottex
|
||||
|
||||
OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO
|
||||
OPTIONS_DEFAULT= JACK OSS
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (fmit-0.99.5-Source.tar.bz2) = 2191f0104133086d711c05c48d0efaba5eefbbb8c08309ab16b8ca23e22388e5
|
||||
SIZE (fmit-0.99.5-Source.tar.bz2) = 150037
|
||||
TIMESTAMP = 1545834886
|
||||
SHA256 (gillesdegottex-fmit-v1.2.6_GH0.tar.gz) = 73dd21b478498694fd10b2dac24160783c5956754e9db05d62611b041eec0f76
|
||||
SIZE (gillesdegottex-fmit-v1.2.6_GH0.tar.gz) = 289649
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
--- libs/CppAddons/CMakeLists.txt.orig 2012-06-23 20:03:59 UTC
|
||||
+++ libs/CppAddons/CMakeLists.txt
|
||||
@@ -8,6 +8,4 @@ INCLUDE_DIRECTORIES(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
-set(CMAKE_CXX_FLAGS "-Wall -ansi -pedantic")
|
||||
-
|
||||
add_library(CppAddons STATIC ${libCppAddons_SRCS})
|
|
@ -1,12 +0,0 @@
|
|||
--- libs/Music/CMakeLists.txt.orig 2012-06-23 20:03:59 UTC
|
||||
+++ libs/Music/CMakeLists.txt
|
||||
@@ -18,8 +18,7 @@ SET(libMusic_SRCS
|
||||
INCLUDE_DIRECTORIES(
|
||||
../../libs
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
+ ${FFTW3_INCLUDES}
|
||||
)
|
||||
|
||||
-set(CMAKE_CXX_FLAGS "-Wall")
|
||||
-
|
||||
add_library(Music STATIC ${libMusic_SRCS})
|
|
@ -1,11 +0,0 @@
|
|||
--- libs/Music/Music.h.orig 2014-05-30 11:38:46 UTC
|
||||
+++ libs/Music/Music.h
|
||||
@@ -285,7 +285,7 @@ namespace Music
|
||||
// TODO cannot create a template so easily because the pow10 is not defined for all types
|
||||
inline double invlp(double value)
|
||||
{
|
||||
- return pow10(value/20.0);
|
||||
+ return pow(10.0,value/20.0);
|
||||
// return pow(TYPE(10), value/TYPE(20));
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
--- src/CMakeLists.txt.orig 2012-06-23 20:03:58 UTC
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -35,10 +35,11 @@ SET (FILES_TO_TRANSLATE ${FILES_TO_TRANS
|
||||
INCLUDE_DIRECTORIES(
|
||||
../libs
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
+ ${PORTAUDIO_INCLUDE_DIRS}
|
||||
${OSS_INCLUDE_DIR}
|
||||
${ALSA_INCLUDES}
|
||||
- ${PORTAUDIO_INCLUDE_DIRS}
|
||||
${JACK_INCLUDE_DIRS}
|
||||
+ ${GLUT_INCLUDE_DIR} ${FFTW3_INCLUDES}
|
||||
)
|
||||
|
||||
IF (UPDATE_TRANSLATIONS)
|
||||
@@ -53,6 +54,7 @@ ADD_EXECUTABLE(fmit ${fmit_UI_H} ${fmit_
|
||||
TARGET_LINK_LIBRARIES(fmit
|
||||
CppAddons Music
|
||||
fmit_modules
|
||||
+ ${PORTAUDIO2_LDFLAGS}
|
||||
${QT_LIBRARIES} ${GLUT_LIBRARY} ${OPENGL_LIBRARY} ${FFTW3_LIBRARIES}
|
||||
${ALSA_LIBRARIES}
|
||||
${PORTAUDIO_LIBRARIES}
|
|
@ -1,10 +0,0 @@
|
|||
--- src/modules/CMakeLists.txt.orig 2012-06-23 20:03:58 UTC
|
||||
+++ src/modules/CMakeLists.txt
|
||||
@@ -29,6 +29,7 @@ SET (FILES_TO_TRANSLATE ${FILES_TO_TRANS
|
||||
INCLUDE_DIRECTORIES(
|
||||
../../libs
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
+ ${GLUT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
ADD_LIBRARY(fmit_modules STATIC ${fmit_MODULE_SRCS_MOC} ${fmit_MODULE_SRCS})
|
|
@ -12,4 +12,4 @@ Current features:
|
|||
- JACK, OSS, ALSA, Portaudio support
|
||||
- Translations for: french
|
||||
|
||||
WWW: http://home.gna.org/fmit/
|
||||
WWW: https://github.com/gillesdegottex/fmit
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
bin/fmit
|
||||
share/appdata/fmit.appdata.xml
|
||||
share/applications/fmit.desktop
|
||||
%%DATADIR%%/tr/fmit_de.qm
|
||||
%%DATADIR%%/tr/fmit_fr.qm
|
||||
%%DATADIR%%/tr/fmit_pt.qm
|
||||
%%DATADIR%%/scales/15-edo.scl
|
||||
%%DATADIR%%/scales/16-edo.scl
|
||||
%%DATADIR%%/scales/17-edo.scl
|
||||
%%DATADIR%%/scales/19-edo.scl
|
||||
%%DATADIR%%/scales/22-edo.scl
|
||||
%%DATADIR%%/scales/Bernhard Stopper OnlyPure tuning.scl
|
||||
%%DATADIR%%/scales/Carlos Beta.scl
|
||||
%%DATADIR%%/scales/bohlen-p_et.scl
|
||||
%%DATADIR%%/scales/meanquar.scl
|
||||
share/icons/hicolor/128x128/apps/fmit.png
|
||||
share/icons/hicolor/scalable/apps/fmit.svg
|
||||
share/icons/hicolor/symbolic/apps/fmit-symbolic.svg
|
||||
|
|
Loading…
Reference in a new issue