wok view libffado/receipt @ rev 25782

Fix miss depends/bdepends for ffado-mixer
author Stanislas Leduc <shann@slitaz.org>
date Mon Sep 23 19:24:03 2024 +0200 (8 weeks ago)
parents 0d41479b7e7f
children 48cd9a3a2474
line source
1 # SliTaz package receipt.
3 PACKAGE="libffado"
4 VERSION="2.4.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="Driver for FireWire audio devices."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.ffado.org/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
13 DEPENDS="libraw1394 libconfig libxml3++ libiec61883"
14 BUILD_DEPENDS="scons dbus-python3-dev Py3Qt-x11-gpl sip3 \
15 dbus-dev gcc83 dbus-c++-dev libraw1394-dev libconfig-dev \
16 alsa-lib-dev libiec61883-dev libxml3++-dev xdg-utils \
17 jack-audio-connection-kit-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 case "$ARCH" in
23 i?86)
24 arch=i386 ;;
25 x86_64)
26 arch=x86_64 ;;
27 esac
29 export CC=gcc-83 CXX=g++-83
30 # Disable CXX11_ABI, ensure work with glib that build without gcc83
31 # see https://github.com/Beep6581/RawTherapee/issues/3024
32 export CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0"
34 site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
36 scons \
37 CUSTOM_ENV=True \
38 DIST_TARGET=$arch \
39 DETECT_USERSPACE_ENV=False \
40 PREFIX=/usr \
41 PYPKGDIR=$site_packages \
42 PYTHON_INTERPRETER=/usr/bin/python3 \
43 DEBUG=no
45 scons DESTDIR=$install install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 }