From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EAD8E139083 for ; Tue, 3 Oct 2017 21:00:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 250192BC03D; Tue, 3 Oct 2017 20:59:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EED822BC03D for ; Tue, 3 Oct 2017 20:59:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D2513417DF for ; Tue, 3 Oct 2017 20:59:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58EFE909F for ; Tue, 3 Oct 2017 20:59:54 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1507064387.ea8dfb085a0a7b40ed2876b07e3720083b80cb4a.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmtp/Manifest media-libs/libmtp/libmtp-1.1.14.ebuild X-VCS-Directories: media-libs/libmtp/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: ea8dfb085a0a7b40ed2876b07e3720083b80cb4a X-VCS-Branch: master Date: Tue, 3 Oct 2017 20:59:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 84b5031d-0f13-4e9d-ba3d-000e9b09ec93 X-Archives-Hash: 39f7e8f518370ed498e1278f78cdb0f3 commit: ea8dfb085a0a7b40ed2876b07e3720083b80cb4a Author: Lars Wendler gentoo org> AuthorDate: Tue Oct 3 20:58:45 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Oct 3 20:59:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea8dfb08 media-libs/libmtp: Bump to version 1.1.14 Package-Manager: Portage-2.3.11, Repoman-2.3.3 media-libs/libmtp/Manifest | 1 + media-libs/libmtp/libmtp-1.1.14.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest index 19fcca9e54b..53dd48f4df5 100644 --- a/media-libs/libmtp/Manifest +++ b/media-libs/libmtp/Manifest @@ -1,3 +1,4 @@ DIST libmtp-1.1.11.tar.gz 788911 SHA256 15d96dff79a4f7ad14338894a4096d4ac584c6ad25fdcca955bc4726303287e9 SHA512 966d5d831695dc02411fbe0a153873d9e5604a00e75bf0d4cc1a957887a2e7656c82209f5bf86150f7b9af037d66a96b3e3523e16d5b52ae013b835febf622c9 WHIRLPOOL 16e31709054de63d954c691b6396d7e1ad23c3327228188a5b918326a2ac9458d5701dabd73f86568dc5d7cd8512cbe2ddbaccb96d1e31d7e2c69ff0ac14b9a5 DIST libmtp-1.1.12.tar.gz 776555 SHA256 cdf59e816c6cda3e908a876c7fb42943f40b85669aea0029a1ca431c89afa1a0 SHA512 2fff8f6653aa1fa6d7a545fc4f0ae8cb3e54fdb4486a0f065b733ffb5c33f994f66067a697ffe52fe65fb39ffe2bacc418543f84e504e18f443e3c563a116c4f WHIRLPOOL 3825139caa3304be041f0a786e3c871000b47b568cfa0015edecb2ce9ff9e377817abceabe0a81fce368d76efa03e2e9dce2490d57dd9e41f133e94b86a29c67 DIST libmtp-1.1.13.tar.gz 801519 SHA256 494ee02fbfbc316aad75b93263dac00f02a4899f28cfda1decbbd6e26fda6d40 SHA512 99d5a277806f29f1d27a64a478e344916e8bfc9949a41a807c16d37bd29ec99dc3f36d504cfc6e67f1e91ee932a7cf82f13d4c9fe14b7e34333d9b12b04fff77 WHIRLPOOL ce0e63f07a60b7dd71e7d413d4ddafd215c78a4bf9782ce1f74777871d751f302f37da1a09a05c454c865dfcee7c4559a85f9602f95a7e0401af50a119b42c16 +DIST libmtp-1.1.14.tar.gz 804354 SHA256 3817d3e296be8f1bc527385585780e70984e8e0d6a0d00349240d67e3df412e8 SHA512 337d259462cf9700fe5a5f09b38f4652045ee71249d54562661362e6d0ec7fe087ab77ec68d443e4fb84839a8ad9dc686c207d723ab47bc1a542dd0a71b294b1 WHIRLPOOL 52f67b1425979d37404ddbc0c14098849c66e2e21003b956094f629bba1f5f5ea3de4eca8e89bfebfd4c7d2347f8ac804a44f838776f542cc225e998b980ee91 diff --git a/media-libs/libmtp/libmtp-1.1.14.ebuild b/media-libs/libmtp/libmtp-1.1.14.ebuild new file mode 100644 index 00000000000..b009b4abaff --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.14.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils udev user + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code" + inherit autotools git-r3 +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" +fi + +DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)" +HOMEPAGE="http://libmtp.sourceforge.net/" + +LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ? +SLOT="0/9" # Based on SONAME of libmtp shared library +IUSE="+crypt doc examples static-libs" + +RDEPEND="virtual/libusb:1 + crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS README TODO" + +pkg_setup() { + enewgroup plugdev +} + +src_prepare() { + default + + # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011) + rm -f ChangeLog + + if [[ ${PV} == 9999* ]]; then + local crpthf=config.rpath + local crpthd=/usr/share/gettext/${crpthf} + if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then + cp "${crpthd}" . + else + touch ${crpthf} # This is from upstream autogen.sh + fi + eautoreconf + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable doc doxygen) \ + $(use_enable crypt mtpz) \ + --with-udev="$(get_udevdir)" \ + --with-udev-group=plugdev \ + --with-udev-mode=0660 +} + +src_install() { + default + prune_libtool_files --all + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +}