Skip to content

Commit

Permalink
csc_cython is the only option for some bit depths
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 27, 2024
1 parent 0556828 commit b89ed18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packaging/debian/xpra/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all

NPROC := $(shell nproc 2> /dev/null || echo 1)

BUILDOPTS := $(EXTRA_BUILDOPTS) --without-csc_cython
BUILDOPTS := $(EXTRA_BUILDOPTS)

%:
dh $@ --with python3 --with systemd --without=build-stamp
Expand Down
1 change: 1 addition & 0 deletions packaging/debian/xpra/xpra-codecs.files
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ usr/lib/python3*/*/xpra/codecs/spng
usr/lib/python3*/*/xpra/codecs/v4l2
usr/lib/python3*/*/xpra/codecs/vpx
usr/lib/python3*/*/xpra/codecs/webp
usr/lib/python3*/*/xpra/codecs/csc_cython
5 changes: 3 additions & 2 deletions packaging/rpm/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ autoprov: no
%endif

%define CFLAGS -O2
%define DEFAULT_BUILD_ARGS --with-Xdummy --without-Xdummy_wrapper --without-csc_cython --without-evdi --without-cuda_rebuild
%define DEFAULT_BUILD_ARGS --with-Xdummy --without-Xdummy_wrapper --without-evdi --without-cuda_rebuild
%if 0%{?fedora}>=39
%global debug_package %{nil}
%endif
%if 0%{?el10}
%global debug_package %{nil}
%define DEFAULT_BUILD_ARGS --with-Xdummy --without-Xdummy_wrapper --without-csc_cython --without-evdi --without-cuda_rebuild --without-docs
%define DEFAULT_BUILD_ARGS --with-Xdummy --without-Xdummy_wrapper --without-evdi --without-cuda_rebuild --without-docs
%endif

%global gnome_shell_extension input-source-manager@xpra_org
Expand Down Expand Up @@ -647,6 +647,7 @@ rm -rf $RPM_BUILD_ROOT
%{python3_sitearch}/xpra/x11/

%files -n %{package_prefix}-codecs
%{python3_sitearch}/xpra/codecs/csc_cython
%{python3_sitearch}/xpra/codecs/drm
#/xpra/codecs/evdi
%{python3_sitearch}/xpra/codecs/jpeg
Expand Down

0 comments on commit b89ed18

Please sign in to comment.