Fixed debian packaging for ME.

This commit is contained in:
Virgil Dupras 2010-08-20 02:29:51 -07:00
parent fb7e3189a8
commit e867840d81
4 changed files with 7 additions and 6 deletions

1
debian_me/compat Normal file
View File

@ -0,0 +1 @@
7

View File

@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net
Package: dupeguru-me Package: dupeguru-me
Architecture: any Architecture: any
Depends: python (>= 2.6), python-qt4 (>= 4.6) Depends: python3 (>= 3.1)
Description: dupeGuru Music Edition Description: dupeGuru Music Edition

View File

@ -42,9 +42,9 @@ install: build
dh_installdirs dh_installdirs
chmod +x src/start.py chmod +x src/start.py
cp -R src/ $(CURDIR)/debian/tmp/usr/local/share/dupeguru_me cp -R src/ $(CURDIR)/debian/dupeguru-me/usr/local/share/dupeguru_me
cp $(CURDIR)/debian/dupeguru_me.desktop $(CURDIR)/debian/tmp/usr/share/applications cp $(CURDIR)/debian/dupeguru_me.desktop $(CURDIR)/debian/dupeguru-me/usr/share/applications
ln -s /usr/local/share/dupeguru_me/start.py $(CURDIR)/debian/tmp/usr/local/bin/dupeguru_me ln -s /usr/local/share/dupeguru_me/start.py $(CURDIR)/debian/dupeguru-me/usr/local/bin/dupeguru_me
# Build architecture-independent files here. # Build architecture-independent files here.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# Copyright 2010 Hardcoded Software (http://www.hardcoded.net) # Copyright 2010 Hardcoded Software (http://www.hardcoded.net)
# #
# This software is licensed under the "HS" License as described in the "LICENSE" file, # This software is licensed under the "HS" License as described in the "LICENSE" file,
@ -26,4 +26,4 @@ if __name__ == "__main__":
QCoreApplication.setApplicationName(DupeGuru.NAME) QCoreApplication.setApplicationName(DupeGuru.NAME)
QCoreApplication.setApplicationVersion(DupeGuru.VERSION) QCoreApplication.setApplicationVersion(DupeGuru.VERSION)
dgapp = DupeGuru() dgapp = DupeGuru()
sys.exit(app.exec_()) sys.exit(app.exec_())