Commit f6228be3 authored by Srikanth Raju's avatar Srikanth Raju

Enable Media Library Building

parent 1237aadc
...@@ -4161,6 +4161,17 @@ else ...@@ -4161,6 +4161,17 @@ else
fi fi
AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" != "no"]) AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" != "no"])
dnl
dnl media library
dnl
AC_ARG_ENABLE(media-library, [--enable-media-library media library (default enabled)])
if test "${enable_media_library}" != "no"
then
test "${enable_sqlite}" != "yes" && AC_MSG_ERROR([SQLite module is required for the media library])
AC_DEFINE([MEDIA_LIBRARY], 1, [Define if you want to use the VLC media library])
VLC_ADD_CPPFLAGS([qt4],"-DMEDIA_LIBRARY")
VLC_ADD_PLUGIN([media_library])
fi
dnl dnl
dnl Endianness check dnl Endianness check
...@@ -4396,6 +4407,7 @@ AC_CONFIG_FILES([ ...@@ -4396,6 +4407,7 @@ AC_CONFIG_FILES([
modules/misc/osd/Makefile modules/misc/osd/Makefile
modules/misc/stats/Makefile modules/misc/stats/Makefile
modules/misc/xml/Makefile modules/misc/xml/Makefile
modules/media_library/Makefile
modules/mux/Makefile modules/mux/Makefile
modules/mux/mpeg/Makefile modules/mux/mpeg/Makefile
modules/packetizer/Makefile modules/packetizer/Makefile
......
...@@ -169,6 +169,7 @@ $Id$ ...@@ -169,6 +169,7 @@ $Id$
* magnify: zoom video filter * magnify: zoom video filter
* marq: Overlays a marquee on the video * marq: Overlays a marquee on the video
* mash: OpenMash based decoder * mash: OpenMash based decoder
* media_library: a sql based media library
* mediadirs: Picture/Music/Video user directories as service discoveries * mediadirs: Picture/Music/Video user directories as service discoveries
* memcpy3dn: 3D Now! accelerated version of memcpy * memcpy3dn: 3D Now! accelerated version of memcpy
* memcpyaltivec: Altivec accelerated version of memcpy * memcpyaltivec: Altivec accelerated version of memcpy
......
...@@ -10,6 +10,7 @@ BASE_SUBDIRS = \ ...@@ -10,6 +10,7 @@ BASE_SUBDIRS = \
gui \ gui \
meta_engine \ meta_engine \
misc \ misc \
media_library \
packetizer \ packetizer \
services_discovery \ services_discovery \
stream_filter \ stream_filter \
......
SOURCES_media_library = sql_media_library.c \
sql_monitor.c \
sql_search.c \
sql_add.c \
sql_update.c \
sql_delete.c \
item_list.c \
ml_watch.c \
media_pool.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment