Hello,
I tried to package kompare, which also needs libkomparediff2.
I managed to build a package for libkomparediff2, but I got this warning at the end of the building process:
=> WARNING: libkomparediff2-4.14.2_1: libkomparediff2.so.4 not found in common/shlibs!
Then, when I tried to build kompare I got these errors:
SONAME: libkomparediff2.so.4 <-> UNKNOWN PKG PLEASE FIX!
=> ERROR: kompare-4.14.2_1: cannot guess required shlibs, aborting!
My templates are below. I would like to contribute to the project, but right now I am stuck and don't know what I am doing wrong.
################################################
# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=4.14.2
revision=1
short_desc="Library to compare files and strings"
maintainer="xxx <...@xxx.com>"
license="GPL-2+"
homepage="http://www.kde.org/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=70c670a69a0b31ab8fb12ccda54662e0f435fed9d9a2b390de68150a1c1e0e6a
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel"
libkomparediff2-devel_package()
{
depends="libkomparediff2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install()
{
vmove usr/include/libkomparediff2
vmove usr/lib/cmake/libkomparediff2
}
}
################################################
# Template file for 'kompare'
pkgname=kompare
version=4.14.2
revision=1
short_desc="File difference viewer"
maintainer="xxx <...@xxx.com>"
license="GPL-2"
homepage="http://www.caffeinated.me.uk/kompare/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=aeb210d0601573e302ea772e5e4e3b9ea20628de38288169fec4b74bbd69eaa8
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel libkomparediff2-devel"