catalyst: split libs into the -libs subpkg.

This avoids a circular dependency with packages depending on libGL,
provided previously by "catalyst".
This commit is contained in:
Juan RP 2015-03-22 06:18:41 +01:00
parent 311faf8282
commit adb6f24024
3 changed files with 13 additions and 5 deletions

View file

@ -120,7 +120,7 @@ libGLESv2.so.2 libGLES-1.0_1
libGLESv2.so rpi-firmware-20150207_1
libwayland-egl.so.1 libwayland-egl-9.0.1_4
libGL.so.1 libGL-7.11_1
libGL.so.1 catalyst-14.2_1
libGL.so.1 catalyst-libs-14.2_1
libGL.so.1 nvidia-libs-346.47_1
libGL.so.1 nvidia304-libs-304.00_1
libGL.so.1 nvidia-stable-libs-340.46_1

1
srcpkgs/catalyst-libs Symbolic link
View file

@ -0,0 +1 @@
catalyst

View file

@ -4,18 +4,17 @@ _distver="14.12"
pkgname=catalyst
version=14.501.1003
revision=4
revision=5
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary AMD license"
homepage="http://www.amd.com"
only_for_archs="i686 x86_64"
hostmakedepends="unzip wget"
subpackages="${pkgname}-opencl ${pkgname}-dkms ${pkgname}-libs"
depends="${pkgname}-dkms-${version}_${revision}"
conflicts="nvidia>=0 xserver-abi-video>19"
provides="libGL-${version}_${revision}"
replaces="libGL>=0"
short_desc="${_desc} - Libraries and Utilities"
short_desc="${_desc} - Utilities"
repository="nonfree"
create_wrksrc=yes
build_wrksrc="fglrx-${version}"
@ -155,3 +154,11 @@ catalyst-opencl_package() {
install -m755 usr/lib${_ARCHLIB}/libamdocl*.so ${PKGDESTDIR}/usr/lib/
}
}
catalyst-libs_package() {
short_desc="${_desc} - libraries"
provides="libGL-${version}_${revision}"
replaces="libGL>=0"
pkg_install() {
vmove usr/lib
}
}