diff options
author | Modestas Vainius <modax@debian.org> | 2008-11-29 16:30:39 +0000 |
---|---|---|
committer | Modestas Vainius <modax@debian.org> | 2008-11-29 16:30:39 +0000 |
commit | cd74a7ec97456d6716288a35d261fbefe1f6832a (patch) | |
tree | 72e49f52376ac5b4cbe1151424bbe91f08597f8a /debian/rules | |
parent | a56df4b14963387ae564daf0abb84cf15d050a8b (diff) | |
download | kde4libs-cd74a7ec97456d6716288a35d261fbefe1f6832a.tar.gz |
Build depend on pkg-kde-tools 0.3~pre5, add symbols file for libplasma3,
add appropriate hooks to debian/rules.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 1adb424..c12a445 100755 --- a/debian/rules +++ b/debian/rules @@ -2,17 +2,18 @@ UPSTREAMVERSION ?= $(shell dpkg-parsechangelog | grep '^Version: ' | sed 's/^Version: \(.*\)-.*/\1/') #UPSTREAMVERSION ?= 4:4.1.3-2 -PLASMA_ABI=plasma-abi-4.2-1 -RUNTIME_DEPS := kdebase-runtime (>= 4:4.1.73) +PLASMA_ABI=$(shell grep 'plasma-abi-' debian/libplasma3.symbols.in | head -n1 | sed 's/^.*\(plasma-abi-\S\+\).*/\1/') +RUNTIME_DEPS := kdebase-runtime (>= 4:4.1.80) DEB_DBG_PACKAGE_kdelibs5 := kdelibs5-dbg DEB_DBG_PACKAGE_kdelibs-bin := kdelibs5-dbg +DEB_DBG_PACKAGE_libplasma3 := kdelibs5-dbg DEB_CMAKE_EXTRA_FLAGS += -DKDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT=on #bump version for every new upstream version! DEB_DH_MAKESHLIBS_ARGS_kdelibs5 := -V'kdelibs5 (>= $(UPSTREAMVERSION)), $(RUNTIME_DEPS)' -DEB_DH_MAKESHLIBS_ARGS_libplasma3 := -V'libplasma3 (>= $(UPSTREAMVERSION)), $(PLASMA_ABI)' +#DEB_DH_MAKESHLIBS_ARGS_libplasma3 := -V'libplasma3 (>= $(UPSTREAMVERSION)), $(PLASMA_ABI)' # remove dependencies on kdebase-runtime and phonon (the metapackage) DEB_DH_SHLIBDEPS_ARGS_ALL := -- -xkdebase-runtime -xphonon @@ -21,3 +22,12 @@ include debian/cdbs/kde.mk binary-predeb/libplasma3:: echo plasma:abi-provides=$(PLASMA_ABI) >> debian/libplasma3.substvars + +binary-strip/libplasma3:: + pkgkde-symbolshelper symbolfile -p $(cdbs_curpkg) -o debian/$(cdbs_curpkg).symbols.$(DEB_HOST_ARCH) + +binary-fixup/libplasma3:: + pkgkde-symbolshelper postgensymbols -p $(cdbs_curpkg) -v + +clean:: + rm -f debian/libplasma3.symbols.$(DEB_HOST_ARCH) |