libpeas: rebuild with as-needed for shlibs.

This commit is contained in:
Juan RP 2012-10-11 09:59:52 +02:00
parent 9e8247705e
commit cc443d52b4
4 changed files with 18 additions and 45 deletions

View File

@ -1,18 +0,0 @@
libgirepository-1.0.so.1
libgtk-3.so.0
libgdk-3.so.0
libatk-1.0.so.0
libgio-2.0.so.0
libpangocairo-1.0.so.0
libgdk_pixbuf-2.0.so.0
libcairo-gobject.so.2
libcairo.so.2
libpango-1.0.so.0
libgobject-2.0.so.0
libgmodule-2.0.so.0
librt.so.1
libglib-2.0.so.0
libpthread.so.0
libc.so.6
libpeas-1.0.so.0
libpeas-gtk-1.0.so.0

View File

@ -1,16 +1,17 @@
# Template file for 'libpeas-devel'. # Template file for 'libpeas-devel'.
# #
depends="glib-devel gtk+3-devel>=3.6.0_2 gobject-introspection ${sourcepkg}>=${version}" depends="glib-devel gtk+3-devel>=3.6.0_2 libgirepository-devel
${sourcepkg}-${version}_${revision}"
noarch=yes
short_desc="${sourcepkg} - development files" short_desc="${sourcepkg} - development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
pycompile_dirs="usr/lib/peas-demo/plugins/pythonhello"
do_install() { do_install() {
mkdir -p ${DESTDIR}/usr/{lib,share} vmove usr/include usr
mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr vmove usr/lib/pkgconfig usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/{peas-demo,pkgconfig} ${DESTDIR}/usr/lib vmove usr/share/gir-1.0 usr/share
mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share vmove usr/share/gtk-doc usr/share
} }

View File

@ -1,28 +1,15 @@
libgmodule-2.0.so.0
libgio-2.0.so.0
libgirepository-1.0.so.1 libgirepository-1.0.so.1
libgobject-2.0.so.0 libgobject-2.0.so.0
libgmodule-2.0.so.0
libgthread-2.0.so.0
librt.so.1
libglib-2.0.so.0 libglib-2.0.so.0
libpthread.so.0 libpthread.so.0
libc.so.6 libc.so.6
libgjs.so.0 libgjs.so.0
libmozjs185.so.1.0 libmozjs185.so.1.0
libplds4.so
libplc4.so
libnspr4.so
libdl.so.2
libutil.so.1
libm.so.6
libpython2.7.so.1.0 libpython2.7.so.1.0
libseed-gtk3.so.0 libseed-gtk3.so.0
libjavascriptcoregtk-3.0.so.0 libjavascriptcoregtk-3.0.so.0
libgtk-3.so.0 libgtk-3.so.0
libgdk-3.so.0 libgdk-3.so.0
libatk-1.0.so.0
libgio-2.0.so.0
libpangocairo-1.0.so.0
libgdk_pixbuf-2.0.so.0 libgdk_pixbuf-2.0.so.0
libcairo-gobject.so.2
libcairo.so.2
libpango-1.0.so.0

View File

@ -1,12 +1,13 @@
# Template file for 'libpeas' # Template file for 'libpeas'
pkgname=libpeas pkgname=libpeas
version=1.6.0 version=1.6.0
revision=1 revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-vala" configure_args="--without-demo --disable-demo"
depends="pygobject hicolor-icon-theme" depends="pygobject hicolor-icon-theme"
makedepends="pkg-config intltool vala-devel libgirepository-devel makedepends="pkg-config intltool vala-devel libgirepository-devel
gtk+3-devel>=3.6.0_2 python-devel pygobject-devel gjs-devel libseed-devel" gtk+3-devel>=3.6.0_5 python-devel pygobject-devel gjs-devel libseed-devel"
short_desc="Gobject-based plugins engine" short_desc="Gobject-based plugins engine"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/1.6/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/1.6/$pkgname-$version.tar.xz"
@ -20,5 +21,7 @@ long_desc="
of features mirroring the desiderata of most of the applications providing an of features mirroring the desiderata of most of the applications providing an
extension framework." extension framework."
subpackages="$pkgname-devel" post_install() {
# Remove demo.
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo
}