talimat 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Description: VICE Commodore emülatörü
  2. # URL: http://www.viceteam.org/
  3. # Packager: milisarge
  4. # Depends on: gtk2 giflib lame libpng libjpeg-turbo xorg-libxdamage xorg-libsm vte xorg-libxxf86vm xorg-fontconfig xorg-font-util libpcap libnet sdl dialog xmlto texi2html zlib
  5. name=vice
  6. version=2.4
  7. release=2
  8. source=(http://downloads.sourceforge.net/project/vice-emu/releases/vice-$version.tar.gz
  9. vice-2.4-no-fc-cache.patch
  10. vice-2.4-64bit.patch
  11. vice-2.4-giflib.patch
  12. vice-2.4-x11video.patch
  13. vice-2.4-zlib-1.2.7.patch
  14. vice-2.4-texi2html.patch
  15. vice-2.4-vice.texi.patch
  16. vice.desktop
  17. icons.tar.gz
  18. vice)
  19. build() {
  20. cd vice-$version
  21. patch -p1 < $SRC/vice-2.4-no-fc-cache.patch || return
  22. patch -p1 < $SRC/vice-2.4-64bit.patch || return
  23. patch -p1 < $SRC/vice-2.4-giflib.patch || return
  24. patch -p1 < $SRC/vice-2.4-x11video.patch || return
  25. patch -p1 < $SRC/vice-2.4-zlib-1.2.7.patch || return
  26. patch -p1 < $SRC/vice-2.4-vice.texi.patch || return
  27. patch -p1 < $SRC/vice-2.4-texi2html.patch || exit
  28. ./configure \
  29. --prefix=/usr \
  30. --enable-ethernet \
  31. --enable-fullscreen \
  32. --disable-ffmpeg \
  33. --with-sdlsound
  34. make
  35. mkdir -p $PKG/usr/bin
  36. cp $SRC/vice $PKG/usr/bin
  37. chmod a+x $PKG/usr/bin/vice
  38. mkdir -p $PKG/usr/share/applications
  39. cp $SRC/vice.desktop $PKG/usr/share/applications/
  40. ICONSIZES="48 32 24 22 16"
  41. for i in $ICONSIZES; do
  42. mkdir -p $PKG/usr/share/icons/hicolor/$i\x$i/apps;
  43. cp $SRC/$name-$i.png $PKG/usr/share/icons/hicolor/$i\x$i/apps;
  44. done;
  45. cp $SRC/$name.png $PKG/usr/share/applications/
  46. make DESTDIR=$PKG install
  47. }