Skip to content

Commit

Permalink
Merge pull request #1010 from ulmus-scott/configure2
Browse files Browse the repository at this point in the history
configure cleanup
  • Loading branch information
linuxdude42 authored Jan 27, 2025
2 parents c11c8f6 + 3029b22 commit a2dff2b
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 511 deletions.
8 changes: 0 additions & 8 deletions mythplugins/configure
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ flix
"

CONFIG_LIST="
opengl
exif
newexif
dcraw
Expand Down Expand Up @@ -609,8 +608,6 @@ ECXXFLAGS=$(cat mythconfig.mak | grep -e "^ECXXFLAGS=")
ECXXFLAGS=${ECXXFLAGS#ECXXFLAGS=}
CXXPPFLAGS=$(cat mythconfig.mak | grep -e "^CXXPPFLAGS=")
CXXPPFLAGS=${CXXPPFLAGS#CXXPPFLAGS=}
OPENGLV=$(cat mythconfig.mak | grep -e "^CONFIG_OPENGL_VIDEO=yes")
OPENGLES=$(cat mythconfig.mak | grep -e "^HAVE_GLES2_GL2_H=yes")
WEBKIT=$(cat mythconfig.mak | grep -e "^CONFIG_QTWEBKIT=yes")

EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
Expand Down Expand Up @@ -640,11 +637,6 @@ qmake=${qmake#QMAKE=}
qt_version_str=`$qmake -query QT_VERSION`
qt_version=$(version2num $qt_version_str)

# rely on what was discover during MythTV configure
if enabled opengl && test "$OPENGLV" != "CONFIG_OPENGL_VIDEO=yes"; then
disable opengl
fi

if ! check_lib libexif/exif-data.h exif_loader_new -lexif ; then
disable exif
fi
Expand Down
5 changes: 0 additions & 5 deletions mythplugins/settings.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ macx:CONFIG += console
# figure out compile flags based on qmake info

QMAKE_CXXFLAGS += $$ARCHFLAGS
QMAKE_CXXFLAGS += $$CONFIG_DIRECTFB_CXXFLAGS
QMAKE_CXXFLAGS_SHLIB = -DPIC -fPIC
QMAKE_CXXFLAGS += $$CXXFLAGS $$ECXXFLAGS

Expand Down Expand Up @@ -69,12 +68,8 @@ contains(CONFIG_LIBMP3LAME, "yes") {
EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS
EXTRA_LIBS += $$CONFIG_AUDIO_JACK_LIBS
EXTRA_LIBS += $$CONFIG_FIREWIRE_LIBS
EXTRA_LIBS += $$CONFIG_DIRECTFB_LIBS

EXTRA_LIBS += $$LOCAL_LIBDIR_X11
EXTRA_LIBS += $$CONFIG_XV_LIBS
EXTRA_LIBS += $$CONFIG_XVMC_LIBS
EXTRA_LIBS += $$CONFIG_OPENGL_VSYNC_LIBS

LIRC_LIBS = $$CONFIG_LIRC_LIBS

Expand Down
Loading

0 comments on commit a2dff2b

Please sign in to comment.