Skip to content

Commit

Permalink
#3651 use dh_movefiles to split the modules into separate packages
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 18, 2022
1 parent 9005980 commit bd1e526
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
44 changes: 22 additions & 22 deletions packaging/debian/xpra/control
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,28 @@ Vcs-Git: https://github.com/Xpra-org/xpra
Vcs-Browser: https://github.com/Xpra-org/xpra


Package: xpra-codecs-nvidia
Architecture: any
Depends: xpra
,python3-pycuda
Recommends: libnvidia-encode1
,libnvjpeg
,libnvidia-fbc1 [amd64]
Description: the proprietary nvidia picture and video codecs
for the xpra server and client: nvfbc, nvjpeg and nvenc.


Package: xpra-codecs
Architecture: any
Depends: xpra
,${codecs:Depends}
Recommends: xpra-codecs-nvidia
Suggests: v4l2loopback-dkms
,python3-opencv
Description: the picture and video codecs
for the xpra server and client.


Package: xpra
Conflicts: python2-xpra, python3-xpra
Architecture: any
Expand Down Expand Up @@ -175,25 +197,3 @@ Recommends: gstreamer1.0-tools
# ^^ mp3 ^^
Description: the components required for xpra audio forwarding,
used by both client and servers.


Package: xpra-codecs
Architecture: any
Depends: xpra
,${codecs:Depends}
Recommends: xpra-codecs-nvidia
Suggests: v4l2loopback-dkms
,python3-opencv
Description: the picture and video codecs
for the xpra server and client.


Package: xpra-codecs-nvidia
Architecture: any
Depends: xpra
,python3-pycuda
Recommends: libnvidia-encode1
,libnvjpeg
,libnvidia-fbc1 [amd64]
Description: the proprietary nvidia picture and video codecs
for the xpra server and client: nvfbc, nvjpeg and nvenc.
4 changes: 4 additions & 0 deletions packaging/debian/xpra/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ override_dh_auto_build:
python3 -B setup.py build_ext $(BUILDOPTS) -j $(NPROC)
python3 -B setup.py build $(BUILDOPTS)

override_dh_install:
dh_movefiles
dh_install

override_dh_auto_install:
python3 -B setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb $(BUILDOPTS)

Expand Down
File renamed without changes.

0 comments on commit bd1e526

Please sign in to comment.