From c3b70b709c4fb6ae1419abbf23c7d9256cdbeecb Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 11 Jan 2009 21:41:00 +0100 Subject: [PATCH] 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. --- debian/changelog | 6 +++++- debian/control | 12 +++++++++++- debian/rules | 33 ++++++++++++++++++++++++++++----- 3 files changed, 44 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9e4e262..c972fd7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,12 @@ ncmpc (0.13-1) experimental; urgency=low 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 Sun, 11 Jan 2009 20:17:28 +0100 + -- Sebastian Harl Sun, 11 Jan 2009 21:36:39 +0100 ncmpc (0.12-1) experimental; urgency=low diff --git a/debian/control b/debian/control index 0e277c3..e79bef6 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Vcs-Browser: http://git.tokkee.org/?p=pkg-ncmpc.git 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 @@ -28,3 +28,13 @@ 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 13e0953..40eb227 100755 --- a/debian/rules +++ b/debian/rules @@ -59,7 +59,16 @@ clean: 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 @@ -67,16 +76,30 @@ install: build $(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 @@ -93,5 +116,5 @@ binary-arch: build install 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 -- 2.30.2