diff --git a/recipes-musicians/zrythm/ztoolkit.bb b/recipes-musicians/zrythm/ztoolkit.bb new file mode 100644 index 0000000..33388f7 --- /dev/null +++ b/recipes-musicians/zrythm/ztoolkit.bb @@ -0,0 +1,25 @@ +SUMMARY = "ZToolkit (Ztk) is a cross-platform GUI toolkit" +HOMEPAGE = "https://www.zrythm.org/" +LICENSE = "AGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=eb1e647870add0502f8f010b19de32af" + +inherit meson gettext features_check + +REQUIRED_DISTRO_FEATURE = "x11" + +SRC_URI = " \ + git://git.zrythm.org/git/ztoolkit;protocol=https \ + file://0001-Remove-tests-from-builds-they-cause-linker-errors.patch \ +" +SRCREV = "be7370d0926c5d676a32b9742b6e33c879a25f3b" +PV = "0.1.1" +S = "${WORKDIR}/git" + + +DEPENDS = " \ + virtual/libx11 \ + cairo \ +" + +PACKAGECONFIG ??= "rsvg" +PACKAGECONFIG[rsvg] = "-Denable_rsvg=true,-Denable_rsvg=false,librsvg" diff --git a/recipes-musicians/zrythm/ztoolkit/0001-Remove-tests-from-builds-they-cause-linker-errors.patch b/recipes-musicians/zrythm/ztoolkit/0001-Remove-tests-from-builds-they-cause-linker-errors.patch new file mode 100644 index 0000000..bd12cf8 --- /dev/null +++ b/recipes-musicians/zrythm/ztoolkit/0001-Remove-tests-from-builds-they-cause-linker-errors.patch @@ -0,0 +1,30 @@ +From 9d2b855ee283487134aff459e1f885f9838fd375 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Tue, 14 Apr 2020 23:59:35 +0200 +Subject: [PATCH] Remove tests from builds - they cause linker errors +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstrem-Status: Pending + +Signed-off-by: Andreas Müller +--- + meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 24d9351..6b9e62e 100644 +--- a/meson.build ++++ b/meson.build +@@ -169,7 +169,6 @@ add_project_arguments ( + subdir('pugl') + subdir('inc') + subdir('src') +-subdir('tests') + + # this is so that it can be used as a meson + # subproject +-- +2.21.1 +