pkgname = "cdparanoia" pkgver = "10.2" pkgrel = 2 build_style = "gnu_configure" # messy build system make_dir = "." make_check_target = "test" hostmakedepends = ["pkgconf", "automake", "libtool"] makedepends = ["linux-headers"] pkgdesc = "CDDA reading utility with extra data verification features" license = "GPL-2.0-or-later AND LGPL-2.1-only" url = "https://www.xiph.org/paranoia" source = f"https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-{pkgver}.src.tgz" sha256 = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df" tool_flags = {"CFLAGS": ["-Du_int16_t=uint16_t", "-Du_int32_t=uint32_t"]} # missing target in some place? options = ["!check", "!parallel"] @subpackage("cdparanoia-libs") def _(self): # transitional self.provides = [self.with_pkgver("libcdparanoia")] return self.default_libs() @subpackage("cdparanoia-devel") def _(self): return self.default_devel()