Added some packages from [games-testing]: 'eduke32', 'eduke32-dukeplus' and 'eduke32-hrp'.

This commit is contained in:
chaves 2011-01-09 02:59:33 +00:00
parent c72800292a
commit 7e56495323
8 changed files with 272 additions and 0 deletions

37
eduke32-dukeplus/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <daniele.cocca@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=eduke32-dukeplus
pkgver=2.15b
pkgrel=1
pkgdesc="An EDuke32 mod providing optional enhancements like new options and effects."
arch=('any')
url="http://deeperthought.dukertcm.com/dp/"
license=('GPL')
depends=('eduke32>=20090313')
makedepends=('unrar')
source=( http://deeperthought.dukertcm.com/dp/DukePlus.rar \
${pkgname}.sh 'eduke32-dukeplus.desktop')
md5sums=('e459058b8bc20c3ad417b0c5c1e20903'
'578dc25020e24fdf532f563df1f9aec8'
'9f32d5cf1062e061f42566f614f86b70')
build() {
unrar x -o+ -inul DukePlus.rar || return 1
# sed '/dp.cfg/d' -i DukePlus/dpcons/DUKEPLUS.CON
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/share/eduke32"
cp -r DukePlus "${pkgdir}/usr/share/eduke32/"
find "${pkgdir}" -type f -exec chmod 644 {} \;
install -Dm 755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=EDuke32-DukePlus
Exec=eduke32-dukeplus
Icon=eduke32
Type=Application
Comment=Advanced Duke Nukem 3D engine
Categories=Game;ActionGame;

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/bin/eduke32 -game_dir /usr/share/eduke32/DukePlus "$@"

View File

@ -0,0 +1,125 @@
Some textures in this pack are based on source textures copyrighted by
CGTextures.com. Permission to use and distribute these specific textures has
been granted to the author(s) of this texture pack. Textures downloaded from
CGTextures.com are copyrighted and may NOT be redistributed or sold.
This disclaimer applies to the following textures:
- highres\sprites\props: 585
- highres\sprites\signs: 4420, 4949, 4955
- highres\textures: 1120
Full CGTextures license follows:
-----------------------------------
This document is a license agreement ("License") by CGTextures between the user ("You") and CGTextures.
Use of the photographs on the CGTextures website is conditional upon the your agreement to the terms and
conditions of purchase set out below. If you do not agree to these terms, then you must not accept the
terms hereof or purchase, download, access or otherwise use any products from CGTextures.
CGTextures may revise and update this Agreement at anytime and without notice. Your continued use of the
website after any such changes are posted will constitute your acceptance of these changes.
License
CGTextures offers photographs of materials ("Textures") on its website (www.cgtextures.com) for game
developers, special effects artists, graphic designers and other professions. No payment or royalties
are required to use these Textures. The use of Textures is non-exclusive, royalty free, and you have
the right to modify them for the uses permitted under the clause Conditions of Use. Most Textures on
the CGTextures website are photographed by CGTextures. A small part is photographed by third party
contributors ("Contributors"). CGTextures has separate agreements with these Contributors in which
they grant CGTextures permission to add their Textures to the website. All terms and conditions in
this License apply to both groups of Textures. All Textures and materials remain in ownership of
CGTextures or the Contributor and the Textures and materials are licensed to you, not sold.
Intellectual Property
All materials including the organization and presentation of these materials on the CGTextures website
are the property of CGTextures or its Contributors and are protected by intellectual property laws.
Some images contain graphic materials like wallpaper patterns, logos, names or signs. The use of these
kind of images is at your own discretion. The rights for the photo lie with CGTextures and the photo has
been taken in a public space, but using the patterns, logos or name in your work might not be allowed.
Conditions of Use
Use of the Textures is only allowed under one or more of the following conditions:
- Private or commercial use
- Use in 2D or 3D computer graphics, movies and printed media
- Incorporation in computer games, 3D models
- Selling 3D models bundled with modified versions of the textures, when the texture is customized for the 3D model
It is NOT permitted to:
- Sell or distribute any of these textures in an unmodified form, or where the derived product you are
selling or distributing is a Texture or a collection of Textures. In other words: Do not sell or distribute
any of these textures (modified or not) by itself or in a texture pack!
- Interfere with the security or otherwise abuse, disrupt, place excessive loads on, or attempt to gain
unauthorized access to the CGTextures website or any system resources or networks connected to this website.
- Stockpile images with the goal of making a local copy of all textures on the site.
- Using a special program (spider, leecher) or script to automatically download all Textures on the CGTextures
website. Users who try to mass download will be banned from the website automatically.
Selling or Redistributing 3D Models textured with images from CGTextures
When selling or redistributing a 3D model bundled with textures from CGTextures please add the following text
in the documentation accompanying the model:
"One or more textures on this 3D model have been created with images from CGTextures.com. These images may not
be redistributed by default, please visit www.cgtextures.com for more information."
Stockpiling Images
CGTextures is meant as a 'download when you need it' resource. Downloading complete categories with the goal
of making a local copy of the texture collection is not allowed.
Memberships
The amount of Textures you can download from the CGTextures website is restricted to 15 MB every 24 hours.
By purchasing a Membership you are granted a higher download quota. At this moment Memberships are available
on request, please email support@cgtextures.com for more information.
Privacy
CGTextures respects the privacy of the personal information of the individuals with whom we interact.
CGTextures does not disclose personal information of our members or those individuals who visit our website.
No newsletters or offers will be sent to you without your prior consent. Any information submitted by the
buyer will be used solely for the purpose of completing the transaction, delivering the product and addressing
any customer service issues.
We use third-party advertising companies (Google Adsense) to serve ads when you visit our website. These
companies may use information (not including personally identifying information such as your name, address,
email address, or telephone number) about your visits to this and other websites in order to provide
advertisements about goods and services of interest to you. For more information about this subject
(including on how to "Opt-Out" on advertising cookies) please visit this link: Google Advertsing and Privacy page
Limitation of Liability
You assume all responsibility and risk for the use of the CGTextures website, the Textures, materials and
information. CGTextures does not represent or warrant that the site or any content available for downloading
through the site will be free of viruses or similar contaminations of destructive features.
In no event shall CGTextures or any of its affiliates, employees or Contributors be liable for any incidental,
indirect, punitive, exemplary or consequential damages whatsoever, including damages for loss of profits,
interruption, loss of business information, loss of data, or any other pecuniary loss in connection with any
claim, loss, action, suit, damage or other proceeding arising under or out of this License, including without
limitation your use of, reliance upon, access to or exploitation of the CGTextures website, the materials or
any part thereof, or any rights granted to you hereunder, even if we have been advised of the possibility of
such damaged, wheter the action is based on contract, tort (including negligence), infringement of intellectual
property rights or otherwise.
Indemnification
You agree to indemnify and hold CGTextures harmless against all claims or liability asserted against CGTextures
arising out of or in connection with any breach by you or anyone acting on your behalf of any of this License
General
This License shall be governed by and construed in accordance with the laws of The Netherlands, without regards
to conflict of laws provisions thereto. The parties consent to the exclusive jurisdiction of the courts of, and
venue and situs in The Netherlands.
Email
Feel free to email any questions regarding this license or any other questions about CGTextures to
support@cgtextures.com. Correspondence can be in English or Dutch.

48
eduke32-hrp/PKGBUILD Normal file
View File

@ -0,0 +1,48 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <daniele.cocca@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=eduke32-hrp
pkgver=4.1.1
pkgrel=1
pkgdesc="High-resolution textures, 3D models and OGG Vorbis soundtrack for EDuke32"
arch=('any')
url="http://hrp.duke4.net/"
license=('custom:HRP Art' 'custom:CGTextures')
depends=('eduke32>=20081121')
conflicts=('duke3d-hrp')
source=("http://www.duke4.org/files/hrp/dn3d_hrp-4.0(321).zip" \
"http://www.duke4.org/files/nightfright/eduke32_mus.zip" \
"CGTextures.license" \
"http://www.duke4.org/files/nightfright/xxx_lite.zip" \
"http://www.duke4.org/files/nightfright/hrp_update.zip" \
"http://www.duke4.org/files/nightfright/maphacks.zip")
noextract=(xxx_lite.zip eduke32_mus.zip hrp_update.zip maphacks.zip)
md5sums=('01ec2c1d9be94bcb556c910814f2b85f'
'2b6fd9c1b69fc5f6e895b27bf6b02cd1'
'82167693ec2467aa5fa5c418a4a5f207'
'66d04e5bfc77ac3e11414951f113cb33'
'd773c6c19cec58b63428fd3807fba10a'
'ad29ec947e8931ff8e7db07913cd3a71')
build() {
msg "Extracting additional included zip files..."
bsdtar -x -f autoload/duke3d.grp/duke3d_hrp.zip || return 1
bsdtar -x -f eduke32_mus.zip || return 1
bsdtar -x -f xxx_lite.zip || return 1
bsdtar -x -f maphacks.zip || return 1
bsdtar -x -f hrp_update.zip || return 1
mkdir -p "${pkgdir}"/usr/share/eduke32
cp -rf *.def *.mhk highres/ "${pkgdir}"/usr/share/eduke32/
find "$pkgdir" -type f -exec chmod 644 {} \;
install -Dm644 hrp_art_license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/hrp_art_license.txt
install -m644 CGTextures.license "${pkgdir}"/usr/share/licenses/${pkgname}/
}

45
eduke32/PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <daniele.cocca@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=eduke32
# This is probably breaking every packaging rule there is.
_pkgdate=20100705
_pkgsvnnum=1671
pkgver=${_pkgdate}.${_pkgsvnnum}
pkgrel=2
pkgdesc='An advanced port of the classic FPS "Duke Nukem 3D" by 3D Realms'
arch=('i686' 'x86_64')
url="http://eduke32.com/"
license=('GPL' 'custom:BUILDLIC')
depends=('sdl_mixer' 'gtk2' 'libvorbis' 'timidity++')
optdepends=('eduke32-hrp' 'eduke32-dukeplus')
makedepends=('nasm')
source=(http://dukeworld.duke4.net/${pkgname}/synthesis/${_pkgdate}-${_pkgsvnnum}/${pkgname}_src_${_pkgdate}-${_pkgsvnnum}.tar.bz2
${pkgname}.png
${pkgname}.desktop)
md5sums=('a23eb30e9f30c3d7eb8a0718c90258f5'
'bc189b860c8562e10f01e0faed909089'
'a7273a79d30de8f3ee2e1df2441ed856')
build() {
cd "${srcdir}/${pkgname}_${_pkgdate}-${_pkgsvnnum}"
# Compile
make debug="${CXXFLAGS}"
}
package() {
cd "${srcdir}/${pkgname}_${_pkgdate}-${_pkgsvnnum}"
# Install bin, license, icon and desktop files
install -d "${pkgdir}/usr/bin"
install -m 755 {eduke,mapster}32 "${pkgdir}/usr/bin/"
install -Dm 644 buildlic.txt "${pkgdir}/usr/share/licenses/${pkgname}/BUILDLIC"
install -Dm 644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}

7
eduke32/eduke32.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=EDuke32
Exec=eduke32
Icon=eduke32
Type=Application
Comment=Advanced Duke Nukem 3D engine
Categories=Game;ActionGame;

BIN
eduke32/eduke32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB