forked from tomahawk-player/tomahawk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tomahawk-player#266 from tomahawk-player/libvlc
Replace Phonon with libvlc directly
- Loading branch information
Showing
13 changed files
with
1,037 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
find_package(PkgConfig QUIET) | ||
pkg_check_modules(PC_LIBVLC QUIET libvlc) | ||
set(LIBVLC_DEFINITIONS ${PC_LIBVLC_CFLAGS_OTHER}) | ||
|
||
find_path(LIBVLC_INCLUDE_DIR vlc/vlc.h | ||
HINTS | ||
${PC_LIBVLC_INCLUDEDIR} | ||
${PC_LIBVLC_INCLUDE_DIRS} | ||
) | ||
|
||
find_library(LIBVLC_LIBRARY NAMES vlc libvlc | ||
HINTS | ||
${PC_LIBVLC_LIBDIR} | ||
${PC_LIBVLC_LIBRARY_DIRS} | ||
) | ||
|
||
find_library(LIBVLCCORE_LIBRARY NAMES vlccore libvlccore | ||
HINTS | ||
${PC_LIBVLC_LIBDIR} | ||
${PC_LIBVLC_LIBRARY_DIRS} | ||
) | ||
|
||
set(LIBVLC_VERSION ${PC_LIBVLC_VERSION}) | ||
|
||
find_package_handle_standard_args(LibVLC | ||
REQUIRED_VARS LIBVLC_LIBRARY LIBVLCCORE_LIBRARY LIBVLC_INCLUDE_DIR | ||
VERSION_VAR LIBVLC_VERSION | ||
) | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.