--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/pulseaudio/PlamoBuild.pulseaudio-7.1 2017-09-10 19:03:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-7.1.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pulseaudio +vers=7.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README NEWS PROTOCOL ABOUT-NLS LGPL GPL todo" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,74 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/etc/asound.conf + pcm.pulse { + type pulse + } + + ctl.pulse { + type pulse + } + + pcm.!default { + type pulse + } + + ctl.!default { + type pulse + } + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/pulse + strip_libdir $P/usr/$libdir/pulseaudio + strip_libdir $P/usr/$libdir/pulse-$vers/modules + touch -t `date '+%m%d0900'` $P/usr/libexec/pulse + touch -t `date '+%m%d0900'` $P/usr/$libdir/pulseaudio + touch -t `date '+%m%d0900'` $P/usr/$libdir/pulse-$vers/modules setup_docdir - convert_links + false && convert_links + prune_symlink $P/usr/bin + prune_symlink $P/usr/$libdir + prune_symlink $P/usr/share/bash-completion/completions + prune_symlink $infodir + prune_symlink $mandir/man1 + touch -t `date '+%m%d0900'` $P/usr/share/bash-completion/completions + cat <<- "EOF" >> $P/install/doinst.sh + if [ -x usr/bin/esd ] ; then + ( cd usr/bin ; rm -rf esd ) + ( cd usr/bin ; ln -sf esdcompat esd ) + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/pulse + tar rvpf $pkg.tar -C $P usr/$libdir/pulseaudio + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libpulse*` + tar rvpf $pkg.tar -C $P usr/$libdir/pulse-$vers + tar rvpf $pkg.tar -C $P usr/$libdir/cmake/PulseAudio + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pulse + tar rvpf $pkg.tar -C $P usr/share/pulseaudio + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/zsh/site-functions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` + tar rvpf $pkg.tar -C $P etc/pulse + tar rvpf $pkg.tar -C $P `cd $P ; find etc/xdg/autostart | tail -n+2` + tar rvpf $pkg.tar -C $P etc/asound.conf + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz cleanup