milis/talimatname/genel/v/vice/talimat

56 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: VICE Commodore emülatörü
# URL: http://www.viceteam.org/
# Paketçi: milisarge
# Gerekler: gtk2 giflib lame libpng libjpeg-turbo xorg-libxdamage xorg-libsm vte xorg-libxxf86vm xorg-fontconfig xorg-font-util libpcap libnet sdl xmlto texi2html zlib
2018-07-26 09:58:53 +02:00
# Grup: oyun
2018-06-09 00:06:58 +02:00
isim=vice
surum=2.4
devir=2
kaynak=(http://downloads.sourceforge.net/project/vice-emu/releases/vice-$surum.tar.gz
vice-2.4-no-fc-cache.patch
vice-2.4-64bit.patch
vice-2.4-giflib.patch
vice-2.4-x11video.patch
vice-2.4-zlib-1.2.7.patch
vice-2.4-texi2html.patch
vice-2.4-vice.texi.patch
vice.desktop
icons.tar.gz
vice)
derle() {
cd vice-$surum
patch -p1 < $SRC/vice-2.4-no-fc-cache.patch || return
patch -p1 < $SRC/vice-2.4-64bit.patch || return
patch -p1 < $SRC/vice-2.4-giflib.patch || return
patch -p1 < $SRC/vice-2.4-x11video.patch || return
patch -p1 < $SRC/vice-2.4-zlib-1.2.7.patch || return
patch -p1 < $SRC/vice-2.4-vice.texi.patch || return
patch -p1 < $SRC/vice-2.4-texi2html.patch || exit
./configure \
--prefix=/usr \
--enable-ethernet \
--enable-fullscreen \
--disable-ffmpeg \
--with-sdlsound
make
mkdir -p $PKG/usr/bin
cp $SRC/vice $PKG/usr/bin
chmod a+x $PKG/usr/bin/vice
mkdir -p $PKG/usr/share/applications
cp $SRC/vice.desktop $PKG/usr/share/applications/
ICONSIZES="48 32 24 22 16"
for i in $ICONSIZES; do
mkdir -p $PKG/usr/share/icons/hicolor/$i\x$i/apps;
cp $SRC/$isim-$i.png $PKG/usr/share/icons/hicolor/$i\x$i/apps;
done;
cp $SRC/$isim.png $PKG/usr/share/applications/
make DESTDIR=$PKG install
}