diff options
Diffstat (limited to 'app-text/atril')
-rw-r--r-- | app-text/atril/Manifest | 4 | ||||
-rw-r--r-- | app-text/atril/atril-1.26.2.ebuild | 117 | ||||
-rw-r--r-- | app-text/atril/metadata.xml | 9 |
3 files changed, 128 insertions, 2 deletions
diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest index ff3216c336b2..030b73dbb80f 100644 --- a/app-text/atril/Manifest +++ b/app-text/atril/Manifest @@ -1,8 +1,10 @@ AUX atril-1.26.1-webkitgtk4.1.patch 510 BLAKE2B de6ea9eb6d2f43243d1827655fb25c02b8cd54f7af9a5f9da5b92432b3572b73f419a880d47d36fed5e5db7cf3114b70adac31a50f1cb8611f79933492f02804 SHA512 29e856a258f50b972618fef4efaa8d45269430d7c73bf3454f31b7d5ffa508e07485137a6b94fd71c5a7eb5ef68abedf9e82b98a73f0d78fd4015466d059ba93 DIST atril-1.26.0.tar.xz 1986160 BLAKE2B 40de33749113144c49341cf8249bd20de37c3d64f3daa865dfe2bcad117e1c2b5aae2aef3b4e0199fd2656b17af236e2a863ef97933decc5072e3419219154e4 SHA512 9c4e8b1c45959136c8fc4c5db47117e45e8afca8be2294418e6c1a0f8098c162ccaa4a60e5baea34db91d45d345a3953afe95281782986e7046b87a34c8f7dbd DIST atril-1.26.1.tar.xz 2087068 BLAKE2B d655bffb4a8245bb3cc25fc91d08ba64ade22fb6da24f5fcb9c418c020c99df66c85a0b59f1d0c31a2f450650d9807adc248a7baeb74cb696bf3687270572f47 SHA512 276e80a81234f3228065f3a804fbd8a306ac948978f3dfd233f678dc4fb6f833ebd1123950996ae08869fac112ebb0d2785ab60fde6bfddd2d2c407a2c991ea3 +DIST atril-1.26.2.tar.xz 2095464 BLAKE2B 9e0d0829c7ae692f695e3cc5a45927b503c87e57d6e6a5808626f71de01394201047fe4bdca804369d1184802eff38364ae43e36536e1258d6798e473e5e08ac SHA512 d0b3fe14443907e43a58083282d555b74189d63d94e9ec0c2053976ad529d236738c3af4a668e813307d1ba44551b0a8ad1bc78cd8f53ab61cb811eca136eec9 DIST atril-1.27.0.tar.xz 2082372 BLAKE2B 4f8a3002e9979474be71a7b8d5fda1fc63bc9f3b231dfed7db9a66b0e23acf7d7fd24de070ca55974b19ec4a54d2d95542b84b150ade632087b9e638c6faa404 SHA512 1e8bdf689517be073943b49a81244138d3ebb7783cc45ccc1847eb545ba2897d63a01a5a87b95b359b23760f7f843131ac3f7e2912b0320d9dd5d0f765bfe843 EBUILD atril-1.26.0-r5.ebuild 2894 BLAKE2B 93ba39922ef5dc3588c4812bf0cdfea2147aa909172198384e9d9ff0027a3096e5407436ed8090824e8d004477181c12293edc94c3ec0f690d97006ff46b5b65 SHA512 67cbee8fe997b25cb947c14a7b61f0803e0537a7a6358be9389a12c18eb5522389bff256a50e70195e9421fd7765ddfb501d5669c86486bcc80e30dbe9e22d75 EBUILD atril-1.26.1-r1.ebuild 2985 BLAKE2B 51053becb10079db57c6289db1948f7ba1acd2b0a2c21eb15386cf92190516794c20d6fa596e68e4476cd49410128065e515b0138ec132455bc9ca19cf50c52b SHA512 19d843e90dee185e95ccaaf500c70048b9872ce9f193e4d7b7f475aec977af6bf7bc037f1d8291cf2ac7dd5e0102499c6e9bbe2dae3ee36b250fe77fd623b031 +EBUILD atril-1.26.2.ebuild 2896 BLAKE2B c911f4888e0842eac10ae65691a10b85a71823347df6b97c2ab423c969027779a8dea25636642b26c22cdd17a124978dfc126cd8e2d68bf2234beda15e7e7d41 SHA512 28fbe60cd123beb44a2f8ba1e34202973d32f5c281759c99c65399ace7db11b6c61c155bf0ea3d74471a28b61775964f2dca00b677f0667964c5d589a651754c EBUILD atril-1.27.0.ebuild 2837 BLAKE2B f547eb6518ea6d08c2e6e656c3d1ad1c655f3777e1784603e05720c1b1becb3053b2f9057881e49c8962177c26ba5b77e3dc16a17b1f768dc4dd62bc888f3e43 SHA512 a0e8a5598c9c06fe51220638ff291e61ea7b24fbe1972dcb86b4c23277d5ad7c2461e990c6fe80745cf2a64fb2003b8eaadd5a5e322476a38c79f04e6e62d303 -MISC metadata.xml 804 BLAKE2B 864f05dd172eb6a416b23c5a0df4fa67b3ce2516e32584a3d3a77b0fe1fd9af9315ed11a90e2ad2ecc5b84bf17a42a3aad31ee7c5dda1141c7b0580fd11b2fb1 SHA512 7e2a130622cfff0bfee49258e0be2020cf3b969e41ef772c0d998ea6bcc89bd904255fb28cde4468797c2edab0495308aadc7146cc0ecd96df98aca6f9993354 +MISC metadata.xml 1026 BLAKE2B 9c5739b5f0d6d81a73cd656afc260729b252e5ede4713ad4f4a78c2a84691134931fba56035b3132c798e358d6e397912d50de69bc7df2e458b2778b0e044875 SHA512 6d0edc6594e65dcf39a04e460acaad83d6d214040c45817e1a94f86d64403902993bda90425cebfde2e19e37d452618568e09aa76294748e3d155e424d53faa2 diff --git a/app-text/atril/atril-1.26.2.ebuild b/app-text/atril/atril-1.26.2.ebuild new file mode 100644 index 000000000000..2bbb97a2dea2 --- /dev/null +++ b/app-text/atril/atril-1.26.2.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MATE_LA_PUNT="yes" + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit mate python-any-r1 virtualx + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi + +DESCRIPTION="Atril document viewer for MATE" +LICENSE="FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+" +SLOT="0" + +IUSE="caja dbus debug djvu dvi epub +introspection keyring nls +postscript synctex t1lib test tiff xps" + +REQUIRED_USE="t1lib? ( dvi )" + +COMMON_DEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-arch/libarchive:= + >=app-text/poppler-0.22[cairo] + >=dev-libs/glib-2.62:2 + >=dev-libs/libxml2-2.5:2 + sys-libs/zlib + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.22:3[introspection?] + x11-libs/libICE + >=x11-libs/libSM-1:0 + x11-libs/libX11 + >=x11-libs/cairo-1.14 + x11-libs/pango + caja? ( >=mate-base/caja-1.17.1[introspection?] ) + djvu? ( >=app-text/djvu-3.5.17:0 ) + dvi? ( + virtual/tex-base + t1lib? ( >=media-libs/t1lib-5:5 ) + ) + epub? ( + <dev-libs/mathjax-3 + >=net-libs/webkit-gtk-2.6.0:4.1 + ) + keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-0.6:= ) + postscript? ( >=app-text/libspectre-0.2 ) + synctex? ( virtual/tex-base ) + tiff? ( >=media-libs/tiff-3.6:= ) + xps? ( >=app-text/libgxps-0.2.1 ) +" + +RDEPEND="${COMMON_DEPEND} + virtual/libintl + !!app-text/mate-document-viewer +" + +BDEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/yelp-tools + dev-util/gdbus-codegen + dev-util/glib-utils + dev-util/gtk-doc + dev-build/gtk-doc-am + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) +" + +#RESTRICT="!test? ( test )" +# Tests use dogtail and require using accessibility services. +# Until we figure out how to run successfully, don't run tests +RESTRICT="test" + +python_check_deps() { + use test && python_has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + # Passing --disable-help would drop offline help, that would be inconsistent + # with helps of the most of GNOME apps that doesn't require network for that. + mate_src_configure \ + --enable-comics \ + --enable-pdf \ + --enable-pixbuf \ + --enable-previewer \ + --enable-thumbnailer \ + $(use_with keyring) \ + $(use_enable caja) \ + $(use_enable dbus) \ + $(use_enable debug) \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_enable epub) \ + $(use_enable introspection) \ + $(use_enable nls) \ + $(use_enable postscript ps) \ + $(use_enable synctex) \ + $(use_enable t1lib) \ + $(use_enable test tests) \ + $(use_enable tiff) \ + $(use_enable xps) +} + +src_test() { + export GSETTINGS_BACKEND=keyfile + gsettings set org.gnome.desktop.interface toolkit-accessibility true || die + gsettings set org.mate.interface accessibility true || die + virtx emake check +} diff --git a/app-text/atril/metadata.xml b/app-text/atril/metadata.xml index 7c27d9fcf37d..d690fcffc210 100644 --- a/app-text/atril/metadata.xml +++ b/app-text/atril/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person" proxied="yes"> + <email>oz.tiram@gmail.com</email> + <name>Oz Tiram</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="caja">Enable property page extension in <pkg>mate-base/caja</pkg></flag> |