mirror of
https://github.com/libretro/stella2023.git
synced 2024-11-27 02:40:37 +00:00
Added PNG file, which is the standard icon format defined by
freedesktop.org. The XPM is still present, and is used for compiling directly into the application. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1331 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
2ff9f25576
commit
c399392dfe
@ -13,7 +13,7 @@
|
||||
## See the file "license" for information on usage and redistribution of
|
||||
## this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
##
|
||||
## $Id: Makefile,v 1.30 2006-12-20 20:36:25 stephena Exp $
|
||||
## $Id: Makefile,v 1.31 2007-07-25 13:07:15 stephena Exp $
|
||||
##
|
||||
## Based on code from ScummVM - Scumm Interpreter
|
||||
## Copyright (C) 2002-2004 The ScummVM project
|
||||
@ -179,9 +179,9 @@ install: all
|
||||
$(INSTALL) -d "$(DESTDIR)$(DATADIR)/icons"
|
||||
$(INSTALL) -d "$(DESTDIR)$(DATADIR)/icons/mini"
|
||||
$(INSTALL) -d "$(DESTDIR)$(DATADIR)/icons/large"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.xpm" "$(DESTDIR)$(DATADIR)/icons"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.xpm" "$(DESTDIR)$(DATADIR)/icons/mini"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.xpm" "$(DESTDIR)$(DATADIR)/icons/large"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.png" "$(DESTDIR)$(DATADIR)/icons"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.png" "$(DESTDIR)$(DATADIR)/icons/mini"
|
||||
$(INSTALL) -c -m 644 "$(srcdir)/src/common/stella.png" "$(DESTDIR)$(DATADIR)/icons/large"
|
||||
|
||||
install-strip: install
|
||||
strip stella$(EXEEXT)
|
||||
@ -190,9 +190,9 @@ uninstall:
|
||||
rm -f "$(DESTDIR)$(BINDIR)/stella$(EXEEXT)"
|
||||
rm -rf "$(DESTDIR)$(DOCDIR)/"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/applications/stella.desktop"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/stella.xpm"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/mini/stella.xpm"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/large/stella.xpm"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/stella.png"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/mini/stella.png"
|
||||
rm -f "$(DESTDIR)$(DATADIR)/icons/large/stella.png"
|
||||
|
||||
# Special rule for Win32 icon stuff (there's probably a better way to do this ...)
|
||||
src/win32/stella_icon.o: src/win32/stella.ico src/win32/stella.rc
|
||||
|
BIN
stella/src/common/stella.png
Normal file
BIN
stella/src/common/stella.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 284 B |
@ -3,7 +3,7 @@ Encoding=UTF-8
|
||||
Name=Stella
|
||||
Comment=A multi-platform Atari 2600 emulator
|
||||
Exec=stella
|
||||
Icon=stella.xpm
|
||||
Icon=stella.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Emulator;Game;
|
||||
|
@ -27,9 +27,7 @@ License: GPL
|
||||
URL: http://stella.sourceforge.net
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: MesaGLU-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: SDL-devel MesaGLU-devel zlib-devel
|
||||
|
||||
%description
|
||||
The Atari 2600 Video Computer System (VCS), introduced in 1977, was the most
|
||||
@ -90,7 +88,7 @@ make install-strip DESTDIR=%{buildroot}
|
||||
install -d -m0755 %{buildroot}%{_menudir}
|
||||
cat > %{buildroot}%{_menudir}/%{name} << EOF
|
||||
?package(%{name}): command="stella" \
|
||||
icon="stella.xpm" \
|
||||
icon="stella.png" \
|
||||
needs="x11" \
|
||||
title="Stella" \
|
||||
longtitle="A multi-platform Atari 2600 emulator" \
|
||||
@ -114,9 +112,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||
%{_menudir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%_docdir/stella/*
|
||||
%_datadir/icons/%{name}.xpm
|
||||
%_datadir/icons/mini/%{name}.xpm
|
||||
%_datadir/icons/large/%{name}.xpm
|
||||
%_datadir/icons/%{name}.png
|
||||
%_datadir/icons/mini/%{name}.png
|
||||
%_datadir/icons/large/%{name}.png
|
||||
|
||||
%changelog
|
||||
* Fri Dec 22 2006 Stephen Anthony <stephena@zarb.org> 2.3-1plf2007.0
|
||||
|
Loading…
Reference in New Issue
Block a user