12 changed files with 154 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||||
|
devilutionx (0.4.0) UNRELEASED; urgency=medium |
||||||
|
|
||||||
|
* Non-maintainer upload. |
||||||
|
|
||||||
|
-- Vítězslav Dvořák <info@vitexsoftware.cz> Fri, 28 Jun 2019 22:55:11 +0200 |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
Source: devilutionx |
||||||
|
Section: contrib/games |
||||||
|
Priority: optional |
||||||
|
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> |
||||||
|
Build-Depends: |
||||||
|
debhelper (>= 9), |
||||||
|
cmake, g++, libsdl2-mixer-dev, libsdl2-ttf-dev, libsodium-dev |
||||||
|
Standards-Version: 4.3.0 |
||||||
|
Homepage: https://github.com/diasurgical/devilutionX |
||||||
|
Vcs-Git: git://git@github.com:diasurgical/devilutionX.git |
||||||
|
Vcs-Browser: https://github.com/diasurgical/devilutionX.git |
||||||
|
|
||||||
|
Package: devilutionx |
||||||
|
Architecture: any |
||||||
|
Depends: |
||||||
|
${shlibs:Depends}, |
||||||
|
${misc:Depends}, |
||||||
|
devilutionx-data | diablo-data | game-data-packager (>= 40), |
||||||
|
Description: Diablo build for modern operating systems |
||||||
|
Diablo by Blizzard Entertainment is undoubtedly one of |
||||||
|
the best games of the 1990s |
||||||
|
|
||||||
|
Package: diablo-data |
||||||
|
Architecture: any |
||||||
|
Depends: |
||||||
|
${shlibs:Depends}, |
||||||
|
${misc:Depends}, |
||||||
|
devilutionx | diablo, |
||||||
|
Description: Diablo game data |
||||||
|
Copy diabdat.mpq from your CD, or GoG install folder |
||||||
|
|
||||||
@ -0,0 +1,31 @@ |
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
||||||
|
Upstream-Name: devilutionx |
||||||
|
Source: https://github.com/diasurgical/devilutionX |
||||||
|
|
||||||
|
Files: * |
||||||
|
Copyright: 2019 Devilutionx Authors |
||||||
|
License: Unlicense |
||||||
|
This is free and unencumbered software released into the public domain. |
||||||
|
. |
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or |
||||||
|
distribute this software, either in source code form or as a compiled |
||||||
|
binary, for any purpose, commercial or non-commercial, and by any |
||||||
|
means. |
||||||
|
. |
||||||
|
In jurisdictions that recognize copyright laws, the author or authors |
||||||
|
of this software dedicate any and all copyright interest in the |
||||||
|
software to the public domain. We make this dedication for the benefit |
||||||
|
of the public at large and to the detriment of our heirs and |
||||||
|
successors. We intend this dedication to be an overt act of |
||||||
|
relinquishment in perpetuity of all present and future rights to this |
||||||
|
software under copyright law. |
||||||
|
. |
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
||||||
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
||||||
|
OTHER DEALINGS IN THE SOFTWARE. |
||||||
|
. |
||||||
|
For more information, please refer to <http://unlicense.org> |
||||||
@ -0,0 +1,3 @@ |
|||||||
|
Packaging/fedora/devilutionx.desktop usr/share/applications/ |
||||||
|
obj-x86_64-linux-gnu/devilutionx usr/share/games/diablo |
||||||
|
Diablo.ico usr/share/pixmaps |
||||||
@ -0,0 +1,3 @@ |
|||||||
|
/usr/share/games/diablo/devilutionx /usr/games/devilutionx |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,44 @@ |
|||||||
|
#!/bin/sh |
||||||
|
# postinst script for diablo-data |
||||||
|
# |
||||||
|
# see: dh_installdeb(1) |
||||||
|
|
||||||
|
set -e |
||||||
|
|
||||||
|
# summary of how this script can be called: |
||||||
|
# * <postinst> `configure' <most-recently-configured-version> |
||||||
|
# * <old-postinst> `abort-upgrade' <new version> |
||||||
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
||||||
|
# <new-version> |
||||||
|
# * <postinst> `abort-remove' |
||||||
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
||||||
|
# <failed-install-package> <version> `removing' |
||||||
|
# <conflicting-package> <version> |
||||||
|
# for details, see http://www.debian.org/doc/debian-policy/ or |
||||||
|
# the debian-policy package |
||||||
|
|
||||||
|
# Source debconf library. |
||||||
|
. /usr/share/debconf/confmodule |
||||||
|
|
||||||
|
|
||||||
|
case "$1" in |
||||||
|
configure) |
||||||
|
|
||||||
|
test -f "/usr/share/games/diablo/diabdat.mpq" && chgrp games /usr/share/games/diablo/diabdat.mpq || true |
||||||
|
test -f "/usr/share/games/diablo/diabdat.mpq" && chmod g+wr /usr/share/games/diablo/diabdat.mpq || true |
||||||
|
|
||||||
|
;; |
||||||
|
|
||||||
|
abort-upgrade|abort-remove|abort-deconfigure) |
||||||
|
;; |
||||||
|
|
||||||
|
*) |
||||||
|
echo "postinst called with unknown argument \`$1'" >&2 |
||||||
|
exit 1 |
||||||
|
;; |
||||||
|
esac |
||||||
|
|
||||||
|
# dh_installdeb will replace this with shell code automatically |
||||||
|
# generated by other debhelper scripts. |
||||||
|
|
||||||
|
exit 0 |
||||||
@ -0,0 +1,29 @@ |
|||||||
|
#!/usr/bin/make -f |
||||||
|
# -*- makefile -*- |
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode. |
||||||
|
export DH_VERBOSE=1 |
||||||
|
export COMPILE_FLAGS="-O0" |
||||||
|
|
||||||
|
#export DH_VERBOSE = 1 |
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=-all |
||||||
|
export DEB_CFLAGS_MAINT_APPEND = -Wno-error |
||||||
|
export DEB_LDFLAGS_MAINT_APPEND = -Wno-error |
||||||
|
|
||||||
|
|
||||||
|
%: |
||||||
|
dh $@ --buildsystem=cmake |
||||||
|
|
||||||
|
#override_dh_auto_clean: |
||||||
|
# dh_auto_clean |
||||||
|
#override_dh_auto_configure: |
||||||
|
# dh_auto_configure -O--buildsystem=cmake -- -DDESTDIR=/usr/games -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
||||||
|
|
||||||
|
override_dh_auto_install: |
||||||
|
mkdir -p debian/devilutionx/usr/share/pixmaps/ |
||||||
|
mkdir -p debian/diablo-data/usr/share/games/diablo/ |
||||||
|
mkdir -p debian/diablo-data/usr/share/fonts/truetype |
||||||
|
test -f "../diabdat.mpq" && cp ../diabdat.mpq debian/diablo-data/usr/share/games/diablo/ || true |
||||||
|
test -f "../CharisSILB.ttf" && cp ../CharisSILB.ttf debian/diablo-data/usr/share/fonts/truetype || true |
||||||
|
cp -f Diablo.ico debian/devilutionx/usr/share/pixmaps/devilutionx.ico |
||||||
|
dh_auto_install |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
# no automatic test is possible |
||||||
|
devilutionx source: testsuite-autopkgtest-missing |
||||||
Loading…
Reference in new issue