Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 432976 | Differences between
and this patch

Collapse All | Expand All

(-)telepathy-logger-qt-0.5.0.origin/cmake/modules/FindQtGLib.cmake (-10 / +14 lines)
Lines 27-44 Link Here
27
        PKG_CHECK_MODULES(PC_QTGLIB QtGLib-2.0)
27
        PKG_CHECK_MODULES(PC_QTGLIB QtGLib-2.0)
28
    endif (QTGLIB_MIN_VERSION)
28
    endif (QTGLIB_MIN_VERSION)
29
    set(QTGLIB_DEFINITIONS ${PC_QTGLIB_CFLAGS_OTHER})
29
    set(QTGLIB_DEFINITIONS ${PC_QTGLIB_CFLAGS_OTHER})
30
    # NOTE Do not lose all include directories! It can be more than just a single /usr/include/QtGStreamer!
31
    # BUG https://bugs.gentoo.org/show_bug.cgi?id=432976
32
    set(QTGLIB_INCLUDE_DIR ${PC_QTGLIB_INCLUDE_DIRS})
33
else (NOT WIN32)
34
    # TODO Obviously it would be buggy in a Windows, but I have no idea how to fix it...
35
    find_path(QTGLIB_INCLUDE_DIR
36
        NAMES QGlib/Object
37
        PATHS ${PC_QTGLIB_INCLUDEDIR} ${PC_QTGLIB_INCLUDE_DIRS}
38
        PATH_SUFFIXES QtGStreamer
39
      )
30
endif (NOT WIN32)
40
endif (NOT WIN32)
31
41
32
find_path(QTGLIB_INCLUDE_DIR 
42
find_library(QTGLIB_LIBRARIES
33
   NAMES QGlib/Object
43
    NAMES QtGLib-2.0
34
   PATHS ${PC_QTGLIB_INCLUDEDIR} ${PC_QTGLIB_INCLUDE_DIRS} 
44
    PATHS ${PC_QTGLIB_LIBDIR} ${PC_QTGLIB_LIBRARY_DIRS}
35
   PATH_SUFFIXES QtGStreamer
45
  )
36
   )
37
38
find_library(QTGLIB_LIBRARIES 
39
   NAMES QtGLib-2.0
40
   PATHS ${PC_QTGLIB_LIBDIR} ${PC_QTGLIB_LIBRARY_DIRS}
41
   )
42
46
43
include(FindPackageHandleStandardArgs)
47
include(FindPackageHandleStandardArgs)
44
find_package_handle_standard_args(QtGLib-2.0 DEFAULT_MSG QTGLIB_LIBRARIES QTGLIB_INCLUDE_DIR)
48
find_package_handle_standard_args(QtGLib-2.0 DEFAULT_MSG QTGLIB_LIBRARIES QTGLIB_INCLUDE_DIR)

Return to bug 432976