summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/CMakeLists.txt
blob: 0cb4b49a0b8719237ef6f8f1a0fc9f77c4c9179c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#################################################
#
#  (C) 2017 Slávek Banko
#  slavek (DOT) banko (AT) axis.cz
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

add_subdirectory( decoder )
add_subdirectory( frame )
add_subdirectory( input )
add_subdirectory( mpegplay )
add_subdirectory( mpgplayer )
add_subdirectory( oggvorbis )
add_subdirectory( output )
add_subdirectory( splay )
add_subdirectory( tplay )
add_subdirectory( util )
add_subdirectory( yuv )


include_directories(
  ${CMAKE_BINARY_DIR}
  ${TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${ARTS_LIBRARY_DIRS}
)


##### mpeg-lib (library) ########################

tde_add_library( mpeg SHARED
  SOURCES dummy.cpp
  RELEASE ${MPEGLIB_VERSION}
  EMBED
    mpeg_mpgplayer-static
    mpeg_mpegplay-static
    mpeg_splay-static
    mpeg_oggvorbisbase-static
    mpeg_tplay-static
    mpeg_decoder-static
    mpeg_output-static
    mpeg_input-static
    mpeg_util-static
    mpeg_utilabstract-static
    mpeg_utilaudio-static
    mpeg_utilsimplefile-static
    mpeg_utilrender-static
    mpeg_utilrenderdither-static
    mpeg_utilrenderdither2YUV-static
    mpeg_utilrenderx11-static
    mpeg_utilmmx-static
    mpeg_frame-static
    mpeg_yuvPlugin-static
  LINK
    mcop kmedia2_idl soundserver_idl artsflow_idl artsmodules-shared
    X11 ${XEXT_LIBRARIES} m ${XV_LIBRARIES} ${DGA_LIBRARIES} ${XVIDMODE_LIBRARIES}
    ${CDPARANOIA_LIBRARIES} ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES} pthread
  DESTINATION ${LIB_INSTALL_DIR}
)