From: timoph Date: Sat, 2 Jan 2010 08:33:06 +0000 (+0000) Subject: Debian packaging X-Git-Tag: 0.7.2~31 X-Git-Url: http://git.maemo.org/git/?p=impuzzle;a=commitdiff_plain;h=6661323f3900a0ade66974ef333f72658ff1e3d7;ds=inline Debian packaging git-svn-id: file:///svnroot/impuzzle/trunk@3 e6bec12f-0854-4cc4-ad26-6875f1509f77 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4e53916 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +impuzzle (0.1-1maemo0) unstable; urgency=low + + * Implemented: Basic gameplay + * Initial debian packaging + + -- Timo Härkönen Sat, 2 Jan 2010 10:12:49 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4d6e02f --- /dev/null +++ b/debian/control @@ -0,0 +1,11 @@ +Source: impuzzle +Section: user/games +Priority: optional +Maintainer: Timo Härkönen +Build-Depends: debhelper (>= 5), libqt4-maemo5-dev +Standards-Version: 3.7.2 + +Package: impuzzle +Architecture: any +Depends: libqt4-maemo5-core, libqt4qt-maemo5-gui +Description: Image puzzle game diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f4651df --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Timo Härkönen on +Tue, 17 Nov 2009 22:55:49 +0200. + +It was downloaded from https://garage.maemo.org/projects/impuzzle/ + +Upstream Author: Timo Härkönen + +Copyright: 2010, Timo Härkönen + +License: + + This package 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 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2010, Timo Härkönen and +is licensed under the GPL, see above. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..53a24ae --- /dev/null +++ b/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +APPNAME := impuzzle +builddir: + mkdir -p builddir + +builddir/Makefile: builddir + cd builddir && /opt/qt4-maemo5/bin/qmake-qt4 PREFIX=/usr ../$(APPNAME).pro + +build: build-stamp + +build-stamp: builddir/Makefile + dh_testdir + # Add here commands to compile the package. + cd builddir && $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + # Add here commands to clean up after the build process. + rm -rf builddir + dh_clean +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/your_appname + cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + diff --git a/src/impuzzle.desktop b/src/impuzzle.desktop new file mode 100644 index 0000000..7c0b4b4 --- /dev/null +++ b/src/impuzzle.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.1 +Type=Application +Name=impuzzle +Exec=/opt/impuzzle/impuzzle +X-Osso-Type=application/x-executable diff --git a/src/src.pro b/src/src.pro index 14d00c1..901d8f4 100644 --- a/src/src.pro +++ b/src/src.pro @@ -22,3 +22,10 @@ SOURCES += gameview.cpp \ introitem.cpp RESOURCES += resources.qrc + +desktop.files += impuzzle.desktop +desktop.path = /usr/share/applications/hildon/ + +target.path = /opt/impuzzle/ + +INSTALLS += target desktop