summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-12-26 03:16:51 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-12-26 03:16:51 -0500
commit3a305391820d81b08732656ccb9ede8d7cbf7d33 (patch)
treed2a75578873520f73429076b9cd953289d6f85b4 /pcr
parent7df93a1daafd173f4ecbfe11b6b7e4daef59d806 (diff)
downloadabslibre-3a305391820d81b08732656ccb9ede8d7cbf7d33.tar.gz
abslibre-3a305391820d81b08732656ccb9ede8d7cbf7d33.tar.bz2
abslibre-3a305391820d81b08732656ccb9ede8d7cbf7d33.zip
Removing nexuiz: This package is in [community] repo
Diffstat (limited to 'pcr')
-rw-r--r--pcr/nexuiz/PKGBUILD75
-rw-r--r--pcr/nexuiz/libpng14.patch39
-rw-r--r--pcr/nexuiz/nexuiz-glx.desktop11
-rw-r--r--pcr/nexuiz/nexuiz-sdl.desktop11
4 files changed, 0 insertions, 136 deletions
diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD
deleted file mode 100644
index d0303c4b1..000000000
--- a/pcr/nexuiz/PKGBUILD
+++ /dev/null
@@ -1,75 +0,0 @@
-# Maintainer (AUR): Ainola
-# Contributor (Arch): Sven-Hendrik Haase
-# Contributor (Arch): Xyne
-# Contributor (Arch): Rick Chen (stuffcorpse)
-# Contributor (Arch): Jaroslaw Swierczynski
-# Contributor (Arch): Roman Kyrylych
-# Contributor (Arch): Camille Moncelier
-
-# parabola changes and rationale:
-# - added missing makedepends: mesa
-
-pkgname=nexuiz
-pkgver=2.5.2
-pkgrel=5
-arch=('i686' 'x86_64' 'armv7h')
-pkgdesc="Free Fast-paced multiplayer first-person shooter."
-url="http://www.alientrap.org/nexuiz/"
-license=("GPL")
-depends=('alsa-lib' 'libjpeg>=8' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'hicolor-icon-theme' 'sdl')
-conflicts=('nexuiz-data')
-provides=('nexuiz-data')
-makedepends=('mesa')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver//./}.zip" \
- "nexuiz-glx.desktop" "nexuiz-sdl.desktop" \
- "libpng14.patch" "nex-icons.tar.gz")
-sha256sums=('a5e27ebcc9775c4a490d0d3536c32e4a8f8f96b038c0b6a78d1823c37a962000'
- 'bdeeb0a8eec23122311c8a574dd9a8c8616d352daa285b34b74fac17fb5d5031'
- 'bc1827a1677b48d20edc6d297cf465f0c8d511fc3ca829c63946042222d2aee0'
- '327c45a56faa1963fa08a590694fd0c23bed448282f9473c2d483447df9a6e1f'
- '25e478b783bb7f8cff04b7c3e538a82e8ab852d72930277e83d00777d2a7186e')
-# Prevent compressing final package
-PKGEXT='.pkg.tar'
-
-build(){
- cd "${srcdir}/Nexuiz"
- bsdtar -x -f "sources/enginesource20091001.zip"
- cd darkplaces
- patch -Np1 -i "${srcdir}/libpng14.patch"
-
- # Build the binaries separately instead to avoid truncated files
- make CPUOPTIMIZATIONS="$CFLAGS" DP_FS_BASEDIR=/usr/share/nexuiz/ DP_LINK_TO_LIBJPEG=1 cl-nexuiz
- make CPUOPTIMIZATIONS="$CFLAGS" DP_FS_BASEDIR=/usr/share/nexuiz/ DP_LINK_TO_LIBJPEG=1 sdl-nexuiz
- make CPUOPTIMIZATIONS="$CFLAGS" DP_FS_BASEDIR=/usr/share/nexuiz/ DP_LINK_TO_LIBJPEG=1 sv-nexuiz
-}
-
-package(){
- install -Dm755 "Nexuiz/darkplaces/nexuiz-dedicated" "${pkgdir}/usr/bin/nexuiz-dedicated"
- install -Dm755 "Nexuiz/darkplaces/nexuiz-glx" "${pkgdir}/usr/bin/nexuiz-glx"
- install -Dm755 "Nexuiz/darkplaces/nexuiz-sdl" "${pkgdir}/usr/bin/nexuiz-sdl"
- install -Dm644 "${srcdir}/"*.desktop -t "${pkgdir}/usr/share/applications"
-
- # Documentation
- install -dm755 "${pkgdir}/usr/share/doc/nexuiz/"
- mv "${srcdir}/Nexuiz/Docs/"* "${pkgdir}/usr/share/doc/nexuiz/"
- find "${pkgdir}/usr/share/doc/nexuiz" -type d -exec chmod 755 {} \;
- find "${pkgdir}/usr/share/doc/nexuiz" -type f -exec chmod 644 {} \;
-
- # Game Data
- install -dm755 "${pkgdir}/usr/share/nexuiz"
- for dir in data havoc server; do
- mv "${srcdir}/Nexuiz/${dir}" "${pkgdir}/usr/share/nexuiz/"
- find "${pkgdir}/usr/share/nexuiz/${dir}" -type d -exec chmod 755 {} \;
- find "${pkgdir}/usr/share/nexuiz/${dir}" -type f -exec chmod 644 {} \;
- done
-
- # Remove unneeded cruft
- find "${pkgdir}/usr/share/nexuiz/server" -name "*_windows.bat" -exec rm {} \;
- find "${pkgdir}/usr/share/nexuiz/server" -name "*_mac.sh" -exec rm {} \;
-
- # Icons
- for size in 16 22 24 32 48 64 128 256 512; do
- install -Dm644 "${srcdir}/nex${size}.png" \
- "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/nexuiz.png"
- done
-}
diff --git a/pcr/nexuiz/libpng14.patch b/pcr/nexuiz/libpng14.patch
deleted file mode 100644
index d6ce5ea76..000000000
--- a/pcr/nexuiz/libpng14.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Nur darkplaces.old/image_png.c darkplaces/image_png.c
---- darkplaces.old/image_png.c 2009-09-15 06:08:02.000000000 +0300
-+++ darkplaces/image_png.c 2010-01-28 01:23:24.000000000 +0200
-@@ -36,7 +36,7 @@
- static void* (*qpng_create_info_struct) (void*);
- static void (*qpng_read_info) (void*, void*);
- static void (*qpng_set_expand) (void*);
--static void (*qpng_set_gray_1_2_4_to_8) (void*);
-+static void (*qpng_set_expand_gray_1_2_4_to_8) (void*);
- static void (*qpng_set_palette_to_rgb) (void*);
- static void (*qpng_set_tRNS_to_alpha) (void*);
- static void (*qpng_set_gray_to_rgb) (void*);
-@@ -61,7 +61,7 @@
- {"png_create_info_struct", (void **) &qpng_create_info_struct},
- {"png_read_info", (void **) &qpng_read_info},
- {"png_set_expand", (void **) &qpng_set_expand},
-- {"png_set_gray_1_2_4_to_8", (void **) &qpng_set_gray_1_2_4_to_8},
-+ {"png_set_expand_gray_1_2_4_to_8", (void **) &qpng_set_expand_gray_1_2_4_to_8},
- {"png_set_palette_to_rgb", (void **) &qpng_set_palette_to_rgb},
- {"png_set_tRNS_to_alpha", (void **) &qpng_set_tRNS_to_alpha},
- {"png_set_gray_to_rgb", (void **) &qpng_set_gray_to_rgb},
-@@ -110,7 +110,7 @@
- #elif defined(MACOSX)
- "libpng12.0.dylib",
- #else
-- "libpng12.so.0",
-+ "libpng14.so.0",
- "libpng.so", // FreeBSD
- #endif
- NULL
-@@ -311,7 +311,7 @@
- {
- qpng_set_gray_to_rgb(png);
- if (my_png.BitDepth < 8)
-- qpng_set_gray_1_2_4_to_8(png);
-+ qpng_set_expand_gray_1_2_4_to_8(png);
- }
-
- if (qpng_get_valid(png, pnginfo, PNG_INFO_tRNS))
diff --git a/pcr/nexuiz/nexuiz-glx.desktop b/pcr/nexuiz/nexuiz-glx.desktop
deleted file mode 100644
index 8808c16db..000000000
--- a/pcr/nexuiz/nexuiz-glx.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=2.5
-Encoding=UTF-8
-Name=Nexuiz (GLX)
-Comment=a free open-source first person shooter
-Icon=/usr/share/pixmaps/nexuiz.png
-Exec=/usr/bin/nexuiz-glx
-Terminal=false
-StartupNotify=false
-Categories=Game;
diff --git a/pcr/nexuiz/nexuiz-sdl.desktop b/pcr/nexuiz/nexuiz-sdl.desktop
deleted file mode 100644
index 019970e61..000000000
--- a/pcr/nexuiz/nexuiz-sdl.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=2.5
-Encoding=UTF-8
-Name=Nexuiz (SDL)
-Comment=a free open-source first person shooter
-Icon=/usr/share/pixmaps/nexuiz.png
-Exec=/usr/bin/nexuiz-sdl
-Terminal=false
-StartupNotify=false
-Categories=Game;