Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update lv2, switches to meson
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Apr 22, 2023
1 parent bb0588e commit 4f83858
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 25 deletions.
6 changes: 6 additions & 0 deletions sources/libs/lv2/debian/changelog
@@ -1,3 +1,9 @@
lv2 (6:1.18.10-1kxstudio1) focal; urgency=medium

* Update

-- falkTX <falktx@falktx.com> Sat, 22 Apr 2023 16:20:19 +0200

lv2 (6:1.18.4-1kxstudio3) focal; urgency=medium

* Update
Expand Down
11 changes: 9 additions & 2 deletions sources/libs/lv2/debian/control
Expand Up @@ -4,12 +4,19 @@ Priority: optional
Maintainer: falkTX <falktx@falktx.com>
Build-Depends: debhelper-compat (= 13),
kxstudio-build-scripts (>= 5),
python3,
meson,
pkg-config,
libsndfile-static (>= 6:1.1.0-2kxstudio3),
libsamplerate-static (>= 6:0.2.2-1kxstudio3),
libgtk2.0-dev,
lcov
black,
codespell,
flake8,
lcov,
pylint,
python3-rdflib,
serdi,
sordi
Standards-Version: 4.5.0
Homepage: http://lv2plug.in/
Rules-Requires-Root: no
Expand Down
1 change: 0 additions & 1 deletion sources/libs/lv2/debian/lv2-dev.install
@@ -1,4 +1,3 @@
usr/bin
usr/include
usr/lib
usr/share
25 changes: 3 additions & 22 deletions sources/libs/lv2/debian/rules
Expand Up @@ -2,33 +2,14 @@

include /usr/share/dpkg/kxstudio.mk

WAF = python3 ./waf

override_dh_auto_configure:
$(WAF) configure \
--prefix=/usr \
--mandir=/usr/share/man \
--strict \
--test

override_dh_auto_build:
$(WAF)

override_dh_auto_clean:
$(WAF) clean || true

override_dh_auto_install:
$(WAF) install --destdir=$(CURDIR)/debian/tmp

override_dh_auto_test:
$(WAF) test
dh_auto_configure -- -Ddocs=disabled -Dplugins=enabled -Dstrict=false -Dtests=disabled -Dlv2dir=/usr/lib/lv2
# NOTE -Dstrict=true fails under 20.04 base
# NOTE -Dtests=enabled fails under 20.04 base

override_dh_install:
dh_install
rm -rf debian/lv2-dev/usr/lib/lv2/eg*.lv2
# move .pc files to a multiarch directory
mkdir debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
mv debian/lv2-dev/usr/lib/pkgconfig debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig

%:
dh $@

0 comments on commit 4f83858

Please sign in to comment.