Ticket #1590: mythtv-win.patch
File mythtv-win.patch, 23.6 KB (added by , 17 years ago) |
---|
-
configure
2734 2734 echo "Mac acceleration $dvdv" 2735 2735 echo "OpenGL vsync $opengl_vsync" 2736 2736 echo "DirectFB $direct_fb" 2737 if test x"$mingw32" = x"yes" -o x"$ cygwin" = x"yes" ; then2737 if test x"$mingw32" = x"yes" -o x"$targetos" = x"CYGWIN" ; then 2738 2738 echo "DirectX $direct_x" 2739 2739 fi 2740 2740 echo … … 3181 3181 echo "CONFIG_X264=yes" >> $MYTH_CONFIG_MAK 3182 3182 fi 3183 3183 3184 if test x"$targetos" = x"CYGWIN" ; then 3185 echo "#define CONFIG_CYGWIN 1" >> $TMPH 3186 echo "#ifndef llrint" >> $TMPH 3187 echo "#define llrint llrint // make sure not to define twice" >> $TMPH 3188 echo "static inline long long int llrint (double x)" >> $TMPH 3189 echo "{" >> $TMPH 3190 echo " long long int llrintres;" >> $TMPH 3191 echo " asm" >> $TMPH 3192 echo " (\"fistpll %0\"" >> $TMPH 3193 echo " : \"=m\" (llrintres) : \"t\" (x) : \"st\");" >> $TMPH 3194 echo " return llrintres;" >> $TMPH 3195 echo "}" >> $TMPH 3196 echo "#endif" >> $TMPH 3197 fi 3198 3184 3199 if test "$mingw32" = "yes" ; then 3185 3200 echo "#define CONFIG_MINGW 1" >> $TMPH 3186 3201 echo "CONFIG_MINGW=yes" >> $MYTH_CONFIG_MAK -
libs/libavcodec/libavcodec.pro
17 17 QMAKE_CFLAGS_SHLIB = 18 18 } 19 19 20 cygwin { 21 LIBS += -lz 22 } 23 20 24 QMAKE_CFLAGS_DEBUG += -O 21 25 22 26 QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2) -
libs/libavformat/libavformat.pro
13 13 14 14 LIBS += $$LOCAL_LIBDIR_X11 15 15 16 cygwin { 17 LIBS += -lz 18 } 19 16 20 QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2) 17 21 18 22 # Input -
libs/libmyth/libmyth.pro
61 61 inc.files += mythevent.h mythobservable.h mythsocket.h 62 62 inc.files += mythexp.h mythpluginapi.h 63 63 64 cygwin { 65 QMAKE_LFLAGS_SHLIB += -Wl,--noinhibit-exec 66 } 67 64 68 using_oss { 65 69 DEFINES += USING_OSS 66 70 SOURCES += audiooutputoss.cpp 67 71 HEADERS += audiooutputoss.h 68 72 } 69 73 70 unix {74 unix:!cygwin { 71 75 SOURCES += mythhdd.cpp mythcdrom.cpp mythmediamonitor.cpp 72 76 HEADERS += mythhdd.h mythcdrom.h mythmediamonitor.h 73 77 inc.files += mythhdd.h mythcdrom.h mythmediamonitor.h -
libs/libmyth/mythmediamonitor.h
1 1 #ifndef MYTH_MEDIA_MONITOR_H 2 2 #define MYTH_MEDIA_MONITOR_H 3 3 4 #ifndef CONFIG_CYGWIN 4 5 #include <fstab.h> 6 #endif 5 7 6 8 #include <qvaluelist.h> 7 9 #include <qguardedptr.h> -
libs/libmyth/util.cpp
18 18 #include <sys/sysinfo.h> 19 19 #else 20 20 #include <sys/param.h> 21 #ifdef CONFIG_CYGWIN 22 #include <sys/statfs.h> 23 #else 21 24 #include <sys/sysctl.h> 25 #endif 22 26 #include <sys/mount.h> 23 27 #endif 24 28 -
libs/libmythsoundtouch/STTypes.h
109 109 #endif // FLOAT_SAMPLES 110 110 111 111 #ifdef ALLOW_OPTIMIZATIONS 112 #if _WIN32|| __MMX__ || MMX112 #if CONFIG_CYGWIN || __MMX__ || MMX 113 113 // Allow MMX optimizations 114 114 #define ALLOW_MMX 1 115 115 #endif -
libs/libmythtv/libmythtv.pro
40 40 isEmpty(QMAKE_EXTENSION_LIB) { 41 41 QMAKE_EXTENSION_LIB=a 42 42 } 43 TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 44 TARGETDEPS += ../libavutil/libmythavutil-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 45 TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 46 TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 43 44 TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 45 TARGETDEPS += ../libavutil/libmythavutil-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 46 TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 47 TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 47 48 TARGETDEPS += ../libmythmpeg2/libmythmpeg2-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB} 48 49 TARGETDEPS += ../libmythdvdnav/libmythdvdnav-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB} 49 50 … … 89 90 QMAKE_LFLAGS_SHLIB += -seg1addr 0xC9000000 90 91 } 91 92 93 cygwin { 94 QMAKE_LFLAGS_SHLIB += -Wl,--noinhibit-exec 95 } 96 92 97 # Enable Linux Open Sound System support 93 98 using_oss:DEFINES += USING_OSS 94 99 # Enable Valgrind, i.e. disable some timeouts -
libs/libmythtv/NuppelVideoPlayer.cpp
71 71 #include "videoout_dx.h" 72 72 #undef GetFreeSpace 73 73 #undef GetFileSize 74 #ifdef CONFIG_CYGWIN 75 #undef DialogBox 74 76 #endif 77 #endif 75 78 76 79 #ifndef HAVE_ROUND 77 80 #define round(x) ((int) ((x) + 0.5)) … … 5497 5500 if (ringBuffer->isDVD()) 5498 5501 { 5499 5502 if (!ringBuffer->DVD()->IsInMenu()) 5500 secsplayed = ringBuffer->DVD()->GetCurrentTime(); 5503 #ifndef CONFIG_CYGWIN 5504 secplayed = ringBuffer->DVD()->GetCurrentTime(); 5505 #else 5506 // DVD playing non-functional under windows for now 5507 secsplayed = 0; 5508 #endif 5501 5509 } 5502 5510 else 5503 5511 secsplayed = ((float)framesPlayed / video_frame_rate); -
libs/libmythtv/vbitext/vbi.c
566 566 567 567 memset(&v4l2_format, 0, sizeof(v4l2_format)); 568 568 v4l2_format->type = V4L2_BUF_TYPE_VBI_CAPTURE; 569 #ifndef CONFIG_CYGWIN 569 570 if (ioctl(vbi->fd, VIDIOC_G_FMT, v4l2_format) == -1) 571 #else 572 if (0) 573 #endif 570 574 { 571 575 // not a v4l2 device. assume bttv and create a standard fmt-struct. 572 576 int size; … … 576 580 vbifmt->sampling_rate = 35468950; 577 581 vbifmt->samples_per_line = 2048; 578 582 vbifmt->offset = 244; 583 #ifndef CONFIG_CYGWIN 579 584 if ((size = ioctl(vbi->fd, BTTV_VBISIZE, 0)) == -1) 585 #else 586 if (0) 587 #endif 580 588 { 589 581 590 // BSD or older bttv driver. 582 591 vbifmt->count[0] = 16; 583 592 vbifmt->count[1] = 16; -
libs/libmythtv/videoout_dx.cpp
3 3 #include <algorithm> 4 4 using namespace std; 5 5 6 #define _WIN32_WINNT 0x500 6 7 #include "mythcontext.h" 7 8 #include "videoout_dx.h" 8 9 #include "filtermanager.h" 9 10 10 11 #include "mmsystem.h" 12 #ifdef CONFIG_CYGWIN 13 #include "tv.h" 14 #endif 11 15 12 16 extern "C" { 13 17 #include "../libavcodec/avcodec.h" … … 39 43 40 44 XJ_started = 0; 41 45 46 XJ_width = 0; 47 XJ_height = 0; 48 42 49 pauseFrame.buf = NULL; 43 50 44 51 ddobject = NULL; … … 101 108 { 102 109 VideoOutput::InputChanged(width, height, aspect, av_codec_id); 103 110 111 XJ_width = width; 112 XJ_height = height; 113 104 114 vbuffers.DeleteBuffers(); 105 115 106 116 DirectXCloseSurface(); … … 155 165 156 166 wnd = winid; 157 167 168 XJ_width = width; 169 XJ_height = height; 170 158 171 vbuffers.CreateBuffers(XJ_width, XJ_height); 159 172 MoveResize(); 160 173 … … 182 195 InitPictureAttributes(); 183 196 184 197 MoveResize(); 185 198 199 #ifndef CONFIG_CYGWIN 186 200 if (!CreateVideoBuffers()) 187 201 return false; 188 202 #endif 203 189 204 pauseFrame.height = vbuffers.GetScratchFrame()->height; 190 205 pauseFrame.width = vbuffers.GetScratchFrame()->width; 191 206 pauseFrame.bpp = vbuffers.GetScratchFrame()->bpp; … … 335 350 RECT rect_src; 336 351 RECT rect_dest; 337 352 338 rect_src.left = imgx;353 rect_src.left = video_rect.left(); 339 354 rect_src.right = XJ_width; 340 rect_src.top = imgy;355 rect_src.top = video_rect.top(); 341 356 rect_src.bottom = XJ_height; 342 357 343 if (disp xoff < dispx || dispxoff + dispwoff > dispx + dispw)358 if (display_video_rect.left() < display_visible_rect.left() || display_video_rect.left() + display_video_rect.width() > display_visible_rect.left() + display_visible_rect.width()) 344 359 { 345 rect_dest.left = disp x;346 rect_dest.right = disp x + dispw;360 rect_dest.left = display_visible_rect.left(); 361 rect_dest.right = display_visible_rect.left() + display_visible_rect.width(); 347 362 348 rect_src.left += XJ_width * (disp x - dispxoff) / dispwoff;349 rect_src.right -= XJ_width * (disp woff + dispxoff - (dispw + dispx)) / dispwoff;363 rect_src.left += XJ_width * (display_visible_rect.left() - display_video_rect.left()) / display_video_rect.width(); 364 rect_src.right -= XJ_width * (display_video_rect.width() + display_video_rect.left() - (display_visible_rect.width() + display_visible_rect.left())) / display_video_rect.width(); 350 365 } else { 351 rect_dest.left = disp xoff;352 rect_dest.right = disp xoff + dispwoff;366 rect_dest.left = display_video_rect.left(); 367 rect_dest.right = display_video_rect.left() + display_video_rect.width(); 353 368 } 354 369 355 if (disp yoff < dispy || dispyoff + disphoff > dispy + disph)370 if (display_video_rect.top() < display_visible_rect.top() || display_video_rect.top() + display_video_rect.height() > display_visible_rect.top() + display_visible_rect.height()) 356 371 { 357 rect_dest.top = disp y;358 rect_dest.bottom = disp y + disph;372 rect_dest.top = display_visible_rect.top(); 373 rect_dest.bottom = display_visible_rect.top() + display_visible_rect.height(); 359 374 360 rect_src.top += XJ_height * (disp y - dispyoff) / disphoff;361 rect_src.bottom -= XJ_height * (disp hoff + dispyoff - (disph + dispy)) / disphoff;375 rect_src.top += XJ_height * (display_visible_rect.top() - display_video_rect.top()) / display_video_rect.height(); 376 rect_src.bottom -= XJ_height * (display_video_rect.height() + display_video_rect.top() - (display_visible_rect.height() + display_visible_rect.top())) / display_video_rect.height(); 362 377 } else { 363 rect_dest.top = disp yoff;364 rect_dest.bottom = disp yoff + disphoff;378 rect_dest.top = display_video_rect.top(); 379 rect_dest.bottom = display_video_rect.top() + display_video_rect.height(); 365 380 } 366 381 367 382 … … 1312 1327 /* The new window dimensions should already have been computed by the 1313 1328 * caller of this function */ 1314 1329 1315 rect_src.left = imgx;1316 rect_src.right = imgx + imgw;1317 rect_src.top = imgy;1318 rect_src.bottom = imgy + imgh;1330 rect_src.left = video_rect.left(); 1331 rect_src.right = video_rect.left() + video_rect.width(); 1332 rect_src.top = video_rect.top(); 1333 rect_src.bottom = video_rect.top() + video_rect.height(); 1319 1334 1320 if (disp xoff < dispx || dispxoff + dispwoff > dispx + dispw)1335 if (display_video_rect.left() < display_visible_rect.left() || display_video_rect.left() + display_video_rect.width() > display_visible_rect.left() + display_visible_rect.width()) 1321 1336 { 1322 rect_dest.left = disp x;1323 rect_dest.right = disp x + dispw;1337 rect_dest.left = display_visible_rect.left(); 1338 rect_dest.right = display_visible_rect.left() + display_visible_rect.width(); 1324 1339 1325 rect_src.left += XJ_width * (disp x - dispxoff) / dispwoff;1326 rect_src.right -= XJ_width * (disp woff + dispxoff - (dispw + dispx)) / dispwoff;1340 rect_src.left += XJ_width * (display_visible_rect.left() - display_video_rect.left()) / display_video_rect.width(); 1341 rect_src.right -= XJ_width * (display_video_rect.width() + display_video_rect.left() - (display_visible_rect.width() + display_visible_rect.left())) / display_video_rect.width(); 1327 1342 } else { 1328 rect_dest.left = disp xoff;1329 rect_dest.right = disp xoff + dispwoff;1343 rect_dest.left = display_video_rect.left(); 1344 rect_dest.right = display_video_rect.left() + display_video_rect.width(); 1330 1345 } 1331 1346 1332 if (disp yoff < dispy || dispyoff + disphoff > dispy + disph)1347 if (display_video_rect.top() < display_visible_rect.top() || display_video_rect.top() + display_video_rect.height() > display_visible_rect.top() + display_visible_rect.height()) 1333 1348 { 1334 rect_dest.top = disp y;1335 rect_dest.bottom = disp y + disph;1349 rect_dest.top = display_visible_rect.top(); 1350 rect_dest.bottom = display_visible_rect.top() + display_visible_rect.height(); 1336 1351 1337 rect_src.top += imgw * (dispy - dispyoff) / disphoff; 1338 rect_src.bottom -= imgh * (disphoff + dispyoff - (disph + dispy)) / disphoff; 1352 rect_src.top += video_rect.width() * (display_visible_rect.top() - display_video_rect.top()) / display_video_rect.height(); 1353 rect_src.bottom -= video_rect.height() * (display_video_rect.height() + display_video_rect.top() - (display_visible_rect.height() + display_visible_rect.top())) 1354 / display_video_rect.height(); 1339 1355 } else { 1340 rect_dest.top = disp yoff;1341 rect_dest.bottom = disp yoff + disphoff;1356 rect_dest.top = display_video_rect.top(); 1357 rect_dest.bottom = display_video_rect.top() + display_video_rect.height(); 1342 1358 } 1343 1359 1344 1360 VERBOSE(VB_IMPORTANT, "rect_src (" -
libs/libmythtv/videoout_dx.h
9 9 #include <ddraw.h> // HACK HACK HACK 10 10 11 11 // MythTV headers 12 #ifdef CONFIG_CYGWIN 13 #undef max 14 #endif 12 15 #include "videooutbase.h" 13 16 14 17 class VideoOutputDX : public VideoOutput … … 40 43 41 44 void MoveResize(void); 42 45 int SetPictureAttribute(int attribute, int newValue); 43 44 float GetDisplayAspect(void) const { return ((float) disp w)/disph; }45 46 47 float GetDisplayAspect(void) const { return ((float) display_visible_rect.width())/display_visible_rect.height(); } 48 46 49 void WaitForVSync(void); 47 50 48 51 private: … … 74 77 75 78 DWORD chroma; 76 79 80 int XJ_width, XJ_height; 81 77 82 int colorkey; 78 83 int rgb_colorkey; 79 84 -
libs/libmythtv/vsync.cpp
252 252 { 253 253 int ret = -1; 254 254 255 #ifndef _WIN32255 #ifndef CONFIG_CYGWIN 256 256 do { 257 257 ret = ioctl(fd, DRM_IOCTL_WAIT_VBLANK, vbl); 258 258 vbl->request.type &= ~DRM_VBLANK_RELATIVE; -
libs/libmythui/mythmainwindow.cpp
46 46 /* from libmyth */ 47 47 #include "screensaver.h" 48 48 #include "mythdialogs.h" 49 #ifndef CONFIG_CYGWIN 49 50 #include "mythmediamonitor.h" 51 #endif 50 52 51 53 #define GESTURE_TIMEOUT 1000 52 54 … … 991 993 int mediaType, 992 994 const QString &extensions) 993 995 { 996 #ifndef CONFIG_CYGWIN 994 997 if (d->mediaHandlerMap.count(destination) == 0) 995 998 { 996 999 MHData mhd = { callback, mediaType, destination, description }; … … 999 1002 .arg(destination).arg(QString("ext(%1)").arg(extensions))); 1000 1003 1001 1004 d->mediaHandlerMap[destination] = mhd; 1002 1005 1003 1006 MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); 1004 1007 if (mon && !extensions.isEmpty()) 1005 1008 mon->MonitorRegisterExtensions(mediaType, extensions); … … 1009 1012 VERBOSE(VB_GENERAL, QString("%1 is already registered as a media " 1010 1013 "handler.").arg(destination)); 1011 1014 } 1015 #endif 1012 1016 } 1013 1017 1014 1018 void MythMainWindow::RegisterMediaPlugin(const QString &name, … … 1214 1218 else 1215 1219 QApplication::sendEvent(key_target, &key); 1216 1220 } 1221 #ifndef CONFIG_CYGWIN 1217 1222 else if (ce->type() == kMediaEventType) 1218 1223 { 1219 1224 MediaEvent *media_event = (MediaEvent*)ce; … … 1260 1265 mon->Unlock(pDev); 1261 1266 } 1262 1267 } 1268 #endif 1263 1269 #if defined(USE_LIRC) || defined(USING_APPLEREMOTE) 1264 1270 else if (ce->type() == kLircKeycodeEventType && !d->ignore_lirc_keys) 1265 1271 { -
libs/libmythui/myththemedmenu.cpp
1868 1868 } 1869 1869 lastbutton = NULL; 1870 1870 } 1871 #ifndef CONFIG_CYGWIN 1871 1872 else if (action == "EJECT") 1872 1873 { 1873 1874 MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); 1874 1875 if (mon) 1875 1876 mon->ChooseAndEjectMedia(); 1876 1877 } 1878 #endif 1877 1879 else 1878 1880 handled = false; 1879 1881 } … … 2076 2078 wantpop = true; 2077 2079 } 2078 2080 } 2081 #ifndef CONFIG_CYGWIN 2079 2082 else if (action.left(5) == "EJECT") 2080 2083 { 2081 2084 MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); 2082 2085 if (mon) 2083 2086 mon->ChooseAndEjectMedia(); 2084 2087 } 2088 #endif 2085 2089 else if (action.left(5) == "JUMP ") 2086 2090 { 2087 2091 QString rest = action.right(action.length() - 5); -
libs/libmythupnp/httprequest.cpp
18 18 #include <qfileinfo.h> 19 19 20 20 #include "mythconfig.h" 21 #if def CONFIG_DARWIN21 #if defined CONFIG_DARWIN || defined CONFIG_CYGWIN 22 22 #include "darwin-sendfile.h" 23 23 #else 24 24 #include <sys/sendfile.h> -
libs/libmythupnp/libmythupnp.pro
42 42 QMAKE_EXTENSION_LIB=a 43 43 } 44 44 45 TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 46 TARGETDEPS += ../libmythtv/libmythtv-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 47 TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 48 TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 45 TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 46 TARGETDEPS += ../libmythtv/libmythtv-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 47 TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 48 TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 49 49 50 50 inc.path = $${PREFIX}/include/mythtv/upnp/ 51 51 … … 55 55 56 56 INSTALLS += inc 57 57 58 cygwin { 59 HEADERS += darwin-sendfile.h 60 SOURCES += darwin-sendfile.c 61 } 62 58 63 macx { 59 64 HEADERS += darwin-sendfile.h 60 65 SOURCES += darwin-sendfile.c -
programs/mythfrontend/main.cpp
1123 1123 1124 1124 qApp->unlock(); 1125 1125 1126 #ifndef _WIN321126 #ifndef CONFIG_CYGWIN 1127 1127 MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); 1128 1128 if (mon) 1129 1129 { … … 1169 1169 1170 1170 pmanager->DestroyAllPlugins(); 1171 1171 1172 #ifndef _WIN321172 #ifndef CONFIG_CYGWIN 1173 1173 if (mon) 1174 1174 { 1175 1175 mon->StopMonitoring(); -
programs/mythfrontend/statusbox.cpp
1291 1291 // weighted average loads 1292 1292 contentLines[count].append(". " + QObject::tr("Load") + ": "); 1293 1293 1294 #ifndef CONFIG_CYGWIN 1294 1295 double loads[3]; 1295 1296 if (getloadavg(loads,3) == -1) 1297 #endif 1296 1298 contentLines[count].append(QObject::tr("unknown") + 1297 1299 " - getloadavg() " + QObject::tr("failed")); 1300 #ifndef CONFIG_CYGWIN 1298 1301 else 1299 1302 { 1300 1303 char buff[30]; … … 1302 1305 sprintf(buff, "%0.2lf, %0.2lf, %0.2lf", loads[0], loads[1], loads[2]); 1303 1306 contentLines[count].append(QString(buff)); 1304 1307 } 1308 1309 #endif 1305 1310 detailString += contentLines[count] + "\n"; 1306 1311 count++; 1307 1312 -
programs/programs-libs.pro
23 23 isEmpty(QMAKE_EXTENSION_LIB) { 24 24 QMAKE_EXTENSION_LIB=a 25 25 } 26 TARGETDEPS += ../../libs/libmythui/libmythui-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 27 TARGETDEPS += ../../libs/libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 28 TARGETDEPS += ../../libs/libmythtv/libmythtv-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 29 TARGETDEPS += ../../libs/libavutil/libmythavutil-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 30 TARGETDEPS += ../../libs/libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 31 TARGETDEPS += ../../libs/libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 32 TARGETDEPS += ../../libs/libmythupnp/libmythupnp-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 33 TARGETDEPS += ../../libs/libmythlivemedia/libmythlivemedia-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB} 26 TARGETDEPS += ../../libs/libmythui/libmythui-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 27 TARGETDEPS += ../../libs/libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 28 TARGETDEPS += ../../libs/libmythtv/libmythtv-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 29 TARGETDEPS += ../../libs/libavutil/libmythavutil-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 30 TARGETDEPS += ../../libs/libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 31 TARGETDEPS += ../../libs/libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 32 TARGETDEPS += ../../libs/libmythupnp/libmythupnp-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 33 TARGETDEPS += ../../libs/libmythlivemedia/libmythlivemedia-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}$${QMAKE_EXTENSION_CYGWIN} 34 34 35 35 DEPENDPATH += ../.. ../../libs ../../libs/libmyth ../../libs/libmythtv 36 36 DEPENDPATH += ../../libs/libavutil ../../libs/libavformat ../../libs/libsavcodec -
settings.pro
7 7 LIBVERSION = 0.20 8 8 VERSION = 0.20.0 9 9 10 # if CYGWIN compile, set up flag in CONFIG 11 contains(TARGET_OS, CYGWIN) { 12 CONFIG += cygwin 13 QMAKE_EXTENSION_SHLIB=dll 14 QMAKE_EXTENSION_CYGWIN = .a 15 DEFINES += CONFIG_CYGWIN 16 } 17 10 18 # Die on the (common) case where OS X users inadvertently use Fink's 11 19 # Qt/X11 install instead of Qt/Mac. ' 12 20 contains(CONFIG_DARWIN, yes) {