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

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