Use clideps to determine mono dependencies instead of the monolithic libmono-cil-dev.

This commit is contained in:
Taloth Saldono 2018-10-27 19:45:03 +02:00
parent c63186a798
commit 7cf4c6f655
3 changed files with 21 additions and 3 deletions

View File

@ -6,10 +6,15 @@ Homepage: https://sonarr.tv
Vcs-Git: git@github.com:Sonarr/Sonarr.git Vcs-Git: git@github.com:Sonarr/Sonarr.git
Vcs-Browser: https://github.com/Sonarr/Sonarr Vcs-Browser: https://github.com/Sonarr/Sonarr
Build-Depends: debhelper (>= 9), Build-Depends: debhelper (>= 9),
dh-systemd (>= 1.5) dh-systemd (>= 1.5),
mono-devel (>= 4.6),
libmono-cil-dev (>= 4.6),
cli-common-dev (>= 0.9)
Package: sonarr Package: sonarr
Architecture: all Architecture: all
Conflicts: nzbdrone Conflicts: nzbdrone
Depends: libmono-cil-dev (>= 4.6), sqlite3 (>= 3.7), mediainfo (>= 0.7.52) Depends: libsqlite3-0 (>= 3.7), libmediainfo0v5 (>= 0.7.52), ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends}
Recommends: sqlite3 (>= 3.7), mediainfo (>= 0.7.52), ${shlibs:Recommends}, ${cli:Recommends}, ${misc:Recommends}
Suggests: ${shlibs:Suggests}, ${cli:Suggests}, ${misc:Suggests}
Description: Internet PVR Description: Internet PVR

View File

@ -9,9 +9,20 @@
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
EXCLUDE_MODULEREFS = crypt32 httpapi ntdll api-ms-win-core-sysinfo-l1-1-0 api-ms-win-core-sysinfo-l1-2-0 \
libcurl3 msbuild
%: %:
dh $@ --with=systemd dh $@ --with=systemd --with=cli
# No init script, only systemd # No init script, only systemd
override_dh_installinit: override_dh_installinit:
true true
# Sonarr like debug symbols for logging
override_dh_clistrip:
override_dh_makeclilibs:
override_dh_clideps:
dh_clideps -d -r $(patsubst %,--exclude-moduleref=%,$(EXCLUDE_MODULEREFS))

View File

@ -0,0 +1,2 @@
recommends libcurl3
ignores msbuild