Warning, /multimedia/stopmotion/stopmotion.pro is written in an unsupported language. File is not indexed.

0001 # print deprecation warning
0002 message("qmake support is deprecated and will be removed after Linux Stopmotion 0.8.6. Use CMake instead.")
0003 
0004 QT += widgets multimedia
0005 CONFIG += debug_and_release
0006 HEADERS += src/domain/undo/filelogger.h \
0007     src/config.h \
0008     src/domain/domainfacade.h \
0009     src/domain/filenamevisitor.h \
0010     src/domain/observernotifier.h \
0011     src/foundation/logger.h \
0012     src/foundation/uiexception.h \
0013     src/foundation/stringwriter.h \
0014     src/presentation/observer.h \
0015     src/domain/animation/animation.h \
0016     src/domain/animation/animationimpl.h \
0017     src/domain/animation/frame.h \
0018     src/domain/animation/sound.h \
0019     src/presentation/loadcache.h \
0020     src/presentation/imagecache.h \
0021     src/presentation/frontends/nonguifrontend/nonguifrontend.h \
0022     src/presentation/frontends/qtfrontend/mainwindowgui.h \
0023     src/presentation/frontends/qtfrontend/qtfrontend.h \
0024     src/application/runanimationhandler.h \
0025     src/domain/undo/commandmove.h \
0026     src/domain/undo/commandremove.h \
0027     src/domain/undo/commandsetimage.h \
0028     src/domain/undo/commandaddsound.h \
0029     src/domain/undo/commandrenamesound.h \
0030     src/domain/undo/commandremovesound.h \
0031     src/domain/undo/commandaddscene.h \
0032     src/domain/undo/commandmovescene.h \
0033     src/domain/undo/commandremovescene.h \
0034     src/domain/animation/workspacefile.h \
0035     src/application/camerahandler.h \
0036     src/presentation/frontends/qtfrontend/frameview.h \
0037     src/presentation/frontends/qtfrontend/flexiblespinbox.h \
0038     src/presentation/frontends/qtfrontend/menuframe.h \
0039     src/presentation/frontends/qtfrontend/flexiblelineedit.h \
0040     src/presentation/frontends/frontend.h \
0041     graphics/stopmotion.xpm \
0042     graphics/stopmotion_logo.xpm \
0043     graphics/icons/addframeicon.xpm \
0044     graphics/icons/cameraoff.xpm \
0045     graphics/icons/cameraon.xpm \
0046     graphics/icons/capture.xpm \
0047     graphics/icons/clapper.xpm \
0048     graphics/icons/closescene.xpm \
0049     graphics/icons/close.xpm \
0050     graphics/icons/configureicon.xpm \
0051     graphics/icons/copyicon.xpm \
0052     graphics/icons/cuticon.xpm \
0053     graphics/icons/fastforward.xpm \
0054     graphics/icons/filenewicon.xpm \
0055     graphics/icons/fileopenicon.xpm \
0056     graphics/icons/filesaveasicon.xpm \
0057     graphics/icons/filesaveicon.xpm \
0058     graphics/icons/home.xpm \
0059     graphics/icons/languages.xpm \
0060     graphics/icons/loop.xpm \
0061     graphics/icons/newscene.xpm \
0062     graphics/icons/nextframe.xpm \
0063     graphics/icons/note.xpm \
0064     graphics/icons/openscene.xpm \
0065     graphics/icons/pasteicon.xpm \
0066     graphics/icons/pause.xpm \
0067     graphics/icons/play.xpm \
0068     graphics/icons/previousframe.xpm \
0069     graphics/icons/quiticon.xpm \
0070     graphics/icons/redoicon.xpm \
0071     graphics/icons/removeframeicon.xpm \
0072     graphics/icons/removescene.xpm \
0073     graphics/icons/rewind.xpm \
0074     graphics/icons/steptobeginning.xpm \
0075     graphics/icons/steptoend.xpm \
0076     graphics/icons/stop.xpm \
0077     graphics/icons/undoicon.xpm \
0078     graphics/icons/videoexport.xpm \
0079     graphics/icons/whatsthisicon.xpm \
0080     graphics/icons/windowicon.xpm \
0081     graphics/icons/gimp.xpm \
0082     src/application/soundhandler.h \
0083     src/presentation/frontends/qtfrontend/framepreferencesmenu.h \
0084     src/application/editmenuhandler.h \
0085     src/domain/animation/scene.h \
0086     src/domain/animation/scenevector.h \
0087     src/technical/projectserializer.h \
0088     src/presentation/frontends/qtfrontend/licence.h \
0089     src/technical/audio/audiodriver.h \
0090     src/technical/audio/audioformat.h \
0091     src/technical/audio/oggvorbis.h \
0092     src/technical/audio/qtaudiodriver.h \
0093     src/technical/grabber/imagegrabber.h \
0094     src/technical/grabber/commandlinegrabber.h \
0095     src/presentation/frontends/selection.h \
0096     src/presentation/frontends/qtfrontend/imagegrabthread.h \
0097     src/presentation/frontends/qtfrontend/preferencesmenu.h \
0098     src/foundation/preferencestool.h \
0099     src/application/modelhandler.h \
0100     src/presentation/frontends/qtfrontend/toolsmenu.h \
0101     src/application/languagehandler.h \
0102     src/technical/video/videofactory.h \
0103     src/technical/video/videoencoder.h \
0104     src/presentation/frontends/qtfrontend/importtab.h \
0105     src/presentation/frontends/qtfrontend/framebar/framebar.h \
0106     src/presentation/frontends/qtfrontend/framebar/framethumbview.h \
0107     src/presentation/frontends/qtfrontend/framebar/filenamesfromurlsiterator.h \
0108     src/presentation/frontends/qtfrontend/framebar/scenearrowbutton.h \
0109     src/presentation/frontends/qtfrontend/framebar/scenethumbview.h \
0110     src/presentation/frontends/qtfrontend/framebar/thumbview.h \
0111     src/presentation/frontends/qtfrontend/framebar/thumbdragger.h \
0112     src/presentation/frontends/qtfrontend/exporttab.h \
0113     src/presentation/frontends/qtfrontend/helpwindow.h \
0114     src/presentation/frontends/qtfrontend/editobserver.h \
0115     src/technical/util.h \
0116     src/technical/stringiterator.h \
0117     src/application/externalcommand.h \
0118     src/application/externalcommandwithtemporarydirectory.h \
0119     src/presentation/frontends/qtfrontend/aboutdialog.h \
0120     src/presentation/frontends/qtfrontend/devicetab.h \
0121     src/domain/undo/command.h \
0122     src/domain/undo/undoredoobserver.h \
0123     src/domain/undo/commandlogger.h \
0124     src/domain/undo/addallcommands.h \
0125     src/domain/undo/executor.h
0126 FORMS += src/presentation/frontends/qtfrontend/helpbrowser.ui \
0127     src/presentation/frontends/qtfrontend/toolsmenu.ui
0128 SOURCES += src/config.cpp \
0129     src/main.cpp \
0130     src/domain/domainfacade.cpp \
0131     src/domain/observernotifier.cpp \
0132     src/foundation/logger.cpp \
0133     src/foundation/uiexception.cpp \
0134     src/foundation/stringwriter.cpp \
0135     src/domain/animation/animation.cpp \
0136     src/domain/animation/animationimpl.cpp \
0137     src/domain/animation/frame.cpp \
0138     src/domain/animation/sound.cpp \
0139     src/domain/animation/scenevector.cpp \
0140     src/domain/animation/errorhandler.cpp \
0141     src/presentation/imagecache.cpp \
0142     src/presentation/frontends/nonguifrontend/nonguifrontend.cpp \
0143     src/presentation/frontends/qtfrontend/mainwindowgui.cpp \
0144     src/presentation/frontends/qtfrontend/qtfrontend.cpp \
0145     src/application/runanimationhandler.cpp \
0146     src/domain/undo/commandadd.cpp \
0147     src/domain/undo/commandmove.cpp \
0148     src/domain/undo/commandremove.cpp \
0149     src/domain/undo/commandsetimage.cpp \
0150     src/domain/undo/commandaddsound.cpp \
0151     src/domain/undo/commandrenamesound.cpp \
0152     src/domain/undo/commandremovesound.cpp \
0153     src/domain/undo/commandaddscene.cpp \
0154     src/domain/undo/commandmovescene.cpp \
0155     src/domain/undo/commandremovescene.cpp \
0156     src/domain/undo/filelogger.cpp \
0157     src/domain/animation/workspacefile.cpp \
0158     src/application/camerahandler.cpp \
0159     src/presentation/frontends/qtfrontend/frameview.cpp \
0160     src/presentation/frontends/qtfrontend/flexiblespinbox.cpp \
0161     src/presentation/frontends/qtfrontend/menuframe.cpp \
0162     src/presentation/frontends/qtfrontend/flexiblelineedit.cpp \
0163     src/application/soundhandler.cpp \
0164     src/presentation/frontends/qtfrontend/framepreferencesmenu.cpp \
0165     src/application/editmenuhandler.cpp \
0166     src/domain/animation/scene.cpp \
0167     src/technical/projectserializer.cpp \
0168     src/technical/audio/oggvorbis.cpp \
0169     src/technical/audio/audioformat.cpp \
0170     src/technical/audio/qtaudiodriver.cpp \
0171     src/technical/grabber/imagegrabber.cpp \
0172     src/technical/grabber/commandlinegrabber.cpp \
0173     src/presentation/frontends/qtfrontend/imagegrabthread.cpp \
0174     src/presentation/frontends/qtfrontend/preferencesmenu.cpp \
0175     src/foundation/preferencestool.cpp \
0176     src/application/modelhandler.cpp \
0177     src/presentation/frontends/qtfrontend/toolsmenu.cpp \
0178     src/application/languagehandler.cpp \
0179     src/technical/video/videofactory.cpp \
0180     src/technical/video/videoencoder.cpp \
0181     src/presentation/frontends/qtfrontend/importtab.cpp \
0182     src/presentation/frontends/qtfrontend/framebar/framebar.cpp \
0183     src/presentation/frontends/qtfrontend/framebar/framethumbview.cpp \
0184     src/presentation/frontends/qtfrontend/framebar/filenamesfromurlsiterator.cpp \
0185     src/presentation/frontends/qtfrontend/framebar/scenearrowbutton.cpp \
0186     src/presentation/frontends/qtfrontend/framebar/scenethumbview.cpp \
0187     src/presentation/frontends/qtfrontend/framebar/thumbview.cpp \
0188     src/presentation/frontends/qtfrontend/framebar/thumbdragger.cpp \
0189     src/presentation/frontends/qtfrontend/exporttab.cpp \
0190     src/presentation/frontends/qtfrontend/helpwindow.cpp \
0191     src/presentation/frontends/qtfrontend/editobserver.cpp \
0192     src/technical/util.cpp \
0193     src/technical/stringiterator.cpp \
0194     src/application/externalcommand.cpp \
0195     src/application/externalcommandwithtemporarydirectory.cpp \
0196     src/presentation/frontends/qtfrontend/aboutdialog.cpp \
0197     src/presentation/frontends/qtfrontend/devicetab.cpp \
0198     src/presentation/frontends/frontend.cpp \
0199     src/domain/undo/command.cpp \
0200     src/domain/undo/undoredoobserver.cpp \
0201     src/domain/undo/commandlogger.cpp \
0202     src/domain/undo/executor.cpp \
0203     src/domain/undo/addallcommands.cpp \
0204     src/domain/undo/random.cpp
0205 TRANSLATIONS += $$system(ls -1 translations/*.ts)
0206 DEPENDPATH += src \
0207     src/domain \
0208     src/foundation \
0209     src/presentation \
0210     src/domain/animation \
0211     src/presentation/frontends/nonguifrontend \
0212     src/presentation/frontends/qtfrontend
0213 INCLUDEPATH += . \
0214     src \
0215     src/presentation/frontends/qtfrontend \
0216     src/presentation/frontends/nonguifrontend \
0217     src/foundation \
0218     src/domain \
0219     src/domain/animation \
0220     src/presentation
0221 LIBS += -ltar -lvorbisfile
0222 
0223 QM_FILES = $$TRANSLATIONS
0224 QM_FILES~= s:^translations/:build/:g
0225 QM_FILES~= s:[.]ts$:.qm:g
0226 
0227 DISTFILES += src/config.cpp.in \
0228     graphics/stopmotion.png \
0229     stopmotion.pro.in \
0230     stopmotion.desktop \
0231     stopmotion.mime \
0232     stopmotion.1 \
0233     configure \
0234     AUTHORS \
0235     README.md \
0236     COPYING \
0237     $$system(ls -1 manual/*.html) \
0238     $$system(ls -1 manual/graphic/*.png) \
0239     $$system(ls -1 manual/icons/*.png) \
0240     $$system(ls -1 manual/screenshots/*.png) \
0241     $$QM_FILES
0242 DISTFILES -= stopmotion.pro \
0243              src/config.cpp \
0244              stopmotion-d
0245 
0246 CONFIG += link_pkgconfig
0247 
0248 PKGCONFIG += vorbisfile libxml-2.0
0249 
0250 isEmpty(PREFIX) {
0251         PREFIX =/usr/local
0252 }
0253 
0254 isEmpty(HTML_PATH) {
0255         HTML_PATH =$${PREFIX}/share/doc/stopmotion/html
0256 }
0257 
0258 isEmpty(TRANSLATIONS_PATH) {
0259         TRANSLATIONS_PATH =$${PREFIX}/share/stopmotion/translations
0260 }
0261 
0262 DEFINES += TRANSLATIONS_PATH=\'\"$${TRANSLATIONS_PATH}\"\'
0263 DEFINES += HTML_PATH=\'\"$${HTML_PATH}\"\'
0264 TEMPLATE = app
0265 DESTDIR=.
0266 
0267 CONFIG(release,debug|release) {
0268         TARGET=stopmotion
0269         OBJECTS_DIR=build/release
0270         DEFINES+= NO_DEBUG
0271 }
0272 CONFIG(debug,debug|release) {
0273         TARGET=stopmotion-d
0274         OBJECTS_DIR=build/debug
0275 }
0276 MOC_DIR = build
0277 RCC_DIR = build
0278 UI_DIR = build
0279 
0280 target.path = $${PREFIX}/bin
0281 
0282 translations.path = $${TRANSLATIONS_PATH}
0283 translations.files = $${QM_FILES}
0284 translations.CONFIG += no_check_exist
0285 
0286 docgraphics.path = $${HTML_PATH}/graphic
0287 docgraphics.files = manual/graphic/*.png
0288 
0289 docicons.path = $${HTML_PATH}/icons
0290 docicons.files = manual/icons/*.png
0291 
0292 docscreens.path = $${HTML_PATH}/screenshots
0293 docscreens.files = manual/screenshots/*.png
0294 
0295 htmldoc.path = $${HTML_PATH}
0296 htmldoc.files = manual/*.html
0297 
0298 icon.path = $${PREFIX}/share/icons
0299 icon.files = graphics/stopmotion.svg
0300 
0301 desktop.path = $${PREFIX}/share/applications
0302 desktop.files = stopmotion.desktop
0303 
0304 INSTALLS += target translations icon desktop \
0305         docgraphics docicons docscreens htmldoc
0306 
0307 QMAKE_STRIP=:
0308 
0309 # remove old Qt4 generated files, if present for any reason
0310 QMAKE_CLEAN += ui_helpbrowser.h ui_toolsmenu.h
0311 
0312 # Build translations
0313 QMAKE_EXTRA_COMPILERS += lrelease
0314 lrelease.input    = TRANSLATIONS
0315 lrelease.output   = build/${QMAKE_FILE_BASE}.qm
0316 lrelease.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm build/${QMAKE_FILE_BASE}.qm
0317 lrelease.CONFIG  += no_link target_predeps
0318 
0319 # Build and run tests with make test
0320 QMAKE_EXTRA_TARGETS += test
0321 test.commands = cd src/test && $(QMAKE) -spec $$QMAKESPEC && make test