summaryrefslogtreecommitdiff
path: root/app-text/djview
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/djview')
-rw-r--r--app-text/djview/Manifest13
-rw-r--r--app-text/djview/djview-4.10.3.ebuild81
-rw-r--r--app-text/djview/djview-4.10.5.ebuild81
-rw-r--r--app-text/djview/djview-4.10.6.ebuild81
-rw-r--r--app-text/djview/djview-4.10.ebuild83
-rw-r--r--app-text/djview/djview-4.9.ebuild83
-rw-r--r--app-text/djview/metadata.xml11
7 files changed, 433 insertions, 0 deletions
diff --git a/app-text/djview/Manifest b/app-text/djview/Manifest
new file mode 100644
index 000000000000..6bcdb9aec587
--- /dev/null
+++ b/app-text/djview/Manifest
@@ -0,0 +1,13 @@
+DIST djview-4.10.3.tar.gz 1119618 SHA256 50b80ecddc5aec03c49882c91b3af2f42abfe8454d5ddc01fb313e3481e6ab25 SHA512 6e3da481cec699558cbdca17b19b971d693341e6f5ffc07010f8ba717c6434e6d96969bfc322e4edcaaa5fd364e583c7c0908c814725caad4dcc3dad968a74c5 WHIRLPOOL 54ce8245b13c189a58e3f8171cecd3c1c48e8e56bdae3103b19186627fb002521e3fa25c1e81a49149d8b331fd9636af4badbb0be389d56022cab87ff8f2e60d
+DIST djview-4.10.5.tar.gz 1111729 SHA256 a0b302807106053d1983659ebb0139c7b1c393b3e6407f1f47990d7e3c5d7b3d SHA512 d7fa4e643e006cb1d71fe6d808fd1b200b965928bf2cdd872c9c1c1833bed71ac3c70a2967a06f31bbd83f347cb5e330f4869e42e7d9c6cd13a0db54e4354614 WHIRLPOOL 319329ac099504a3443638c91a3d078e72d231fd56504198e88017d101f8e492250d9a9205ab0eabf04af59cde2f1bad1a4056f5c8d2a99de4f916b46eda6e0e
+DIST djview-4.10.6.tar.gz 1113072 SHA256 8446f3cd692238421a342f12baa365528445637bffb96899f319fe762fda7c21 SHA512 c06b9c4c7addd9dededdc9d441094bca685c4d23744e3d1208eab33d9d341a85f120176bf9f1b879ac6620f591eefe05ac774870b1ba3215c43baf1eaf9d14f8 WHIRLPOOL c5596ea985cc9c7d6516ea851acdfb908617277a1c5b4425253bad0b907b7c50b22d23e07bcd60da188e324289217f0fbddcf0c38fa42ac367060692a259976b
+DIST djview-4.10.tar.gz 1077198 SHA256 7caf7ee249edd994092b32a5573f111b2337ec99159083a5cf1a20432633ba7f SHA512 b3755992df2000f088a93c0d77d4a2ea62f6495f67106142d4787b94d248c54561068a40700c18325c0977a057b26948762a7b71c392b0ccef455776dcb0aad0 WHIRLPOOL 179d850a994521c02a7c64e17aa8d5c618011e8a765023325bc86e19f8b7797ac1f70962b1ccb9438b3a853463c797698a29d09f937317fa0ab0ac65b5016f29
+DIST djview-4.9.tar.gz 930676 SHA256 d150f557aaa073356d77c1f5e566a6a566281df5f92395b6822139f0e5c90e0c SHA512 dc2862d673eb77cca77a512a64257e7b37707789de41362fb62295ef495201a81cf31d0282a88ed70e32f8c7cd5643b568ce9761297d0e61d72fdbea7ecbfa94 WHIRLPOOL b522f9ba7283430fa7134f172b6a358c95da03e10fcf1e5f55bdd5c9be1f2929c07682e48e3a90695c838dfd2ffb875794c95e70d4096dd9595da402f76523fd
+EBUILD djview-4.10.3.ebuild 1977 SHA256 f2cfe4778660d5c37877c878add10aa1e064d367872974d7ff130532de9ca37d SHA512 538d5f93cf7bd1b9201ddb8fbd2eb3374137c47f8e3624dbdcf44e3b823e72e3e7d8ef041af35c52f4d36f5abb36d19c68e4dd5c24ed8ae05dd30a4cafb42609 WHIRLPOOL 7bc2ac522517b70b93501f84763c506eaae126a5e13fec09577fc817c0763c59ca5a7abb94391efa5ff17b95109b6335948ad2384ac0f45d668e6862eea3f2f8
+EBUILD djview-4.10.5.ebuild 1977 SHA256 f2cfe4778660d5c37877c878add10aa1e064d367872974d7ff130532de9ca37d SHA512 538d5f93cf7bd1b9201ddb8fbd2eb3374137c47f8e3624dbdcf44e3b823e72e3e7d8ef041af35c52f4d36f5abb36d19c68e4dd5c24ed8ae05dd30a4cafb42609 WHIRLPOOL 7bc2ac522517b70b93501f84763c506eaae126a5e13fec09577fc817c0763c59ca5a7abb94391efa5ff17b95109b6335948ad2384ac0f45d668e6862eea3f2f8
+EBUILD djview-4.10.6.ebuild 1977 SHA256 f2cfe4778660d5c37877c878add10aa1e064d367872974d7ff130532de9ca37d SHA512 538d5f93cf7bd1b9201ddb8fbd2eb3374137c47f8e3624dbdcf44e3b823e72e3e7d8ef041af35c52f4d36f5abb36d19c68e4dd5c24ed8ae05dd30a4cafb42609 WHIRLPOOL 7bc2ac522517b70b93501f84763c506eaae126a5e13fec09577fc817c0763c59ca5a7abb94391efa5ff17b95109b6335948ad2384ac0f45d668e6862eea3f2f8
+EBUILD djview-4.10.ebuild 2027 SHA256 8fd1ca7732a3316070bc49a7c2d20293060948e707b3191f8bc91b80b438c25c SHA512 3ceea3d4e3e82acf37d6612391b9f9d38d324a3e2a2ba8f8c6e667cbe5bf43cbf40c4fc5f2c055de82f521dbe8d76e448169d531e815d061ed5f38928d93cae5 WHIRLPOOL 889ed1d4952d3357326b112ee878f466c301cdde8fdb1c7cc55b1d6115499147ab416042e83c9d6959b2566faf7d68f60667b9d3f3b7badbf2a2393f526fd4f6
+EBUILD djview-4.9.ebuild 1945 SHA256 e1bcc601789790429e7562dd1d71d549bc40e2e6aa1d7009c979165f9dbb5ac2 SHA512 8eedc3e6d1f0d6e8512eb7b6e305221b325cca6267990d619f91dd01eabd2f607e0df00145528f6f0b96aae25630585968f99e30d061378039be952089f27fde WHIRLPOOL 717d597fa20a82c1e968f0ca3dde3114e817b94a37aed35065b5347d723c4a3662a4d8ef890268ff37e645f7eb0e474cc0cc862c6bc90df08f741db5acfd2f69
+MISC ChangeLog 2944 SHA256 b5c6ee3a693076190f6d1523bcd139b473531766262cb65706c44933f986db48 SHA512 204b34144ee1537c37c39266e57525935b9f6433d2820f841c6f507da1ef142d2440c35819d14df9364efdd0f7f4b7f76dc254e4610d4923b17164ef748e1ac3 WHIRLPOOL 49fa4a23e396b43fb07eae4b391d2258ea71166e7a768f28149bef00ffd85f21d6ee3de2dbfda15f15cfadab448b5da0548f8edc3fecfb74efdf72ebc587b876
+MISC ChangeLog-2015 3966 SHA256 08e8ab32f19323fb66432c50d4eb95caa7ab2cad88a4c8a49f08e4c8ba638841 SHA512 3cc7220a7c9866c102d7fb97d0992d4b099b4ba311cce14a2630727a4c4f0afd9ac837772e3d43bbb6b712649f8c4ef593b2407b3ddaa8c072b2b3bfcbccccf6 WHIRLPOOL 554a4281f584588b428164ecd89085cc559ed798510e19f2dbf6fdafccd1c22025d98dba4326e17ca3b83a6f9fd3d4bc77c2a8e69291bdfbf8d2df706bac5c31
+MISC metadata.xml 323 SHA256 fc4d0ce234b1ecedbc5d345bfbdca3efbad55e507b095df65229353fd77f2777 SHA512 53a7a7290a2286fd31248db31160697a3b2693275013a1ea453258f9ac52fa3ea7111718ca35a5eb1652050699e5be1111c7ebb73b2a3c699383d8305509a5c4 WHIRLPOOL e839e561abd832d23d9f7399f8941e55d130bb0bc097534e7633265b896c74d98fe57f7e2961c536ee878f3b9548399bad5eac30c11fad3aca36387b05f2bfad
diff --git a/app-text/djview/djview-4.10.3.ebuild b/app-text/djview/djview-4.10.3.ebuild
new file mode 100644
index 000000000000..21dc4b949344
--- /dev/null
+++ b/app-text/djview/djview-4.10.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug nsplugin"
+
+RDEPEND="
+ >=app-text/djvu-3.5.22-r1
+ dev-qt/qtdbus:4
+ dev-qt/qtopengl:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.67
+ virtual/pkgconfig
+ nsplugin? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
+ sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
+ sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ # See config/acinclude.m4
+ use debug || append-cppflags "-DNDEBUG"
+
+ # QTDIR is needed because of kde3
+ QTDIR=/usr \
+ econf \
+ --with-x \
+ $(use_enable nsplugin nsdejavu) \
+ --disable-desktopfiles
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ install
+
+ dodoc README NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/64x64/apps
+ newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins djview.svg djvulibre-djview4.svg
+ sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ domenu djvulibre-djview4.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-text/djview/djview-4.10.5.ebuild b/app-text/djview/djview-4.10.5.ebuild
new file mode 100644
index 000000000000..21dc4b949344
--- /dev/null
+++ b/app-text/djview/djview-4.10.5.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug nsplugin"
+
+RDEPEND="
+ >=app-text/djvu-3.5.22-r1
+ dev-qt/qtdbus:4
+ dev-qt/qtopengl:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.67
+ virtual/pkgconfig
+ nsplugin? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
+ sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
+ sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ # See config/acinclude.m4
+ use debug || append-cppflags "-DNDEBUG"
+
+ # QTDIR is needed because of kde3
+ QTDIR=/usr \
+ econf \
+ --with-x \
+ $(use_enable nsplugin nsdejavu) \
+ --disable-desktopfiles
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ install
+
+ dodoc README NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/64x64/apps
+ newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins djview.svg djvulibre-djview4.svg
+ sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ domenu djvulibre-djview4.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-text/djview/djview-4.10.6.ebuild b/app-text/djview/djview-4.10.6.ebuild
new file mode 100644
index 000000000000..21dc4b949344
--- /dev/null
+++ b/app-text/djview/djview-4.10.6.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug nsplugin"
+
+RDEPEND="
+ >=app-text/djvu-3.5.22-r1
+ dev-qt/qtdbus:4
+ dev-qt/qtopengl:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.67
+ virtual/pkgconfig
+ nsplugin? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
+ sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
+ sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ # See config/acinclude.m4
+ use debug || append-cppflags "-DNDEBUG"
+
+ # QTDIR is needed because of kde3
+ QTDIR=/usr \
+ econf \
+ --with-x \
+ $(use_enable nsplugin nsdejavu) \
+ --disable-desktopfiles
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ install
+
+ dodoc README NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/64x64/apps
+ newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins djview.svg djvulibre-djview4.svg
+ sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ domenu djvulibre-djview4.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-text/djview/djview-4.10.ebuild b/app-text/djview/djview-4.10.ebuild
new file mode 100644
index 000000000000..bc6ab11b3c1e
--- /dev/null
+++ b/app-text/djview/djview-4.10.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug nsplugin"
+
+RDEPEND="
+ >=app-text/djvu-3.5.22-r1
+ dev-qt/qtdbus:4
+ dev-qt/qtopengl:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.67
+ virtual/pkgconfig
+ nsplugin? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
+ sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
+ sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ # See config/acinclude.m4
+ use debug || append-cppflags "-DNDEBUG"
+
+ # QTDIR is needed because of kde3
+ QTDIR=/usr \
+ econf \
+ --with-x \
+ $(use_enable nsplugin nsdejavu) \
+ --disable-desktopfiles
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ install
+
+ dodoc README NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins prebuilt-hi32-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/64x64/apps
+ newins prebuilt-hi64-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins djview.svg djvulibre-djview4.svg
+ sed -i -e 's/Exec=djview4/Exec=djview/' djvulibre-djview4.desktop
+ domenu djvulibre-djview4.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-text/djview/djview-4.9.ebuild b/app-text/djview/djview-4.9.ebuild
new file mode 100644
index 000000000000..bd924b75378b
--- /dev/null
+++ b/app-text/djview/djview-4.9.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools gnome2-utils fdo-mime flag-o-matic versionator toolchain-funcs multilib nsplugins
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 x86"
+IUSE="debug nsplugin"
+
+RDEPEND="
+ >=app-text/djvu-3.5.22-r1
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.67
+ virtual/pkgconfig
+ nsplugin? ( dev-libs/glib:2 )"
+
+S=${WORKDIR}/${PN}4-${PV}
+
+src_prepare() {
+ # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
+ sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
+ sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
+ rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ # See config/acinclude.m4
+ use debug || append-cppflags "-DNDEBUG"
+
+ # QTDIR is needed because of kde3
+ QTDIR=/usr \
+ econf \
+ --with-x \
+ $(use_enable nsplugin nsdejavu) \
+ --disable-desktopfiles
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
+ install
+
+ dodoc README NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins hi32-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/64x64/apps
+ newins hi64-djview4.png djvulibre-djview4.png
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins djview.svg djvulibre-djview4.svg
+ domenu djvulibre-djview4.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-text/djview/metadata.xml b/app-text/djview/metadata.xml
new file mode 100644
index 000000000000..73ad11b1a6a5
--- /dev/null
+++ b/app-text/djview/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">djvu</remote-id>
+ </upstream>
+</pkgmetadata>