From 35b757eec0b8965af5d833ac494fa8927b9f3050 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 2 Mar 2019 08:30:14 +0100 Subject: EAPI version bumps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Väth --- app-portage/eix/Manifest | 1 + app-portage/eix/eix-0.33.7-r1.ebuild | 152 +++++++++++++++++ app-portage/eix/eix-0.33.7.ebuild | 153 ----------------- app-portage/eix/eix-0.33.8_alpha20190302.ebuild | 170 +++++++++++++++++++ app-portage/eix/eix-99999999.ebuild | 13 +- app-text/podofo/podofo-0.9.6_p20180715-r1.ebuild | 157 ++++++++++++++++++ app-text/podofo/podofo-0.9.6_p20180715.ebuild | 157 ------------------ dev-libs/weston/weston-5.0.0-r1.ebuild | 147 +++++++++++++++++ dev-libs/weston/weston-5.0.0.ebuild | 148 ----------------- dev-perl/File-lchown/File-lchown-0.20-r1.ebuild | 2 +- media-gfx/pqiv/Manifest | 2 +- media-gfx/pqiv/pqiv-2.10.4.ebuild | 77 --------- media-gfx/pqiv/pqiv-2.11.ebuild | 77 +++++++++ .../avidemux-plugins-2.7.1-r1.ebuild | 183 +++++++++++++++++++++ .../avidemux-plugins/avidemux-plugins-2.7.1.ebuild | 179 -------------------- media-video/avidemux/avidemux-2.7.1-r1.ebuild | 178 ++++++++++++++++++++ media-video/avidemux/avidemux-2.7.1.ebuild | 178 -------------------- metadata/pkg_desc_index | 20 +-- .../martian-modem/martian-modem-20100123-r2.ebuild | 95 ----------- .../martian-modem/martian-modem-20100123-r3.ebuild | 95 +++++++++++ .../googleearth/googleearth-7.1.8.3036-r1.ebuild | 166 ------------------- .../googleearth/googleearth-7.1.8.3036-r2.ebuild | 165 +++++++++++++++++++ .../googleearth/googleearth-7.3.0.3832-r1.ebuild | 174 -------------------- .../googleearth/googleearth-7.3.0.3832-r2.ebuild | 173 +++++++++++++++++++ .../googleearth/googleearth-7.3.2-r1.ebuild | 160 ++++++++++++++++++ .../googleearth/googleearth-7.3.2.ebuild | 161 ------------------ sci-mathematics/genius/genius-1.0.21.ebuild | 2 +- sys-fs/squash_dir/squash_dir-13.14-r1.ebuild | 100 +++++++++++ sys-fs/squash_dir/squash_dir-13.14.ebuild | 101 ------------ sys-fs/squashmount/squashmount-16.1.0-r1.ebuild | 88 ++++++++++ sys-fs/squashmount/squashmount-16.1.0.ebuild | 88 ---------- sys-fs/squashmount/squashmount-19.1-r1.ebuild | 89 ++++++++++ sys-fs/squashmount/squashmount-19.1.ebuild | 89 ---------- x11-libs/gtk+/gtk+-2.24.32-r1.ebuild | 2 +- 34 files changed, 1955 insertions(+), 1787 deletions(-) create mode 100644 app-portage/eix/eix-0.33.7-r1.ebuild delete mode 100644 app-portage/eix/eix-0.33.7.ebuild create mode 100644 app-portage/eix/eix-0.33.8_alpha20190302.ebuild create mode 100644 app-text/podofo/podofo-0.9.6_p20180715-r1.ebuild delete mode 100644 app-text/podofo/podofo-0.9.6_p20180715.ebuild create mode 100644 dev-libs/weston/weston-5.0.0-r1.ebuild delete mode 100644 dev-libs/weston/weston-5.0.0.ebuild delete mode 100644 media-gfx/pqiv/pqiv-2.10.4.ebuild create mode 100644 media-gfx/pqiv/pqiv-2.11.ebuild create mode 100644 media-libs/avidemux-plugins/avidemux-plugins-2.7.1-r1.ebuild delete mode 100644 media-libs/avidemux-plugins/avidemux-plugins-2.7.1.ebuild create mode 100644 media-video/avidemux/avidemux-2.7.1-r1.ebuild delete mode 100644 media-video/avidemux/avidemux-2.7.1.ebuild delete mode 100644 net-dialup/martian-modem/martian-modem-20100123-r2.ebuild create mode 100644 net-dialup/martian-modem/martian-modem-20100123-r3.ebuild delete mode 100644 sci-geosciences/googleearth/googleearth-7.1.8.3036-r1.ebuild create mode 100644 sci-geosciences/googleearth/googleearth-7.1.8.3036-r2.ebuild delete mode 100644 sci-geosciences/googleearth/googleearth-7.3.0.3832-r1.ebuild create mode 100644 sci-geosciences/googleearth/googleearth-7.3.0.3832-r2.ebuild create mode 100644 sci-geosciences/googleearth/googleearth-7.3.2-r1.ebuild delete mode 100644 sci-geosciences/googleearth/googleearth-7.3.2.ebuild create mode 100644 sys-fs/squash_dir/squash_dir-13.14-r1.ebuild delete mode 100644 sys-fs/squash_dir/squash_dir-13.14.ebuild create mode 100644 sys-fs/squashmount/squashmount-16.1.0-r1.ebuild delete mode 100644 sys-fs/squashmount/squashmount-16.1.0.ebuild create mode 100644 sys-fs/squashmount/squashmount-19.1-r1.ebuild delete mode 100644 sys-fs/squashmount/squashmount-19.1.ebuild diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest index 412bb172..8d4d7571 100644 --- a/app-portage/eix/Manifest +++ b/app-portage/eix/Manifest @@ -1 +1,2 @@ DIST eix-0.33.7.tar.xz 626008 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077 +DIST eix-0.33.8_alpha20190302.tar.gz 680038 SHA512 3b9811f012c21a90b0cf92fb1949f853890597ba5b82c44edc7d5a203ab2cd0a5b7e2a6995ce926899e10ed35c7a2ab194839ab269a0448e1607d7d86b1e755f diff --git a/app-portage/eix/eix-0.33.7-r1.ebuild b/app-portage/eix/eix-0.33.7-r1.ebuild new file mode 100644 index 00000000..a3341ead --- /dev/null +++ b/app-portage/eix/eix-0.33.7-r1.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2019 Martin V\"ath and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +RESTRICT="mirror" # do not access gentoo mirror until it actually is there +MESON_AUTO_DEPEND=no +inherit bash-completion-r1 meson tmpfiles + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" +SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +PLOCALES="de ru" +IUSE="debug +dep doc +jumbo-build" +for i in ${PLOCALES}; do + IUSE+=" l10n_${i}" +done +IUSE+=" +meson nls optimization +required-use security +src-uri strong-optimization strong-security sqlite swap-remote tools" + +DEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${DEPEND} + >=app-shells/push-3.1 + >=app-shells/quoter-4.1" +BDEPEND="meson? ( + >=dev-util/meson-0.41.0 + >=dev-util/ninja-1.7.2 + strong-optimization? ( >=sys-devel/gcc-config-1.9.1 ) + ) + app-arch/xz-utils + nls? ( sys-devel/gettext )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache="${EROOT}var/cache/${PN}" + test -f "${old_cache}" && rm -f -- "${old_cache}" +} + +src_prepare() { + sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die + default +} + +src_configure() { + local i + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} + done + if use meson; then + local emesonargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${P}" + -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" + $(meson_use jumbo-build) + $(meson_use sqlite) + $(meson_use doc extra-doc) + $(meson_use nls) + $(meson_use tools separate-tools) + $(meson_use security) + $(meson_use optimization normal-optimization) + $(meson_use strong-security) + $(meson_use strong-optimization) + $(meson_use debug debugging) + $(meson_use swap-remote) + $(meson_use prefix always-accept-keywords) + $(meson_use dep dep-default) + $(meson_use required-use required-use-default) + $(meson_use src-uri src-uri-default) + -Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" + -Dportage-rootpath="${ROOTPATH}" + -Deprefix-default="${EPREFIX}" + ) + if use prefix; then + emesonarge+=( + -Deix-user= + -Deix-uid=-1 + ) + fi + meson_src_configure + else + local myconf=( + $(use_enable jumbo-build) + $(use_with sqlite) + $(use_with doc extra-doc) + $(use_enable nls) + $(use_enable tools separate-tools) + $(use_enable security) + $(use_enable optimization) + $(use_enable strong-security) + $(use_enable strong-optimization) + $(use_enable debug debugging) + $(use_enable swap-remote) + $(use_with prefix always-accept-keywords) + $(use_with dep dep-default) + $(use_with required-use required-use-default) + $(use_with src-uri src-uri-default) + --with-zsh-completion + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + ) + if use prefix; then + myconf+=( + --with-eix-user= + --with-eix-uid=-1 + ) + fi + econf "${myconf[@]}" + fi +} + +src_compile() { + if use meson; then + meson_src_compile + else + default + fi +} + +src_test() { + if use meson; then + meson_src_test + else + default + fi +} + +src_install() { + if use meson; then + meson_src_install + else + default + fi + dobashcomp bash/eix + dotmpfiles tmpfiles.d/eix.conf +} + +pkg_postinst() { + local obs="${EROOT}var/cache/eix.previous" + if test -f "${obs}"; then + ewarn "Found obsolete ${obs}, please remove it" + fi + tmpfiles_process eix.conf +} + +pkg_postrm() { + if [ -z "${REPLACED_BY_VERSION}" ]; then + rm -rf -- "${EROOT}var/cache/${PN}" + fi +} diff --git a/app-portage/eix/eix-0.33.7.ebuild b/app-portage/eix/eix-0.33.7.ebuild deleted file mode 100644 index e8c6557d..00000000 --- a/app-portage/eix/eix-0.33.7.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2018 Martin V\"ath and others -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" # do not access gentoo mirror until it actually is there -MESON_AUTO_DEPEND=no -inherit bash-completion-r1 meson tmpfiles - -DESCRIPTION="Search and query ebuilds" -HOMEPAGE="https://github.com/vaeth/eix/" -SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -PLOCALES="de ru" -IUSE="debug +dep doc +jumbo-build" -for i in ${PLOCALES}; do - IUSE+=" l10n_${i}" -done -IUSE+=" +meson nls optimization +required-use security +src-uri strong-optimization strong-security sqlite swap-remote tools" - -BOTHDEPEND="nls? ( virtual/libintl ) - sqlite? ( >=dev-db/sqlite-3:= )" -RDEPEND="${BOTHDEPEND} - >=app-shells/push-3.1 - >=app-shells/quoter-4.1" -DEPEND="${BOTHDEPEND} - meson? ( - >=dev-util/meson-0.41.0 - >=dev-util/ninja-1.7.2 - strong-optimization? ( >=sys-devel/gcc-config-1.9.1 ) - ) - app-arch/xz-utils - nls? ( sys-devel/gettext )" - -pkg_setup() { - # remove stale cache file to prevent collisions - local old_cache="${EROOT}var/cache/${PN}" - test -f "${old_cache}" && rm -f -- "${old_cache}" -} - -src_prepare() { - sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die - default -} - -src_configure() { - local i - export LINGUAS= - for i in ${PLOCALES}; do - use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} - done - if use meson; then - local emesonargs=( - -Ddocdir="${EPREFIX}/usr/share/doc/${P}" - -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" - $(meson_use jumbo-build) - $(meson_use sqlite) - $(meson_use doc extra-doc) - $(meson_use nls) - $(meson_use tools separate-tools) - $(meson_use security) - $(meson_use optimization normal-optimization) - $(meson_use strong-security) - $(meson_use strong-optimization) - $(meson_use debug debugging) - $(meson_use swap-remote) - $(meson_use prefix always-accept-keywords) - $(meson_use dep dep-default) - $(meson_use required-use required-use-default) - $(meson_use src-uri src-uri-default) - -Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" - -Dportage-rootpath="${ROOTPATH}" - -Deprefix-default="${EPREFIX}" - ) - if use prefix; then - emesonarge+=( - -Deix-user= - -Deix-uid=-1 - ) - fi - meson_src_configure - else - local myconf=( - $(use_enable jumbo-build) - $(use_with sqlite) - $(use_with doc extra-doc) - $(use_enable nls) - $(use_enable tools separate-tools) - $(use_enable security) - $(use_enable optimization) - $(use_enable strong-security) - $(use_enable strong-optimization) - $(use_enable debug debugging) - $(use_enable swap-remote) - $(use_with prefix always-accept-keywords) - $(use_with dep dep-default) - $(use_with required-use required-use-default) - $(use_with src-uri src-uri-default) - --with-zsh-completion - --with-portage-rootpath="${ROOTPATH}" - --with-eprefix-default="${EPREFIX}" - ) - if use prefix; then - myconf+=( - --with-eix-user= - --with-eix-uid=-1 - ) - fi - econf "${myconf[@]}" - fi -} - -src_compile() { - if use meson; then - meson_src_compile - else - default - fi -} - -src_test() { - if use meson; then - meson_src_test - else - default - fi -} - -src_install() { - if use meson; then - meson_src_install - else - default - fi - dobashcomp bash/eix - dotmpfiles tmpfiles.d/eix.conf -} - -pkg_postinst() { - local obs="${EROOT}var/cache/eix.previous" - if test -f "${obs}"; then - ewarn "Found obsolete ${obs}, please remove it" - fi - tmpfiles_process eix.conf -} - -pkg_postrm() { - if [ -z "${REPLACED_BY_VERSION}" ]; then - rm -rf -- "${EROOT}var/cache/${PN}" - fi -} diff --git a/app-portage/eix/eix-0.33.8_alpha20190302.ebuild b/app-portage/eix/eix-0.33.8_alpha20190302.ebuild new file mode 100644 index 00000000..d48b230e --- /dev/null +++ b/app-portage/eix/eix-0.33.8_alpha20190302.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2019 Martin V\"ath and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +WANT_LIBTOOL=none +AUTOTOOLS_AUTO_DEPEND=no +MESON_AUTO_DEPEND=no +inherit autotools bash-completion-r1 meson tmpfiles + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +case ${PV} in +99999999*) + EGIT_REPO_URI="https://github.com/vaeth/${PN}.git" + inherit git-r3 + SRC_URI="" + KEYWORDS="" + PROPERTIES="live";; +*) + RESTRICT="mirror" + EGIT_COMMIT="d57daebb8275fa8a6704ff29aac7db58477f4615" + SRC_URI="https://github.com/vaeth/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}";; +esac + +DESCRIPTION="Search and query ebuilds" +HOMEPAGE="https://github.com/vaeth/eix/" + +LICENSE="GPL-2" +SLOT="0" +PLOCALES="de ru" +IUSE="debug +dep doc +jumbo-build" +for i in ${PLOCALES}; do + IUSE+=" l10n_${i}" +done +IUSE+=" +meson nls optimization +required-use security +src-uri strong-optimization strong-security sqlite swap-remote tools" + +DEPEND="nls? ( virtual/libintl ) + sqlite? ( >=dev-db/sqlite-3:= )" +RDEPEND="${DEPEND} + >=app-shells/push-3.1 + >=app-shells/quoter-4.1" +BDEPEND="meson? ( + >=dev-util/meson-0.41.0 + >=dev-util/ninja-1.7.2 + strong-optimization? ( >=sys-devel/gcc-config-1.9.1 ) + nls? ( sys-devel/gettext ) + ) + !meson? ( ${AUTOTOOLS_DEPEND} >=sys-devel/gettext-0.19.6 )" + +pkg_setup() { + # remove stale cache file to prevent collisions + local old_cache="${EROOT}var/cache/${PN}" + test -f "${old_cache}" && rm -f -- "${old_cache}" +} + +src_prepare() { + sed -i -e "s'/'${EPREFIX}/'" -- "${S}"/tmpfiles.d/eix.conf || die + default + use meson || { + eautopoint + eautoreconf + } +} + +src_configure() { + local i + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} + done + if use meson; then + local emesonargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${P}" + -Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" + $(meson_use jumbo-build) + $(meson_use sqlite) + $(meson_use doc extra-doc) + $(meson_use nls) + $(meson_use tools separate-tools) + $(meson_use security) + $(meson_use optimization normal-optimization) + $(meson_use strong-security) + $(meson_use strong-optimization) + $(meson_use debug debugging) + $(meson_use swap-remote) + $(meson_use prefix always-accept-keywords) + $(meson_use dep dep-default) + $(meson_use required-use required-use-default) + $(meson_use src-uri src-uri-default) + -Dzsh-completion="${EPREFIX}/usr/share/zsh/site-functions" + -Dportage-rootpath="${ROOTPATH}" + -Deprefix-default="${EPREFIX}" + ) + if use prefix; then + emesonarge+=( + -Deix-user= + -Deix-uid=-1 + ) + fi + meson_src_configure + else + local myconf=( + $(use_enable jumbo-build) + $(use_with sqlite) + $(use_with doc extra-doc) + $(use_enable nls) + $(use_enable tools separate-tools) + $(use_enable security) + $(use_enable optimization) + $(use_enable strong-security) + $(use_enable strong-optimization) + $(use_enable debug debugging) + $(use_enable swap-remote) + $(use_with prefix always-accept-keywords) + $(use_with dep dep-default) + $(use_with required-use required-use-default) + $(use_with src-uri src-uri-default) + --with-zsh-completion + --with-portage-rootpath="${ROOTPATH}" + --with-eprefix-default="${EPREFIX}" + ) + if use prefix; then + myconf+=( + --with-eix-user= + --with-eix-uid=-1 + ) + fi + econf "${myconf[@]}" + fi +} + +src_compile() { + if use meson; then + meson_src_compile + else + default + fi +} + +src_test() { + if use meson; then + meson_src_test + else + default + fi +} + +src_install() { + if use meson; then + meson_src_install + else + default + fi + dobashcomp bash/eix + dotmpfiles tmpfiles.d/eix.conf +} + +pkg_postinst() { + local obs="${EROOT}var/cache/eix.previous" + if test -f "${obs}"; then + ewarn "Found obsolete ${obs}, please remove it" + fi + tmpfiles_process eix.conf +} + +pkg_postrm() { + if [ -z "${REPLACED_BY_VERSION}" ]; then + rm -rf -- "${EROOT}var/cache/${PN}" + fi +} diff --git a/app-portage/eix/eix-99999999.ebuild b/app-portage/eix/eix-99999999.ebuild index d6e90b48..d48b230e 100644 --- a/app-portage/eix/eix-99999999.ebuild +++ b/app-portage/eix/eix-99999999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Martin V\"ath and others +# Copyright 1999-2019 Martin V\"ath and others # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 WANT_LIBTOOL=none AUTOTOOLS_AUTO_DEPEND=no MESON_AUTO_DEPEND=no @@ -17,7 +17,7 @@ case ${PV} in PROPERTIES="live";; *) RESTRICT="mirror" - EGIT_COMMIT="470c9d35ed91bfac3f808c5e8625c61a04234b8f" + EGIT_COMMIT="d57daebb8275fa8a6704ff29aac7db58477f4615" SRC_URI="https://github.com/vaeth/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${EGIT_COMMIT}";; esac @@ -34,13 +34,12 @@ for i in ${PLOCALES}; do done IUSE+=" +meson nls optimization +required-use security +src-uri strong-optimization strong-security sqlite swap-remote tools" -BOTHDEPEND="nls? ( virtual/libintl ) +DEPEND="nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= )" -RDEPEND="${BOTHDEPEND} +RDEPEND="${DEPEND} >=app-shells/push-3.1 >=app-shells/quoter-4.1" -DEPEND="${BOTHDEPEND} - meson? ( +BDEPEND="meson? ( >=dev-util/meson-0.41.0 >=dev-util/ninja-1.7.2 strong-optimization? ( >=sys-devel/gcc-config-1.9.1 ) diff --git a/app-text/podofo/podofo-0.9.6_p20180715-r1.ebuild b/app-text/podofo/podofo-0.9.6_p20180715-r1.ebuild new file mode 100644 index 00000000..f011b9ab --- /dev/null +++ b/app-text/podofo/podofo-0.9.6_p20180715-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format" +HOMEPAGE="https://sourceforge.net/projects/podofo/" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0/${PV%_*}" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="+boost idn libressl lua-slotted lua51 lua52 debug test +tools" +REQUIRED_USE="test? ( tools ) lua52? ( lua51 )" + +RDEPEND="!lua-slotted? ( dev-lang/lua:0= ) + lua-slotted? ( + !lua51? ( + !lua52? ( dev-lang/lua:5.3= ) + lua52? ( dev-lang/lua:5.2= ) + ) + lua51? ( dev-lang/lua:5.1= ) + ) + idn? ( net-dns/libidn:= ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + media-libs/fontconfig:= + media-libs/freetype:2= + virtual/jpeg:0= + media-libs/libpng:0= + media-libs/tiff:0= + sys-libs/zlib:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + boost? ( dev-util/boost-build ) + test? ( dev-util/cppunit )" + +DOCS="AUTHORS ChangeLog TODO" + +src_prepare() { + cmake-utils_src_prepare + local x sed_args + + # bug 620934 - Disable linking with cppunit when possible, since it + # triggers errors with some older compilers. + use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || die + + # bug 556962 + sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \ + test/unit/EncryptTest.cpp || die + + sed -i \ + -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ + -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \ + CMakeLists.txt || die + + # Use pkg-config to find headers for bug #459404. + sed_args= + for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do + [[ ${x} == -I* ]] || continue + x=${x#-I} + if [[ -f ${x}/ft2build.h ]] ; then + sed_args+=" -e s:/usr/include/\\r\$:${x}:" + elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then + sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:" + fi + done + [[ -n ${sed_args} ]] && \ + { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; } + + # Bug #439784: Add missing unistd include for close() and unlink(). + sed -i 's:^#include $:#include \n\0:' -i \ + test/unit/TestUtils.cpp || die + + # TODO: fix these test cases + # ColorTest.cpp:62:Assertion + # Test name: ColorTest::testDefaultConstructor + # expected exception not thrown + # - Expected: PdfError + sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \ + -e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \ + -i test/unit/ColorTest.h || die + + # ColorTest.cpp:42:Assertion + # Test name: ColorTest::testHexNames + # assertion failed + # - Expression: static_cast(rgb.GetGreen() * 255.0) == 0x0A + sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \ + -i test/unit/ColorTest.h || die + + # Bug #352125: test failure, depending on installed fonts + # ##Failure Location unknown## : Error + # Test name: FontTest::testFonts + # uncaught exception of type PoDoFo::PdfError + # - ePdfError_UnsupportedFontFormat + sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \ + -i test/unit/FontTest.h || die + + # Test name: EncodingTest::testDifferencesEncoding + # equality assertion failed + # - Expected: 1 + # - Actual : 0 + sed -e 's:CPPUNIT_TEST( testDifferencesEncoding ://\0:' \ + -i test/unit/EncodingTest.h || die + + # Bug #407015: fix to compile with Lua 5.2 + if use lua-slotted && ! use lua51 ; then + sed -e 's: lua_open(: luaL_newstate(:' \ + -e 's: luaL_getn(: lua_rawlen(:' -i \ + tools/podofocolor/luaconverter.cpp \ + tools/podofoimpose/planreader_lua.cpp || die + fi +} + +src_configure() { + + # Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()' + filter-flags -fvisibility-inlines-hidden + + mycmakeargs+=( + "-DPODOFO_BUILD_SHARED=1" + "-DPODOFO_HAVE_JPEG_LIB=1" + "-DPODOFO_HAVE_PNG_LIB=1" + "-DPODOFO_HAVE_TIFF_LIB=1" + "-DWANT_FONTCONFIG=1" + "-DUSE_STLPORT=0" + -DWANT_BOOST=$(usex boost ON OFF) + -DHAVE_LIBIDN=$(usex idn ON OFF) + -DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF) + -DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON) + ) + + if use lua-slotted; then + local lua_version=5.3 + use lua51 && lua_version=5.1 + use lua52 && lua_version=5.2 + mycmakeargs+=( + -DLUA_LIBRARIES=lua${lua_version} + -DLUA_INCLUDE_DIR=/usr/include/lua${lua_version} + ) + fi + + cmake-utils_src_configure + mkdir -p "${S}/test/TokenizerTest/objects" || die +} + +src_test() { + cd "${CMAKE_BUILD_DIR}"/test/unit + ./podofo-test --selftest || die "self test failed" +} diff --git a/app-text/podofo/podofo-0.9.6_p20180715.ebuild b/app-text/podofo/podofo-0.9.6_p20180715.ebuild deleted file mode 100644 index c1e7fc87..00000000 --- a/app-text/podofo/podofo-0.9.6_p20180715.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils flag-o-matic multilib toolchain-funcs - -DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format" -HOMEPAGE="https://sourceforge.net/projects/podofo/" -SRC_URI="mirror://gentoo/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0/${PV%_*}" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="+boost idn libressl lua-slotted lua51 lua52 debug test +tools" -REQUIRED_USE="test? ( tools ) lua52? ( lua51 )" - -RDEPEND="!lua-slotted? ( dev-lang/lua:0= ) - lua-slotted? ( - !lua51? ( - !lua52? ( dev-lang/lua:5.3= ) - lua52? ( dev-lang/lua:5.2= ) - ) - lua51? ( dev-lang/lua:5.1= ) - ) - idn? ( net-dns/libidn:= ) - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - media-libs/fontconfig:= - media-libs/freetype:2= - virtual/jpeg:0= - media-libs/libpng:0= - media-libs/tiff:0= - sys-libs/zlib:=" -DEPEND="${RDEPEND} - virtual/pkgconfig - boost? ( dev-util/boost-build ) - test? ( dev-util/cppunit )" - -DOCS="AUTHORS ChangeLog TODO" - -src_prepare() { - cmake-utils_src_prepare - local x sed_args - - # bug 620934 - Disable linking with cppunit when possible, since it - # triggers errors with some older compilers. - use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || die - - # bug 556962 - sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \ - test/unit/EncryptTest.cpp || die - - sed -i \ - -e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ - -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \ - CMakeLists.txt || die - - # Use pkg-config to find headers for bug #459404. - sed_args= - for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do - [[ ${x} == -I* ]] || continue - x=${x#-I} - if [[ -f ${x}/ft2build.h ]] ; then - sed_args+=" -e s:/usr/include/\\r\$:${x}:" - elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then - sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:" - fi - done - [[ -n ${sed_args} ]] && \ - { sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; } - - # Bug #439784: Add missing unistd include for close() and unlink(). - sed -i 's:^#include $:#include \n\0:' -i \ - test/unit/TestUtils.cpp || die - - # TODO: fix these test cases - # ColorTest.cpp:62:Assertion - # Test name: ColorTest::testDefaultConstructor - # expected exception not thrown - # - Expected: PdfError - sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \ - -e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \ - -i test/unit/ColorTest.h || die - - # ColorTest.cpp:42:Assertion - # Test name: ColorTest::testHexNames - # assertion failed - # - Expression: static_cast(rgb.GetGreen() * 255.0) == 0x0A - sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \ - -i test/unit/ColorTest.h || die - - # Bug #352125: test failure, depending on installed fonts - # ##Failure Location unknown## : Error - # Test name: FontTest::testFonts - # uncaught exception of type PoDoFo::PdfError - # - ePdfError_UnsupportedFontFormat - sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \ - -i test/unit/FontTest.h || die - - # Test name: EncodingTest::testDifferencesEncoding - # equality assertion failed - # - Expected: 1 - # - Actual : 0 - sed -e 's:CPPUNIT_TEST( testDifferencesEncoding ://\0:' \ - -i test/unit/EncodingTest.h || die - - # Bug #407015: fix to compile with Lua 5.2 - if use lua-slotted && ! use lua51 ; then - sed -e 's: lua_open(: luaL_newstate(:' \ - -e 's: luaL_getn(: lua_rawlen(:' -i \ - tools/podofocolor/luaconverter.cpp \ - tools/podofoimpose/planreader_lua.cpp || die - fi -} - -src_configure() { - - # Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()' - filter-flags -fvisibility-inlines-hidden - - mycmakeargs+=( - "-DPODOFO_BUILD_SHARED=1" - "-DPODOFO_HAVE_JPEG_LIB=1" - "-DPODOFO_HAVE_PNG_LIB=1" - "-DPODOFO_HAVE_TIFF_LIB=1" - "-DWANT_FONTCONFIG=1" - "-DUSE_STLPORT=0" - -DWANT_BOOST=$(usex boost ON OFF) - -DHAVE_LIBIDN=$(usex idn ON OFF) - -DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF) - -DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON) - ) - - if use lua-slotted; then - local lua_version=5.3 - use lua51 && lua_version=5.1 - use lua52 && lua_version=5.2 - mycmakeargs+=( - -DLUA_LIBRARIES=lua${lua_version} - -DLUA_INCLUDE_DIR=/usr/include/lua${lua_version} - ) - fi - - cmake-utils_src_configure - mkdir -p "${S}/test/TokenizerTest/objects" || die -} - -src_test() { - cd "${CMAKE_BUILD_DIR}"/test/unit - ./podofo-test --selftest || die "self test failed" -} diff --git a/dev-libs/weston/weston-5.0.0-r1.ebuild b/dev-libs/weston/weston-5.0.0-r1.ebuild new file mode 100644 index 00000000..14db5669 --- /dev/null +++ b/dev-libs/weston/weston-5.0.0-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/weston.git" + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +fi + +inherit autotools readme.gentoo-r1 toolchain-funcs $GIT_ECLASS + +DESCRIPTION="Wayland reference compositor" +HOMEPAGE="https://wayland.freedesktop.org/" + +if [[ $PV = 9999* ]]; then + SRC_URI="${SRC_PATCHES}" + KEYWORDS="" +else + SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="MIT CC-BY-SA-3.0" +SLOT="0" + +IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms pam rdp +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" + +REQUIRED_USE=" + drm? ( gles2 ) + screen-sharing? ( rdp ) + systemd? ( dbus ) + test? ( headless xwayland ) + wayland-compositor? ( gles2 ) +" + +RDEPEND=" + >=dev-libs/libinput-0.8.0 + >=dev-libs/wayland-1.12.0 + >=dev-libs/wayland-protocols-1.13 + lcms? ( media-libs/lcms:2 ) + media-libs/libpng:0= + webp? ( media-libs/libwebp:0= ) + jpeg? ( virtual/jpeg:0= ) + >=x11-libs/cairo-1.11.3 + >=x11-libs/libdrm-2.4.68 + >=x11-libs/libxkbcommon-0.5.0 + >=x11-libs/pixman-0.25.2 + x11-misc/xkeyboard-config + fbdev? ( + >=sys-libs/mtdev-1.1.0 + >=virtual/udev-136 + ) + colord? ( >=x11-misc/colord-0.1.27 ) + dbus? ( >=sys-apps/dbus-1.6 ) + drm? ( + >=media-libs/mesa-17.1[gbm] + >=sys-libs/mtdev-1.1.0 + >=virtual/udev-136 + ) + editor? ( x11-libs/pango ) + gles2? ( + media-libs/mesa[gles2,wayland] + ) + rdp? ( >=net-misc/freerdp-1.1.0:= ) + systemd? ( + pam? ( sys-auth/pambase[systemd] ) + >=sys-apps/systemd-209[pam?] + ) + launch? ( pam? ( sys-auth/pambase ) ) + X? ( + >=x11-libs/libxcb-1.9 + x11-libs/libX11 + ) + xwayland? ( + x11-base/xorg-server[wayland] + x11-libs/cairo[xcb] + >=x11-libs/libxcb-1.9 + x11-libs/libXcursor + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + eapply "${FILESDIR}"/pam.patch + default + eautoreconf +} + +src_configure() { + local myconf=() + + if use examples || use test; then + myconf+=( --enable-simple-clients ) + else + myconf+=( --disable-simple-clients ) + fi + + econf \ + $(use_enable examples demo-clients-install) \ + $(use_enable fbdev fbdev-compositor) \ + $(use_enable dbus) \ + $(use_enable drm drm-compositor) \ + $(use_enable headless headless-compositor) \ + $(use_enable ivi ivi-shell) \ + $(use_enable lcms) \ + $(use_enable rdp rdp-compositor) \ + $(use_enable wayland-compositor) \ + $(use_enable X x11-compositor) \ + $(use_enable launch weston-launch) \ + $(use_enable colord) \ + $(use_enable gles2 egl) \ + $(use_enable resize-optimization) \ + $(use_enable screen-sharing) \ + $(use_enable suid setuid-install) \ + $(use_enable systemd systemd-login) \ + $(use_enable systemd systemd-notify) \ + $(use_enable xwayland) \ + $(use_enable xwayland xwayland-test) \ + $(use_with jpeg) \ + $(use_with pam) \ + $(use_with webp) \ + --with-cairo=image \ + --disable-junit-xml \ + --disable-simple-dmabuf-drm-client \ + --disable-simple-dmabuf-v4l-client \ + --disable-simple-egl-clients \ + --disable-vaapi-recorder \ + "${myconf[@]}" +} + +src_test() { + export XDG_RUNTIME_DIR="${T}/runtime-dir" + mkdir "${XDG_RUNTIME_DIR}" || die + chmod 0700 "${XDG_RUNTIME_DIR}" || die + + cd "${BUILD_DIR}" || die + emake check +} + +src_install() { + default + + readme.gentoo_create_doc +} diff --git a/dev-libs/weston/weston-5.0.0.ebuild b/dev-libs/weston/weston-5.0.0.ebuild deleted file mode 100644 index fbd9e57a..00000000 --- a/dev-libs/weston/weston-5.0.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/weston.git" - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -inherit autotools readme.gentoo-r1 toolchain-funcs $GIT_ECLASS - -DESCRIPTION="Wayland reference compositor" -HOMEPAGE="https://wayland.freedesktop.org/" - -if [[ $PV = 9999* ]]; then - SRC_URI="${SRC_PATCHES}" - KEYWORDS="" -else - SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -LICENSE="MIT CC-BY-SA-3.0" -SLOT="0" - -IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms pam rdp +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" - -REQUIRED_USE=" - drm? ( gles2 ) - screen-sharing? ( rdp ) - systemd? ( dbus ) - test? ( headless xwayland ) - wayland-compositor? ( gles2 ) -" - -RDEPEND=" - >=dev-libs/libinput-0.8.0 - >=dev-libs/wayland-1.12.0 - >=dev-libs/wayland-protocols-1.13 - lcms? ( media-libs/lcms:2 ) - media-libs/libpng:0= - webp? ( media-libs/libwebp:0= ) - jpeg? ( virtual/jpeg:0= ) - >=x11-libs/cairo-1.11.3 - >=x11-libs/libdrm-2.4.68 - >=x11-libs/libxkbcommon-0.5.0 - >=x11-libs/pixman-0.25.2 - x11-misc/xkeyboard-config - fbdev? ( - >=sys-libs/mtdev-1.1.0 - >=virtual/udev-136 - ) - colord? ( >=x11-misc/colord-0.1.27 ) - dbus? ( >=sys-apps/dbus-1.6 ) - drm? ( - >=media-libs/mesa-17.1[gbm] - >=sys-libs/mtdev-1.1.0 - >=virtual/udev-136 - ) - editor? ( x11-libs/pango ) - gles2? ( - media-libs/mesa[gles2,wayland] - ) - rdp? ( >=net-misc/freerdp-1.1.0:= ) - systemd? ( - pam? ( sys-auth/pambase[systemd] ) - >=sys-apps/systemd-209[pam?] - ) - launch? ( pam? ( sys-auth/pambase ) ) - X? ( - >=x11-libs/libxcb-1.9 - x11-libs/libX11 - ) - xwayland? ( - x11-base/xorg-server[wayland] - x11-libs/cairo[xcb] - >=x11-libs/libxcb-1.9 - x11-libs/libXcursor - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - eapply "${FILESDIR}"/pam.patch - default - eautoreconf -} - -src_configure() { - local myconf=() - - if use examples || use test; then - myconf+=( --enable-simple-clients ) - else - myconf+=( --disable-simple-clients ) - fi - - econf \ - $(use_enable examples demo-clients-install) \ - $(use_enable fbdev fbdev-compositor) \ - $(use_enable dbus) \ - $(use_enable drm drm-compositor) \ - $(use_enable headless headless-compositor) \ - $(use_enable ivi ivi-shell) \ - $(use_enable lcms) \ - $(use_enable rdp rdp-compositor) \ - $(use_enable wayland-compositor) \ - $(use_enable X x11-compositor) \ - $(use_enable launch weston-launch) \ - $(use_enable colord) \ - $(use_enable gles2 egl) \ - $(use_enable resize-optimization) \ - $(use_enable screen-sharing) \ - $(use_enable suid setuid-install) \ - $(use_enable systemd systemd-login) \ - $(use_enable systemd systemd-notify) \ - $(use_enable xwayland) \ - $(use_enable xwayland xwayland-test) \ - $(use_with jpeg) \ - $(use_with pam) \ - $(use_with webp) \ - --with-cairo=image \ - --disable-junit-xml \ - --disable-simple-dmabuf-drm-client \ - --disable-simple-dmabuf-v4l-client \ - --disable-simple-egl-clients \ - --disable-vaapi-recorder \ - "${myconf[@]}" -} - -src_test() { - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - - cd "${BUILD_DIR}" || die - emake check -} - -src_install() { - default - - readme.gentoo_create_doc -} diff --git a/dev-perl/File-lchown/File-lchown-0.20-r1.ebuild b/dev-perl/File-lchown/File-lchown-0.20-r1.ebuild index 3cdff453..51bab842 100644 --- a/dev-perl/File-lchown/File-lchown-0.20-r1.ebuild +++ b/dev-perl/File-lchown/File-lchown-0.20-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2014-2018 Gentoo Authors +# Copyright 2014-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest index 696ab0fa..1a6d2f92 100644 --- a/media-gfx/pqiv/Manifest +++ b/media-gfx/pqiv/Manifest @@ -1 +1 @@ -DIST pqiv-2.10.4.tar.gz 138644 SHA512 52534ed4728466b7c710db65115d7e79ad97546750946fa5c3a26b65055387b15c6239fdf1bb8c8345fe7ed2dfc7ed5586ffa2a864de44fd8213cff59f76048a +DIST pqiv-2.11.tar.gz 139825 SHA512 6017a9d7ed332915a9f6fa788bb02c3b9d4d83c2ae2f9a8ab7d7738caa14ba3e9d253906f2e73fdfd368bb5e7bc51380ee9906fd9921e5f7f113811fd3da66f7 diff --git a/media-gfx/pqiv/pqiv-2.10.4.ebuild b/media-gfx/pqiv/pqiv-2.10.4.ebuild deleted file mode 100644 index 241b2caa..00000000 --- a/media-gfx/pqiv/pqiv-2.10.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-info toolchain-funcs xdg-utils - -SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -DESCRIPTION="powerful GTK based command-line image viewer with a minimal UI" -HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="archive ffmpeg gtk2 imagemagick kernel_linux libav pdf postscript webp" - -RDEPEND=" - >=dev-libs/glib-2.32:2 - >=x11-libs/cairo-1.6 - gtk2? ( x11-libs/gtk+:2 ) - !gtk2? ( x11-libs/gtk+:3 ) - archive? ( app-arch/libarchive:0= ) - ffmpeg? ( - !libav? ( media-video/ffmpeg:0= ) - libav? ( media-video/libav:0= ) - ) - imagemagick? ( media-gfx/imagemagick:0= ) - pdf? ( app-text/poppler:0= ) - postscript? ( app-text/libspectre:0= ) - webp? ( media-libs/libwebp:0= ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -doecho() { - echo "$@" - "$@" || die -} - -pkg_setup() { - if use kernel_linux; then - CONFIG_CHECK="~INOTIFY_USER" - linux-info_pkg_setup - fi -} - -src_configure() { - local backends="gdkpixbuf" gtkver=3 - ! use gtk2 || gtkver=2 - use archive && backends+=",archive,archive_cbx" - use ffmpeg || use libav && backends+=",libav" - use imagemagick && backends+=",wand" - use pdf && backends+=",poppler" - use postscript && backends+=",spectre" - use webp && backends+=",webp" - - doecho ./configure \ - --gtk-version=${gtkver} \ - --backends-build=shared \ - --backends=${backends} \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --destdir="${ED}" -} - -src_compile() { - tc-export CC - emake VERBOSE=1 CFLAGS="${CFLAGS}" -} - -pkg_postinst() { - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/media-gfx/pqiv/pqiv-2.11.ebuild b/media-gfx/pqiv/pqiv-2.11.ebuild new file mode 100644 index 00000000..a01bac1b --- /dev/null +++ b/media-gfx/pqiv/pqiv-2.11.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-info toolchain-funcs xdg-utils + +SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DESCRIPTION="powerful GTK based command-line image viewer with a minimal UI" +HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="archive ffmpeg gtk2 imagemagick kernel_linux libav pdf postscript webp" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + >=x11-libs/cairo-1.6 + gtk2? ( x11-libs/gtk+:2 ) + !gtk2? ( x11-libs/gtk+:3 ) + archive? ( app-arch/libarchive:0= ) + ffmpeg? ( + !libav? ( media-video/ffmpeg:0= ) + libav? ( media-video/libav:0= ) + ) + imagemagick? ( media-gfx/imagemagick:0= ) + pdf? ( app-text/poppler:0= ) + postscript? ( app-text/libspectre:0= ) + webp? ( media-libs/libwebp:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +doecho() { + echo "$@" + "$@" || die +} + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + fi +} + +src_configure() { + local backends="gdkpixbuf" gtkver=3 + ! use gtk2 || gtkver=2 + use archive && backends+=",archive,archive_cbx" + use ffmpeg || use libav && backends+=",libav" + use imagemagick && backends+=",wand" + use pdf && backends+=",poppler" + use postscript && backends+=",spectre" + use webp && backends+=",webp" + + doecho ./configure \ + --gtk-version=${gtkver} \ + --backends-build=shared \ + --backends=${backends} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --destdir="${ED}" +} + +src_compile() { + tc-export CC + emake VERBOSE=1 CFLAGS="${CFLAGS}" +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.1-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.1-r1.ebuild new file mode 100644 index 00000000..49866ce3 --- /dev/null +++ b/media-libs/avidemux-plugins/avidemux-plugins-2.7.1-r1.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" + EGIT_CHECKOUT_DIR=${WORKDIR} + inherit git-r3 +else + MY_PN="${PN/-plugins/}" + MY_P="${MY_PN}_${PV}" + SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +PYTHON_COMPAT=( python2_7 ) +inherit cmake-utils python-single-r1 + +DESCRIPTION="Plugins for the video editor media-video/avidemux" +HOMEPAGE="http://fixounet.free.fr/avidemux" + +# Multiple licenses because of all the bundled stuff. +LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" +SLOT="2.7" +IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?] + ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?] + >=dev-lang/spidermonkey-1.5-r2:0= + dev-libs/libxml2:2 + media-libs/a52dec:0 + media-libs/libass:0= + media-libs/libmad:0 + media-libs/libmp4v2:0 + media-libs/libpng:0= + virtual/libiconv:0 + aac? ( + >=media-libs/faac-1.29.9.2:0 + media-libs/faad2:0 + ) + aften? ( media-libs/aften:0 ) + alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 ) + amr? ( media-libs/opencore-amr:0 ) + dcaenc? ( media-sound/dcaenc:0 ) + dts? ( media-libs/libdca:0 ) + fdk? ( media-libs/fdk-aac:0 ) + fontconfig? ( media-libs/fontconfig:1.0 ) + fribidi? ( dev-libs/fribidi:0 ) + jack? ( + media-sound/jack-audio-connection-kit:0 + libsamplerate? ( media-libs/libsamplerate:0 ) + ) + lame? ( media-sound/lame:0 ) + nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) + opus? ( media-libs/opus:0 ) + pulseaudio? ( media-sound/pulseaudio:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + truetype? ( media-libs/freetype:2 ) + twolame? ( media-sound/twolame:0 ) + vorbis? ( media-libs/libvorbis:0 ) + vpx? ( media-libs/libvpx:0= ) + x264? ( media-libs/x264:0= ) + x265? ( media-libs/x265:0= ) + xv? ( + x11-libs/libX11:0 + x11-libs/libXext:0 + x11-libs/libXv:0 + ) + xvid? ( media-libs/xvid:0 ) +" +DEPEND="${COMMON_DEPEND} + oss? ( virtual/os-headers:0 ) +" +BDEPEND=" + ${PYTHON_DEPS} +" +RDEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + ! /dev/null || die + grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast + grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast + popd > /dev/null || die + done +} diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.1.ebuild deleted file mode 100644 index 69783c99..00000000 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.1.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999* ]] ; then - EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" - EGIT_CHECKOUT_DIR=${WORKDIR} - inherit git-r3 -else - MY_PN="${PN/-plugins/}" - MY_P="${MY_PN}_${PV}" - SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils python-single-r1 - -DESCRIPTION="Plugins for the video editor media-video/avidemux" -HOMEPAGE="http://fixounet.free.fr/avidemux" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -SLOT="2.7" -IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND="${PYTHON_DEPS} - ~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?] - ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?] - >=dev-lang/spidermonkey-1.5-r2:0= - dev-libs/libxml2:2 - media-libs/a52dec:0 - media-libs/libass:0= - media-libs/libmad:0 - media-libs/libmp4v2:0 - media-libs/libpng:0= - virtual/libiconv:0 - aac? ( - >=media-libs/faac-1.29.9.2:0 - media-libs/faad2:0 - ) - aften? ( media-libs/aften:0 ) - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 ) - amr? ( media-libs/opencore-amr:0 ) - dcaenc? ( media-sound/dcaenc:0 ) - dts? ( media-libs/libdca:0 ) - fdk? ( media-libs/fdk-aac:0 ) - fontconfig? ( media-libs/fontconfig:1.0 ) - fribidi? ( dev-libs/fribidi:0 ) - jack? ( - media-sound/jack-audio-connection-kit:0 - libsamplerate? ( media-libs/libsamplerate:0 ) - ) - lame? ( media-sound/lame:0 ) - nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) - opus? ( media-libs/opus:0 ) - pulseaudio? ( media-sound/pulseaudio:0 ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - truetype? ( media-libs/freetype:2 ) - twolame? ( media-sound/twolame:0 ) - vorbis? ( media-libs/libvorbis:0 ) - vpx? ( media-libs/libvpx:0= ) - x264? ( media-libs/x264:0= ) - x265? ( media-libs/x265:0= ) - xv? ( - x11-libs/libX11:0 - x11-libs/libXext:0 - x11-libs/libXv:0 - ) - xvid? ( media-libs/xvid:0 ) -" -DEPEND="${COMMON_DEPEND} - oss? ( virtual/os-headers:0 ) -" -RDEPEND="${COMMON_DEPEND} - ! /dev/null || die - grep '^preinstall/fast' Makefile && emake DESTDIR="${D}" preinstall/fast - grep '^install/fast' Makefile && emake DESTDIR="${D}" install/fast - popd > /dev/null || die - done -} diff --git a/media-video/avidemux/avidemux-2.7.1-r1.ebuild b/media-video/avidemux/avidemux-2.7.1-r1.ebuild new file mode 100644 index 00000000..6b39448e --- /dev/null +++ b/media-video/avidemux/avidemux-2.7.1-r1.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]] ; then + MY_P="${P}" + EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" + inherit git-r3 +else + MY_P="${PN}_${PV}" + SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +inherit cmake-utils qmake-utils xdg-utils + +DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks" +HOMEPAGE="http://fixounet.free.fr/avidemux" + +# Multiple licenses because of all the bundled stuff. +LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" +SLOT="2.7" +IUSE="debug nls nvenc opengl qt5 sdl vaapi vdpau xv" + +DEPEND=" + ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,xv?,nvenc?] + nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) + opengl? ( virtual/opengl:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + vaapi? ( x11-libs/libva:0= ) +" +BDEPEND=" + qt5? ( dev-qt/linguist-tools:5 ) +" +RDEPEND="${DEPEND} + nls? ( virtual/libintl:0 ) + ! avidemux-2.7.png + sed -i -e "/^Icon/ s:${PN}:${PN}-${SLOT}:" ${PN}2.desktop || \ + die "Icon name fix failed." + + # The desktop file is broken. It uses avidemux2 instead of avidemux3 + # so it will actually launch avidemux-2.7 if it is installed. + sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || \ + die "Desktop file fix failed." + if use qt5; then + sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt5:' ${PN}2.desktop || \ + die "Desktop file fix failed." + fi + + # QA warnings: missing trailing ';' and 'Application' is deprecated. + sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || \ + die "Desktop file fix failed." + + # Now rename the desktop file to not collide with 2.6. + mv ${PN}2.desktop ${PN}-${SLOT}.desktop || die "Collision rename failed." + + # Remove "Build Option" dialog because it doesn't reflect + # what the GUI can or has been built with. (Bug #463628) + sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || \ + die "Couldn't remove \"Build Option\" dialog." + + # Fix underlinking with gold + sed -i -e 's/{QT_QTGUI_LIBRARY}/{QT_QTGUI_LIBRARY} -lXext/' \ + avidemux/common/ADM_render/CMakeLists.txt || die +} + +src_configure() { + # Add lax vector typing for PowerPC. + if use ppc || use ppc64 ; then + append-cflags -flax-vector-conversions + fi + + # See bug 432322. + use x86 && replace-flags -O0 -O1 + + # The build relies on an avidemux-core header that uses 'nullptr' + # which is from >=C++11. Let's use the GCC-6 default C++ dialect. + append-cxxflags -std=c++14 + + local mycmakeargs=( + -DGETTEXT="$(usex nls)" + -DSDL="$(usex sdl)" + -DLibVA="$(usex vaapi)" + -DVDPAU="$(usex vdpau)" + -DXVIDEO="$(usex xv)" + ) + + if use qt5 ; then + mycmakeargs+=( + -DENABLE_QT5="$(usex qt5)" + -DLRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" + ) + fi + + if use debug ; then + mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 ) + fi + + for process in ${processes} ; do + local build="${WORKDIR}/${P}_build/${process%%:*}" + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure + done +} + +src_compile() { + for process in ${processes} ; do + local build="${WORKDIR}/${P}_build/${process%%:*}" + BUILD_DIR="${build}" cmake-utils_src_compile + done +} + +src_test() { + for process in ${processes} ; do + local build="${WORKDIR}/${P}_build/${process%%:*}" + BUILD_DIR="${build}" cmake-utils_src_test + done +} + +src_install() { + for process in ${processes} ; do + local build="${WORKDIR}/${P}_build/${process%%:*}" + BUILD_DIR="${build}" cmake-utils_src_install + done + + if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then + fperms +x /usr/bin/avidemux3_cli + fi + + if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then + fperms +x /usr/bin/avidemux3_jobs + fi + + cd "${S}" || die "Can't enter source folder." + newicon ${PN}_icon.png ${PN}-${SLOT}.png + + if [[ -f "${ED}"/usr/bin/avidemux3_qt5 ]] ; then + fperms +x /usr/bin/avidemux3_qt5 + fi + + if [[ -f "${ED}"/usr/bin/avidemux3_jobs_qt5 ]] ; then + fperms +x /usr/bin/avidemux3_jobs_qt5 + fi + + if use qt5 ; then + domenu ${PN}-${SLOT}.desktop + fi +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/media-video/avidemux/avidemux-2.7.1.ebuild b/media-video/avidemux/avidemux-2.7.1.ebuild deleted file mode 100644 index 3aee0aa3..00000000 --- a/media-video/avidemux/avidemux-2.7.1.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} == *9999* ]] ; then - MY_P="${P}" - EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" - inherit git-r3 -else - MY_P="${PN}_${PV}" - SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -inherit cmake-utils qmake-utils xdg-utils - -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -SLOT="2.7" -IUSE="debug nls nvenc opengl qt5 sdl vaapi vdpau xv" - -COMMON_DEPEND=" - ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,xv?,nvenc?] - nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) - opengl? ( virtual/opengl:0 ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - ) - vaapi? ( x11-libs/libva:0= ) -" -DEPEND="${COMMON_DEPEND} - qt5? ( dev-qt/linguist-tools:5 ) -" -RDEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl:0 ) - ! avidemux-2.7.png - sed -i -e "/^Icon/ s:${PN}:${PN}-${SLOT}:" ${PN}2.desktop || \ - die "Icon name fix failed." - - # The desktop file is broken. It uses avidemux2 instead of avidemux3 - # so it will actually launch avidemux-2.7 if it is installed. - sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || \ - die "Desktop file fix failed." - if use qt5; then - sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt5:' ${PN}2.desktop || \ - die "Desktop file fix failed." - fi - - # QA warnings: missing trailing ';' and 'Application' is deprecated. - sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || \ - die "Desktop file fix failed." - - # Now rename the desktop file to not collide with 2.6. - mv ${PN}2.desktop ${PN}-${SLOT}.desktop || die "Collision rename failed." - - # Remove "Build Option" dialog because it doesn't reflect - # what the GUI can or has been built with. (Bug #463628) - sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || \ - die "Couldn't remove \"Build Option\" dialog." - - # Fix underlinking with gold - sed -i -e 's/{QT_QTGUI_LIBRARY}/{QT_QTGUI_LIBRARY} -lXext/' \ - avidemux/common/ADM_render/CMakeLists.txt || die -} - -src_configure() { - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 - - # The build relies on an avidemux-core header that uses 'nullptr' - # which is from >=C++11. Let's use the GCC-6 default C++ dialect. - append-cxxflags -std=c++14 - - local mycmakeargs=( - -DGETTEXT="$(usex nls)" - -DSDL="$(usex sdl)" - -DLibVA="$(usex vaapi)" - -DVDPAU="$(usex vdpau)" - -DXVIDEO="$(usex xv)" - ) - - if use qt5 ; then - mycmakeargs+=( - -DENABLE_QT5="$(usex qt5)" - -DLRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" - ) - fi - - if use debug ; then - mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 ) - fi - - for process in ${processes} ; do - local build="${WORKDIR}/${P}_build/${process%%:*}" - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure - done -} - -src_compile() { - for process in ${processes} ; do - local build="${WORKDIR}/${P}_build/${process%%:*}" - BUILD_DIR="${build}" cmake-utils_src_compile - done -} - -src_test() { - for process in ${processes} ; do - local build="${WORKDIR}/${P}_build/${process%%:*}" - BUILD_DIR="${build}" cmake-utils_src_test - done -} - -src_install() { - for process in ${processes} ; do - local build="${WORKDIR}/${P}_build/${process%%:*}" - BUILD_DIR="${build}" cmake-utils_src_install - done - - if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then - fperms +x /usr/bin/avidemux3_cli - fi - - if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then - fperms +x /usr/bin/avidemux3_jobs - fi - - cd "${S}" || die "Can't enter source folder." - newicon ${PN}_icon.png ${PN}-${SLOT}.png - - if [[ -f "${ED}"/usr/bin/avidemux3_qt5 ]] ; then - fperms +x /usr/bin/avidemux3_qt5 - fi - - if [[ -f "${ED}"/usr/bin/avidemux3_jobs_qt5 ]] ; then - fperms +x /usr/bin/avidemux3_jobs_qt5 - fi - - if use qt5 ; then - domenu ${PN}-${SLOT}.desktop - fi -} - -pkg_postinst() { - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 173c3e85..32832df5 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -22,7 +22,7 @@ app-eselect/eselect-net 0.2-r1: eselect module for managing network open-rc serv app-misc/knapsack 7.2.1-r1: A fast solver for the 0/1-knapsack problem with multiple knapsacks app-misc/machine-learning-mv 1.2-r1: Some machine learning experiments app-portage/changelog-gitrepo 1.0: Create ChangeLog data for gentoo repositories from git -app-portage/eix 0.33.7 99999999: Search and query ebuilds +app-portage/eix 0.33.7-r1 0.33.8_alpha20190302 99999999: Search and query ebuilds app-portage/etcat 1.0.1 99999999: Updated version of an old Portage information extractor app-portage/find_cruft 5.1: find cruft files not managed by portage app-portage/getdelta 0.7.9-r2: dynamic deltup client @@ -48,12 +48,12 @@ app-shells/zshrc-mv 5.0: A zshrc file initializing zsh specific interactive feat app-text/ispell 3.3.02-r1 3.4.00: fast screen-oriented spelling checker app-text/lesspipe 1.83-r3 1.84_alpha20180414-r3 99999999: Wolfgang Friebel's preprocessor for sys-apps/less. Disable by appending colon app-text/mbtpdfasm 1.0.28-r1: Tool to assemble/merge, extract information from, and update the metadata in PDF -app-text/podofo 0.9.6_p20180715: PoDoFo is a C++ library to work with the PDF file format +app-text/podofo 0.9.6_p20180715-r1: PoDoFo is a C++ library to work with the PDF file format app-text/psjoin 0.3: concatenate postscript files. From new PostScript Utilities app-text/stardict 3.0.6-r4 4.0.0_pre20170304: A international dictionary supporting fuzzy and glob style matching dev-cpp/cpplint 99999999: The google styleguide together with cpplint and an emacs file dev-libs/osformat 1.0.5 999999999: C++ library for a typesafe printf/sprintf based on << conversion -dev-libs/weston 5.0.0: Wayland reference compositor +dev-libs/weston 5.0.0-r1: Wayland reference compositor dev-perl/File-lchown 0.20-r1: Use the lchown(2) and lutimes(2) system call from Perl dev-tex/chklref 2.6.0 2.6.1_alpha20170913: Finds useless references in latex files or unnecessarily numbered environments dev-util/comp 4.3: compare files or directories, including metadata @@ -74,17 +74,17 @@ games-rpg/dsa-stats 1.0: calculate stat probabalities for the role playing game games-rpg/m5figur-mv 4.1.4: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) mail-client/alpine 2.00-r7 2.21.1-r1: alpine is an easy to use text-based based mail and news client media-gfx/ipe 7.2.7: Drawing editor for creating figures in PDF or PS formats -media-gfx/pqiv 2.10.4: powerful GTK based command-line image viewer with a minimal UI +media-gfx/pqiv 2.11: powerful GTK based command-line image viewer with a minimal UI media-libs/avidemux-core 2.7.1: Core libraries for simple video cutting, filtering and encoding tasks -media-libs/avidemux-plugins 2.7.1: Plugins for the video editor media-video/avidemux +media-libs/avidemux-plugins 2.7.1-r1: Plugins for the video editor media-video/avidemux media-tv/nvtv 0.4.7-r3: TV-Out for NVidia cards media-tv/sundtek-tv 181220.135032: Sundtek MediaTV Pro III Drivers media-tv/w_scan 20170107-r1: Scan for DVB-C/DVB-T/DVB-S channels without prior knowledge of frequencies -media-video/avidemux 2.7.1: Video editor designed for simple cutting, filtering and encoding tasks +media-video/avidemux 2.7.1-r1: Video editor designed for simple cutting, filtering and encoding tasks media-video/avinfo 1.0_alpha15_p1: Utility for displaying AVI information media-video/video-mv 16.2: Frontends for using mplayer/mencoder, ffmpeg/libav, or tzap as video recorder net-dialup/accounting 1.60.45.3.1-r1: Give statistics about dialup connections. Originally part of SuSE's smpppd -net-dialup/martian-modem 20100123-r2: ltmodem alternative driver providing support for Agere Systems winmodems +net-dialup/martian-modem 20100123-r3: ltmodem alternative driver providing support for Agere Systems winmodems net-dns/host 20070128-r1: A powerful command-line DNS query and test tool net-dns/noip-updater 2.1.9-r5: no-ip.com dynamic DNS updater net-firewall/firewall-mv 13.1: Initialize iptables and net-related sysctl variables @@ -93,7 +93,7 @@ net-misc/netctl 1.11: Profile based network connection tool from Arch Linux net-misc/openrdate 1.2: use TCP or UDP to retrieve the current time of another machine net-misc/sshstart 4.7: Start ssh-agent/ssh-add only if you really use ssh or friends net-print/foo2zjs 20160722: Support for printing to ZjStream-based printers -sci-geosciences/googleearth 7.1.8.3036-r1 7.3.0.3832-r1 7.3.2: A 3D interface to the planet +sci-geosciences/googleearth 7.1.8.3036-r2 7.3.0.3832-r2 7.3.2-r1: A 3D interface to the planet sci-mathematics/genius 1.0.21: Genius Mathematics Tool and the GEL Language sci-mathematics/reduce 20141130-r2: A general-purpose computer algebra system sys-apps/cpi 3.1: A wrapper for cp -i -a, making use of diff @@ -106,10 +106,10 @@ sys-block/parted 2.4-r3: Create, destroy, resize, check, copy partitions and fil sys-block/zram-init 7.1-r2 8.1: Scripts to support compressed swap devices or ramdisks with zram sys-boot/grub-cfg-mv 1.7: A grub.cfg library/example for GRUB2 sys-fs/emount 3.0.4: mount/unmount create/remove dm-crypt filesystems according to your /etc/fstab -sys-fs/squash_dir 13.14: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist +sys-fs/squash_dir 13.14-r1: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-fs/squashfs-tools 4.3.1_alpha20180612 99999999: Tool for creating compressed filesystem type squashfs sys-fs/squashfuse 0.1.103 0.1.104_alpha20180721: FUSE filesystem to mount squashfs archives -sys-fs/squashmount 16.1.0 19.1: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist +sys-fs/squashmount 16.1.0-r1 19.1-r1: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-kernel/kccmp 0.3-r1: A simple tool for comparing two linux kernel .config files sys-kernel/kernel 4.8: A POSIX shell script to compile the kernel with user permissions virtual/cdrtools 1: Virtual for command-line recorders cdrtools and cdrkit diff --git a/net-dialup/martian-modem/martian-modem-20100123-r2.ebuild b/net-dialup/martian-modem/martian-modem-20100123-r2.ebuild deleted file mode 100644 index d43ab888..00000000 --- a/net-dialup/martian-modem/martian-modem-20100123-r2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2012-2018 Gentoo Authors and Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-mod readme.gentoo-r1 - -MY_P="martian-full-${PV}" -DESCRIPTION="ltmodem alternative driver providing support for Agere Systems winmodems" -HOMEPAGE="https://packages.debian.org/sid/martian-modem-source http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian" -#SRC_URI="mirror://debian/pool/non-free/m/martian-modem/${MY_P}.tar.gz" -#SRC_URI="http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/${MY_P}.tar.gz" -SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/${MY_P}.tar.gz" - -LICENSE="GPL-2 AgereSystems-WinModem" -KEYWORDS="~amd64 ~x86" -IUSE="" -SLOT=0 - -DEPEND="!net-dialup/ltmodem" -RDEPEND="!kernel-2.6.20! - eapply "${FILESDIR}/${P}-makefile.patch" - eapply -p0 "${FILESDIR}/${P}-grsecurity.patch" - - # fix compile on amd64 - sed -i -e "/^HOST.*$/s:uname -i:uname -m:" modem/Makefile || die "sed failed" - - BUILD_TARGETS="all" - BUILD_PARAMS="KERNEL_DIR='${KV_DIR}' SUBLEVEL='${KV_PATCH}'" - - if kernel_is ge 3 8 - then - # Per Gentoo Bug #543702, CONFIG_HOTPLUG is going away as an option. As of - # Linux Kernel 3.8, the __dev* markings need to be removed. This patch removes - # the use of __devinit, __devexit_p, and __devexit as the type cast simply isn't - # needed any longer. - eapply "${FILESDIR}/${P}-linux-3.8.patch" - # Per Gentoo Bug #543702, "proc_dir_entry" and "create_proc_entry" Linux - # Kernel header definition was moved and only accessible internally as of - # Linux Kernel 3.10. This patch originates from Paul McClay (2014.05.28) - # and posted to Ubuntu Launchpad. - # It contains version checking code, hence can be applied unconditionally - eapply "${FILESDIR}/${P}-linux-3.10.patch" - fi - default -} - -src_install() { - linux-mod_src_install - - # userspace daemon and initscripts stuff - dosbin modem/martian_modem - newconfd "${FILESDIR}/${PN}.conf.d" ${PN} - newinitd "${FILESDIR}/${PN}.init.d" ${PN} - readme.gentoo_create_doc -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if linux_chkconfig_present SMP ; then - elog "You have SMP (symmetric multi processor) support enabled in kernel." - elog "You should run martian-modem with --smp enabled in MARTIAN_OPTS." - fi - readme.gentoo_print_elog -} diff --git a/net-dialup/martian-modem/martian-modem-20100123-r3.ebuild b/net-dialup/martian-modem/martian-modem-20100123-r3.ebuild new file mode 100644 index 00000000..53d3f74b --- /dev/null +++ b/net-dialup/martian-modem/martian-modem-20100123-r3.ebuild @@ -0,0 +1,95 @@ +# Copyright 2012-2019 Gentoo Authors and Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-mod readme.gentoo-r1 + +MY_P="martian-full-${PV}" +DESCRIPTION="ltmodem alternative driver providing support for Agere Systems winmodems" +HOMEPAGE="https://packages.debian.org/sid/martian-modem-source http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian" +#SRC_URI="mirror://debian/pool/non-free/m/martian-modem/${MY_P}.tar.gz" +#SRC_URI="http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/${MY_P}.tar.gz" +SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/${MY_P}.tar.gz" + +LICENSE="GPL-2 AgereSystems-WinModem" +KEYWORDS="~amd64 ~x86" +IUSE="" +SLOT=0 + +DEPEND="!net-dialup/ltmodem" +RDEPEND="!kernel-2.6.20! + eapply "${FILESDIR}/${P}-makefile.patch" + eapply -p0 "${FILESDIR}/${P}-grsecurity.patch" + + # fix compile on amd64 + sed -i -e "/^HOST.*$/s:uname -i:uname -m:" modem/Makefile || die "sed failed" + + BUILD_TARGETS="all" + BUILD_PARAMS="KERNEL_DIR='${KV_DIR}' SUBLEVEL='${KV_PATCH}'" + + if kernel_is ge 3 8 + then + # Per Gentoo Bug #543702, CONFIG_HOTPLUG is going away as an option. As of + # Linux Kernel 3.8, the __dev* markings need to be removed. This patch removes + # the use of __devinit, __devexit_p, and __devexit as the type cast simply isn't + # needed any longer. + eapply "${FILESDIR}/${P}-linux-3.8.patch" + # Per Gentoo Bug #543702, "proc_dir_entry" and "create_proc_entry" Linux + # Kernel header definition was moved and only accessible internally as of + # Linux Kernel 3.10. This patch originates from Paul McClay (2014.05.28) + # and posted to Ubuntu Launchpad. + # It contains version checking code, hence can be applied unconditionally + eapply "${FILESDIR}/${P}-linux-3.10.patch" + fi + default +} + +src_install() { + linux-mod_src_install + + # userspace daemon and initscripts stuff + dosbin modem/martian_modem + newconfd "${FILESDIR}/${PN}.conf.d" ${PN} + newinitd "${FILESDIR}/${PN}.init.d" ${PN} + readme.gentoo_create_doc +} + +pkg_postinst() { + linux-mod_pkg_postinst + + if linux_chkconfig_present SMP ; then + elog "You have SMP (symmetric multi processor) support enabled in kernel." + elog "You should run martian-modem with --smp enabled in MARTIAN_OPTS." + fi + readme.gentoo_print_elog +} diff --git a/sci-geosciences/googleearth/googleearth-7.1.8.3036-r1.ebuild b/sci-geosciences/googleearth/googleearth-7.1.8.3036-r1.ebuild deleted file mode 100644 index ef1204f7..00000000 --- a/sci-geosciences/googleearth/googleearth-7.1.8.3036-r1.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2018 Martin V\"ath and others -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eapi7-ver desktop eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="A 3D interface to the planet" -HOMEPAGE="https://www.google.com/earth/desktop/" -MY_PV=$(ver_rs 1- _ $(ver_cut 1-3)) -SRC_URI="x86? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_i386.deb ) - amd64? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_amd64.deb )" -LICENSE="googleearth GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror splitdebug" -IUSE="+bundled-libs" - -QA_PREBUILT="*" - -# TODO: find a way to unbundle libQt -# ./googleearth-bin: symbol lookup error: ./libbase.so: undefined symbol: _Z34QBasicAtomicInt_fetchAndAddOrderedPVii - -RDEPEND=" - dev-libs/glib:2 - dev-libs/nspr - media-libs/fontconfig - media-libs/freetype - net-misc/curl - sys-devel/gcc[cxx] - sys-libs/zlib - virtual/glu - virtual/opengl - virtual/ttf-fonts - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXext - x11-libs/libXrender - x11-libs/libXau - x11-libs/libXdmcp - !bundled-libs? ( - dev-db/sqlite:3 - dev-libs/expat - dev-libs/nss - =sci-libs/proj-4.8.0* - )" -# sci-libs/gdal-1* -DEPEND="dev-util/patchelf" - -S=${WORKDIR}/opt/google/earth/pro - -src_unpack() { - # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well - unpack_deb ${A} - - if ! use bundled-libs ; then - einfo "removing bundled libs" - cd opt/google/earth/pro || die - # sci-libs/gdal-1* - # rm -v libgdal.so.1 || die - # dev-db/sqlite - rm -v libsqlite3.so || die - # dev-libs/nss - rm -v libplc4.so libplds4.so libnspr4.so libnssckbi.so libfreebl3.so \ - libnssdbm3.so libnss3.so libnssutil3.so libsmime3.so libnsssysinit.so \ - libsoftokn3.so libssl3.so || die - # dev-libs/expat - rm -v libexpat.so.1 || die - # sci-libs/proj - rm -v libproj.so.0 || die - # dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 -# rm -v libQt{Core,Gui,Network,WebKit}.so.4 || die -# rm -rv plugins/imageformats || die - fi -} - -src_prepare() { - - # we have no ld-lsb.so.3 symlink - # thanks to Nathan Phillip Brink for suggesting patchelf - einfo "running patchelf" - patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" - - # Set RPATH for preserve-libs handling (bug #265372). - local x - for x in * ; do - # Use \x7fELF header to separate ELF executables and libraries - [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue - fperms u+w "${x}" - patchelf --set-rpath '$ORIGIN' "${x}" || - die "patchelf failed on ${x}" - done - # prepare file permissions so that >patchelf-0.8 can work on the files - fperms u+w plugins/*.so plugins/imageformats/*.so - for x in plugins/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/..' "${x}" || - die "patchelf failed on ${x}" - done - for x in plugins/imageformats/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/../..' "${x}" || - die "patchelf failed on ${x}" - done - - eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch - default -} - -src_install() { - make_wrapper ${PN} ./${PN} /opt/${PN} . - - insinto /usr/share/mime/packages - doins "${FILESDIR}/${PN}-mimetypes.xml" || die - - domenu google-earth-pro.desktop - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} product_logo_${size}.png google-earth-pro.png - done - - rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* - - insinto /opt/${PN} - doins -r * - - fperms +x /opt/${PN}/${PN}{,-bin} - cd "${ED}" || die - find . -type f -name "*.so.*" -exec fperms +x '{}' + - - pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" - elog "with the following options:" - elog "lastTip = 4" - elog "enableTips = false" - elog "" - elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" - elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." - elog "To select the 32bit graphic library use the command:" - elog " eselect mesa list" - elog "For example, for Radeon R300 (x86):" - elog " eselect mesa set r300 2" - elog "For Intel Q33 (amd64):" - elog " eselect mesa set 32bit i965 2" - elog "You may need to restart X afterwards" - - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/sci-geosciences/googleearth/googleearth-7.1.8.3036-r2.ebuild b/sci-geosciences/googleearth/googleearth-7.1.8.3036-r2.ebuild new file mode 100644 index 00000000..9af756fc --- /dev/null +++ b/sci-geosciences/googleearth/googleearth-7.1.8.3036-r2.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2019 Martin V\"ath and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="A 3D interface to the planet" +HOMEPAGE="https://www.google.com/earth/desktop/" +MY_PV=$(ver_rs 1- _ $(ver_cut 1-3)) +SRC_URI="x86? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_i386.deb ) + amd64? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_amd64.deb )" +LICENSE="googleearth GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror splitdebug" +IUSE="+bundled-libs" + +QA_PREBUILT="*" + +# TODO: find a way to unbundle libQt +# ./googleearth-bin: symbol lookup error: ./libbase.so: undefined symbol: _Z34QBasicAtomicInt_fetchAndAddOrderedPVii + +RDEPEND=" + dev-libs/glib:2 + dev-libs/nspr + media-libs/fontconfig + media-libs/freetype + net-misc/curl + sys-devel/gcc[cxx] + sys-libs/zlib + virtual/glu + virtual/opengl + virtual/ttf-fonts + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXau + x11-libs/libXdmcp + !bundled-libs? ( + dev-db/sqlite:3 + dev-libs/expat + dev-libs/nss + =sci-libs/proj-4.8.0* + )" +# sci-libs/gdal-1* +BDEPEND="dev-util/patchelf" + +S=${WORKDIR}/opt/google/earth/pro + +src_unpack() { + # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well + unpack_deb ${A} + + if ! use bundled-libs ; then + einfo "removing bundled libs" + cd opt/google/earth/pro || die + # sci-libs/gdal-1* + # rm -v libgdal.so.1 || die + # dev-db/sqlite + rm -v libsqlite3.so || die + # dev-libs/nss + rm -v libplc4.so libplds4.so libnspr4.so libnssckbi.so libfreebl3.so \ + libnssdbm3.so libnss3.so libnssutil3.so libsmime3.so libnsssysinit.so \ + libsoftokn3.so libssl3.so || die + # dev-libs/expat + rm -v libexpat.so.1 || die + # sci-libs/proj + rm -v libproj.so.0 || die + # dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 +# rm -v libQt{Core,Gui,Network,WebKit}.so.4 || die +# rm -rv plugins/imageformats || die + fi +} + +src_prepare() { + + # we have no ld-lsb.so.3 symlink + # thanks to Nathan Phillip Brink for suggesting patchelf + einfo "running patchelf" + patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" + + # Set RPATH for preserve-libs handling (bug #265372). + local x + for x in * ; do + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/..' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/imageformats/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/../..' "${x}" || \ + die "patchelf failed on ${x}" + done + + eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch + default +} + +src_install() { + make_wrapper ${PN} ./${PN} /opt/${PN} . + + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}-mimetypes.xml" || die + + domenu google-earth-pro.desktop + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} product_logo_${size}.png google-earth-pro.png + done + + rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* + + insinto /opt/${PN} + doins -r * + + chmod +x /opt/${PN}/${PN}{,-bin} || die + find "${ED}" -type f -name "*.so.*" -exec chmod +x '{}' + + + pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" + elog "with the following options:" + elog "lastTip = 4" + elog "enableTips = false" + elog "" + elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" + elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." + elog "To select the 32bit graphic library use the command:" + elog " eselect mesa list" + elog "For example, for Radeon R300 (x86):" + elog " eselect mesa set r300 2" + elog "For Intel Q33 (amd64):" + elog " eselect mesa set 32bit i965 2" + elog "You may need to restart X afterwards" + + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} diff --git a/sci-geosciences/googleearth/googleearth-7.3.0.3832-r1.ebuild b/sci-geosciences/googleearth/googleearth-7.3.0.3832-r1.ebuild deleted file mode 100644 index 5c960d54..00000000 --- a/sci-geosciences/googleearth/googleearth-7.3.0.3832-r1.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2018 Martin V\"ath and others -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eapi7-ver desktop eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="A 3D interface to the planet" -HOMEPAGE="https://www.google.com/earth/desktop/" -MY_PV=$(ver_rs 1- _ $(ver_cut 1-3)) -SRC_URI="x86? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_i386.deb ) - amd64? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_amd64.deb )" -LICENSE="googleearth GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror splitdebug" -IUSE="+bundled-libs +bundled-qt" - -QA_PREBUILT="*" - -RDEPEND=" - dev-libs/glib:2 - dev-libs/nspr - media-libs/fontconfig - media-libs/freetype - net-misc/curl - sys-devel/gcc[cxx] - sys-libs/zlib - virtual/glu - virtual/opengl - virtual/ttf-fonts - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXext - x11-libs/libXrender - x11-libs/libXau - x11-libs/libXdmcp - !bundled-libs? ( - dev-libs/expat - =sci-libs/proj-4.8.0* - ) - !bundled-qt? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[widgets] - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtpositioning:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsensors:5 - dev-qt/qtscript:5[scripttools] - dev-qt/qtwebchannel:5 - dev-qt/qtwebkit:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - )" -# sci-libs/gdal-1* -DEPEND="dev-util/patchelf" - -S=${WORKDIR}/opt/google/earth/pro - -src_unpack() { - # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well - unpack_deb ${A} - - cd opt/google/earth/pro || die - if ! use bundled-libs ; then - einfo "removing bundled libs" - # sci-libs/gdal-1* - # rm -v libgdal.so.1 || die - # dev-libs/expat - rm -v libexpat.so.1 || die - # sci-libs/proj - rm -v libproj.so.0 || die -# rm -rv plugins/imageformats || die - fi - if ! use bundled-qt ; then - einfo "removing bundled qt" - rm -v libQt5{Core,DBus,Gui,Multimedia,MultimediaWidgets,Network,OpenGL,Positioning,PrintSupport,Qml,Quick,Script,ScriptTools,Sensors,Sql,WebChannel,WebKit,WebKitWidgets,Widgets,X11Extras,XcbQpa}.so.5 || die - fi -} - -src_prepare() { - - # we have no ld-lsb.so.3 symlink - # thanks to Nathan Phillip Brink for suggesting patchelf - einfo "running patchelf" - patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" - - # Set RPATH for preserve-libs handling (bug #265372). - local x - for x in * ; do - # Use \x7fELF header to separate ELF executables and libraries - [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue - fperms u+w "${x}" - patchelf --set-rpath '$ORIGIN' "${x}" || - die "patchelf failed on ${x}" - done - # prepare file permissions so that >patchelf-0.8 can work on the files - fperms u+w plugins/*.so plugins/imageformats/*.so - for x in plugins/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/..' "${x}" || - die "patchelf failed on ${x}" - done - for x in plugins/imageformats/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/../..' "${x}" || - die "patchelf failed on ${x}" - done - - eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch - default -} - -src_install() { - make_wrapper ${PN} ./${PN} /opt/${PN} . - - insinto /usr/share/mime/packages - doins "${FILESDIR}/${PN}-mimetypes.xml" || die - - domenu google-earth-pro.desktop - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} product_logo_${size}.png google-earth-pro.png - done - - rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* - - insinto /opt/${PN} - doins -r * - - fperms +x /opt/${PN}/${PN}{,-bin} - cd "${ED}" || die - find . -type f -name "*.so.*" -exec fperms +x '{}' + - - pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" - elog "with the following options:" - elog "lastTip = 4" - elog "enableTips = false" - elog "" - elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" - elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." - elog "To select the 32bit graphic library use the command:" - elog " eselect mesa list" - elog "For example, for Radeon R300 (x86):" - elog " eselect mesa set r300 2" - elog "For Intel Q33 (amd64):" - elog " eselect mesa set 32bit i965 2" - elog "You may need to restart X afterwards" - - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/sci-geosciences/googleearth/googleearth-7.3.0.3832-r2.ebuild b/sci-geosciences/googleearth/googleearth-7.3.0.3832-r2.ebuild new file mode 100644 index 00000000..3e60bb91 --- /dev/null +++ b/sci-geosciences/googleearth/googleearth-7.3.0.3832-r2.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2019 Martin V\"ath and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="A 3D interface to the planet" +HOMEPAGE="https://www.google.com/earth/desktop/" +MY_PV=$(ver_rs 1- _ $(ver_cut 1-3)) +SRC_URI="x86? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_i386.deb ) + amd64? ( https://dl.google.com/dl/earth/client/GE7/release_${MY_PV}/google-earth-pro-stable_${PV}-r0_amd64.deb )" +LICENSE="googleearth GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror splitdebug" +IUSE="+bundled-libs +bundled-qt" + +QA_PREBUILT="*" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/nspr + media-libs/fontconfig + media-libs/freetype + net-misc/curl + sys-devel/gcc[cxx] + sys-libs/zlib + virtual/glu + virtual/opengl + virtual/ttf-fonts + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXau + x11-libs/libXdmcp + !bundled-libs? ( + dev-libs/expat + =sci-libs/proj-4.8.0* + ) + !bundled-qt? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtpositioning:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsensors:5 + dev-qt/qtscript:5[scripttools] + dev-qt/qtwebchannel:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + )" +# sci-libs/gdal-1* +BDEPEND="dev-util/patchelf" + +S=${WORKDIR}/opt/google/earth/pro + +src_unpack() { + # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well + unpack_deb ${A} + + cd opt/google/earth/pro || die + if ! use bundled-libs ; then + einfo "removing bundled libs" + # sci-libs/gdal-1* + # rm -v libgdal.so.1 || die + # dev-libs/expat + rm -v libexpat.so.1 || die + # sci-libs/proj + rm -v libproj.so.0 || die +# rm -rv plugins/imageformats || die + fi + if ! use bundled-qt ; then + einfo "removing bundled qt" + rm -v libQt5{Core,DBus,Gui,Multimedia,MultimediaWidgets,Network,OpenGL,Positioning,PrintSupport,Qml,Quick,Script,ScriptTools,Sensors,Sql,WebChannel,WebKit,WebKitWidgets,Widgets,X11Extras,XcbQpa}.so.5 || die + fi +} + +src_prepare() { + + # we have no ld-lsb.so.3 symlink + # thanks to Nathan Phillip Brink for suggesting patchelf + einfo "running patchelf" + patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" + + # Set RPATH for preserve-libs handling (bug #265372). + local x + for x in * ; do + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/..' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/imageformats/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/../..' "${x}" || \ + die "patchelf failed on ${x}" + done + + eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch + default +} + +src_install() { + make_wrapper ${PN} ./${PN} /opt/${PN} . + + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}-mimetypes.xml" || die + + domenu google-earth-pro.desktop + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} product_logo_${size}.png google-earth-pro.png + done + + rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* + + insinto /opt/${PN} + doins -r * + + chmod +x /opt/${PN}/${PN}{,-bin} || die + find "${ED}" -type f -name "*.so.*" -exec chmod +x '{}' + + + pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" + elog "with the following options:" + elog "lastTip = 4" + elog "enableTips = false" + elog "" + elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" + elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." + elog "To select the 32bit graphic library use the command:" + elog " eselect mesa list" + elog "For example, for Radeon R300 (x86):" + elog " eselect mesa set r300 2" + elog "For Intel Q33 (amd64):" + elog " eselect mesa set 32bit i965 2" + elog "You may need to restart X afterwards" + + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} diff --git a/sci-geosciences/googleearth/googleearth-7.3.2-r1.ebuild b/sci-geosciences/googleearth/googleearth-7.3.2-r1.ebuild new file mode 100644 index 00000000..866b3d7c --- /dev/null +++ b/sci-geosciences/googleearth/googleearth-7.3.2-r1.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2019 Martin V\"ath and others +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="A 3D interface to the planet" +HOMEPAGE="https://www.google.com/earth/desktop/" +SRC_URI="https://dl.google.com/dl/linux/direct/google-earth-pro-stable_${PV}_amd64.deb" +LICENSE="googleearth GPL-2" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror splitdebug" +IUSE="+bundled-qt" + +QA_PREBUILT="*" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/nspr + media-libs/fontconfig + media-libs/freetype + media-libs/gstreamer:1.0= + media-libs/gst-plugins-base:1.0= + net-libs/libproxy + net-misc/curl + sys-devel/gcc[cxx] + sys-libs/zlib + virtual/glu + virtual/opengl + virtual/ttf-fonts + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXau + x11-libs/libXdmcp + !bundled-qt? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtpositioning:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsensors:5 + dev-qt/qtscript:5[scripttools] + dev-qt/qtwebchannel:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + )" +# sci-libs/gdal-1* +BDEPEND="dev-util/patchelf" + +S=${WORKDIR}/opt/google/earth/pro + +src_unpack() { + # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well + unpack_deb ${A} + + cd opt/google/earth/pro || die + if ! use bundled-qt ; then + einfo "removing bundled qt" + rm -v libQt5{Core,DBus,Gui,Multimedia,MultimediaWidgets,Network,OpenGL,Positioning,PrintSupport,Qml,Quick,Script,ScriptTools,Sensors,Sql,WebChannel,WebKit,WebKitWidgets,Widgets,X11Extras,XcbQpa}.so.5 || die + fi +} + +src_prepare() { + + # we have no ld-lsb.so.3 symlink + # thanks to Nathan Phillip Brink for suggesting patchelf + einfo "running patchelf" + patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" + + # Set RPATH for preserve-libs handling (bug #265372). + local x + for x in * ; do + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/..' "${x}" || \ + die "patchelf failed on ${x}" + done + for x in plugins/imageformats/*.so ; do + [[ -f ${x} ]] || continue + chmod u+w "${x}" || die + patchelf --set-rpath '$ORIGIN/../..' "${x}" || \ + die "patchelf failed on ${x}" + done + + eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch + default +} + +src_install() { + make_wrapper ${PN} ./${PN} /opt/${PN} . + + insinto /usr/share/mime/packages + doins "${FILESDIR}/${PN}-mimetypes.xml" || die + + domenu google-earth-pro.desktop + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} product_logo_${size}.png google-earth-pro.png + done + + rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* + + insinto /opt/${PN} + doins -r * + + chmod +x /opt/${PN}/${PN}{,-bin} || die + find "${ED}" -type f -name "*.so.*" -exec chmod +x '{}' + + + pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" + elog "with the following options:" + elog "lastTip = 4" + elog "enableTips = false" + elog "" + elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" + elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." + elog "To select the 32bit graphic library use the command:" + elog " eselect mesa list" + elog "For example, for Radeon R300 (x86):" + elog " eselect mesa set r300 2" + elog "For Intel Q33 (amd64):" + elog " eselect mesa set 32bit i965 2" + elog "You may need to restart X afterwards" + + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} diff --git a/sci-geosciences/googleearth/googleearth-7.3.2.ebuild b/sci-geosciences/googleearth/googleearth-7.3.2.ebuild deleted file mode 100644 index 3bbc54df..00000000 --- a/sci-geosciences/googleearth/googleearth-7.3.2.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2018 Martin V\"ath and others -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="A 3D interface to the planet" -HOMEPAGE="https://www.google.com/earth/desktop/" -SRC_URI="https://dl.google.com/dl/linux/direct/google-earth-pro-stable_${PV}_amd64.deb" -LICENSE="googleearth GPL-2" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror splitdebug" -IUSE="+bundled-qt" - -QA_PREBUILT="*" - -RDEPEND=" - dev-libs/glib:2 - dev-libs/nspr - media-libs/fontconfig - media-libs/freetype - media-libs/gstreamer:1.0= - media-libs/gst-plugins-base:1.0= - net-libs/libproxy - net-misc/curl - sys-devel/gcc[cxx] - sys-libs/zlib - virtual/glu - virtual/opengl - virtual/ttf-fonts - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXext - x11-libs/libXrender - x11-libs/libXau - x11-libs/libXdmcp - !bundled-qt? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[widgets] - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtpositioning:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsensors:5 - dev-qt/qtscript:5[scripttools] - dev-qt/qtwebchannel:5 - dev-qt/qtwebkit:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - )" -# sci-libs/gdal-1* -DEPEND="dev-util/patchelf" - -S=${WORKDIR}/opt/google/earth/pro - -src_unpack() { - # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well - unpack_deb ${A} - - cd opt/google/earth/pro || die - if ! use bundled-qt ; then - einfo "removing bundled qt" - rm -v libQt5{Core,DBus,Gui,Multimedia,MultimediaWidgets,Network,OpenGL,Positioning,PrintSupport,Qml,Quick,Script,ScriptTools,Sensors,Sql,WebChannel,WebKit,WebKitWidgets,Widgets,X11Extras,XcbQpa}.so.5 || die - fi -} - -src_prepare() { - - # we have no ld-lsb.so.3 symlink - # thanks to Nathan Phillip Brink for suggesting patchelf - einfo "running patchelf" - patchelf --set-interpreter /$(get_libdir)/ld-linux$(usex amd64 "-x86-64" "").so.2 ${PN}-bin || die "patchelf failed" - - # Set RPATH for preserve-libs handling (bug #265372). - local x - for x in * ; do - # Use \x7fELF header to separate ELF executables and libraries - [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue - fperms u+w "${x}" - patchelf --set-rpath '$ORIGIN' "${x}" || - die "patchelf failed on ${x}" - done - # prepare file permissions so that >patchelf-0.8 can work on the files - fperms u+w plugins/*.so plugins/imageformats/*.so - for x in plugins/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/..' "${x}" || - die "patchelf failed on ${x}" - done - for x in plugins/imageformats/*.so ; do - [[ -f ${x} ]] || continue - patchelf --set-rpath '$ORIGIN/../..' "${x}" || - die "patchelf failed on ${x}" - done - - eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch - default -} - -src_install() { - make_wrapper ${PN} ./${PN} /opt/${PN} . - - insinto /usr/share/mime/packages - doins "${FILESDIR}/${PN}-mimetypes.xml" || die - - domenu google-earth-pro.desktop - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} product_logo_${size}.png google-earth-pro.png - done - - rm -rf xdg-mime xdg-settings google-earth-pro google-earth-pro.desktop product_logo_* - - insinto /opt/${PN} - doins -r * - - fperms +x /opt/${PN}/${PN}{,-bin} - cd "${ED}" || die - find . -type f -name "*.so.*" -exec fperms +x '{}' + - - pax-mark -m "${ED%/}"/opt/${PN}/${PN}-bin -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - elog "When you get a crash starting Google Earth, try adding a file ~./.config/Google/GoogleEarthPlus.conf" - elog "with the following options:" - elog "lastTip = 4" - elog "enableTips = false" - elog "" - elog "In addition, the use of free video drivers may cause problems associated with using the Mesa" - elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." - elog "To select the 32bit graphic library use the command:" - elog " eselect mesa list" - elog "For example, for Radeon R300 (x86):" - elog " eselect mesa set r300 2" - elog "For Intel Q33 (amd64):" - elog " eselect mesa set 32bit i965 2" - elog "You may need to restart X afterwards" - - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/sci-mathematics/genius/genius-1.0.21.ebuild b/sci-mathematics/genius/genius-1.0.21.ebuild index 90c62479..0371fc84 100644 --- a/sci-mathematics/genius/genius-1.0.21.ebuild +++ b/sci-mathematics/genius/genius-1.0.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild b/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild new file mode 100644 index 00000000..828a7c18 --- /dev/null +++ b/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 2010-2019 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +RESTRICT="mirror" +WANT_LIBTOOL=none +AUTOTOOLS_IN_SOURCE_BUILD=true +inherit autotools eutils linux-info readme.gentoo-r1 systemd + +DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" +HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="aufs overlayfs bundled-openrc-wrapper unionfs-fuse" + +DEPEND="bundled-openrc-wrapper? ( !!sys-apps/openrc-wrapper )" +RDEPEND="sys-fs/squashfs-tools + !bundled-openrc-wrapper? ( sys-apps/openrc-wrapper ) + ${BOTHDEPEND} + >=app-shells/runtitle-2.3 + !=dev-lang/perl-5.12 +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) +# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) +# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) +# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) +DEPEND="" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as +/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. + +Configure the mount point 'gentoo' only if you use sync-type = squashdelta. + +For improved output use sys-fs/squashfs-tools from the mv overlay. + +It is recommended to put into your zshrc the line: +alias squashmount='noglob squashmount'" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ + -- bin/* || die + default +} + +src_install() { + dobin bin/* + dodoc README ChangeLog compress.txt + doinitd openrc/init.d/* + systemd_dounit systemd/system/* + dotmpfiles tmpfiles.d/* + insinto /etc + doins -r etc/revdep-rebuild etc/systemd + exeinto /etc/portage/repo.postsync.d + doexe etc/portage/repo.postsync.d/* + insinto /usr/lib + doins lib/* + doins -r lib/find_cruft + insinto /usr/share/zsh/site-functions + doins zsh/* + readme.gentoo_create_doc +} + +pkg_postinst() { + if use arm || use ia64 || use sparc + then optfeature "improved output" 'dev-perl/String-ShellQuote' + fi + optfeature "user mounting" \ + '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ + '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' + case " ${REPLACING_VERSIONS}" in + *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) + FORCE_PRINT_ELOG="true";; + esac + readme.gentoo_print_elog + tmpfiles_process squashmount.conf +} diff --git a/sys-fs/squashmount/squashmount-16.1.0.ebuild b/sys-fs/squashmount/squashmount-16.1.0.ebuild deleted file mode 100644 index b7ddf346..00000000 --- a/sys-fs/squashmount/squashmount-16.1.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2013-2018 Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" -inherit eutils readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" -HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html -https://github.com/vaeth/squashmount/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -# These should really depend on USE-flags but must not by policy. -# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 -OPTIONAL_RDEPEND="app-shells/runtitle -dev-perl/File-Which -!arm? ( !ia64? ( !sparc? ( dev-perl/String-ShellQuote ) ) )" - -RDEPEND="!=dev-lang/perl-5.22 - || ( dev-perl/File-Which sys-apps/which ) - sys-fs/squashfs-tools - !=dev-lang/perl-5.12 -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) -# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) -# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) -# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) -DEPEND="" - -DISABLE_AUTOFORMATTING="true" -DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as -/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. - -Configure the mount point 'gentoo' only if you use sync-type = squashdelta. - -For improved output use sys-fs/squashfs-tools from the mv overlay. - -It is recommended to put into your zshrc the line: -alias squashmount='noglob squashmount'" - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ - -- bin/* || die - default -} - -src_install() { - dobin bin/* - dodoc README ChangeLog compress.txt - doinitd openrc/init.d/* - systemd_dounit systemd/system/* - dotmpfiles tmpfiles.d/* - insinto /etc - doins -r etc/revdep-rebuild etc/systemd - exeinto /etc/portage/repo.postsync.d - doexe etc/portage/repo.postsync.d/* - insinto /usr/lib - doins lib/* - doins -r lib/find_cruft - insinto /usr/share/zsh/site-functions - doins zsh/* - readme.gentoo_create_doc -} - -pkg_postinst() { - if use arm || use ia64 || use sparc - then optfeature "improved output" 'dev-perl/String-ShellQuote' - fi - optfeature "user mounting" \ - '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ - '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' - case " ${REPLACING_VERSIONS}" in - *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) - FORCE_PRINT_ELOG="true";; - esac - readme.gentoo_print_elog - tmpfiles_process squashmount.conf -} diff --git a/sys-fs/squashmount/squashmount-19.1-r1.ebuild b/sys-fs/squashmount/squashmount-19.1-r1.ebuild new file mode 100644 index 00000000..68a3da46 --- /dev/null +++ b/sys-fs/squashmount/squashmount-19.1-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 2013-2019 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +RESTRICT="mirror" +inherit eutils readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" +HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html +https://github.com/vaeth/squashmount/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +# These should really depend on USE-flags but must not by policy. +# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 +OPTIONAL_RDEPEND="app-shells/runtitle +dev-perl/File-Which +!arm? ( !ia64? ( !sparc? ( dev-perl/String-ShellQuote ) ) )" + +RDEPEND="!=dev-lang/perl-5.22 + || ( dev-perl/File-Which sys-apps/which ) + sys-fs/squashfs-tools + !=dev-lang/perl-5.12 +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) +# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) +# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) +# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) +DEPEND="" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as +/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. + +Configure the mount point 'gentoo' only if you use sync-type = squashdelta. + +For improved output use sys-fs/squashfs-tools from the mv overlay. + +It is recommended to put into your zshrc the line: +alias squashmount='noglob squashmount'" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ + -- bin/* || die + default +} + +src_install() { + dobin bin/* + dodoc README.md ChangeLog compress.txt demo.svg + docompress -x "/usr/share/doc/${PF}/demo.svg" + doinitd openrc/init.d/* + systemd_dounit systemd/system/* + dotmpfiles tmpfiles.d/* + insinto /etc + doins -r etc/revdep-rebuild etc/systemd + exeinto /etc/portage/repo.postsync.d + doexe etc/portage/repo.postsync.d/* + insinto /usr/lib + doins lib/* + doins -r lib/find_cruft + insinto /usr/share/zsh/site-functions + doins zsh/* + readme.gentoo_create_doc +} + +pkg_postinst() { + if use arm || use ia64 || use sparc + then optfeature "improved output" 'dev-perl/String-ShellQuote' + fi + optfeature "user mounting" \ + '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ + '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' + case " ${REPLACING_VERSIONS}" in + *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) + FORCE_PRINT_ELOG="true";; + esac + readme.gentoo_print_elog + tmpfiles_process squashmount.conf +} diff --git a/sys-fs/squashmount/squashmount-19.1.ebuild b/sys-fs/squashmount/squashmount-19.1.ebuild deleted file mode 100644 index f5ae6ed5..00000000 --- a/sys-fs/squashmount/squashmount-19.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2013-2018 Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" -inherit eutils readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" -HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html -https://github.com/vaeth/squashmount/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -# These should really depend on USE-flags but must not by policy. -# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 -OPTIONAL_RDEPEND="app-shells/runtitle -dev-perl/File-Which -!arm? ( !ia64? ( !sparc? ( dev-perl/String-ShellQuote ) ) )" - -RDEPEND="!=dev-lang/perl-5.22 - || ( dev-perl/File-Which sys-apps/which ) - sys-fs/squashfs-tools - !=dev-lang/perl-5.12 -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) -# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) -# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) -# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) -DEPEND="" - -DISABLE_AUTOFORMATTING="true" -DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as -/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. - -Configure the mount point 'gentoo' only if you use sync-type = squashdelta. - -For improved output use sys-fs/squashfs-tools from the mv overlay. - -It is recommended to put into your zshrc the line: -alias squashmount='noglob squashmount'" - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ - -- bin/* || die - default -} - -src_install() { - dobin bin/* - dodoc README.md ChangeLog compress.txt demo.svg - docompress -x "/usr/share/doc/${PF}/demo.svg" - doinitd openrc/init.d/* - systemd_dounit systemd/system/* - dotmpfiles tmpfiles.d/* - insinto /etc - doins -r etc/revdep-rebuild etc/systemd - exeinto /etc/portage/repo.postsync.d - doexe etc/portage/repo.postsync.d/* - insinto /usr/lib - doins lib/* - doins -r lib/find_cruft - insinto /usr/share/zsh/site-functions - doins zsh/* - readme.gentoo_create_doc -} - -pkg_postinst() { - if use arm || use ia64 || use sparc - then optfeature "improved output" 'dev-perl/String-ShellQuote' - fi - optfeature "user mounting" \ - '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ - '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' - case " ${REPLACING_VERSIONS}" in - *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) - FORCE_PRINT_ELOG="true";; - esac - readme.gentoo_print_elog - tmpfiles_process squashmount.conf -} diff --git a/x11-libs/gtk+/gtk+-2.24.32-r1.ebuild b/x11-libs/gtk+/gtk+-2.24.32-r1.ebuild index 62b7a5cc..9a39dceb 100644 --- a/x11-libs/gtk+/gtk+-2.24.32-r1.ebuild +++ b/x11-libs/gtk+/gtk+-2.24.32-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath +# Copyright 1999-2019 Gentoo Authors and Martin V\"ath # Distributed under the terms of the GNU General Public License v2 EAPI=6 -- cgit v1.2.3-18-g5258