Files
Andreas Müller 9152b80f6c guitarix: upgrade 0.43.1 -> 0.44.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-05-07 14:44:13 +02:00

80 lines
1.8 KiB
BlitzBasic

SUMMARY = "A virtual guitar amplifier"
HOMEPAGE = "http://guitarix.org/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=384f45fb7968a0fe30622ce6160d3b69"
SRC_URI = " \
git://github.com/brummer10/guitarix.git;branch=master;protocol=https \
file://0001-Rework-messages-somehow-yes-or-no-is-missing.patch \
file://0002-Do-not-strip-LV2-plugins.patch \
file://0003-gx_system.h-Make-sure-we-have-a-working-g_atomic_int.patch \
"
SRCREV = "efccbd14afb5a85be142319b94be088b9cf1d5fd"
PV = "0.44.1"
S = "${WORKDIR}/git/trunk"
inherit waf pkgconfig fontcache gettext
DEPENDS += " \
gperf-native \
intltool-native \
sassc-native \
boost \
libeigen \
avahi \
gtkmm3 \
jack \
lilv \
ladspa-sdk \
libsndfile1 \
lrdf \
zita-resampler \
zita-convolver \
"
PACKAGECONFIG[bluez] = ",--no-bluez,bluez5"
EXTRA_OECONF = " \
--disable-sse \
--bindir=${bindir} \
--libdir=${libdir} \
--ldflags="${LDFLAGS}" \
--no-ldconfig \
--no-desktop-update \
--shared-lib \
--lib-dev \
--install-roboto-font \
--no-faust \
"
python waf_preconfigure() {
}
PATH:prepend = "${B}:"
do_configure:prepend() {
# link python -> python3
ln -sf `which python3` ${B}/python
}
do_compile:prepend() {
export STRIP=echo
}
do_install:append() {
# some corrections [dev-elf] - inspired by https://src.fedoraproject.org/rpms/guitarix/blob/master/f/guitarix.spec
chmod 755 ${D}${libdir}/libgxw*.so.0.1
rm -rf ${D}${libdir}/libgxw*.so
ln -sf libgxwmm.so.0.1 ${D}${libdir}/libgxwmm.so
ln -sf libgxw.so.0.1 ${D}${libdir}/libgxw.so
}
FILES:${PN} += " \
${datadir}/fonts \
${datadir}/metainfo \
${datadir}/gx_head \
${datadir}/ladspa \
${libdir}/ladspa \
${libdir}/lv2 \
"