X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=c45682033fa53335ec2c6607335210efdcca611c;hb=a1f7bf2d9e5610075fbd898cdf52f4f8373741f2;hp=17594701970869bd061c1f082cfdeb531c5607b0;hpb=28dbf4fd074d2046a3c8ddebac9a537a80fd457a;p=dcpomatic.git diff --git a/debian/rules b/debian/rules index 175947019..c45682033 100755 --- a/debian/rules +++ b/debian/rules @@ -10,18 +10,44 @@ #export DH_VERBOSE=1 %: - dh $@ + dh $@ override_dh_auto_configure: LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \ - ./waf --nocache configure --prefix=/usr --static --enable-debug + ./waf configure --prefix=/usr $(CDIST_CONFIGURE) override_dh_auto_build: - ./waf --nocache build + ./waf build override_dh_auto_install: - ./waf --nocache install --destdir=debian/dcpomatic + ./waf install --destdir=debian/dcpomatic + mkdir -p debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/ + cp -a /usr/share/locale/de/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/ + cp -a /usr/share/locale/es/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/ + cp -a /usr/share/locale/fr/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/ + cp -a /usr/share/locale/it/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/ + cp -a /usr/share/locale/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/ + cp -a /usr/share/locale/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/ + cp -a /usr/share/locale/pl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/ + cp -a /usr/share/locale/ru/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/dcpomatic2-wxstd.mo + cp -a $(CDIST_DIRECTORY)/src/openssl/apps/openssl debian/dcpomatic/usr/bin/dcpomatic2_openssl + mkdir -p debian/dcpomatic/usr/share/libdcp + cp -ar $(CDIST_DIRECTORY)/share/libdcp/xsd debian/dcpomatic/usr/share/libdcp .PHONY: override_dh_strip override_dh_strip: - dh_strip --dbg-package=dvdomatic-dbg + dh_strip $(CDIST_DEBUG_PACKAGE) + +override_dh_shlibdeps: + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + +override_dh_fixperms: + dh_fixperms --exclude usr/bin/dcpomatic2_uuid + dh_fixperms --exclude usr/bin/dcpomatic2_disk_writer