[proaudio] linuxsampler-9999: fix linking with liblinuxsampler by pkg-config |
[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]
There is one great tool, currently linking directly to liblinuxsampler - carla. Unfortunally, placement of linuxsampler library is installed so, that it can't be found by 3rd party tools, linking with it using pkg-config.
Solution, used there is same as found in linuxsampler package from kxstudio ppa.
I made repot with proposal to move linuxsampler libs directly to standard library path, as most other packages do (jack, gtk, sndfile, etc), but it is unknown, how soon my reports will be even read. |
# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=( python{3_2,3_3} ) inherit git-2 python-r1 DESCRIPTION="Audio plugin host and sampler" HOMEPAGE="https://github.com/falkTX/Carla" EGIT_REPO_URI="git://github.com/falkTX/Carla.git" EGIT_BRANCH="stable" LICENSE="GPL-2 LGPL-2" SLOT="0" KEYWORDS="" IUSE="+plugin samplers rtaudio vestige +rdflib control lv2_gtk2 lv2_gtk3 lv2_qt5 extra_plugins" DEPEND=" dev-python/PyQt4[${PYTHON_USEDEP}] media-libs/liblo samplers? ( media-sound/linuxsampler media-sound/fluidsynth ) rdflib? ( dev-python/rdflib[${PYTHON_USEDEP}] ) control? ( media-libs/pyliblo[${PYTHON_USEDEP}] ) lv2_gtk2? ( x11-libs/gtk+:2 ) lv2_gtk3? ( x11-libs/gtk+:3 ) lv2_qt5? ( dev-qt/qtgui:5 ) extra_plugins? ( virtual/opengl x11-libs/ntk media-libs/libsmf media-libs/libsndfile || ( media-video/ffmpeg media-video/libav ) >=sci-libs/fftw-3 dev-libs/mini-xml sys-libs/zlib )" RDEPEND="${DEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" src_compile () { make || die } src_install () { make install \ $(usex plugin CARLA_PLUGIN_SUPPORT=true CARLA_PLUGIN_SUPPORT=false) \ $(usex samplers CARLA_SAMPLERS_SUPPORT=true CARLA_SAMPLERS_SUPPORT=false) \ $(usex rtaudio CARLA_RTAUDIO_SUPPORT=true CARLA_RTAUDIO_SUPPORT=false) \ $(usex vestige CARLA_VESTIGE_HEADER=true CARLA_VESTIGE_HEADER=false) \ $(usex lv2_gtk2 "" HAVE_GTK2=false) \ $(usex lv2_gtk3 "" HAVE_GTK3=false) \ $(usex lv2_qt5 "" HAVE_QT5=false) \ PREFIX="/usr" DESTDIR="$D" || die }
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |