Skip to content

Commit

Permalink
Fix 32 bits compilation on mac and Quartz playback
Browse files Browse the repository at this point in the history
[cherry-picked from ecd76ef]
  • Loading branch information
jyavenard committed Jun 3, 2012
1 parent 0ec7ef2 commit 1dcc4c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 6 additions & 1 deletion mythtv/filters/filters.pro
Expand Up @@ -5,10 +5,15 @@ TEMPLATE = subdirs

# Directories
SUBDIRS += invert linearblend denoise3d quickdnr kerneldeint crop force
SUBDIRS += adjust onefield bobdeint ivtc greedyhdeint yadif fieldorder
SUBDIRS += adjust onefield bobdeint ivtc yadif fieldorder

contains(CONFIG_POSTPROC, yes): SUBDIRS += postprocess

# greeydy doesn't compile on 32 bits
contains( QMAKE_CXXFLAGS, "x86_64" ) {
SUBDIRS += greedyhdeint
}

# This filter is currently broken.
# SUBDIRS += convert

Expand Down
8 changes: 2 additions & 6 deletions mythtv/libs/libmythtv/libmythtv.pro
Expand Up @@ -90,13 +90,9 @@ macx {
FWKS += CoreVideo
}

using_firewire:using_backend: FWKS += IOKit
FC = $$join(FWKS,",")

# The following trick shortens the command line, but depends on
# the shell expanding Csh-style braces. Luckily, Bash and Zsh do.
FC = $$join(FWKS,",","{","}")

QMAKE_CXXFLAGS += -F/System/Library/Frameworks/$${FC}.framework/Frameworks
QMAKE_CXXFLAGS += -F$${FC}
LIBS += -framework $$join(FWKS," -framework ")

using_firewire:using_backend {
Expand Down

0 comments on commit 1dcc4c7

Please sign in to comment.