X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=2a2a536395abd19cffff1ab2523156a5b47fa7c4;hb=b615895de5aa6421a983591d85aef7e135170b6d;hp=de52c1d23af09401a1f6cc63581af3a460bb4d0f;hpb=8dbaf398617620b44ca7e01966b879e1b5c98d35;p=dcpomatic.git diff --git a/debian/rules b/debian/rules index de52c1d23..2a2a53639 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 --target-debian --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 + cp -a $(CDIST_DIRECTORY)/src/libdcp/build/tools/dcpverify debian/dcpomatic/usr/bin/dcpomatic2_verify + cp -ar $(CDIST_DIRECTORY)/share/libdcp debian/dcpomatic/usr/share .PHONY: override_dh_strip override_dh_strip: - dh_strip + dh_strip $(CDIST_DEBUG_PACKAGE) + +override_dh_shlibdeps: + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + +override_dh_fixperms: + dh_fixperms + chmod 4755 debian/dcpomatic/usr/bin/dcpomatic2_disk_writer