2010-04-16 11:22:20 +00:00
|
|
|
# Template file for 'seed'
|
|
|
|
pkgname=seed
|
2013-04-17 20:17:42 +00:00
|
|
|
version=3.8.1
|
2014-02-27 13:54:19 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-11 09:19:19 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-17 08:47:27 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2014-02-27 13:54:19 +00:00
|
|
|
makedepends="mpfr-devel readline-devel>=6.3 gobject-introspection
|
2013-04-17 20:19:51 +00:00
|
|
|
libsoup-devel webkitgtk-devel sqlite-devel dbus-glib-devel
|
|
|
|
gir-freedesktop gnome-js-common"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="gir-freedesktop gnome-js-common"
|
2010-04-16 11:22:20 +00:00
|
|
|
short_desc="GObject JavaScript bindings for the webkit engine - Interpreter"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-04 17:05:21 +00:00
|
|
|
homepage="http://live.gnome.org/Seed/"
|
|
|
|
license="LGPL-2.1"
|
2013-04-17 20:17:42 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
|
|
|
|
checksum=80cb4db7fa6f6cf8d3e255fc45a81657388d458bc8bf23e4089e35f69eeaac32
|
2013-04-14 10:31:59 +00:00
|
|
|
|
2014-02-27 16:44:14 +00:00
|
|
|
pre_configure() {
|
|
|
|
# Fix for readline>=6.3
|
|
|
|
sed -e 's,(Function \*),,g' -i modules/readline/seed-readline.c
|
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
libseed-devel_package() {
|
2013-04-17 20:17:42 +00:00
|
|
|
depends="webkitgtk-devel libgirepository-devel libglib-devel
|
2013-04-14 10:31:59 +00:00
|
|
|
libseed-${version}_${revision}"
|
|
|
|
short_desc="GObject JavaScript bindings for the webkit engine - Development"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-04-15 20:04:04 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-17 08:47:27 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 10:31:59 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-15 20:04:04 +00:00
|
|
|
libseed_package() {
|
|
|
|
short_desc="GObject JavaScript bindings for the webkit engine - Runtime"
|
|
|
|
pkg_install() {
|
2014-02-17 08:47:27 +00:00
|
|
|
vmove "usr/lib/libseed*.so.*"
|
2013-04-15 20:04:04 +00:00
|
|
|
vmove "usr/lib/seed-gtk3/*.so"
|
|
|
|
vmove usr/share/seed-gtk3
|
|
|
|
}
|
|
|
|
}
|