Skip to content

Commit

Permalink
Added debian/
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu Shaohua committed Oct 31, 2015
1 parent 1218594 commit 35a3128
Show file tree
Hide file tree
Showing 10 changed files with 96 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PKG_INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Metadata-Version: 1.1
Name: QMusic
Version: 1.0
Summary: A music player based on PyQt5, aim to get better music experience under Linux!
Home-page: https://github.com/dragondjf/QMusic
Author: dragondjf
Author-email: [email protected]
License: GPL v2+
Description: UNKNOWN
Platform: UNKNOWN
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
qmusic (1.0.0-1) unstable; urgency=medium

* Initial release.

-- Xu Shaohua <[email protected]> Sat, 31 Oct 2015 19:34:18 +0800
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
25 changes: 25 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Source: qmusic
Section: gnome
Priority: optional
Maintainer: dragondjf <[email protected]>
Build-Depends: debhelper (>= 9), dh-python, python
Standards-Version: 3.9.6
Homepage: https://github.com/dragondjf/QMusic

Package: qmusic
Architecture: all
Depends: python,
python-chardet,
python-faulthandler,
python-leveldb,
python-mutagen,
python-peewee,
python-pycurl,
python-pyqt5,
python-pyqt5.multimedia,
python-pyqt5.qtquick,
python-pyquery,
python-requests,
qml-module-qtmultimedia,
qml-module-qtqml-models2,
Description: Music player for Linux users
22 changes: 22 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: QMusic
Source: https://github.com/dragondjf/QMusic

Files: *
Copyright: 2015 dragondjf <[email protected]>
License: GPL-2+
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 program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
Empty file added debian/docs
Empty file.
4 changes: 4 additions & 0 deletions debian/menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
?package(kwplayer):needs="X11" hints="Audios" \
section="Applications/Audio" \
title="kwplayer" command="/usr/bin/kwplayer" \
icon="/usr/share/icons/hicolor/scalable/apps/kwplayer.svg"
26 changes: 26 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/make -f

#export PYBUILD_DESTDIR_python=debian/qmusic/
#
#%:
# dh $@ --with python --buildsystem=pybuild
# #dh $@ --with python --buildsystem=python_distutils
#
#build-indep:
# dh_installdirs
#

export USER=fake
export HOME=$(CURDIR)/debian/fake-home

$(CURDIR)/debian/fake-home:
mkdir $(CURDIR)/debian/fake-home

%: $(CURDIR)/debian/fake-home
dh $@ --with python2 --buildsystem=python_distutils

override_dh_auto_test:
# Disable as it requires an X display

override_dh_auto_install: $(CURDIR)/debian/fake-home
dh_auto_install --buildsystem=python_distutils -- --skip-xdg-cmd
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
2 changes: 2 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version=3
https://pypi.python.org/packages/source/p/qmusic/qmusic-(.*)\.tar\.gz debian uupdate

0 comments on commit 35a3128

Please sign in to comment.