-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-bash %configure \
- --disable-silent-rules \
- --with-card-theme-formats=svg,fixed,pysol%{?with_qt:,kde,native} \
- --with-kde-card-theme-path=%{_datadir}/apps/carddecks \
- --with-pysol-card-theme-path=%{_datadir}/pysol \
- --with-guile="3.0"
-%{__make} -j1
+%{__meson} build \
+ -Dtheme_kde=false \
+ %{?with_qt:-Dtheme_svg_qtsvg=true -Dtheme_kde=true -Dtheme_kde_path=%{_datadir}/apps/carddecks} \
+ -Dtheme_pysol=true \
+ -Dtheme_pysol_path=%{_datadir}/pysol \
+ -Dprefix=/usr \
+ -Dbuildtype=debugoptimized
+
+cd build
+%{ninja_build}