freeimage: Create freeimage plugin and freeimagedec decoder

This commit is contained in:
Joshua M. Doe
2010-06-10 11:10:48 -04:00
parent ddd0c4cf67
commit baa16f775f
8 changed files with 990 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
add_definitions(-DHAVE_CONFIG_H)
set ( SOURCES
gstfreeimage.c
gstfreeimagedec.c)
set ( HEADERS
gstfreeimage.h
gstfreeimagedec.h)
include_directories ( AFTER
${FREEIMAGE_INCLUDE_DIR} )
add_library ( libgstfreeimage MODULE
${SOURCES}
${HEADERS} )
target_link_libraries ( libgstfreeimage
general ${GLIB2_LIBRARIES}
general ${GSTREAMER_LIBRARIES}
general ${GSTREAMER_BASE_LIBRARY}
general ${GSTREAMER_INTERFACE_LIBRARY}
general ${GSTREAMER_VIDEO_LIBRARY}
general ${FREEIMAGE_LIBRARIES} )
install (TARGETS libgstfreeimage
LIBRARY DESTINATION lib/gstreamer-0.10)