diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-03-17 19:26:17 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-03-17 19:26:17 +0000 |
commit | 4e57a77a51445f4aa2f7ef16504975b9942bc1da (patch) | |
tree | cbbbdef2fc5fc3f152827596cd94ec3ec85610ca | |
parent | 2019-03-17 18:49:34 UTC (diff) | |
parent | xorg-2.eclass: Depend on x11-apps/mkfontdir for fonts (diff) | |
download | gentoo-4e57a77a51445f4aa2f7ef16504975b9942bc1da.tar.gz gentoo-4e57a77a51445f4aa2f7ef16504975b9942bc1da.tar.bz2 gentoo-4e57a77a51445f4aa2f7ef16504975b9942bc1da.zip |
Merge updates from master
-rw-r--r-- | dev-libs/libzip/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libzip/libzip-1.5.2.ebuild | 89 | ||||
-rw-r--r-- | dev-libs/libzip/metadata.xml | 3 | ||||
-rw-r--r-- | eclass/meson.eclass | 13 | ||||
-rw-r--r-- | eclass/xorg-2.eclass | 3 | ||||
-rw-r--r-- | net-misc/youtube-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2019.03.18.ebuild | 68 | ||||
-rw-r--r-- | profiles/package.mask | 13 | ||||
-rw-r--r-- | x11-libs/pixman/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/pixman/pixman-0.38.0.ebuild | 57 | ||||
-rw-r--r-- | x11-libs/pixman/pixman-9999.ebuild | 63 |
11 files changed, 293 insertions, 19 deletions
diff --git a/dev-libs/libzip/Manifest b/dev-libs/libzip/Manifest index 396290996fdd..b8f03031b829 100644 --- a/dev-libs/libzip/Manifest +++ b/dev-libs/libzip/Manifest @@ -1,2 +1,3 @@ DIST libzip-1.3.0.tar.xz 955876 BLAKE2B 9bb59cb34ed7e85e3161770f0eef7ed1f59fb2f7f648cd201fa5dc6c62339481ad72a71024df443c04ef0c7efe6f00838a3ac316da2ef06c0045ab69ade8f71b SHA512 8e12a23fe62b993ff4592e1b9da152533a363b0603fc1f65e6cbb6121d4260c45f98171effbccb76dec4030b0fcdcd273919755a2496ab462431646ac83bb900 DIST libzip-1.5.1.tar.xz 717908 BLAKE2B f2c19d3a8d9d60f3a0a9bc06359104187e75bcb59ab2aa06df611b487f0c91c27cf52f24bcc24e3d4358c5fe11882661b245829e6cdee2b39559f728cd20f899 SHA512 92df9490a9910ebb1da49ecaec96f364fce39a779e1bc739f7796b27b3a864301f5e1ba0108947708dda1d90af7a9e751be54cbb8a0de2a04a48f9f3eb728e3d +DIST libzip-1.5.2.tar.xz 725724 BLAKE2B 3d67fc3ed9a242047fdeb1bae7fdbdcbed660853bbb36590b082646619e1cccb1dd49506248bba66759e27691f9a83ed186731eb57f47cc5e21f07f28e391387 SHA512 1e6d48ddbac4d270f70b314f6ada3c93a3196a8cc3b8d17c6cf5ea8409ff29f36ac351206675f9d81351fcf633b0c15d7b0b5530c30c4140e4fe55e64c602643 diff --git a/dev-libs/libzip/libzip-1.5.2.ebuild b/dev-libs/libzip/libzip-1.5.2.ebuild new file mode 100644 index 000000000000..261eb19e86eb --- /dev/null +++ b/dev-libs/libzip/libzip-1.5.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils multibuild + +DESCRIPTION="Library for manipulating zip archives" +HOMEPAGE="https://nih.at/libzip/" +SRC_URI="https://www.nih.at/libzip/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="bzip2 doc gnutls libressl mbedtls ssl static-libs test" + +DEPEND=" + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + ssl? ( + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + mbedtls? ( net-libs/mbedtls:= ) + !mbedtls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + ) + ) +" +RDEPEND="${DEPEND}" + +pkg_setup() { + # Upstream doesn't support building dynamic & static + # simultaneously: https://github.com/nih-at/libzip/issues/76 + MULTIBUILD_VARIANTS=( shared $(usev static-libs) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF # nothing is installed + -DENABLE_COMMONCRYPTO=OFF # not in tree + -DENABLE_BZIP2=$(usex bzip2) + ) + if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then + mycmakeargs+=( + -DBUILD_DOC=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_SHARED_LIBS=OFF + -DBUILD_TOOLS=OFF + ) + else + mycmakeargs+=( + -DBUILD_DOC=$(usex doc) + -DBUILD_REGRESS=$(usex test) + ) + fi + + if use ssl; then + mycmakeargs+=( + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_MBEDTLS=$(usex mbedtls) + -DENABLE_OPENSSL=$(usex !gnutls) + ) + else + mycmakeargs+=( + -DENABLE_GNUTLS=OFF + -DENABLE_MBEDTLS=OFF + -DENABLE_OPENSSL=OFF + ) + fi + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake-utils_src_test +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} diff --git a/dev-libs/libzip/metadata.xml b/dev-libs/libzip/metadata.xml index 12dd2df42ad5..87a5b99d4f34 100644 --- a/dev-libs/libzip/metadata.xml +++ b/dev-libs/libzip/metadata.xml @@ -9,4 +9,7 @@ <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> +<use> + <flag name="mbedtls">Use <pkg>net-libs/mbedtls</pkg> as TLS provider</flag> +</use> </pkgmetadata> diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 75291d7bdd1b..65b09932a7ac 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -188,6 +188,19 @@ meson_use() { usex "$1" "-D${2-$1}=true" "-D${2-$1}=false" } +# @FUNCTION: meson_feature +# @USAGE: <USE flag> [option name] +# @DESCRIPTION: +# Given a USE flag and meson project option, outputs a string like: +# +# -Doption=enabled +# -Doption=disabled +# +# If the project option is unspecified, it defaults to the USE flag. +meson_feature() { + usex "$1" "-D${2-$1}=enabled" "-D${2-$1}=disabled" +} + # @FUNCTION: meson_src_configure # @USAGE: [extra meson arguments] # @DESCRIPTION: diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 5cee000f4ee4..0bba5bb7a369 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -139,7 +139,8 @@ if [[ ${FONT} == yes ]]; then RDEPEND+=" media-fonts/encodings || ( >=x11-apps/mkfontscale-1.2.0 ( x11-apps/mkfontscale x11-apps/mkfontdir ) )" PDEPEND+=" media-fonts/font-alias" - DEPEND+=" >=media-fonts/font-util-1.2.0" + DEPEND+=" >=media-fonts/font-util-1.2.0 + || ( >=x11-apps/mkfontscale-1.2.0 ( x11-apps/mkfontscale x11-apps/mkfontdir ) )" # @ECLASS-VARIABLE: FONT_DIR # @DESCRIPTION: diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest index 7b9dfd1cc64f..be50d86addf9 100644 --- a/net-misc/youtube-dl/Manifest +++ b/net-misc/youtube-dl/Manifest @@ -1,2 +1,3 @@ DIST youtube-dl-2019.03.01.tar.gz 3117441 BLAKE2B 92beb16920b6d9c3ead89d5ff930b73635f74d7aeba62a4ee8159e28b448931810f340857bc223ab587610704405083768137a62d7c92814a7525825adc60919 SHA512 ff037b2288b937ebc70bfa880a4c0cd10cb4a615725e25f8db998c828d4b505461088b5aaa926aa47f148189496275f1a70e03e187325c15d6ff425ed4da2dc7 DIST youtube-dl-2019.03.09.tar.gz 3120854 BLAKE2B 83c9dd22636dec34be497d28e28dcf8e68ad3566603acb5902dc422672aa73e27811bf27779da093e54fcee8068f9a3377eb21e8810f1a3cad95d4bdc920c8a7 SHA512 a827d481057ff502064acd4c170c5320c63e0abb1048ef9d3563083478dc518f0755ecdc3179fe75a1a949aa162f9bebdd96a59f913b34f0b7ed54b168fc2903 +DIST youtube-dl-2019.03.18.tar.gz 3122206 BLAKE2B 8a94cf92ebce960fe9b074d5cc23047fbf326fe4511c55f0a1c4843386e4e3c65da4f89a2401243dbaf73882f68aadc768e653e8ed9e5c91244172c24e55d8bb SHA512 0a683631da7d67aa2f23eb6326664e483b71ef776b3ff63c732bdef54f58c7f615733023f8c4b948078f59d136414bd059bdc753d89aec630126bbe826db58ce diff --git a/net-misc/youtube-dl/youtube-dl-2019.03.18.ebuild b/net-misc/youtube-dl/youtube-dl-2019.03.18.ebuild new file mode 100644 index 000000000000..8249fc9c0e19 --- /dev/null +++ b/net-misc/youtube-dl/youtube-dl-2019.03.18.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7}) +inherit bash-completion-r1 distutils-r1 readme.gentoo-r1 + +DESCRIPTION="Download videos from YouTube.com (and more sites...)" +HOMEPAGE="https://rg3.github.com/youtube-dl/" +SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz" +LICENSE="public-domain" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +RESTRICT="test" +SLOT="0" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + || ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) +" +S="${WORKDIR}/${PN}" + +src_compile() { + distutils-r1_src_compile +} + +python_install_all() { + dodoc README.txt + doman ${PN}.1 + + newbashcomp ${PN}.bash-completion ${PN} + + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} + + insinto /usr/share/fish/vendor_completions.d + doins ${PN}.fish + + distutils-r1_python_install_all + + rm -r "${ED}"/usr/etc || die + rm -r "${ED}"/usr/share/doc/youtube_dl || die +} + +pkg_postinst() { + elog "${PN}(1) / https://bugs.gentoo.org/355661 /" + elog "https://github.com/rg3/${PN}/blob/master/README.md#faq :" + elog + elog "${PN} works fine on its own on most sites. However, if you want" + elog "to convert video/audio, you'll need avconf (media-video/libav) or" + elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -" + elog "videos can be retrieved in a higher quality format without sound." + elog "${PN} will detect whether avconv/ffmpeg is present and" + elog "automatically pick the best option." + elog + elog "Videos or video formats streamed via RTMP protocol can only be" + elog "downloaded when rtmpdump (media-video/rtmpdump) is installed." + elog "Downloading MMS and RTSP videos requires either mplayer" + elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed." + elog + elog "If you want ${PN} to embed thumbnails from the metadata into the" + elog "resulting MP4 files, consider installing media-video/atomicparsley" +} diff --git a/profiles/package.mask b/profiles/package.mask index 7b38858ff439..0992d8c00773 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -30,6 +30,19 @@ #--- END OF EXAMPLES --- # Michał Górny <mgorny@gentoo.org> (17 Mar 2019) +# Unmaintained. Last bump in 2016, leaving Gentoo a few releases +# behind. The current version fails to build, with two different +# issues (#610966, #651278). +# Removal in 30 days. Bug #610966. +net-analyzer/netsniff-ng + +# Michał Górny <mgorny@gentoo.org> (17 Mar 2019) +# Unmaintained. Does not work with current Gentoo versions +# of dev-python/python-fastimport. No upstream release since 2012. +# Removal in 30 days. Bug #591446. +dev-vcs/bzr-fastimport + +# Michał Górny <mgorny@gentoo.org> (17 Mar 2019) # Live ebuild adde in 2012 and not touched by the maintainer since. # Never seen a release ebuild or a snapshot. # Removal in 30 days. Bug #680790. diff --git a/x11-libs/pixman/Manifest b/x11-libs/pixman/Manifest index 257e9213fc3e..776df0c874c0 100644 --- a/x11-libs/pixman/Manifest +++ b/x11-libs/pixman/Manifest @@ -1 +1,2 @@ DIST pixman-0.36.0.tar.bz2 739957 BLAKE2B 05834dbed8a5bfed607a20f78523e7441f5b78a7a01c7d302c48b8f15dcda37111a8a99e7119b84a0a8a26b55fa93db1c2af316359095cb7db0d8a9e263a1eb7 SHA512 ed99c85a8ce11f52659da61bff599c0405ae0069c30434bdef7238bc9f18e83e6d534cddf38c14d753943edbaeba580c5005ad7575f27e469ca7be7878678d21 +DIST pixman-0.38.0.tar.gz 891291 BLAKE2B 8d057fba6d85ab4d2bb83903e8f1a6ac05659be4d0645782f5cf4c190e7b27fa0e7d6b2718ab111bd8ded9b617c7aad42dbfdf2169d49816b7eaf6e6673c6a5f SHA512 1b0205dbe9d9185c68813ce577a889f3c83e83fbd9955c3a72d411c3b476e6be93fc246b5b6ef4ee17e2bb8eb6fb5559e01dff7feb6a6c4c6314f980e960d690 diff --git a/x11-libs/pixman/pixman-0.38.0.ebuild b/x11-libs/pixman/pixman-0.38.0.ebuild new file mode 100644 index 000000000000..d7ab4c45e9b1 --- /dev/null +++ b/x11-libs/pixman/pixman-0.38.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://gitlab.freedesktop.org/pixman/pixman.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit ${GIT_ECLASS} meson multilib-minimal + +DESCRIPTION="Low-level pixel manipulation routines" +HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" + SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="altivec cpu_flags_arm_iwmmxt loongson2f cpu_flags_x86_mmxext neon cpu_flags_x86_sse2 cpu_flags_x86_ssse3" + +src_unpack() { + default + [[ $PV = 9999* ]] && git-r3_src_unpack +} + +multilib_src_configure() { + local emesonargs=( + $(meson_feature cpu_flags_arm_iwmmxt iwmmxt) + $(meson_feature cpu_flags_x86_mmxext mmx) + $(meson_feature cpu_flags_x86_sse2 sse2) + $(meson_feature cpu_flags_x86_ssse3 ssse3) + $(meson_feature altivec vmx) + $(meson_feature neon neon) + $(meson_feature loongson2f loongson-mmi) + -Dgtk=disabled + -Dlibpng=disabled + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} diff --git a/x11-libs/pixman/pixman-9999.ebuild b/x11-libs/pixman/pixman-9999.ebuild index 076a3ddb2d76..d7ab4c45e9b1 100644 --- a/x11-libs/pixman/pixman-9999.ebuild +++ b/x11-libs/pixman/pixman-9999.ebuild @@ -1,30 +1,57 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -XORG_MULTILIB=yes -inherit xorg-2 +EAPI=7 EGIT_REPO_URI="https://gitlab.freedesktop.org/pixman/pixman.git" -DESCRIPTION="Low-level pixel manipulation routines" -if [[ $PV != 9999* ]]; then +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit ${GIT_ECLASS} meson multilib-minimal + +DESCRIPTION="Low-level pixel manipulation routines" +HOMEPAGE="http://www.pixman.org/ https://gitlab.freedesktop.org/pixman/pixman/" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" + SRC_URI="https://www.x.org/releases/individual/lib/${P}.tar.gz" fi +LICENSE="MIT" +SLOT="0" IUSE="altivec cpu_flags_arm_iwmmxt loongson2f cpu_flags_x86_mmxext neon cpu_flags_x86_sse2 cpu_flags_x86_ssse3" -src_configure() { - XORG_CONFIGURE_OPTIONS=( - $(use_enable cpu_flags_arm_iwmmxt arm-iwmmxt) - $(use_enable cpu_flags_x86_mmxext mmx) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable cpu_flags_x86_ssse3 ssse3) - $(use_enable altivec vmx) - $(use_enable neon arm-neon) - $(use_enable loongson2f loongson-mmi) - --disable-gtk - --disable-libpng +src_unpack() { + default + [[ $PV = 9999* ]] && git-r3_src_unpack +} + +multilib_src_configure() { + local emesonargs=( + $(meson_feature cpu_flags_arm_iwmmxt iwmmxt) + $(meson_feature cpu_flags_x86_mmxext mmx) + $(meson_feature cpu_flags_x86_sse2 sse2) + $(meson_feature cpu_flags_x86_ssse3 ssse3) + $(meson_feature altivec vmx) + $(meson_feature neon neon) + $(meson_feature loongson2f loongson-mmi) + -Dgtk=disabled + -Dlibpng=disabled ) - xorg-2_src_configure + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install } |