ports/contrib (3.4): dreamchess: Initial import
commit 5c25f50b153fda031a148a52296e1cd84ec07461 Author: Predrag Ivanović <predivan@mts.rs> Date: Thu Nov 29 16:21:07 2018 +0100 dreamchess: Initial import diff --git a/dreamchess/.footprint b/dreamchess/.footprint new file mode 100644 index 00000000..91c68d61 --- /dev/null +++ b/dreamchess/.footprint @@ -0,0 +1,120 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/dreamchess +-rwxr-xr-x root/root usr/bin/dreamer +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/dreamchess.desktop +drwxr-xr-x root/root usr/share/dreamchess/ +-rw-r--r-- root/root usr/share/dreamchess/DreamChess.icns +drwxr-xr-x root/root usr/share/dreamchess/boards/ +drwxr-xr-x root/root usr/share/dreamchess/boards/classic/ +-rw-r--r-- root/root usr/share/dreamchess/boards/classic/board.dcm +-rw-r--r-- root/root usr/share/dreamchess/boards/classic/board.png +drwxr-xr-x root/root usr/share/dreamchess/boards/elements/ +-rw-r--r-- root/root usr/share/dreamchess/boards/elements/board.dcm +-rw-r--r-- root/root usr/share/dreamchess/boards/elements/board.png +drwxr-xr-x root/root usr/share/dreamchess/boards/flat/ +-rw-r--r-- root/root usr/share/dreamchess/boards/flat/board.dcm +-rw-r--r-- root/root usr/share/dreamchess/boards/flat/board.png +drwxr-xr-x root/root usr/share/dreamchess/boards/sketch/ +-rw-r--r-- root/root usr/share/dreamchess/boards/sketch/board.dcm +-rw-r--r-- root/root usr/share/dreamchess/boards/sketch/board.png +-rw-r--r-- root/root usr/share/dreamchess/font.png +-rw-r--r-- root/root usr/share/dreamchess/font.wid +-rw-r--r-- root/root usr/share/dreamchess/menu_title.png +drwxr-xr-x root/root usr/share/dreamchess/pieces/ +drwxr-xr-x root/root usr/share/dreamchess/pieces/classic/ +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/bishop.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/black.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/king.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/knight.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/pawn.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/queen.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/rook.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/selector.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/set.cfg +-rw-r--r-- root/root usr/share/dreamchess/pieces/classic/white.png +drwxr-xr-x root/root usr/share/dreamchess/pieces/elements/ +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/bishop.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/black.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/king.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/knight.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/pawn.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/queen.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/rook.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/selector.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/set.cfg +-rw-r--r-- root/root usr/share/dreamchess/pieces/elements/white.png +drwxr-xr-x root/root usr/share/dreamchess/pieces/figurine/ +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/bishop_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/bishop_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/flat.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/king_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/king_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/knight_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/knight_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/pawn_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/pawn_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/queen_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/queen_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/rook_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/rook_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/selector.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/figurine/set.cfg +drwxr-xr-x root/root usr/share/dreamchess/pieces/sketch/ +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/bishop_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/bishop_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/flat.dcm +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/king_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/king_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/knight_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/knight_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/pawn_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/pawn_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/queen_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/queen_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/rook_b.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/rook_w.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/selector.png +-rw-r--r-- root/root usr/share/dreamchess/pieces/sketch/set.cfg +drwxr-xr-x root/root usr/share/dreamchess/sounds/ +-rw-r--r-- root/root usr/share/dreamchess/sounds/move1.wav +drwxr-xr-x root/root usr/share/dreamchess/styles/ +drwxr-xr-x root/root usr/share/dreamchess/styles/default/ +-rw-r--r-- root/root usr/share/dreamchess/styles/default/backdrop.png +-rw-r--r-- root/root usr/share/dreamchess/styles/default/border.png +-rw-r--r-- root/root usr/share/dreamchess/styles/default/mouse_cursor.png +-rw-r--r-- root/root usr/share/dreamchess/styles/default/pieces.png +drwxr-xr-x root/root usr/share/dreamchess/styles/elements/ +-rw-r--r-- root/root usr/share/dreamchess/styles/elements/backdrop.png +-rw-r--r-- root/root usr/share/dreamchess/styles/elements/border.png +-rw-r--r-- root/root usr/share/dreamchess/styles/elements/mouse_cursor.png +-rw-r--r-- root/root usr/share/dreamchess/styles/elements/pieces.png +drwxr-xr-x root/root usr/share/dreamchess/styles/flat/ +-rw-r--r-- root/root usr/share/dreamchess/styles/flat/backdrop.png +-rw-r--r-- root/root usr/share/dreamchess/styles/flat/border.png +-rw-r--r-- root/root usr/share/dreamchess/styles/flat/mouse_cursor.png +-rw-r--r-- root/root usr/share/dreamchess/styles/flat/pieces.png +drwxr-xr-x root/root usr/share/dreamchess/styles/sketch/ +-rw-r--r-- root/root usr/share/dreamchess/styles/sketch/backdrop.png +-rw-r--r-- root/root usr/share/dreamchess/styles/sketch/border.png +-rw-r--r-- root/root usr/share/dreamchess/styles/sketch/mouse_cursor.png +-rw-r--r-- root/root usr/share/dreamchess/styles/sketch/pieces.png +drwxr-xr-x root/root usr/share/dreamchess/themes/ +-rw-r--r-- root/root usr/share/dreamchess/themes/default.xml +-rw-r--r-- root/root usr/share/dreamchess/themes/elements.xml +-rw-r--r-- root/root usr/share/dreamchess/themes/metal.xml +-rw-r--r-- root/root usr/share/dreamchess/themes/sketch.xml +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/256x256/ +drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/dreamchess.png +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/dreamchess.png +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man6/ +-rw-r--r-- root/root usr/share/man/man6/dreamchess.6.gz +-rw-r--r-- root/root usr/share/man/man6/dreamer.6.gz diff --git a/dreamchess/.signature b/dreamchess/.signature new file mode 100644 index 00000000..5c1bc936 --- /dev/null +++ b/dreamchess/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38leqpFG2Eky0uRlgm1B+5Ntz760I+8Rp7HpB/xJJHJsaTgWiPXkcvurTygnxlluw00xmJutato9V25Pq6WVRQw= +SHA256 (Pkgfile) = 0fec5b04c68adfbc96e96e40a3993937f53d43bdfd5ad5c36777430818bdca0e +SHA256 (.footprint) = e2d1b81989461fe7a3d3645120aecf5cd5f8397fca5859453a0f6710b5dcfd76 +SHA256 (dreamchess-0.3.0.tar.bz2) = b697755fd9eedc26abf5dd1684bf88089e9f95d654cf91a058469521f8c9c964 diff --git a/dreamchess/Pkgfile b/dreamchess/Pkgfile new file mode 100644 index 00000000..c8df7666 --- /dev/null +++ b/dreamchess/Pkgfile @@ -0,0 +1,21 @@ +# Description: OpenGL chess game +# URL: https://github.com/dreamchess/dreamchess +# Maintainer: Pedja, predivan at mts do rs +# Depends on: glew hicolor-icon-theme pugixml sdl2_image sdl2_mixer + +name=dreamchess +version=0.3.0 +release=1 +source=(https://bitbucket.org/predivan/distfiles/downloads/$name-$version.tar.bz2) + +build() { + cd $name-$version + mkdir build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release ../ + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/doc +} diff --git a/dreamchess/post-install b/dreamchess/post-install new file mode 100755 index 00000000..a3f244cf --- /dev/null +++ b/dreamchess/post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +update-mime-database /usr/share/mime +update-desktop-database -q /usr/share/applications +gtk-update-icon-cache /usr/share/icons/hicolor/
participants (1)
-
crux@crux.nu