diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-util/deutex |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/deutex')
-rw-r--r-- | games-util/deutex/Manifest | 8 | ||||
-rw-r--r-- | games-util/deutex/deutex-4.4.0.ebuild | 31 | ||||
-rw-r--r-- | games-util/deutex/files/deutex-4.4.0-64bit.patch | 13 | ||||
-rw-r--r-- | games-util/deutex/files/deutex-4.4.0-makefile.patch | 29 | ||||
-rw-r--r-- | games-util/deutex/files/deutex-4.4.0-ovflfix.patch | 11 | ||||
-rw-r--r-- | games-util/deutex/metadata.xml | 8 |
6 files changed, 100 insertions, 0 deletions
diff --git a/games-util/deutex/Manifest b/games-util/deutex/Manifest new file mode 100644 index 000000000000..037f0a380a12 --- /dev/null +++ b/games-util/deutex/Manifest @@ -0,0 +1,8 @@ +AUX deutex-4.4.0-64bit.patch 524 SHA256 5bf04877f1fa12695b260d535bc5dc4a318be9e74e13b52787eeec4a6abe687f SHA512 c9ea2a50e5f3fe0cedfd1fb2494a3d4ab11a0d2d4505a9bcbc262ae8934db29f15ec2342d45d812e582380f3831b5f825c293b8bedb529373a903ea0393e88cd WHIRLPOOL 691311d5861031120e35789753487f14ab64ecbc45332b46af7a8ccb973eb7a561d5c65a1059371a1d560cf77faca97424cc53870d249d6885a695f219ecd3f6 +AUX deutex-4.4.0-makefile.patch 621 SHA256 23051fb9f4d32c6b4961e6622a99c9ebb973cf9b14aa49493d7f2fd3c5343e6d SHA512 57872ee7c41f50db0d62385af10c1c27b6460050520c1403db075ea7e8b418000f2356f7db5b7393071708936e78728d5d23aea782dfa72a9ca355214f24fc6a WHIRLPOOL d8333b988e27eaf961a687cae23124e59144b328770fcad1a3b795211da8c45eb7f52e317e5d54d448164cb0c0a5aff04f2408b1c40e9324a011eb684fd16ef1 +AUX deutex-4.4.0-ovflfix.patch 695 SHA256 35908168be73896dd1bee1e21fcac96a61d24732cd96e79a1bd26b83e6949c37 SHA512 25e7930b422a565e732da80b183cb3270e7072ae77858319dde657c9439f0854c175f7fe93b4ca3627eda52b4e433a62369163537db396a1c8412c8678fc07e4 WHIRLPOOL ce297d85d6055cbf9d8e3266f0fcf79959f7fd9d2387793cdf9b01d79a2d17f36a4e608e3463fcdc322977d3ac5ac0d19d85704c02ee558b3681d381eab8a308 +DIST deutex-4.4.0.tar.gz 215945 SHA256 e87ff2984c6555f30408ee7aa4e6461aac6f1d3d0a1e21b4e12a797a057ba3b7 SHA512 fc9aaf399bc9d8ea812102decdf6b3c6d5f4c4a69e925e02fe0e75fa8dc9e54ad36afc352e83819ba13b9ae5dda90bb65c1856825c3ee17c7bd370909b866fb5 WHIRLPOOL c3e86d74a55a65ca0645e9a1ca9de9f580eee3176e5fdff889964b7e34cda2662a43cf1586829b50277bde6cd03584b8dbf38e5b56c4af3e7d7ee39f41257320 +EBUILD deutex-4.4.0.ebuild 646 SHA256 632420ce51c213231dfaf51dea2a139058cf794aafda13153233e0a0c994ed7f SHA512 b4f3396a0b5e6ee2c2adc6feccc6460f6bb27a6107212b1eb80451664a404dd7e0fa4ac6379d04e7e4cda32dfc3a36b296bababae8df49c66161147eec53fa6a WHIRLPOOL d86cf6ccb6e57545c86c4eb07d65e7ab04e25c72941c0ab7c3683dc43c8c28b8b6ebcdb2bf3e40b45505cba1702db76f769bc944e96839d729dc007b6d6e3f92 +MISC ChangeLog 2532 SHA256 33bd689a280469b693bb04ffe6005f81ce585642f8b4ef0e784a3ecf737c7172 SHA512 408ad1c7d4f7d339867d5ef2965fc022ca9f2feb09776cf2502f2a4d8746f377844cb08cad8f6ab3758911e8a6ce8ab107b640baa96463d89b4e623b0c90efea WHIRLPOOL 0fc3b09c4c19d64e50ef49d237d38bfe8ff369b63ed26b68d64153c56c1b10a6060621674dd49338b62d993298326e172fb39f3d054a45a307cb638d841daef9 +MISC ChangeLog-2015 1530 SHA256 50b75fc2c097e441fa00e571d2a7ac4179cfe360d5b4625dca2e1a975fb0b663 SHA512 9713e458af94bccb876642da50f4fc1d7dcc365d3d6a772fea68e8905e28a714b74235f76838d21d99ebf126eba24930213140af08ea7673e531d5e27dceffd6 WHIRLPOOL 176189ef50b557cee008bcf601b74308cafd643bfeb8ff4f36bd2694cc8a1ce5f5c6472310c3cb62c3a70e00b8a583321fc0bac76bc1238b25508d00d0468d2d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-util/deutex/deutex-4.4.0.ebuild b/games-util/deutex/deutex-4.4.0.ebuild new file mode 100644 index 000000000000..bad39df7b9b7 --- /dev/null +++ b/games-util/deutex/deutex-4.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs eutils + +DESCRIPTION="A wad composer for Doom, Heretic, Hexen and Strife" +HOMEPAGE="http://www.teaser.fr/~amajorel/deutex/" +SRC_URI="http://www.teaser.fr/~amajorel/deutex/${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+ HPND" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="" +DEPEND="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-64bit.patch \ + "${FILESDIR}"/${P}-ovflfix.patch + tc-export CC +} + +src_install() { + dobin deusf deutex + doman deutex.6 + dodoc CHANGES README TODO +} diff --git a/games-util/deutex/files/deutex-4.4.0-64bit.patch b/games-util/deutex/files/deutex-4.4.0-64bit.patch new file mode 100644 index 000000000000..b5028cd4ffbd --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-64bit.patch @@ -0,0 +1,13 @@ +diff --git a/src/deutex.h b/src/deutex.h +index 0a26df5..7af321c 100644 +--- a/src/deutex.h ++++ b/src/deutex.h +@@ -31,7 +31,7 @@ Place, Suite 330, Boston, MA 02111-1307, USA. + #define DeuSF for DOS .EXE Unix Linux OS/2 + *********************************************/ + +-#if defined (__alpha) /*__ALPHA__ for Alpha processor?*/ ++#if defined (__alpha) || defined (__x86_64__) /*__ALPHA__ for Alpha processor?*/ + /*long = int64 on a 64bit processor*/ + typedef char Int8; + typedef short Int16; diff --git a/games-util/deutex/files/deutex-4.4.0-makefile.patch b/games-util/deutex/files/deutex-4.4.0-makefile.patch new file mode 100644 index 000000000000..49265e14f3fb --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-makefile.patch @@ -0,0 +1,29 @@ +diff -ru deutex-4.4.0.orig/Makefile deutex-4.4.0/Makefile +--- deutex-4.4.0.orig/Makefile 1999-12-24 07:50:16.000000000 -0500 ++++ deutex-4.4.0/Makefile 2010-03-05 14:53:23.763604022 -0500 +@@ -16,11 +16,6 @@ + + PREFIX=/usr/local + +-# Compiled by users +-CFLAGS = -O2 +-CC = cc +-LDFLAGS = +- + # Compiled by developers + DCFLAGS = -g -Wall -Wpointer-arith -Wstrict-prototypes + DCC = gcc +@@ -182,11 +177,11 @@ + (sleep 1; mkdir -p tmp; touch tmp/_deusf) & + + tmp/_deutex: +- -mkdir tmp ++ @mkdir tmp 2> /dev/null || true + touch $@ + + tmp/_deusf: +- -mkdir tmp ++ @mkdir tmp 2> /dev/null || true + touch $@ + + install: diff --git a/games-util/deutex/files/deutex-4.4.0-ovflfix.patch b/games-util/deutex/files/deutex-4.4.0-ovflfix.patch new file mode 100644 index 000000000000..32a7dce0d97c --- /dev/null +++ b/games-util/deutex/files/deutex-4.4.0-ovflfix.patch @@ -0,0 +1,11 @@ +--- src/sound.c.old 2010-10-27 12:32:28.000000000 +0200 ++++ src/sound.c 2010-10-27 12:32:52.000000000 +0200 +@@ -309,7 +309,7 @@ + if(fread(&headv,sizeof(struct VOCHEAD),1,fp)!=1) ProgError("VOC: can't read header"); + if(strncmp(VocId,headv.ident,VOCIDLEN)!=0) ProgError("VOC: bad header"); + if(fseek(fp,headv.block1,SEEK_SET)) ProgError("VOC: bad header"); +- if(fread(&blockv,sizeof(struct VOCHEAD),1,fp)!=1) ProgError("VOC: can't read block"); ++ if(fread(&blockv,sizeof(struct VOCBLOCK1),1,fp)!=1) ProgError("VOC: can't read block"); + if(blockv.type!=1) ProgError("VOC: first block is not sound"); + datasize= ((blockv.sizeU)<<16)&0xFF0000L; + datasize+=((blockv.sizeM)<<8)&0xFF00L; diff --git a/games-util/deutex/metadata.xml b/games-util/deutex/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-util/deutex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |