mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Switch linux to SVG icon
I found that the icon used by DOSBox-X comes from https://www.vogons.org/viewtopic.php?p=79575#p79575 Which apart from Windows and Mac icons also included a SVG icon which is preferred on Linux, and looks nicer. So add the SVG icon and update 'make install' and make-rpm.sh to use it. The SVG icon is placed in contrib/icons p.s. I found that the tar operation in make-rpm.sh blindly assumes the directory containing the tree to be named "dosbox-x", instead of just the current directory, it effectively will tar ../dosbox-x even if your in, say, dosbox-x.clone to keep different trees apart... I did not change this for now, but it is something to watch out for.
This commit is contained in:
@@ -27,7 +27,7 @@ tar -cvJf "$tar" --exclude=\*.git --exclude=\*.tar.xz --exclude=\*.a --exclude=\
|
||||
cp -vf "$tar" ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf contrib/linux/dosbox-x.desktop ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf contrib/linux/dosbox-x.appdata.xml ~/rpmbuild/SOURCES/ || exit 1
|
||||
cp -vf src/dosbox.png ~/rpmbuild/SOURCES/dosbox-x.png || exit 1
|
||||
cp -vf contrib/icons/dosbox-x.svg ~/rpmbuild/SOURCES/ || exit 1
|
||||
rpmbuild -bb contrib/linux/dosbox-x.spec || exit 1
|
||||
rm -v "$tar" || exit 1
|
||||
mv -v ~/rpmbuild/RPMS/$arch/@PACKAGE_NAME@-*@PACKAGE_VERSION@*.rpm "$dir/" || exit 1
|
||||
|
Reference in New Issue
Block a user