First Commit
This commit is contained in:
49
debian/README.Debian
vendored
Normal file
49
debian/README.Debian
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
------------------------------
|
||||
Package information for PCSX2
|
||||
------------------------------
|
||||
|
||||
* The reasons given by upstream as to why they remove -fPIC are the following:
|
||||
- Code only supports the i386 architecture.
|
||||
- Code uses the ebx register and this is not compliant with -fPIC.
|
||||
- The use of -fPIC negatively impacts the performance of the program.
|
||||
- The .so file are not shared libraries but plug-ins. No program should try
|
||||
to link with them.
|
||||
|
||||
------------------------------------------
|
||||
Information about the plug-ins for video
|
||||
------------------------------------------
|
||||
|
||||
* GSdx plug-in currently require a video card that supports
|
||||
at least OpenGL 3.3. A noninclusive list of cards that support OpenGL 3.0 is:
|
||||
- Radeon HD series (except HD2300)
|
||||
- GeForce 8, 9, 100-series, 200-series, 300-series, 400-series and 500-series
|
||||
- Intel Sandy Bridge HD Graphics 2000 and up
|
||||
|
||||
* Currently the proprietary drivers for AMD and Nvidia have support for
|
||||
OpenGL 3.0 and above. GSdx plug-in use the following
|
||||
extensions/commands that may or may not be completely implemented in the
|
||||
open source video stack:
|
||||
- OpenGL 3.x (supported on Mesa 10.x)
|
||||
- OpenGL 4.0
|
||||
+ GL_ARB_GPU_shader5 (improve FXAA, optional)
|
||||
- OpenGL 4.1
|
||||
+ GL_ARB_separate_shader_objects
|
||||
- OpenGL 4.2
|
||||
+ GL_ARB_map_buffer_alignment
|
||||
+ GL_ARB_shader_image_load_store
|
||||
+ GL_ARB_shading_language_420pack
|
||||
+ GL_ARB_texture_storage
|
||||
- OpenGL 4.3
|
||||
+ GL_ARB_explicit_uniform_location
|
||||
+ GL_ARB_framebuffer_no_attachments
|
||||
+ GL_ARB_copy_image (optional)
|
||||
- OpenGL 4.4
|
||||
+ GL_ARB_buffer_storage
|
||||
- OpenGL 4.5
|
||||
+ GL_ARB_clip_control
|
||||
+ GL_ARB_direct_state_access
|
||||
+ GL_ARB_texture_barrier
|
||||
|
||||
The current status for the open source drivers can be found at:
|
||||
- http://cgit.freedesktop.org/mesa/mesa/tree/docs/GL3.txt
|
||||
|
||||
24
debian/changelog
vendored
Normal file
24
debian/changelog
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
pcsx2-stable (2.4.0~rakuos2) unstable; urgency=medium
|
||||
|
||||
* Fix the package to use the Debian way to install game binaries to /usr/games
|
||||
|
||||
-- Tohur <tohur@tohur.xyz> Mon, 10 Nov 2025 20:43:09 -0700
|
||||
|
||||
pcsx2-stable (2.4.0~rakuos1) unstable; urgency=medium
|
||||
|
||||
* port to RakuOS
|
||||
|
||||
-- Tohur <tohur@tohur.xyz> Mon, 10 Nov 2025 03:32:49 -0700
|
||||
|
||||
pcsx2-stable (2.4.0~ubuntu24.04.1) noble; urgency=low
|
||||
|
||||
* Auto build.
|
||||
|
||||
-- Tellow Krinkle <tellowkrinkle@gmail.com> Tue, 01 Jul 2025 05:49:52 +0000
|
||||
|
||||
pcsx2 (3351-1) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Gregory Hainaut <gregory.hainaut@gmail.com> Thu, 13 May 2010 14:27:56 +0200
|
||||
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
13
|
||||
75
debian/control
vendored
Normal file
75
debian/control
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
Source: pcsx2-stable
|
||||
Section: games
|
||||
Priority: optional
|
||||
Maintainer: Joshua Webb <tohur@tohur.xyz>
|
||||
Build-Depends: cmake (>= 3.11) | cmake-mozilla (>= 3.11),
|
||||
debhelper (>= 13),
|
||||
extra-cmake-modules,
|
||||
clang,
|
||||
llvm,
|
||||
lld,
|
||||
ninja-build,
|
||||
dpkg-dev (>= 1.15.7),
|
||||
libaio-dev,
|
||||
libavformat-dev,
|
||||
libcurl4-openssl-dev,
|
||||
libglvnd-dev,
|
||||
libjpeg-dev,
|
||||
liblz4-dev,
|
||||
liblzma-dev,
|
||||
libpcap0.8-dev,
|
||||
libpng12-dev | libpng-dev,
|
||||
libpulse-dev,
|
||||
libsdl2-dev,
|
||||
libsoundtouch-dev,
|
||||
libswscale-dev,
|
||||
libudev-dev,
|
||||
libwebp-dev,
|
||||
libwayland-dev,
|
||||
libx11-xcb-dev,
|
||||
libxcb-cursor-dev,
|
||||
libzstd-dev,
|
||||
qt6-base-dev,
|
||||
libqt6svg6-dev,
|
||||
qt6-tools-dev,
|
||||
qt6-l10n-tools,
|
||||
qt6-wayland-dev,
|
||||
qt6-base-private-dev,
|
||||
qt6-tools-dev-tools,
|
||||
locales | locales-all,
|
||||
pkg-config,
|
||||
zlib1g-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://pcsx2.net/
|
||||
|
||||
Package: pcsx2-stable
|
||||
Architecture: amd64
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, qt6-qpa-plugins, pcsx2-patches
|
||||
# libasound => alsa plugin for pulseaudio
|
||||
# libusb => ps3 controller (and probably others)
|
||||
Recommends: libasound2-plugins,
|
||||
libusb-0.1-4
|
||||
Provides: pcsx2
|
||||
Conflicts: pcsx2
|
||||
Description: Playstation 2 emulator
|
||||
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.
|
||||
|
||||
Package: pcsx2-stable-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: amd64
|
||||
Depends: ${misc:Depends}, pcsx2-stable (= ${binary:Version})
|
||||
Conflicts: pcsx2-dbg
|
||||
Description: Debug symbols 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 debug symbols for PCSX2.
|
||||
|
||||
155
debian/copyright
vendored
Normal file
155
debian/copyright
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: PCSX2
|
||||
Source: https://github.com/PCSX2/pcsx2
|
||||
|
||||
Files: debian/*
|
||||
Copyright:
|
||||
2010-2012 Gregory Hainaut <gregory.hainaut@gmail.com>
|
||||
2010-2012 Miguel Colon <debian.micove@gmail.com>
|
||||
License: LGPL-3
|
||||
|
||||
Files: pcsx2/* common/* plugins/spu2-x/* plugins/PadNull/Pad* plugins/USBnull/* plugins/FWnull/* plugins/CDVDnull/CDVD* plugins/GSnull/* plugins/dev9null/DEV9.cpp
|
||||
Copyright: 2002-2012 PCSX2 Dev Team
|
||||
License: LGPL-3+
|
||||
|
||||
Files: pcsx2/Mdec.cpp pcsx2/Mdec.h pcsx2/RDebug/deci2_drfp.cpp pcsx2/IPU/mpeg2lib/* pcsx2/cheatscpp.h common/include/api/* plugins/onepad/* plugins/PadNull/Linux/* plugins/SPU2null/* plugins/FWnull/FW.cpp plugins/zerospu2/* plugins/zzogl-pg/* plugins/GSnull/Registers.h plugins/GSnull/Linux/Linux* plugins/GSnull/Linux/Config* plugins/dev9null/DEV9.h plugins/dev9null/Config.*
|
||||
Copyright: 2002-2012 PCSX2 Dev Team
|
||||
License: GPL-2+
|
||||
|
||||
Files: plugins/spu2-x/src/Spu2replay.* plugins/spu2-x/src/Decode* plugins/spu2-x/src/Linux/ConfigSoundTouch.cpp plugins/spu2-x/src/spdif.h plugins/spu2-x/src/Debug.h
|
||||
Copyright: 2002-2012 PCSX2 Dev Team
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files: plugins/zzogl-pg/opengl/glprocs.*
|
||||
Copyright: 1991-2000 Silicon Graphics, Inc
|
||||
License: SGI FREE SOFTWARE LICENSE B 2.0
|
||||
|
||||
Files: common/include/intrin_x86.h
|
||||
Copyright: 2006 KJK::Hyperion <hackbunny@reactos.com>
|
||||
License: Expat
|
||||
|
||||
Files: common/src/Utilities/vssprintf.cpp
|
||||
Copyright: 2002 Michael Ringgaard
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: plugins/zzogl-pg/opengl/zpipe.cpp
|
||||
Copyright: not applicable
|
||||
License: public-domain
|
||||
Author's Note:
|
||||
zpipe.c: example of proper use of zlib's inflate() and deflate()
|
||||
Not copyrighted -- provided to the public domain
|
||||
Version 1.4 11 December 2005 Mark Adler
|
||||
|
||||
License: LGPL-3 or LGPL-3+
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the Free
|
||||
Software Foundation, either version 3 of the License, or (at your option) any
|
||||
later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
Comment: On Debian systems, the complete text of the GNU Lesser General Public
|
||||
License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
|
||||
|
||||
License: GPL-2+
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
|
||||
Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
Comment: On Debian systems, the complete text of the GNU General Public License
|
||||
version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: LGPL-2.1+
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the Free
|
||||
Software Foundation; either version 2.1 of the License, or (at your option) any
|
||||
later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc., 51
|
||||
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Comment: On Debian systems, the complete text of the GNU Lesser General Public
|
||||
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
|
||||
|
||||
License: SGI FREE SOFTWARE LICENSE B 2.0
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice including the dates of first publication and either
|
||||
this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
|
||||
shall be included in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON
|
||||
GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
.
|
||||
Except as contained in this notice, the name of Silicon Graphics, Inc. shall
|
||||
not be used in advertising or otherwise to promote the sale, use or other
|
||||
dealings in this Software without prior written authorization from Silicon
|
||||
Graphics, Inc.
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
3. Neither the name of the project nor the names of its contributors may be
|
||||
used to endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
157
debian/create_built_tarball.sh
vendored
Normal file
157
debian/create_built_tarball.sh
vendored
Normal file
@@ -0,0 +1,157 @@
|
||||
#!/bin/sh
|
||||
# copyright (c) 2011-2014 Gregory Hainaut
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This package is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
######################################################################
|
||||
# Global Parameters
|
||||
######################################################################
|
||||
help()
|
||||
{
|
||||
cat <<EOF
|
||||
Help:
|
||||
-rev <rev> : revision number
|
||||
-branch <name> : branch name, take trunk otherwise
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
# Default value
|
||||
GIT_SHA1=0;
|
||||
BRANCH="master"
|
||||
while [ -n "$1" ]; do
|
||||
case $1 in
|
||||
-help|-h ) help;shift 1;;
|
||||
-rev|-r ) GIT_SHA1=$2; shift 2;;
|
||||
-branch|-b ) BRANCH=$2; shift 2;;
|
||||
--) shift;break;;
|
||||
-*) echo "ERROR: $1 option does not exists. Use -h for help";exit 1;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Directory
|
||||
TMP_DIR=/tmp/pcsx2_git
|
||||
mkdir -p $TMP_DIR
|
||||
|
||||
REMOTE_REPO="https://github.com/PCSX2/pcsx2.git"
|
||||
LOCAL_REPO="$TMP_DIR/pcsx2"
|
||||
|
||||
|
||||
######################################################################
|
||||
# Basic functions
|
||||
######################################################################
|
||||
date=
|
||||
version=
|
||||
release=
|
||||
get_pcsx2_version()
|
||||
{
|
||||
local major=`grep -o "VersionHi.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
|
||||
local mid=`grep -o "VersionMid.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
|
||||
local minor=`grep -o "VersionLo.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
|
||||
release=`grep -o "isReleaseVersion.*" $LOCAL_REPO/pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
|
||||
version="$major.$mid.$minor"
|
||||
}
|
||||
|
||||
get_git_version()
|
||||
{
|
||||
date=`git -C $LOCAL_REPO show -s --format=%ci HEAD | sed -e 's/[\:\-]//g' -e 's/ /./' -e 's/ .*//'`
|
||||
}
|
||||
|
||||
download_orig()
|
||||
{
|
||||
(cd $TMP_DIR && git clone --branch $1 $REMOTE_REPO pcsx2)
|
||||
if [ "$SVN_CO_VERSION" = "1" ] ; then
|
||||
(cd $TMP_DIR/pcsx2 && git checkout $GIT_SHA1)
|
||||
fi
|
||||
}
|
||||
|
||||
remove_3rdparty()
|
||||
{
|
||||
echo "Remove 3rdparty code"
|
||||
rm -fr $LOCAL_REPO/3rdparty
|
||||
rm -fr $LOCAL_REPO/tools
|
||||
}
|
||||
|
||||
remove_not_yet_free_plugin()
|
||||
{
|
||||
echo "Remove non free plugins"
|
||||
# remove also deprecated plugins
|
||||
for plugin in USBqemu zerogs zerospu2
|
||||
do
|
||||
rm -fr $LOCAL_REPO/plugins/$plugin
|
||||
done
|
||||
}
|
||||
|
||||
remove_remaining_non_free_file()
|
||||
{
|
||||
echo "Remove remaining non free file. TODO UPSTREAM"
|
||||
rm -fr $LOCAL_REPO/plugins/GSdx/baseclasses
|
||||
rm -f $LOCAL_REPO/plugins/zzogl-pg/opengl/Win32/aviUtil.h
|
||||
rm -f $LOCAL_REPO/plugins/spu2-x/src/Windows/Hyperlinks.h
|
||||
rm -f $LOCAL_REPO/plugins/spu2-x/src/Windows/Hyperlinks.cpp
|
||||
rm -f $LOCAL_REPO/common/src/Utilities/x86/MemcpyFast.cpp
|
||||
rm -f $LOCAL_REPO/common/include/comptr.h
|
||||
}
|
||||
remove_dot_git()
|
||||
{
|
||||
# To save 66% of the package size
|
||||
rm -fr $LOCAL_REPO/.git
|
||||
}
|
||||
|
||||
set_pcap()
|
||||
{
|
||||
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' pcsx2
|
||||
}
|
||||
|
||||
######################################################################
|
||||
# Main script
|
||||
######################################################################
|
||||
download_orig $BRANCH
|
||||
remove_3rdparty
|
||||
remove_not_yet_free_plugin
|
||||
remove_remaining_non_free_file
|
||||
|
||||
get_git_version
|
||||
get_pcsx2_version
|
||||
|
||||
set_pcap
|
||||
|
||||
# must be done after getting the git version
|
||||
remove_dot_git
|
||||
|
||||
# Debian name of package and tarball
|
||||
if [ $release -eq 1 ]
|
||||
then
|
||||
PKG_NAME="pcsx2-${version}"
|
||||
TAR_NAME="pcsx2_${version}.orig.tar"
|
||||
else
|
||||
PKG_NAME="pcsx2-${version}~git${date}"
|
||||
TAR_NAME="pcsx2_${version}~git${date}.orig.tar"
|
||||
fi
|
||||
|
||||
|
||||
NEW_DIR=${TMP_DIR}/$PKG_NAME
|
||||
rm -fr $NEW_DIR
|
||||
mv $LOCAL_REPO $NEW_DIR
|
||||
|
||||
echo "Build the tar.gz file"
|
||||
tar -C $TMP_DIR -cJf ${TAR_NAME}.xz $PKG_NAME
|
||||
|
||||
## Clean
|
||||
rm -fr $TMP_DIR
|
||||
|
||||
exit 0
|
||||
11
debian/git-build-recipe.manifest
vendored
Normal file
11
debian/git-build-recipe.manifest
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# git-build-recipe format 0.4 deb-version 2.4.0
|
||||
lp:pcsx2-github-mirror git-commit:e4af1c424451c6b65c5c387404315cef77e9901b
|
||||
nest sdl lp:~pcsx2-team/pcsx2-github-mirror/+git/sdl 3rdparty/sdl/SDL git-commit:8d604353a53853fa56d1bdce0363535605ca868f
|
||||
nest shaderc lp:~pcsx2-team/pcsx2-github-mirror/+git/shaderc 3rdparty/shaderc git-commit:5d7736da11e626b49c5463aadb2afb228ad20276
|
||||
nest glslang lp:~pcsx2-team/pcsx2-github-mirror/+git/glslang 3rdparty/shaderc/third_party/glslang git-commit:142052fa30f9eca191aa9dcf65359fcaed09eeec
|
||||
nest spirv-tools lp:~libretro/libretro/+git/spirv-tools 3rdparty/shaderc/third_party/spirv-tools git-commit:dd4b663e13c07fea4fbb3f70c1c91c86731099f7
|
||||
nest spirv-headers lp:~libretro/libretro/+git/spirv-headers 3rdparty/shaderc/third_party/spirv-headers git-commit:5e3ad389ee56fca27c9705d093ae5387ce404df4
|
||||
nest kddockwidgets lp:~pcsx2-team/pcsx2-github-mirror/+git/kddockwidgets 3rdparty/kddockwidgets git-commit:aeb3aaeff94b2520924dad46be01b141e5d10834
|
||||
nest plutosvg lp:~pcsx2-team/pcsx2-github-mirror/+git/plutosvg 3rdparty/plutosvg git-commit:c5388fa96feca1f1376a3d0485d5e35159452707
|
||||
nest plutovg lp:~pcsx2-team/pcsx2-github-mirror/+git/plutovg 3rdparty/plutosvg/plutovg git-commit:5e4712cf873b0c7829a4a6157763e2ad3ac49164
|
||||
merge master lp:~tellowkrinkle/pcsx2-github-mirror git-commit:4f73f5dc46bacf73bf51e3045d299b85504817fe
|
||||
5
debian/install
vendored
Normal file
5
debian/install
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
usr/games/pcsx2-qt
|
||||
usr/share/PCSX2
|
||||
usr/share/doc/PCSX2
|
||||
usr/share/applications/PCSX2.desktop
|
||||
usr/share/icons/hicolor/256x256/apps/PCSX2.png
|
||||
6
debian/lintian-overrides
vendored
Normal file
6
debian/lintian-overrides
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#* -fPIC option was removed for multiple reason.
|
||||
# - Code only support x86 architecture.
|
||||
# - Upstream code uses the ebx register so it's not compliant with PIC.
|
||||
# - Impacts the performance too much.
|
||||
# - Only plugins. No package will link to them.
|
||||
: shlib-with-non-pic-code
|
||||
6
debian/menu
vendored
Normal file
6
debian/menu
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
?package(pcsx2-stable): \
|
||||
needs="X11" \
|
||||
section="Applications/Emulators" \
|
||||
title="PCSX2" \
|
||||
longtitle="A playstation 2 emulator" \
|
||||
command="/usr/games/pcsx2-qt"
|
||||
6
debian/postinst
vendored
Executable file
6
debian/postinst
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
echo 'Enabling networking capability on Linux...'
|
||||
set -x
|
||||
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/games/pcsx2-qt
|
||||
set +x
|
||||
47
debian/rules
vendored
Executable file
47
debian/rules
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
|
||||
export DEB_CFLAGS_MAINT_APPEND = -fdebug-default-version=4
|
||||
export DEB_CXXFLAGS_MAINT_APPEND = -fdebug-default-version=4
|
||||
|
||||
%:
|
||||
DEB_BUILD_MAINT_OPTIONS=optimize=-lto dh $@ --buildsystem=cmake+ninja --builddirectory=build
|
||||
|
||||
override_dh_auto_configure:
|
||||
patch --strip=1 --directory=3rdparty/shaderc --input=$(shell pwd)/.github/workflows/scripts/common/shaderc-changes.patch
|
||||
cmake 3rdparty/kddockwidgets -B build-kddockwidgets -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=deps -DKDDockWidgets_STATIC=true -DKDDockWidgets_QT6=true -DKDDockWidgets_EXAMPLES=false -DKDDockWidgets_FRONTENDS=qtwidgets -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja
|
||||
ninja -C build-kddockwidgets
|
||||
ninja -C build-kddockwidgets install
|
||||
dh_auto_configure -- \
|
||||
-DPCSX2_GIT_REV_OVERRIDE="$(shell dpkg-parsechangelog --show-field Version | sed "s/^[0-9]://")" \
|
||||
-DCMAKE_PREFIX_PATH=deps \
|
||||
-DPACKAGE_MODE=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_STRIP=FALSE \
|
||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
|
||||
-DDISABLE_ADVANCE_SIMD=TRUE \
|
||||
-DWAYLAND_API=ON \
|
||||
-DUSE_BACKTRACE=OFF \
|
||||
-DUSE_LINKED_FFMPEG=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_BINDIR=/usr/games \
|
||||
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
||||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
||||
-DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld -Wl,--build-id=sha1" \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld -Wl,--build-id=sha1" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld -Wl,--build-id=sha1"
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
rm -r debian/tmp/usr/share/PCSX2/resources/shaders/dx11
|
||||
install -D .github/workflows/scripts/linux/pcsx2-qt.desktop debian/tmp/usr/share/applications/PCSX2.desktop
|
||||
install -D bin/resources/icons/AppIconLarge.png debian/tmp/usr/share/icons/hicolor/256x256/apps/PCSX2.png
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --package=pcsx2-stable --dbg-package=pcsx2-stable-dbg
|
||||
|
||||
override_dh_auto_test:
|
||||
|
||||
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
2
debian/source/options
vendored
Normal file
2
debian/source/options
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Don't store changes on locales files
|
||||
extend-diff-ignore = "(^|/)(pcsx2_(Devel|Iconized|Main|Tertiary)\.po|Makefile)$"
|
||||
5
debian/watch
vendored
Normal file
5
debian/watch
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
version=3
|
||||
|
||||
# Note: Upstream does not release prepackaged source files.
|
||||
# It's adviced to get them from their subversion repository.
|
||||
# Source: https://github.com/PCSX2/pcsx2
|
||||
Reference in New Issue
Block a user