mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
build system & packaging: install & package sound files
This commit is contained in:
parent
68dd4a52dd
commit
3d839a818b
@ -328,7 +328,7 @@ UTF-8 with C++ in a Portable Way
|
||||
* License: custom (see `doc/licenses/utf8-cpp-custom.txt`)
|
||||
* URL: http://utfcpp.sourceforge.net/
|
||||
|
||||
## 5.9. Oxygen icons
|
||||
## 5.9. Oxygen icons and sound files
|
||||
|
||||
Most of the icons included in this package originate from the Oxygen
|
||||
Project. These include all files in the `share/icons` sub-directory
|
||||
@ -340,5 +340,8 @@ in the source code in the `icons/scalable` sub-directory. You can
|
||||
obtain the source code from the
|
||||
[MKVToolNix website](https://mkvtoolnix.download/).
|
||||
|
||||
All of the sound files in the `share/sounds` sub-directory originate
|
||||
from the Oxygen project.
|
||||
|
||||
* License: GNU Lesser General Public License v3 (see `doc/licenses/LGPL-3.0.txt`)
|
||||
* URL: https://techbase.kde.org/Projects/Oxygen
|
||||
|
7
Rakefile
7
Rakefile
@ -740,6 +740,13 @@ namespace :install do
|
||||
install_dir dest_dir
|
||||
install_data "#{dest_dir}/", FileList[ "#{dir}/*" ].to_a.select { |file| wanted_apps[ file.gsub(/.*\//, '') ] }
|
||||
end
|
||||
|
||||
if c?(:USE_QT)
|
||||
sounds_dir ="#{c(:pkgdatadir)}/sounds"
|
||||
|
||||
install_dir sounds_dir
|
||||
install_data sounds_dir, FileList["#{$top_srcdir}/share/sounds/*"]
|
||||
end
|
||||
end
|
||||
|
||||
man_page_name_mapper = lambda do |name|
|
||||
|
@ -4,3 +4,4 @@ usr/share/applications/*.desktop
|
||||
usr/share/icons/hicolor/*/apps/mkvtoolnix-gui.png
|
||||
usr/share/man/*/man1/mkvtoolnix-gui.1
|
||||
usr/share/man/man1/mkvtoolnix-gui.1
|
||||
usr/share/mkvtoolnix/sounds/*.ogg
|
||||
|
@ -124,6 +124,7 @@ strip ${RPM_BUILD_ROOT}/usr/bin/*
|
||||
%{_datadir}/man/pl
|
||||
%{_datadir}/man/uk
|
||||
%{_datadir}/man/zh_CN
|
||||
%{_datadir}/mkvtoolnix
|
||||
|
||||
%changelog -n mkvtoolnix
|
||||
* Sat Mar 25 2017 Moritz Bunkus <moritz@bunkus.org> 10.0.0-1
|
||||
|
BIN
share/sounds/finished-1.ogg
Normal file
BIN
share/sounds/finished-1.ogg
Normal file
Binary file not shown.
BIN
share/sounds/finished-2.ogg
Normal file
BIN
share/sounds/finished-2.ogg
Normal file
Binary file not shown.
BIN
share/sounds/finished-3.ogg
Normal file
BIN
share/sounds/finished-3.ogg
Normal file
Binary file not shown.
@ -255,6 +255,9 @@ function build_dmg {
|
||||
|
||||
strip ${dmgcnt}/MacOS/mkv{merge,info,info-gui,extract,propedit,toolnix-gui}
|
||||
|
||||
mv ${dmgmac}/mkvtoolnix/sounds ${dmgmac}/sounds
|
||||
rmdir ${dmgmac}/mkvtoolnix
|
||||
|
||||
cp README.md $dmgbase/README.txt
|
||||
cp COPYING $dmgbase/COPYING.txt
|
||||
cp NEWS.md $dmgbase/NEWS.txt
|
||||
|
@ -51,7 +51,7 @@ function create_directories {
|
||||
|
||||
cd ${tgt_dir}
|
||||
rm -rf *
|
||||
mkdir -p examples data doc/licenses locale/libqt
|
||||
mkdir -p examples data/sounds doc/licenses locale/libqt
|
||||
|
||||
print -- " done"
|
||||
}
|
||||
@ -68,6 +68,7 @@ function copy_files {
|
||||
cp share/icons/windows/mkvtoolnix-gui.ico ${tgt_dir}/installer/
|
||||
|
||||
cp ${mxe_usr_dir}/share/misc/magic.mgc ${tgt_dir}/data/
|
||||
cp share/sounds/* ${tgt_dir}/data/sounds/
|
||||
touch ${tgt_dir}/data/portable-app
|
||||
|
||||
cp README.md ${tgt_dir}/doc/README.txt
|
||||
|
Loading…
Reference in New Issue
Block a user