1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/usr/bin/make -f
ifeq (,$(findstring terse,${DEB_BUILD_OPTIONS}))
export DH_VERBOSE=1
export V=1
export VERBOSE=1
endif
LC_ALL:=C
export LC_ALL
override_dh_clean:
dh_clean
rm -f FluidR3Mono_GM.sf3 tmp.sf2
icop:=Copyright (c) Frank Wen, Michael Cowgill, and others; see ICMT chunk or Debian fluidr3mono-gm-soundfont for entire terms and the MIT licence
ieng:=Mono version by Church Organist
override_dh_auto_build:
LC_ALL=C.UTF-8; export LC_ALL; set -- FluidR3Mono_GM*.SF2; \
fullname="$${1%2}3"; \
cmt=$$(sed '1,/^Licence:$$/d' debian/copyright | sed 1d; echo x); \
python3 debian/riffedit.py "$$1" tmp.sf2 \
-az 'LIST<INFO>/INAM' "$$fullname" \
-az 'LIST<INFO>/ICOP' '${icop}' \
-az 'LIST<INFO>/IENG' '${ieng}' \
-az 'LIST<INFO>/ICMT' "$${cmt%x}"
sf3convert -S 0 -q 0.8 -a -1 -z \
tmp.sf2 FluidR3Mono_GM.sf3
rm -f tmp.sf2
override_dh_installchangelogs:
dh_installchangelogs FluidR3MonoChangeLog.txt
override_dh_builddeb:
dh_builddeb -- --no-uniform-compression
%:
dh $@
|