diff --git a/srcpkgs/gtkhtml-devel b/srcpkgs/gtkhtml-devel new file mode 120000 index 00000000000..81f1e9464ca --- /dev/null +++ b/srcpkgs/gtkhtml-devel @@ -0,0 +1 @@ +gtkhtml \ No newline at end of file diff --git a/srcpkgs/gtkhtml/depends b/srcpkgs/gtkhtml/depends new file mode 100644 index 00000000000..f2d31f88149 --- /dev/null +++ b/srcpkgs/gtkhtml/depends @@ -0,0 +1,2 @@ +abi_depends=">=4.2.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/gtkhtml/gtkhtml-devel.template b/srcpkgs/gtkhtml/gtkhtml-devel.template new file mode 100644 index 00000000000..6d420fc3a0b --- /dev/null +++ b/srcpkgs/gtkhtml/gtkhtml-devel.template @@ -0,0 +1,24 @@ +# Template file for 'gtkhtml-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run gtk+3-devel +Add_dependency run glib-devel +Add_dependency run enchant-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run gdk-pixbuf-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run libgtkhtml + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/gtkhtml/libgtkhtml.template b/srcpkgs/gtkhtml/libgtkhtml.template new file mode 100644 index 00000000000..36b18283b49 --- /dev/null +++ b/srcpkgs/gtkhtml/libgtkhtml.template @@ -0,0 +1,22 @@ +# Template file for 'libgtkhtml'. +# +short_desc="${sourcepkg} (runtime libraries)" +long_desc="${long_desc} + + This package contains the runtime libraries." + +Add_dependency run enchant +Add_dependency run gtk+3 +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run glibc + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/gtkhtml/template b/srcpkgs/gtkhtml/template new file mode 100644 index 00000000000..e1e9f21b338 --- /dev/null +++ b/srcpkgs/gtkhtml/template @@ -0,0 +1,39 @@ +# Template file for 'gtkhtml' +pkgname=gtkhtml +version=4.2.1 +distfiles="${GNOME_SITE}/${pkgname}/4.2/${pkgname}-${version}.tar.xz" +build_style=gnu-configure +short_desc="Layout engine written in C using the GTK+ widget toolkit" +maintainer="davehome " +homepage="http://www.gnome.org" +license="GPL-2" +checksum=e72fb264bae45f2a340818c645248c29eaa2acf3d2bb3c2316ae296a0d438558 +long_desc=" + GtkHTML is a HTML rendering/editing library. It is not designed to be the + ultimate HTML browser/editor; instead, it is designed to be easily embedded + into applications that require lightweight HTML functionality." + +subpackages="lib${pkgname} ${pkgname}-devel" + +Add_dependency run glibc +Add_dependency run libgtkhtml +Add_dependency run gtk+3 +Add_dependency run glib + +Add_dependency build gtk+3-devel +Add_dependency build glib-devel +Add_dependency build enchant-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel + +Add_dependency build pkg-config +Add_dependency build intltool + +Add_dependency full hicolor-icon-theme +Add_dependency full desktop-file-utils +Add_dependency full gsettings-desktop-schemas +Add_dependency full iso-codes diff --git a/srcpkgs/libgtkhtml b/srcpkgs/libgtkhtml new file mode 120000 index 00000000000..81f1e9464ca --- /dev/null +++ b/srcpkgs/libgtkhtml @@ -0,0 +1 @@ +gtkhtml \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 10aee975d63..77e84b28e27 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -954,3 +954,5 @@ libSlice.so.34 libIce Ice-devel libIceSSL.so.34 libIce Ice-devel libIcePatch2.so.34 libIce Ice-devel libIceXML.so.34 libIce Ice-devel +libgtkhtml-4.0.so.0 libgtkhtml gtkhtml-devel +libgtkhtml-editor-4.0.so.0 libgtkhtml gtkhtml-devel