[arch-commits] Commit in dosbox/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 6 23:15:34 UTC 2015


    Date: Monday, December 7, 2015 @ 00:15:33
  Author: foutrelis
Revision: 149350

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dosbox/repos/community-staging-i686/
  dosbox/repos/community-staging-i686/PKGBUILD
    (from rev 149348, dosbox/trunk/PKGBUILD)
  dosbox/repos/community-staging-i686/dosbox.png
    (from rev 149348, dosbox/trunk/dosbox.png)
  dosbox/repos/community-staging-i686/gcc46.patch
    (from rev 149348, dosbox/trunk/gcc46.patch)
  dosbox/repos/community-staging-x86_64/
  dosbox/repos/community-staging-x86_64/PKGBUILD
    (from rev 149348, dosbox/trunk/PKGBUILD)
  dosbox/repos/community-staging-x86_64/dosbox.png
    (from rev 149348, dosbox/trunk/dosbox.png)
  dosbox/repos/community-staging-x86_64/gcc46.patch
    (from rev 149348, dosbox/trunk/gcc46.patch)

--------------------------------------+
 community-staging-i686/PKGBUILD      |   54 +++++++++++++++++++++++++++++++++
 community-staging-i686/gcc46.patch   |   12 +++++++
 community-staging-x86_64/PKGBUILD    |   54 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/gcc46.patch |   12 +++++++
 4 files changed, 132 insertions(+)

Copied: dosbox/repos/community-staging-i686/PKGBUILD (from rev 149348, dosbox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 23:15:33 UTC (rev 149350)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=dosbox
+pkgver=0.74
+pkgrel=7
+pkgdesc='Emulator with builtin DOS for running DOS Games'
+arch=('i686' 'x86_64')
+url='http://dosbox.sourceforge.net/'
+license=('GPL')
+depends=('sdl_net' 'zlib' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'glu')
+makedepends=('mesa-libgl' 'gendesk')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+        dosbox.png
+        gcc46.patch)
+sha256sums=('13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05'
+            '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b'
+            'f4848d22982b47d1f123ff2c68493460e93aca593ea4a122d69d08625755359c')
+
+prepare() {
+  cd "$srcdir"
+
+  gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i "$srcdir/gcc46.patch"
+  sed -i 's/png_check_sig/png_sig_cmp/' configure 
+
+  ./configure   --prefix=/usr --sysconfdir=/etc/dosbox  
+  make 
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install 
+
+# install docs, make does not install them
+  install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+  install -Dm644 docs/README.video "$pkgdir"/usr/share/doc/$pkgname/README.video
+
+  install -Dm644 "$srcdir/$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+  install -Dm644 "$srcdir/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: dosbox/repos/community-staging-i686/dosbox.png (from rev 149348, dosbox/trunk/dosbox.png)
===================================================================
(Binary files differ)

Copied: dosbox/repos/community-staging-i686/gcc46.patch (from rev 149348, dosbox/trunk/gcc46.patch)
===================================================================
--- community-staging-i686/gcc46.patch	                        (rev 0)
+++ community-staging-i686/gcc46.patch	2015-12-06 23:15:33 UTC (rev 149350)
@@ -0,0 +1,12 @@
+diff -aur dosbox-0.74/include/dos_inc.h dosbox-0.74.new//include/dos_inc.h
+--- dosbox-0.74/include/dos_inc.h	2010-05-10 17:43:54.000000000 +0000
++++ dosbox-0.74.new//include/dos_inc.h	2011-06-17 20:42:43.982548979 +0000
+@@ -28,6 +28,8 @@
+ #include "mem.h"
+ #endif
+ 
++#include <stddef.h> //for offsetof
++
+ #ifdef _MSC_VER
+ #pragma pack (1)
+ #endif

Copied: dosbox/repos/community-staging-x86_64/PKGBUILD (from rev 149348, dosbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 23:15:33 UTC (rev 149350)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=dosbox
+pkgver=0.74
+pkgrel=7
+pkgdesc='Emulator with builtin DOS for running DOS Games'
+arch=('i686' 'x86_64')
+url='http://dosbox.sourceforge.net/'
+license=('GPL')
+depends=('sdl_net' 'zlib' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'glu')
+makedepends=('mesa-libgl' 'gendesk')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+        dosbox.png
+        gcc46.patch)
+sha256sums=('13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05'
+            '491c42d16fc5ef7ee2eca1b736f7801249d4ca8c0b236a001aec0d3e24504f3b'
+            'f4848d22982b47d1f123ff2c68493460e93aca593ea4a122d69d08625755359c')
+
+prepare() {
+  cd "$srcdir"
+
+  gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i "$srcdir/gcc46.patch"
+  sed -i 's/png_check_sig/png_sig_cmp/' configure 
+
+  ./configure   --prefix=/usr --sysconfdir=/etc/dosbox  
+  make 
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install 
+
+# install docs, make does not install them
+  install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+  install -Dm644 docs/README.video "$pkgdir"/usr/share/doc/$pkgname/README.video
+
+  install -Dm644 "$srcdir/$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+  install -Dm644 "$srcdir/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: dosbox/repos/community-staging-x86_64/dosbox.png (from rev 149348, dosbox/trunk/dosbox.png)
===================================================================
(Binary files differ)

Copied: dosbox/repos/community-staging-x86_64/gcc46.patch (from rev 149348, dosbox/trunk/gcc46.patch)
===================================================================
--- community-staging-x86_64/gcc46.patch	                        (rev 0)
+++ community-staging-x86_64/gcc46.patch	2015-12-06 23:15:33 UTC (rev 149350)
@@ -0,0 +1,12 @@
+diff -aur dosbox-0.74/include/dos_inc.h dosbox-0.74.new//include/dos_inc.h
+--- dosbox-0.74/include/dos_inc.h	2010-05-10 17:43:54.000000000 +0000
++++ dosbox-0.74.new//include/dos_inc.h	2011-06-17 20:42:43.982548979 +0000
+@@ -28,6 +28,8 @@
+ #include "mem.h"
+ #endif
+ 
++#include <stddef.h> //for offsetof
++
+ #ifdef _MSC_VER
+ #pragma pack (1)
+ #endif



More information about the arch-commits mailing list