mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:18:28 +08:00
further updates in the 1394 stack, libsig++2.0 renamed, added libconfig & libffado for 1394 support in jack
This commit is contained in:
parent
c938ee7d9e
commit
c5e27c0f64
29
libconfig/PKGBUILD
Normal file
29
libconfig/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer: abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=libconfig
|
||||
pkgver=1.4.8
|
||||
pkgrel=1
|
||||
pkgdesc="C/C++ Configuration File Library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://hyperrealm.com/libconfig/libconfig.html"
|
||||
license=('LGPL')
|
||||
depends=('gcc-libs' 'texinfo')
|
||||
install=libconfig.install
|
||||
options=('!libtool' '!emptydirs' 'zipman')
|
||||
source=(http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('36788da452e9fcfc8efb7661ef5d31ef')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
make DESTDIR=${pkgdir} install
|
||||
rm ${pkgdir}/usr/share/info/dir
|
||||
}
|
18
libconfig/libconfig.install
Normal file
18
libconfig/libconfig.install
Normal file
@ -0,0 +1,18 @@
|
||||
infodir=/usr/share/info
|
||||
filelist=(libconfig.info.gz)
|
||||
|
||||
post_install() {
|
||||
for file in ${filelist[@]}; do
|
||||
install-info $infodir/$file $infodir/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
for file in ${filelist[@]}; do
|
||||
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
|
||||
done
|
||||
}
|
57
libffado/PKGBUILD
Normal file
57
libffado/PKGBUILD
Normal file
@ -0,0 +1,57 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer: abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=libffado
|
||||
pkgver=2.0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Driver for FireWire audio devices"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.ffado.org/"
|
||||
license=('GPL')
|
||||
depends=('libiec61883' 'libavc1394' 'libsigc++'
|
||||
'libxml++' 'alsa-lib' 'dbus'' libconfig')
|
||||
makedepends=('scons' 'pyqt' 'python2')
|
||||
optdepends=('pyqt: mixer applet'
|
||||
'python: ffado-diag')
|
||||
provides=('ffado')
|
||||
source=("http://chakra-linux.org/sources/libffado/ffado.tar.xz")
|
||||
md5sums=('c890ca35115b2765bdc4fcba84020334')
|
||||
|
||||
_svntrunk=http://subversion.ffado.org/ffado/trunk/libffado
|
||||
_svnmod=libffado
|
||||
|
||||
build() {
|
||||
cd "$srcdir/ffado"
|
||||
|
||||
# python2 fix
|
||||
sed -i 's:python $SOURCE:python2 $SOURCE:' SConstruct
|
||||
sed -i 's:python support/tools:python2 support/tools:' \
|
||||
support/tools/SConscript
|
||||
|
||||
scons PREFIX=/usr ENABLE_OPTIMIZATIONS=yes
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/ffado"
|
||||
|
||||
scons DESTDIR="$pkgdir" WILL_DEAL_WITH_XDG_MYSELF="True" install
|
||||
|
||||
# add audio device rules
|
||||
install -Dm644 "$srcdir/ffado/libffado/60-ffado.rules" \
|
||||
"$pkgdir/lib/udev/rules.d/60-ffado.rules"
|
||||
|
||||
# python2 fix
|
||||
for i in $(grep '^#!.*bin.*python' -R "$pkgdir" | sed 's/:.*//'); do
|
||||
sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' "$i"
|
||||
done
|
||||
|
||||
# desktop files & icons
|
||||
install -Dm644 "$srcdir/ffado/support/xdg/ffado.org-ffadomixer.desktop" \
|
||||
"$pkgdir/usr/share/applications/ffadomixer.desktop"
|
||||
|
||||
install -Dm644 "$srcdir/ffado/support/xdg/hi64-apps-ffado.png" \
|
||||
"$pkgdir/usr/share/pixmaps/$pkgname.png"
|
||||
}
|
||||
|
45
libsigc++/PKGBUILD
Normal file
45
libsigc++/PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer: abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgbase=libsigc++
|
||||
pkgname=('libsigc++' 'libsigc++-docs')
|
||||
pkgver=2.2.10
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
url="http://libsigc.sourceforge.net/"
|
||||
source=("http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${pkgver}.tar.xz")
|
||||
makedepends=('gcc-libs>=4.5.0')
|
||||
options=(!libtool !emptydirs)
|
||||
sha256sums=('8ceb6f2732f5399ef50d5b70f433d49945a12e0900b8f9f43c135866a2e5bf47')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/libsigc++-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package_libsigc++() {
|
||||
pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2."
|
||||
depends=('gcc-libs')
|
||||
provides=("libsigc++2.0=${pkgver}")
|
||||
replaces=('libsigc++2.0')
|
||||
conflicts=('libsigc++2.0')
|
||||
|
||||
cd "${srcdir}/libsigc++-${pkgver}"
|
||||
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
package_libsigc++-docs() {
|
||||
pkgdesc="Developer documentation for libsigc++"
|
||||
provides=("libsigc++2.0-docs=${pkgver}")
|
||||
replaces=('libsigc++2.0-docs')
|
||||
conflicts=('libsigc++2.0-docs')
|
||||
|
||||
cd "${srcdir}/libsigc++-${pkgver}/docs"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -1,37 +0,0 @@
|
||||
# $Id: PKGBUILD 79722 2010-05-06 12:28:21Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
pkgbase=libsigc++2.0
|
||||
pkgname=('libsigc++2.0' 'libsigc++2.0-docs')
|
||||
pkgver=2.2.10
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
url="http://libsigc.sourceforge.net/"
|
||||
source=("http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${pkgver}.tar.xz")
|
||||
makedepends=('gcc-libs>=4.5.0')
|
||||
options=(!libtool !emptydirs)
|
||||
sha256sums=('8ceb6f2732f5399ef50d5b70f433d49945a12e0900b8f9f43c135866a2e5bf47')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/libsigc++-${pkgver}"
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package_libsigc++2.0() {
|
||||
pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2."
|
||||
depends=('gcc-libs>=4.5.0')
|
||||
cd "${srcdir}/libsigc++-${pkgver}"
|
||||
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
package_libsigc++2.0-docs() {
|
||||
pkgdesc="Developer documentation for libsigc++"
|
||||
cd "${srcdir}/libsigc++-${pkgver}/docs"
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in New Issue
Block a user