summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5e9338)
raw | patch | inline | side by side (parent: c5e9338)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 11 Jan 2009 20:41:00 +0000 (21:41 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 11 Jan 2009 20:41:00 +0000 (21:41 +0100) |
This package includes the lyrics plugins, some of which depend on python or
ruby. By splitting them into a separate package, we avoid any kind of
dependency on python or ruby in the "ncmpc" package which now suggests
ncmpc-lyrics instead of python, ruby.
ruby. By splitting them into a separate package, we avoid any kind of
dependency on python or ruby in the "ncmpc" package which now suggests
ncmpc-lyrics instead of python, ruby.
debian/changelog | patch | blob | history | |
debian/control | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 9e4e26299001efb4a177dd42d68779413e5b6554..c972fd72973fd86beefeca6c93f62d499e6e61f0 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
file. debian/changelog now refers to the AUTHORS file for a list of team
members.
- Use © instead of (C) to make lintian happy.
+ * Added binary package "ncmpc-lyrics". This package includes the lyrics
+ plugins, some of which depend on python or ruby. By splitting them into a
+ separate package, we avoid any kind of dependency on python or ruby in the
+ "ncmpc" package which now suggests ncmpc-lyrics instead of python, ruby.
- -- Sebastian Harl <sh@tokkee.org> Sun, 11 Jan 2009 20:17:28 +0100
+ -- Sebastian Harl <sh@tokkee.org> Sun, 11 Jan 2009 21:36:39 +0100
ncmpc (0.12-1) experimental; urgency=low
diff --git a/debian/control b/debian/control
index 0e277c3d0b3aca1890c2122dde3eee32ed143942..e79bef60d2d8a66d14f2941ca0af747c29264ebb 100644 (file)
--- a/debian/control
+++ b/debian/control
Package: ncmpc
Architecture: any
Depends: ${shlibs:Depends}
-Suggests: mpd, python, ruby
+Suggests: mpd, ncmpc-lyrics
Enhances: mpd
Provides: mpd-client
Description: ncurses-based audio player
- customizable key bindings and colors
- tiny memory footprint, smaller than any other interactive MPD client
+Package: ncmpc-lyrics
+Architecture: all
+Depends: ncmpc, python, ruby
+Description: ncurses-based audio player (lyrics plugins)
+ ncmpc is a text-mode client for MPD, the Music Player Daemon. Its goal is to
+ provide a keyboard oriented and consistent interface to MPD, without wasting
+ resources.
+ .
+ This package contains plugins to download lyrics.
+
diff --git a/debian/rules b/debian/rules
index 13e0953dc70a04355eeb02f6c1aad6bc88629e69..40eb22713145d0dc0e3c99cd23c44e5451a8e96c 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
dh_clean
-install: build
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -i
+
+ mkdir -p debian/ncmpc-lyrics/usr/lib/ncmpc/lyrics/
+ cp lyrics/* debian/ncmpc-lyrics/usr/lib/ncmpc/lyrics/
+
+install-arch: build
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(CURDIR)/debian/ncmpc
+ rm -rf debian/ncmpc/usr/lib/ncmpc/lyrics/
+ # fail if any of these directories is not empty
+ rmdir debian/ncmpc/usr/lib/ncmpc/
+ rmdir debian/ncmpc/usr/lib/
+
mkdir debian/ncmpc/usr/share/doc/ncmpc/examples
mv debian/ncmpc/usr/share/doc/ncmpc/*.sample \
debian/ncmpc/usr/share/doc/ncmpc/examples
mv debian/ncmpc/usr/share/doc/ncmpc/ncmpc.lirc \
debian/ncmpc/usr/share/doc/ncmpc/examples
-binary-indep:
- # nothing to do here
+binary-indep: install-indep
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -i
+ dh_installdocs -A -i NEWS README AUTHORS
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
-binary-arch: build install
+binary-arch: build install-arch
dh_testdir
dh_testroot
dh_installchangelogs -a
dh_builddeb -a
binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install-indep install-arch