Added debian_maemo to build the maemo package
authorPaolo Iommarini <sakya_tg@yahoo.it>
Sun, 17 Feb 2013 12:39:48 +0000 (13:39 +0100)
committerPaolo Iommarini <sakya_tg@yahoo.it>
Sun, 17 Feb 2013 12:39:48 +0000 (13:39 +0100)
debian_maemo/buildpkg [new file with mode: 0644]
debian_maemo/changelog [new file with mode: 0644]
debian_maemo/compat [new file with mode: 0644]
debian_maemo/control [new file with mode: 0644]
debian_maemo/copyright [new file with mode: 0644]
debian_maemo/dirs [new file with mode: 0644]
debian_maemo/docs [new file with mode: 0644]
debian_maemo/files [new file with mode: 0644]
debian_maemo/install [new file with mode: 0644]
debian_maemo/rules [new file with mode: 0644]

diff --git a/debian_maemo/buildpkg b/debian_maemo/buildpkg
new file mode 100644 (file)
index 0000000..4c34f94
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash -e
+
+NAME=`head debian/changelog -n1 | sed -n 's/^\(.*\) (\(.*\)) .*/\1-\2/p'`
+[[ -z $NAME ]] && { echo "Could not extract package name and version from debian/changelog" 2>&1; exit 1; }
+
+rm -rf ../$NAME
+cp -r ../`basename $PWD` ../$NAME
+cd ../$NAME
+rm -rf .git*
+find . -depth -name .svn -type d -exec rm -r {} \;
+find . -name '*~' -exec rm {} \;
+
+LD_LIBRARY_PATH=/usr/lib dpkg-buildpackage -rfakeroot $*
diff --git a/debian_maemo/changelog b/debian_maemo/changelog
new file mode 100644 (file)
index 0000000..e3395de
--- /dev/null
@@ -0,0 +1,112 @@
+pcsxrearmed (0.4.0.14.13) unstable; urgency=low
+
+   * Updated source to notaz git version
+
+ -- sakya <sakya_tg@yahoo.it>  Fri,  15 Feb 2013 12:50:28 +0200
+
+pcsxrearmed (0.4.0.14.12) unstable; urgency=low
+
+   * Fixed a problem with controller and vibration (Gran Turismo 2, Wipeout 3)
+   * Added dependency to libts
+
+ -- sakya <sakya_tg@yahoo.it>  Wed,  16 May 2012 17:09:33 +0200
+
+pcsxrearmed (0.4.0.14.11) unstable; urgency=low
+
+   * Added option -guncon and -gunnotrigger to activate guncon controller type
+
+ -- sakya <sakya_tg@yahoo.it>  Wed,  16 May 2012 09:37:12 +0200
+
+pcsxrearmed (0.4.0.14.10) unstable; urgency=low
+
+   * Added option -corners to set action to execute when clicking on display corners
+   * Fixed problem with notification using gles plugin
+   * Fixed controller problem with game "Heart Of Darkness" (maybe others?)
+
+ -- sakya <sakya_tg@yahoo.it>  Fri, 11 May 2012 16:38:29 +0200
+
+pcsxrearmed (0.4.0.14.9) unstable; urgency=low
+
+   * Added support to .mdf extension
+   * Added option -vibration to activate vibration
+
+ -- sakya <sakya_tg@yahoo.it>  Tue,  1 May 2012 12:19:49 +0200
+
+pcsxrearmed (0.4.0.14.8) unstable; urgency=low
+
+  * Added option -disc to set the initial disc in multi discs images (used when loading a savestate with -load)
+  * Added option -autosave
+  * Fixed disc change for multi discs images (PBP)
+  * Merged commits from Notaz git
+    * drc: inv: fix ram ofset and mirror handling
+    * support emulated RAM mapped at offset
+
+ -- sakya <sakya_tg@yahoo.it>  Fri,  20 Apr 2012 20:27:19 +0200
+
+pcsxrearmed (0.4.0.14.7) unstable; urgency=low
+
+  * Fixed -displayon
+
+ -- sakya <sakya_tg@yahoo.it>  Sun,  15 Apr 2012 17:22:08 +0200
+
+pcsxrearmed (0.4.0.14.6) unstable; urgency=low
+
+  * Added option -keys to set the keys config file
+  * Fixed L1/L2/R1/R2
+  * Added autopause on incoming call
+
+ -- sakya <sakya_tg@yahoo.it>  Wed,  13 Apr 2012 12:51:35 +0200
+
+pcsxrearmed (0.4.0.14.5) unstable; urgency=low
+
+  * Fixed accelerometer using gles
+  * Added -analog option to use the accelerometer as the analog pad
+  * Added options to set accelerometer sens, max value, y_def
+  * Added -displayon option to keep the display on (useful when playing using the accelerometer)
+
+ -- sakya <sakya_tg@yahoo.it>  Tue,  10 Apr 2012 15:34:11 +0200
+
+pcsxrearmed (0.4.0.14.4) unstable; urgency=low
+
+  * Fixed -load option
+  * Added disc change (configured a new key)
+
+ -- sakya <sakya_tg@yahoo.it>  Fri,  06 Apr 2012 13:54:56 +0200
+
+pcsxrearmed (0.4.0.14.3) unstable; urgency=low
+
+  * Added options to set various gles settings
+  * Fixed save state slot selection
+  * Added notification on save state slot change
+
+ -- sakya <sakya_tg@yahoo.it>  Wed,  04 Apr 2012 10:20:18 +0200
+
+pcsxrearmed (0.4.0.14.2) unstable; urgency=low
+
+  * Fixed fullscreen using gpu-gles
+  * Fixed crash when saving savestate using gpu-gles
+  * Added options to set spu reverb and interpolation (disabled by default)
+
+ -- sakya <sakya_tg@yahoo.it>  Sun,  01 Apr 2012 11:42:20 +0200
+
+pcsxrearmed (0.4.0.14.1) unstable; urgency=low
+
+  * Added option to set psx region (NTSC/PAL/Auto)
+  * Use PulseAudio (better audio)
+
+ -- sakya <sakya_tg@yahoo.it>  Wed,  30 Mar 2012 09:44:51 +0200
+
+pcsxrearmed (0.4.0.14) unstable; urgency=low
+
+  * Updated to r14
+  * Added --help
+  * PCSX4All
+
+ -- sakya <sakya_tg@yahoo.it>  Sun,  27 Dec 2011 00:02:27 +0200
+
+pcsxrearmed (0.4.0.12.2) unstable; urgency=low
+
+  * gpu-gles
+
+
+ -- Bonapart <bonapart@programist.ru>  Sun,  27 Dec 2011 00:02:27 +0200
diff --git a/debian_maemo/compat b/debian_maemo/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian_maemo/control b/debian_maemo/control
new file mode 100644 (file)
index 0000000..4469ed8
--- /dev/null
@@ -0,0 +1,115 @@
+Source: pcsxrearmed
+Section: user/games
+Priority: extra
+Maintainer: Bonapart <bonapart@programist.ru>
+Build-Depends: debhelper (>= 5), zlib1g-dev, libhildon1-dev,  libpulse-dev, libasound2-dev, libbz2-dev, libgles1-sgx-img-dev, opengles-sgx-img-common-dev, libosso-dev, libdbus-1-dev, libhildonfm2-dev, libts-dev
+Standards-Version: 3.7.3
+
+Package: pcsxrearmed
+Architecture: armel
+Depends: ${shlibs:Depends}, libts-0.0-0
+Description: Sony PlayStation emulator
+XSBC-Homepage: http://notaz.gp2x.de/pcsx_rearmed.php
+XSBC-Bugtracker: http://notaz.gp2x.de/pcsx_rearmed.php
+XB-Maemo-Display-Name: PCSX-ReArmed
+XB-Maemo-Icon-26:
+ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c
+ 6QAAEStJREFUaN7Fmn+wXVV1xz9r733uufe+e9+DJIRESEICEQghAUQBI8Uo
+ ik7jrxm1o+3ooB2RkWrtONqZlhn7Y8bRUVudqVZsoTjFH2CrSKsVEFIQIr8C
+ JARC0CDkBwkkIcl7L7n3nLP36h97n3Pvo07/7c2cOfeenB9rr/Vd3/Vd6zxh
+ 7DM52b9isj+5YcGC+a9bunTpOVNTU91WK5Msy1ECIgYRMGKxzmGtQQBrHSZ9
+ R8C5DOcc1hiMtTjrsM4hAtZYWq1W/H9nyZzDZVk6x9LKWmSteH2rlZNlLhw/
+ fnzXszt3fmHjxo13bH74oReBwbbtO6r0ODht5UpnfXXdytOXX+mswVcl1hqc
+ swjgQ0BV8T7gfSCEQFBQFFQJqqhquptpHCJiMGIQKxhjsdZircMai8kczibj
+ XUaWZdi0d1lGlrVwmdN2nsvypUtZvmwpw7LY8dSTT37yX264/sGgOrNl67ZS
+ AFavPudTF5y76u9fOniQZ3/7PLPHjuG9Z8wSJO7QeAABVIW0DFAFBEVANF0j
+ AGh9XBWV9L3eRFAx6dr6XFDiMWMNy049VS9Yu4o/et+7xBj78u5duz78lS9/
+ 8U6UoZx59lnZ2StXbMP7lT+7cyNFUWCsbQwmyLhTo1EiydvpSFogIpiIMQST
+ zhOMMSAmnmcMIhYxgogFYxBjEYnnYOIWn2OjA4IiRjhj+TL98uc/K5X3W7Zs
+ 2fKBf/72Pz5tZmdmz5jodJZtfeppyqqK+LQx3EYtpm0wRChYazBWMCYaasRg
+ TFwAUu/TsgyIiecytkAxBjG1sTZuzfe4GIwDk4Gx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s8
+ Qz3XTBBibpvYxLSBgI4aljpx0Yb3m1eHiaHGtZ8I5O0cUMqy9KaqyuPe+4OL
+ Fy4kc07rmzH2kDjqCOnBPr4F0YCGufuAJwSPBo+G6hVbOlc9IV2j9bWEdN8k
+ F9SPYEZgjH5oOdHFCxcwHBb7q6oqzNGj00cOHjz05No1q1lw4qSoD801UlfC
+ Bn5a3yfOMTUWn7gF8CkR/4+NEFknfq/vXz9z9LwRtBI0gxK8Z+H8E2XtmtXs
+ 3bv38enp6VlzbHb25W3bnnhANQzeseFtKBWVL0bYk9jU61jySTP1Do2XGsrT
+ MOa5sU1HXZXq+LFRtyK11yXMmciB4qsCoeRd73w7RVEc37x586YjR44ctsba
+ 7NChQ3m73T7ltRe+Zumac1ax9Yltenx6RsSmF26M6aRxlkpo1zQASEgevQTU
+ MRgSKTJomHMMJb7pb/7RRDbWBk91/DiTUxN6zVUfkWVLlnDvvffed//99/8Y
+ +I0VkWCtMc/s2DHw3i9at+71C996+Xrp9Sd01/O7ZHD8GASP+gpClfbxt097
+ rY/7ilAlvPt4bHwLVUmo4n1COten65rzqmL0PXgmum3eueEK/ciH/lBOmJrU
+ 2267bevtt9/+XeBRYJ8Att3OT6oqf6b3/pJ58+a96ROf+MRFZ5115sTk5JTp
+ 93vSzttYF//OwaU/2siyLPatiSqNiXI8TjhoeoIRe0gjr4MGqjI6oKoqyqKk
+ KAqGxRBf+TQIGFKWJbMzszozOxt27tw5e9111z1w4MCBO4H7gKeBlwWg3c5b
+ 3of5VVWtUNVzgfMvvvji80477bQFS5Ys6VprTd301IaNG2iMaWBR9wKNwa/Y
+ 69j8sqoqQhpeeR8Nr+V22sKePXuO7969+6WHHnroseT1x4GdwCGgbFzU7XSy
+ wXDYDyGcDKwAlgOLgUmgzf/PZwgcAV4Ank2G7wemgRLgfwDIFWZCNtkwCgAA
+ AABJRU5ErkJggg==
diff --git a/debian_maemo/copyright b/debian_maemo/copyright
new file mode 100644 (file)
index 0000000..75a6b06
--- /dev/null
@@ -0,0 +1,2 @@
+this package was maemonized by Roman Deninberg <bonapart@programist.ru>
+Mon, 10 Jan 2011 02:00:13 +0100
diff --git a/debian_maemo/dirs b/debian_maemo/dirs
new file mode 100644 (file)
index 0000000..33359b8
--- /dev/null
@@ -0,0 +1 @@
+usr/games
diff --git a/debian_maemo/docs b/debian_maemo/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian_maemo/files b/debian_maemo/files
new file mode 100644 (file)
index 0000000..0cc57dd
--- /dev/null
@@ -0,0 +1 @@
+pcsxrearmed_0.4.0.14.13_armel.deb user/games extra
diff --git a/debian_maemo/install b/debian_maemo/install
new file mode 100644 (file)
index 0000000..a260186
--- /dev/null
@@ -0,0 +1,6 @@
+pcsx opt/maemo/usr/games/
+plugins/spunull/spunull.so opt/maemo/usr/games/plugins
+plugins/gpu_unai/gpu_unai.so opt/maemo/usr/games/plugins
+#plugins/gpu_unai/gpuPCSX4ALL.so opt/maemo/usr/games/plugins
+plugins/dfxvideo/gpu_peops.so opt/maemo/usr/games/plugins
+plugins/gpu-gles/gpu_gles.so opt/maemo/usr/games/plugins
diff --git a/debian_maemo/rules b/debian_maemo/rules
new file mode 100644 (file)
index 0000000..3bdd4d8
--- /dev/null
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+#GAME_VERSION := $(shell head debian/changelog -n1 | sed -n 's/.* (\(.*\)) .*/\1/p')
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+build: build-stamp
+
+build-stamp:
+       dh_testdir
+       ./configure --platform=maemo --gpu=neon --sound-drivers=pulseaudio --enable-neon
+       $(MAKE)
+       #strip pcsx
+       #strip plugins/gpu_unai/gpu_unai.so
+       #strip plugins/gpu-gles/gpu_gles.so
+       #strip plugins/spunull/spunull.so
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       dh_clean
+       $(MAKE) clean clean_plugins
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_installdirs
+       mkdir -p "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
+       chmod 777 "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
+       chown user "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
+       dh_install
+
+binary-indep: build install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       #dh_installmenu
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_makeshlibs
+       dh_shlibdeps
+       dh_gencontrol
+       #maemo-optify
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install