New package: webkit2gtk-2.6.2
This commit is contained in:
parent
25d57bd6f3
commit
fb2c71b588
3 changed files with 70 additions and 0 deletions
|
@ -476,6 +476,8 @@ libunique-3.0.so.0 libunique-2.91.4_1
|
|||
libwebkit-1.0.so webkit-gtk-1.3.12_1
|
||||
libwebkitgtk-1.0.so.0 webkit-gtk-1.3.12_1
|
||||
libwebkitgtk-3.0.so.0 webkitgtk-2.0.0_1
|
||||
libjavascriptcoregtk-4.0.so.18 webkit2gtk-2.6.2_1
|
||||
libwebkit2gtk-4.0.so.37 webkit2gtk-2.6.2_1
|
||||
libjavascriptcoregtk-1.0.so.0 webkit-gtk-1.3.12_1
|
||||
libjavascriptcoregtk-3.0.so.0 webkitgtk-2.0.0_1
|
||||
libwebkit2gtk-3.0.so.25 webkitgtk-2.0.0_1
|
||||
|
|
1
srcpkgs/webkit2gtk-devel
Symbolic link
1
srcpkgs/webkit2gtk-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
webkit2gtk
|
67
srcpkgs/webkit2gtk/template
Normal file
67
srcpkgs/webkit2gtk/template
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Template file for 'webkit2gtk'
|
||||
pkgname=webkit2gtk
|
||||
version=2.6.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DPORT=GTK -DENABLE_GTKDOC=OFF -DCMAKE_LINKER=${XBPS_CROSS_TRIPLET}-gcc"
|
||||
short_desc="GTK+3 port of the WebKit2 browser engine"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://webkitgtk.org/"
|
||||
license="LGPL-2.1, 2-clause-BSD"
|
||||
distfiles="${homepage}/releases/webkitgtk-${version}.tar.xz"
|
||||
checksum=5172e9b6b65b3de3cc25bffbe109249ac79b9256d57f6a331455ae1a5ea938b9
|
||||
wrksrc=webkitgtk-$version
|
||||
|
||||
# ETOOHUGE
|
||||
disable_debug=1
|
||||
|
||||
hostmakedepends="perl python pkg-config intltool gperf flex
|
||||
ruby glib-devel geoclue2 cmake"
|
||||
makedepends="
|
||||
at-spi2-core-devel libjpeg-turbo-devel libpng-devel>=1.6 sqlite-devel
|
||||
harfbuzz-devel>=0.9.19 gst-plugins-base1-devel libsoup-devel libxslt-devel
|
||||
icu-devel>=54 enchant-devel dbus-glib-devel libwebp-devel>=0.4.0
|
||||
gtk+-devel gtk+3-devel libgudev-devel libsecret-devel geoclue2
|
||||
ruby-devel"
|
||||
|
||||
# Package build options
|
||||
build_options="gir wayland x11"
|
||||
# Disable gir for cross builds.
|
||||
build_options_default="wayland x11"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_gir" ]; then
|
||||
configure_args+=" --enable-introspection"
|
||||
hostmakedepends+=" gobject-introspection"
|
||||
else
|
||||
configure_args+=" --disable-introspection"
|
||||
fi
|
||||
|
||||
if [ "$build_option_wayland" ]; then
|
||||
configure_args+=" --enable-wayland-target"
|
||||
makedepends+=" MesaLib-devel libxkbcommon-devel wayland-devel"
|
||||
else
|
||||
configure_args+=" --disable-wayland-target"
|
||||
fi
|
||||
|
||||
if [ "$build_option_x11" ]; then
|
||||
configure_args+=" --enable-x11-target"
|
||||
makedepends+=" libXt-devel"
|
||||
else
|
||||
configure_args+=" --disable-x11-target"
|
||||
fi
|
||||
|
||||
webkit2gtk-devel_package() {
|
||||
depends="gtk+3-devel libsoup-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue