



########### next target ###############

set(noatunalsaplayer_PART_SRCS 
   alsaplayerui.cpp 
   userinterface.cpp 
   configmodule.cpp 
   seeker.cpp )

kde4_add_ui_files(noatunalsaplayer_PART_SRCS AlsaPlayer.ui )

kde4_add_plugin(noatunalsaplayer ${noatunalsaplayer_PART_SRCS})



target_link_libraries(noatunalsaplayer  ${KDE4_KDECORE_LIBS} noatuncontrols noatun )

install(TARGETS noatunalsaplayer  DESTINATION ${PLUGIN_INSTALL_DIR} )


########### install files ###############

install( FILES alsaplayerui.plugin  DESTINATION  ${DATA_INSTALL_DIR}/noatun )




#original Makefile.am contents follow:

#INCLUDES= $(all_includes)
#
#kde_module_LTLIBRARIES = noatunalsaplayer.la
#
#noatunalsaplayer_la_SOURCES = \
#  AlsaPlayer.ui \
#  alsaplayerui.cpp \
#  userinterface.cpp \
#  configmodule.cpp \
#  seeker.cpp
#
#noatunalsaplayer_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
#
#noatunalsaplayer_la_LIBADD = -lnoatuncontrols -lnoatun
#
#noatunalsaplayer_la_METASOURCES = AUTO
#
#noinst_HEADERS = userinterface.h configmodule.h seeker.h
#
#noatun_DATA = alsaplayerui.plugin
#noatundir = $(kde_datadir)/noatun
#
#messages: rc.cpp
#	$(XGETTEXT) *.cpp *.h -o $(podir)/alsaplayerui.pot
