From 3c2e8ddd879b6b6decb0e742a360a32618a045c1 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sat, 2 Nov 2013 18:49:37 +0100 Subject: [PATCH] Add source deb stuff --- platform/unix/debian | 11 ------ platform/unix/debian/changelog | 5 +++ platform/unix/debian/compat | 1 + platform/unix/debian/control | 58 ++++++++++++++++++++++++++++ platform/unix/debian/copyright | 20 ++++++++++ platform/unix/debian/docs | 2 + platform/unix/debian/liblove.install | 1 + platform/unix/debian/love.install | 1 + platform/unix/debian/love.manpages | 1 + platform/unix/debian/rules | 16 ++++++++ platform/unix/debian/source/format | 1 + 11 files changed, 106 insertions(+), 11 deletions(-) delete mode 100644 platform/unix/debian create mode 100644 platform/unix/debian/changelog create mode 100644 platform/unix/debian/compat create mode 100644 platform/unix/debian/control create mode 100644 platform/unix/debian/copyright create mode 100644 platform/unix/debian/docs create mode 100644 platform/unix/debian/liblove.install create mode 100644 platform/unix/debian/love.install create mode 100644 platform/unix/debian/love.manpages create mode 100755 platform/unix/debian/rules create mode 100644 platform/unix/debian/source/format diff --git a/platform/unix/debian b/platform/unix/debian deleted file mode 100644 index 92811065f..000000000 --- a/platform/unix/debian +++ /dev/null @@ -1,11 +0,0 @@ -Package: love -Version: %VERSION% -Section: games -Priority: optional -Architecture: %ARCHITECTURE% -Essential: no -Depends: libdevil1c2, libfreetype6, libgl1-mesa-glx, liblua5.1-0, libphysfs1, libsdl1.2debian, libopenal1, libogg0, libvorbis0a, libvorbisfile3, libmodplug0c2, libmpg123-0 -Installed-Size: %INSTALLSIZE% -Maintainer: Bart van Strien [bart.bes@gmail.com] -Provides: love -Description: LOVE is a free 2D game engine which enables easy game creation in Lua. diff --git a/platform/unix/debian/changelog b/platform/unix/debian/changelog new file mode 100644 index 000000000..c9b52249c --- /dev/null +++ b/platform/unix/debian/changelog @@ -0,0 +1,5 @@ +love (0.9.0~ppatest5) precise; urgency=medium + + * Upstream testing release + + -- Bart van Strien Sat, 2 Nov 2013 16:23:40 +0100 diff --git a/platform/unix/debian/compat b/platform/unix/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/platform/unix/debian/compat @@ -0,0 +1 @@ +9 diff --git a/platform/unix/debian/control b/platform/unix/debian/control new file mode 100644 index 000000000..d8bbc182c --- /dev/null +++ b/platform/unix/debian/control @@ -0,0 +1,58 @@ +Source: love +Section: games +Priority: extra +Maintainer: Bart van Strien +Build-Depends: debhelper (>= 9), + autotools-dev, + libdevil-dev, + libfreetype6-dev, + libluajit-5.1-dev, + libphysfs-dev, + libsdl2-dev (>= 2.0.1), + libopenal-dev, + libogg-dev, + libvorbis-dev, + libflac-dev, + libflac++-dev, + libmodplug-dev, + libmpg123-dev, + libmng-dev +Standards-Version: 3.9.3 +Homepage: http://love2d.org + +Package: liblove +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libdevil1c2, + libmng1, + libfreetype6, + libgl1-mesa-glx, + libluajit-5.1-2, + libphysfs-1.0-0, + libsdl2 (>= 2.0.1), + libopenal1, + libogg0, + libvorbis0a, + libvorbisfile3, + libmodplug1, + libmpg123-0 +Description: LOVE is a free 2D game engine which enables easy game creation in Lua. + +Package: love +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + liblove (= ${binary:Version}) +Description: LOVE is a free 2D game engine which enables easy game creation in Lua. + +Package: love-dbg +Priority: extra +Section: debug +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + love (= ${binary:Version}), +Description: LOVE is a free 2D game engine which enables easy game creation in Lua. diff --git a/platform/unix/debian/copyright b/platform/unix/debian/copyright new file mode 100644 index 000000000..1f06aed4b --- /dev/null +++ b/platform/unix/debian/copyright @@ -0,0 +1,20 @@ +Copyright (c) 2006-2010 LOVE Development Team + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not +claim that you wrote the original software. If you use this software +in a product, an acknowledgment in the product documentation would be +appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be +misrepresented as being the original software. + +3. This notice may not be removed or altered from any source +distribution. \ No newline at end of file diff --git a/platform/unix/debian/docs b/platform/unix/debian/docs new file mode 100644 index 000000000..6f69fe099 --- /dev/null +++ b/platform/unix/debian/docs @@ -0,0 +1,2 @@ +changes.txt +license.txt diff --git a/platform/unix/debian/liblove.install b/platform/unix/debian/liblove.install new file mode 100644 index 000000000..93beb2897 --- /dev/null +++ b/platform/unix/debian/liblove.install @@ -0,0 +1 @@ +usr/lib/*/liblove.so.* diff --git a/platform/unix/debian/love.install b/platform/unix/debian/love.install new file mode 100644 index 000000000..487155e20 --- /dev/null +++ b/platform/unix/debian/love.install @@ -0,0 +1 @@ +usr/bin/love diff --git a/platform/unix/debian/love.manpages b/platform/unix/debian/love.manpages new file mode 100644 index 000000000..a510eb2e1 --- /dev/null +++ b/platform/unix/debian/love.manpages @@ -0,0 +1 @@ +platform/unix/love.1 diff --git a/platform/unix/debian/rules b/platform/unix/debian/rules new file mode 100755 index 000000000..93c8611ed --- /dev/null +++ b/platform/unix/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +override_dh_auto_configure: + dh_auto_configure -- CPPFLAGS=-I/usr/include/luajit-2.0 --with-lua=luajit-5.1 + +override_dh_link: + dh_link -plove-dev usr/lib/$(DEB_HOST_MULTIARCH)/liblove.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/liblove.so + +override_dh_strip: + dh_strip --dbg-package=love-dbg + +%: + dh $@ --parallel diff --git a/platform/unix/debian/source/format b/platform/unix/debian/source/format new file mode 100644 index 000000000..89ae9db8f --- /dev/null +++ b/platform/unix/debian/source/format @@ -0,0 +1 @@ +3.0 (native)