diff --git a/common/shlibs b/common/shlibs index f3a2b192b1..f6a1c39545 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2787,3 +2787,4 @@ libmutter-cogl-pango.so mutter-3.22.0_1 libmutter-cogl-path.so mutter-3.22.0_1 libmutter-cogl.so mutter-3.22.0_1 libgeoclue-2.so.0 geoclue2-2.4.4_1 +libgepub.so.0 libgepub-0.4_1 diff --git a/srcpkgs/libgepub-devel b/srcpkgs/libgepub-devel new file mode 120000 index 0000000000..fca9aa2fa9 --- /dev/null +++ b/srcpkgs/libgepub-devel @@ -0,0 +1 @@ +libgepub \ No newline at end of file diff --git a/srcpkgs/libgepub/template b/srcpkgs/libgepub/template new file mode 100644 index 0000000000..da14ca5188 --- /dev/null +++ b/srcpkgs/libgepub/template @@ -0,0 +1,36 @@ +# Template file for 'libgepub' +pkgname=libgepub +version=0.4 +revision=1 +build_style=gnu-configure +configure_args="--enable-fts --enable-datahub $(vopt_enable gir introspection)" +hostmakedepends="pkg-config vala-devel $(vopt_if gir gobject-introspection)" +makedepends="webkit2gtk-devel libsoup-devel libxml2-devel libarchive-devel" +depends="" +short_desc="Library to read epub files using glib" +maintainer="Enno Boland " +license="LGPL-2.1" +homepage="http://live.gnome.org/" +distfiles="${GNOME_SITE}/$pkgname/${version}/$pkgname-$version.tar.xz" +checksum=5666a1c4d186d205bd2d91b71d4c1cd5426025569114a765dd913a564f149ff4 + +# Package build options +build_options="gir" +# Disable gir for cross builds. +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + +libgepub-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + fi + } +}