diff --git a/common/shlibs b/common/shlibs index 18d09da0d2f..3b9915f20f5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -275,6 +275,8 @@ libXxf86vm.so.1 libXxf86vm-1.0.2_1 libXi.so.6 libXi-1.2.1_1 libdmx.so.1 libdmx-1.0.2_1 libXRes.so.1 libXres-1.0.3_1 +libxreaderdocument.so.3 libxreader-1.6.1_1 +libxreaderview.so.3 libxreader-1.6.1_1 libpciaccess.so.0 libpciaccess-0.10.5_1 libpixman-1.so.0 pixman-0.14.0_1 libXaw.so.6 libXaw-1.0.5_1 ignore diff --git a/srcpkgs/libxreader b/srcpkgs/libxreader new file mode 120000 index 00000000000..6bdeb28a0be --- /dev/null +++ b/srcpkgs/libxreader @@ -0,0 +1 @@ +xreader \ No newline at end of file diff --git a/srcpkgs/libxreader-devel b/srcpkgs/libxreader-devel new file mode 120000 index 00000000000..6bdeb28a0be --- /dev/null +++ b/srcpkgs/libxreader-devel @@ -0,0 +1 @@ +xreader \ No newline at end of file diff --git a/srcpkgs/xreader/template b/srcpkgs/xreader/template new file mode 100644 index 00000000000..6e5a9d42450 --- /dev/null +++ b/srcpkgs/xreader/template @@ -0,0 +1,39 @@ +# Template file for 'xreader' +pkgname=xreader +version=1.6.1 +revision=1 +build_style=gnu-configure +configure_script="./autogen.sh" +configure_args="--disable-caja + --disable-nemo + --disable-introspection + --disable-thumbnailer" +hostmakedepends="automake pkg-config mate-common yelp-tools" +makedepends="djvulibre-devel libgxps-devel libsecret-devel + libspectre-devel libSM-devel poppler-glib-devel webkit2gtk-devel" +depends="desktop-file-utils hicolor-icon-theme" +maintainer="cr6git " +short_desc="Document viewer capable of displaying formats like PDF and Postscript" +homepage="https://github.com/linuxmint/xreader" +license="GPL-2" +distfiles="https://github.com/linuxmint/xreader/archive/${version}.tar.gz" +checksum=32e7f51800aacb47951e45f64e0e1120b3411abe73a3a65c1479c9d54fb564b6 + +libxreader_package() { + short_desc+=" - shared library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libxreader-devel_package() { + depends="libxreader>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} +