[pulseaudio] 02/02: Update to work with new snapcraft

Luke Yelavich themuso-guest at moszumanska.debian.org
Fri Jun 17 04:29:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

themuso-guest pushed a commit to branch ubuntu-snappy
in repository pulseaudio.

commit 68e07eb0d8dea0c7bc866eff586e39830f9a65aa
Author: Luke Yelavich <themuso at ubuntu.com>
Date:   Fri Jun 17 14:27:30 2016 +1000

    Update to work with new snapcraft
    
    Some keywords have changed, and we need a list of build packages to
    allow for a clean build.
    
    Source is curretly fetched from a tarball since there seems to be
    a problem with git, Debian's pkg-pulse git repo, and the use of the
    --deptch argument. Patches do not get applied either.
---
 snapcraft.yaml | 64 ++++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 47 insertions(+), 17 deletions(-)

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 4f91c73..5709135 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,5 +1,5 @@
 name: pulseaudio
-version: 0.1
+version: 8.0
 summary: Audio framework (contains PulseAudio and alsa-lib) 
 description: Contains PulseAudio and its dependencies, to
   enable apps to play back and record sound by talking to
@@ -14,21 +14,21 @@ description: Contains PulseAudio and its dependencies, to
 apps:
   pulseaudio:
     command: pulseaudio --disable-shm=yes --exit-idle-time=-1 --disallow-exit=yes -vvvvnF $SNAP/etc/pulse/default.pa -p $SNAP/lib
-    uses: [paserver-permissions]
+    plugs: [paserver-permissions]
   pactl:
     command: pactl
-    uses: [paclient-permissions]
+    plugs: [paclient-permissions]
   pacat:
     command: pacat
-    uses: [paclient-permissions]
+    plugs: [paclient-permissions]
   parecord:
     command: parecord
-    uses: [paclient-permissions]
+    plugs: [paclient-permissions]
   paplay:
     command: paplay
-    uses: [paclient-permissions]
+    plugs: [paclient-permissions]
 
-uses:
+slots:
   paclient-permissions:
     type: migration-skill
     security-override:
@@ -54,19 +54,49 @@ parts:
   pulseaudio:
     plugin: autotools
 #    source: ../pkg-pulseaudio
-    source-vcs: git
-    source: git://anonscm.debian.org/pkg-pulseaudio/pulseaudio.git
-    source-branch: ubuntu-snappy
+#    source-type: git
+#    source: git://anonscm.debian.org/pkg-pulseaudio/pulseaudio.git
+#    source-branch: ubuntu-snappy
+    source-type: tar
+    source: http://freedesktop.org/software/pulseaudio/releases/pulseaudio-8.0.tar.xz
     stage-packages: [libasound2-dev, libdbus-1-dev, libjson-c-dev, libglib2.0-dev,
        libspeexdsp-dev, libbluetooth-dev, libwebrtc-audio-processing-dev, libltdl-dev,
        libsndfile1-dev, libx11-xcb-dev, libx11-dev, libtdb-dev, libasyncns-dev, libxcb1-dev]
-    build-packages: []
+    build-packages:
+      - g++
+      - intltool
+      - libasound2-dev
+      - libasyncns-dev
+      - libatomic-ops-dev
+      - libavahi-client-dev
+      - libbluetooth-dev
+      - libsbc-dev
+      - libcap-dev
+      - libfftw3-dev
+      - libglib2.0-dev
+      - libice-dev
+      - libjack-dev
+      - libjson-c-dev
+      - liblircclient-dev
+      - libltdl-dev
+      - libsamplerate0-dev
+      - libsndfile1-dev
+      - libsoxr-dev
+      - libspeexdsp-dev
+      - libssl-dev
+      - libtdb-dev
+      - libudev-dev
+      - libwebrtc-audio-processing-dev
+      - libwrap0-dev
+      - libx11-xcb-dev
+      - libxcb1-dev
+      - libxtst-dev
     configflags: [--disable-orc, --disable-gconf, --disable-bluez4, --disable-bluez5, --disable-esound,
        --disable-adrian-aec, --disable-gtk3, --disable-hal-compat, --disable-systemd-login]
-  move-files:
-    plugin: copy
-    after: [pulseaudio]
-    files:
-      stage/lib/pulse-7.1/modules/*.so: lib/
-      stage/lib/pulseaudio/libpulsecommon-7.1.so: lib/libpulsecommon-7.1.so
+#  move-files:
+#    plugin: copy
+#    after: [pulseaudio]
+#    files:
+#      lib/pulse-8.0/modules/*.so: lib/
+#      lib/pulseaudio/libpulsecommon-8.0.so: lib/libpulsecommon-8.0.so
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git



More information about the pkg-pulseaudio-devel mailing list