Add pulsecore pkg-config file 04/168904/6
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 1 Feb 2018 04:04:03 +0000 (13:04 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 9 Feb 2018 06:38:25 +0000 (06:38 +0000)
origin patch
 : bd75f47eaacbad720ddede3123e7cc87d450d806 - seonmi.jin@samsung.com - 2015-09-17 - build install pulsecore headers

[Version] 11.1-3
[Issue Type] pkg config file

Change-Id: I124ddd41b2aa19359e8185e17d6217c34209fb74
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Makefile.am
configure.ac
libpulse-simple.pc.in
libpulse.pc.in
packaging/pulseaudio.spec
pulsecore.pc.in [new file with mode: 0644]
src/Makefile.am

index 1f460a9..6a41110 100644 (file)
@@ -55,7 +55,7 @@ dist_vapi_DATA = \
                vala/libpulse-simple.deps vala/libpulse-simple.vapi
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libpulse.pc libpulse-simple.pc
+pkgconfig_DATA = libpulse.pc libpulse-simple.pc pulsecore.pc
 
 if HAVE_GLIB20
 pkgconfig_DATA += \
index c21db13..074c07a 100644 (file)
@@ -1523,6 +1523,7 @@ man/Makefile
 libpulse.pc
 libpulse-simple.pc
 libpulse-mainloop-glib.pc
+pulsecore.pc
 doxygen/Makefile
 doxygen/doxygen.conf
 src/pulse/version.h
index dc855fd..17bdb82 100644 (file)
@@ -8,5 +8,5 @@ Description: PulseAudio Simplified Synchronous Client Interface
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -lpulse-simple @PTHREAD_LIBS@
 Libs.private: -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@
-Cflags: -I${includedir} -D_REENTRANT
+Cflags: -I${includedir} -D_REENTRANT -D__TIZEN__ -D__TIZEN_BT__
 Requires: libpulse
index 23d888b..bb36fb2 100644 (file)
@@ -9,4 +9,4 @@ Description: PulseAudio Client Interface
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -lpulse @PTHREAD_LIBS@
 Libs.private: -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@
-Cflags: -I${includedir} -D_REENTRANT
+Cflags: -I${includedir} -D_REENTRANT -D__TIZEN__ -D__TIZEN_BT__
index afdfd12..1e4edd2 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          2
+Release:          3
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
@@ -208,6 +208,8 @@ rm -rf  %{buildroot}%{_sysconfdir}/xdg/autostart/pulseaudio-kde.desktop
 rm -rf  %{buildroot}%{_bindir}/start-pulseaudio-kde
 rm -rf  %{buildroot}%{_bindir}/start-pulseaudio-x11
 rm -rf %{buildroot}%{_libdir}/pulse-%{version}/modules/module-device-manager.so
+mkdir -p %{buildroot}%{_includedir}/pulsecore/filter
+cp %{buildroot}%{_includedir}/pulsecore/lfe-filter.h %{buildroot}%{_includedir}/pulsecore/filter
 
 %if "%{?tizen_profile_name}" == "tv"
 mkdir -p %{buildroot}%{_unitdir}/sysinit.target.wants/
@@ -346,10 +348,13 @@ setcap -r /usr/bin/pulseaudio
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_includedir}/pulse/*
+%{_includedir}/pulsecore/*
+%{_includedir}/pulsecore/filter/*
 %{_libdir}/libpulse.so
 %{_libdir}/libpulse-simple.so
 %{_libdir}/libpulse-mainloop-glib.so
 %{_libdir}/pkgconfig/libpulse*.pc
+%{_libdir}/pkgconfig/pulsecore.pc
 %{_datadir}/vala/vapi/libpulse.vapi
 # cmake stuff
 %{_libdir}/cmake/PulseAudio/PulseAudioConfig.cmake
diff --git a/pulsecore.pc.in b/pulsecore.pc.in
new file mode 100644 (file)
index 0000000..66a0dad
--- /dev/null
@@ -0,0 +1,10 @@
+prefix=@prefix@
+libdir=@libdir@
+includedir=${prefix}/include
+libexecdir=@libexecdir@
+
+Name: pulsecore
+Description: Module building interface for pulseaudio
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lpulsecore-@PA_MAJORMINOR@ -lpulse -L${libdir}/pulse-@PA_MAJORMINOR@/modules -lprotocol-native -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@ @PTHREAD_LIBS@
+Cflags: -D_REENTRANT -D__INCLUDED_FROM_PULSE_AUDIO -DPA_DEFAULT_CONFIG_DIR=\"@PA_DEFAULT_CONFIG_DIR@\" -I${includedir}
index 074581c..d177b9f 100644 (file)
@@ -825,6 +825,136 @@ libpulsecommon_@PA_MAJORMINOR@_la_LIBADD += $(DLOG_LIBS)
 endif
 
 ###################################
+#         Pulsecore headers       #
+###################################
+
+pulsecoreinclude_HEADERS = \
+               pulsecore/arpa-inet.h \
+               pulsecore/asyncmsgq.h \
+               pulsecore/asyncq.h \
+               pulsecore/atomic.h \
+               pulsecore/aupdate.h \
+               pulsecore/auth-cookie.h \
+               pulsecore/authkey.h \
+               pulsecore/avahi-wrap.h \
+               pulsecore/bitset.h \
+               pulsecore/card.h \
+               pulsecore/cli-command.h \
+               pulsecore/client.h \
+               pulsecore/cli.h \
+               pulsecore/cli-text.h \
+               pulsecore/conf-parser.h \
+               pulsecore/core-error.h \
+               pulsecore/core.h \
+               pulsecore/core-rtclock.h \
+               pulsecore/core-scache.h \
+               pulsecore/core-subscribe.h \
+               pulsecore/core-util.h \
+               pulsecore/cpu-arm.h \
+               pulsecore/cpu.h \
+               pulsecore/cpu-orc.h \
+               pulsecore/cpu-x86.h \
+               pulsecore/creds.h \
+               pulsecore/database.h \
+               pulsecore/dbus-shared.h \
+               pulsecore/dbus-util.h \
+               pulsecore/device-port.h \
+               pulsecore/dynarray.h \
+               pulsecore/endianmacros.h \
+               pulsecore/esound.h \
+               pulsecore/fdsem.h \
+               pulsecore/flist.h \
+               pulsecore/filter/lfe-filter.h \
+               pulsecore/g711.h \
+               pulsecore/hashmap.h \
+               pulsecore/hook-list.h \
+               pulsecore/i18n.h \
+               pulsecore/idxset.h \
+               pulsecore/iochannel.h \
+               pulsecore/ioline.h \
+               pulsecore/ipacl.h \
+               pulsecore/llist.h \
+               pulsecore/lock-autospawn.h \
+               pulsecore/log.h \
+               pulsecore/ltdl-helper.h \
+               pulsecore/macro.h \
+               pulsecore/mcalign.h \
+               pulsecore/mem.h \
+               pulsecore/memblock.h \
+               pulsecore/memblockq.h \
+               pulsecore/memchunk.h \
+               pulsecore/memfd-wrappers.h \
+               pulsecore/memtrap.h \
+               pulsecore/mime-type.h \
+               pulsecore/mix.h \
+               pulsecore/modargs.h \
+               pulsecore/modinfo.h \
+               pulsecore/module.h \
+               pulsecore/msgobject.h \
+               pulsecore/mutex.h \
+               pulsecore/namereg.h \
+               pulsecore/native-common.h \
+               pulsecore/object.h \
+               pulsecore/once.h \
+               pulsecore/packet.h \
+               pulsecore/parseaddr.h \
+               pulsecore/pdispatch.h \
+               pulsecore/pid.h \
+               pulsecore/pipe.h \
+               pulsecore/play-memblockq.h \
+               pulsecore/play-memchunk.h \
+               pulsecore/poll.h \
+               pulsecore/proplist-util.h \
+               pulsecore/protocol-cli.h \
+               pulsecore/protocol-dbus.h \
+               pulsecore/protocol-esound.h \
+               pulsecore/protocol-http.h \
+               pulsecore/protocol-native.h \
+               pulsecore/protocol-simple.h \
+               pulsecore/pstream.h \
+               pulsecore/pstream-util.h \
+               pulsecore/queue.h \
+               pulsecore/random.h \
+               pulsecore/ratelimit.h \
+               pulsecore/refcnt.h \
+               pulsecore/remap.h \
+               pulsecore/resampler.h \
+               pulsecore/rtkit.h \
+               pulsecore/rtpoll.h \
+               pulsecore/sample-util.h \
+               pulsecore/sconv.h \
+               pulsecore/sconv-s16be.h \
+               pulsecore/sconv-s16le.h \
+               pulsecore/semaphore.h \
+               pulsecore/shared.h \
+               pulsecore/shm.h \
+               pulsecore/sink.h \
+               pulsecore/sink-input.h \
+               pulsecore/sioman.h \
+               pulsecore/sndfile-util.h \
+               pulsecore/socket-client.h \
+               pulsecore/socket.h \
+               pulsecore/socket-server.h \
+               pulsecore/socket-util.h \
+               pulsecore/sound-file.h \
+               pulsecore/sound-file-stream.h \
+               pulsecore/source.h \
+               pulsecore/source-output.h \
+               pulsecore/start-child.h \
+               pulsecore/strbuf.h \
+               pulsecore/strlist.h \
+               pulsecore/srbchannel.h \
+               pulsecore/tagstruct.h \
+               pulsecore/thread.h \
+               pulsecore/thread-mq.h \
+               pulsecore/time-smoother.h \
+               pulsecore/tokenizer.h \
+               pulsecore/typedefs.h \
+               pulsecore/usergroup.h \
+               pulsecore/x11prop.h \
+               pulsecore/x11wrap.h
+
+###################################
 #         Client library          #
 ###################################