From: Sangchul Lee Date: Thu, 1 Feb 2018 04:04:03 +0000 (+0900) Subject: Add pulsecore pkg-config file X-Git-Tag: accepted/tizen/unified/20180227.062917~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F168904%2F6;p=platform%2Fupstream%2Fpulseaudio.git Add pulsecore pkg-config file 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 --- diff --git a/Makefile.am b/Makefile.am index 1f460a9..6a41110 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 += \ diff --git a/configure.ac b/configure.ac index c21db13..074c07a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/libpulse-simple.pc.in b/libpulse-simple.pc.in index dc855fd..17bdb82 100644 --- a/libpulse-simple.pc.in +++ b/libpulse-simple.pc.in @@ -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 diff --git a/libpulse.pc.in b/libpulse.pc.in index 23d888b..bb36fb2 100644 --- a/libpulse.pc.in +++ b/libpulse.pc.in @@ -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__ diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index afdfd12..1e4edd2 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -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 index 0000000..66a0dad --- /dev/null +++ b/pulsecore.pc.in @@ -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} diff --git a/src/Makefile.am b/src/Makefile.am index 074581c..d177b9f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 # ###################################