debian: add a "pcsx2-l10n-unstable" package + some refresh

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4249 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2011-01-22 15:25:43 +00:00
parent e70f374335
commit 5e229df523
4 changed files with 40 additions and 21 deletions

View File

@ -5,6 +5,7 @@ Maintainer: Gregory Hainaut <gregory.hainaut@gmail.com>
# WARNING we need dpkg-dev 1.15.7 to support dpkg-buildflags but ubunutu 10.04 have only 1.15.5.6... # WARNING we need dpkg-dev 1.15.7 to support dpkg-buildflags but ubunutu 10.04 have only 1.15.5.6...
Build-Depends: debhelper (>= 7.0.50), dpkg-dev (>= 1.15.5.6), cmake (>=2.8), Build-Depends: debhelper (>= 7.0.50), dpkg-dev (>= 1.15.5.6), cmake (>=2.8),
gcc-multilib [amd64], g++-multilib [amd64], gcc-multilib [amd64], g++-multilib [amd64],
locales|locales-all,
zlib1g-dev (>= 1:1.2.3.3) | lib32z1-dev (>= 1.2.3.3) [amd64], zlib1g-dev (>= 1:1.2.3.3) | lib32z1-dev (>= 1.2.3.3) [amd64],
libbz2-dev (>= 1.0.4), libbz2-dev (>= 1.0.4),
libsdl1.2-dev, libsdl1.2-dev,
@ -14,19 +15,21 @@ Build-Depends: debhelper (>= 7.0.50), dpkg-dev (>= 1.15.5.6), cmake (>=2.8),
libgtk2.0-dev (>= 2.16), libgtk2.0-dev (>= 2.16),
libasound2-dev | lib32asound2-dev [amd64], libasound2-dev | lib32asound2-dev [amd64],
portaudio19-dev, portaudio19-dev,
# version not yet in debian # 1.5 is in debian experimental, rename to libsoundtouch0 (yeah...). Keep 1.3 for the moment
# libsoundtouch1-dev (>= 1.5), libsoundtouch1-dev (>= 1.3)| libsoundtouch0-dev | lib32soundtouch0-dev [amd64],
# I patch the source (remove feature) to compile with version 1.3
libsoundtouch1-dev (>= 1.3),
libsparsehash-dev (>= 1.6), libsparsehash-dev (>= 1.6),
libx11-dev, libx11-dev,
libglew1.5-dev (>= 1.5.1), libglew1.5-dev (>= 1.5.1),
libgl1-mesa-dev, libgl1-mesa-dev,
libglu1-mesa-dev, libglu1-mesa-dev,
# my nmu: add 32bits packages ia32-libs-dev [amd64],
# nvidia-cg-toolkit (>= 2.1.0017.deb1) | nvidia-cg-toolkit (>= 2.1.0017.deb1+nmu2) [amd64], # I hope they create this package too
nvidia-cg-toolkit-pcsx2 | nvidia-cg-toolkit (>= 2.1), ia32-nvidia-cg-toolkit-pcsx2 [amd64], # ia32-libs-gtk-dev [amd64],
ia32-libs (>= 20090808+nmu7) [amd64], ia32-libs-gtk (= 20100503+local1) [amd64] ia32-libs-gtk [amd64],
lib32bz2-dev [amd64],
# my nmu: add missing 32bits packages
# ia32-libs-extra-pcsx2 [amd64],
nvidia-cg-toolkit-pcsx2 | nvidia-cg-toolkit (>= 2.1), ia32-nvidia-cg-toolkit-pcsx2 [amd64]
Standards-Version: 3.9.1 Standards-Version: 3.9.1
Homepage: http://pcsx2.net/ Homepage: http://pcsx2.net/
@ -36,10 +39,9 @@ Architecture: i386 amd64
Depends: ${shlibs:Depends}, ${misc:Depends}, Depends: ${shlibs:Depends}, ${misc:Depends},
pcsx2-data-unstable (>= ${binary:Version}), pcsx2-data-unstable (>= ${binary:Version}),
pcsx2-plugins-unstable (>= ${binary:Version}) pcsx2-plugins-unstable (>= ${binary:Version})
Conflicts: pcsx2 Conflicts: pcsx2
Description: Playstation 2 emulator Description: Playstation 2 emulator
PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by the same PCSX2 is a PlayStation 2 emulator for Windows and Linux.
team that brought you PCSX (a Sony PlayStation 1 emulator).
. .
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator this instruction set, it does not have enough horse power to run this emulator
@ -47,15 +49,13 @@ Description: Playstation 2 emulator
. .
This package includes the main binary file. This package includes the main binary file.
Package: pcsx2-data-unstable Package: pcsx2-data-unstable
Architecture: all Architecture: all
Depends: ${misc:Depends} Depends: ${misc:Depends}
Recommends: pcsx2-unstable (>= ${binary:Version}), pcsx2-plugins-unstable (>= ${binary:Version}) Recommends: pcsx2-unstable (>= ${binary:Version}), pcsx2-plugins-unstable (>= ${binary:Version})
Conflicts: pcsx2-data Conflicts: pcsx2-data
Description: data for pcsx2 Description: data for pcsx2
PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by the same PCSX2 is a PlayStation 2 emulator for Windows and Linux.
team that brought you PCSX (a Sony PlayStation 1 emulator).
. .
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator this instruction set, it does not have enough horse power to run this emulator
@ -73,8 +73,7 @@ Recommends: pcsx2-unstable (>= ${binary:Version}),
pcsx2-data-unstable (>= ${binary:Version}) pcsx2-data-unstable (>= ${binary:Version})
Conflicts: pcsx2-plugins Conflicts: pcsx2-plugins
Description: Various plugins for pcsx2 Description: Various plugins for pcsx2
PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by the same PCSX2 is a PlayStation 2 emulator for Windows and Linux.
team that brought you PCSX (a Sony PlayStation 1 emulator).
. .
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator this instruction set, it does not have enough horse power to run this emulator
@ -90,8 +89,7 @@ Architecture: i386 amd64
Depends: ${misc:Depends}, pcsx2-unstable (= ${binary:Version}) Depends: ${misc:Depends}, pcsx2-unstable (= ${binary:Version})
Conflicts: pcsx2-dbg Conflicts: pcsx2-dbg
Description: Debug symbols for pcsx2 Description: Debug symbols for pcsx2
PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by the same PCSX2 is a PlayStation 2 emulator for Windows and Linux.
team that brought you PCSX (a Sony PlayStation 1 emulator).
. .
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator this instruction set, it does not have enough horse power to run this emulator
@ -107,11 +105,26 @@ Architecture: i386 amd64
Depends: ${misc:Depends}, pcsx2-plugins-unstable (= ${binary:Version}) Depends: ${misc:Depends}, pcsx2-plugins-unstable (= ${binary:Version})
Conflicts: pcsx2-plugins-dbg Conflicts: pcsx2-plugins-dbg
Description: Debug symbols of the pcsx2-plugins Description: Debug symbols of the pcsx2-plugins
PCSX2 is a PlayStation 2 emulator for Windows and Linux, started by the same PCSX2 is a PlayStation 2 emulator for Windows and Linux.
team that brought you PCSX (a Sony PlayStation 1 emulator).
. .
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator this instruction set, it does not have enough horse power to run this emulator
anyway. anyway.
. .
This package contains the debug symbols of the pcsx2 plugins. This package contains the debug symbols of the pcsx2 plugins.
Package: pcsx2-l10n-unstable
Section: localization
Priority: optional
# Warning amd64 need additional ia32libs
Architecture: all
Depends: ${misc:Depends}
Conflicts: pcsx2-plugins-dbg
Description: Languages package for PCSX2
PCSX2 is a PlayStation 2 emulator for Windows and Linux.
.
WARNING: It requires a CPU with SSE2 instructions. If your CPU does not support
this instruction set, it does not have enough horse power to run this emulator
anyway.
.
This package contains the localization of the emulator in various languages.

View File

@ -0,0 +1,2 @@
usr/share/games/pcsx2/shaders
var/games/pcsx2/

View File

@ -0,0 +1 @@
usr/share/locale usr/share/

View File

@ -30,6 +30,7 @@ build-stamp:
-DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \ -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \
-DCMAKE_BUILD_STRIP=FALSE \ -DCMAKE_BUILD_STRIP=FALSE \
-DFORCE_INTERNAL_SOUNDTOUCH=FALSE \ -DFORCE_INTERNAL_SOUNDTOUCH=FALSE \
-DL10N_PORTABLE=FALSE \
-DUSER_CMAKE_C_FLAGS:STRING="$(USER_CFLAGS)" \ -DUSER_CMAKE_C_FLAGS:STRING="$(USER_CFLAGS)" \
-DUSER_CMAKE_CXX_FLAGS:STRING="$(USER_CXXFLAGS)" -DUSER_CMAKE_CXX_FLAGS:STRING="$(USER_CXXFLAGS)"
$(MAKE) $(MAKEFLAGS) $(MAKE) $(MAKEFLAGS)
@ -64,6 +65,8 @@ clean:
rm -f pcsx2/svnrev.h rm -f pcsx2/svnrev.h
# Restore orig makefile # Restore orig makefile
for makefile_orig in `find ./ -name "Makefile.orig"` ; do [ -f $${makefile_orig} ] && mv $${makefile_orig} `echo $${makefile_orig} | sed -e 's/.orig//'` ; done for makefile_orig in `find ./ -name "Makefile.orig"` ; do [ -f $${makefile_orig} ] && mv $${makefile_orig} `echo $${makefile_orig} | sed -e 's/.orig//'` ; done
# do not know who create this file....
rm -f install_manifest.txt
dh_clean dh_clean
@ -80,6 +83,6 @@ override_dh_auto_build:
# Do nothing # Do nothing
%: %:
dh $@ --parallel dh $@
.PHONY: build clean install .PHONY: build clean install