marble: there's no point in splitting it into libmarble{,-devel}.

Merge libmarble into the main pkg and create a -devel subpkg.
This commit is contained in:
Juan RP 2014-12-27 13:39:35 +01:00
parent 8cb9b0953e
commit 60fbc64cdc
4 changed files with 7 additions and 14 deletions

View File

@ -1878,8 +1878,8 @@ libdruntime-ldc-debug.so.66 ldc-runtime-0.15.1_1
libdruntime-ldc.so.66 ldc-runtime-0.15.1_1
libphobos2-ldc.so.66 ldc-runtime-0.15.1_1
libphobos2-ldc-debug.so.66 ldc-runtime-0.15.1_1
libmarblewidget.so.19 libmarble-4.14.3_1
libastro.so.1 libmarble-4.14.3_1
libmarblewidget.so.19 marble-4.14.3_2
libastro.so.1 marble-4.14.3_2
libparrot.so.6.9.0 parrot-6.9.0_1
libkipi.so.11 libkipi-4.14.3_1
libasr.so.0 libasr-1.0.0_1

View File

@ -1 +0,0 @@
marble

View File

@ -1 +0,0 @@
marble

View File

@ -3,7 +3,7 @@
pkgname=marble
version=4.14.3
revision=1
revision=2
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="hhttps://marble.kde.org"
license="GPL-3"
@ -11,19 +11,14 @@ short_desc="Virtual globe and world atlas"
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="libressl-devel qt-devel kdelibs-devel phonon-devel"
replaces="libmarble>=0"
distfiles="http://download.kde.org/stable/${version}/src/marble-${version}.tar.xz"
checksum="4d6667cf67ae9976e4c1efc306be222d13f2ee5927483325411ae0e9631dc0f0"
libmarble_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libmarble-devel_package() {
marble-devel_package() {
replaces="libmarble-devel>=0"
short_desc+=" - development files"
depends="libmarble>=${version}_${revision}"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"