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 000301382C5 for ; Tue, 27 Mar 2018 06:41:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC271E0A4F; Tue, 27 Mar 2018 06:41:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 811E6E0A45 for ; Tue, 27 Mar 2018 06:41:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7771E335C2E for ; Tue, 27 Mar 2018 06:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CF7627B for ; Tue, 27 Mar 2018 06:41:24 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1522132859.1b162785fdd9c30575460b2ad7c8dde3dc26f17d.aballier@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.15.ebuild X-VCS-Directories: media-libs/libmtp/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 1b162785fdd9c30575460b2ad7c8dde3dc26f17d X-VCS-Branch: master Date: Tue, 27 Mar 2018 06:41:24 +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: 1776e742-67d2-47c6-9ea3-3e255a1a0f7b X-Archives-Hash: cb1bcd42f0f00b8c009d3ca5f712529f commit: 1b162785fdd9c30575460b2ad7c8dde3dc26f17d Author: Alexis Ballier gentoo org> AuthorDate: Tue Mar 27 06:40:44 2018 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Mar 27 06:40:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b162785 media-libs/libmtp: bump to 1.1.15 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-libs/libmtp/Manifest | 1 + media-libs/libmtp/libmtp-1.1.15.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest index 12dc8d8a291..d1dc153a44d 100644 --- a/media-libs/libmtp/Manifest +++ b/media-libs/libmtp/Manifest @@ -1,2 +1,3 @@ DIST libmtp-1.1.13.tar.gz 801519 BLAKE2B f0452515f83d001a4e7a32528265d46814898fbaff5afd9a66c1a1fd85d78dae1b9ed9c057030849fd8fc0acec5f2ad012c0f098323d3596f6c38d5b01a9603a SHA512 99d5a277806f29f1d27a64a478e344916e8bfc9949a41a807c16d37bd29ec99dc3f36d504cfc6e67f1e91ee932a7cf82f13d4c9fe14b7e34333d9b12b04fff77 DIST libmtp-1.1.14.tar.gz 804354 BLAKE2B 8a5ec431b3a3c1445b3ae62dd0f6ebee36a473ce3d7da07400263434d6e1be49624b8c807bce015f9e55d450f9e25eb2dcf0831c639b97e39cb900ac4d62f81c SHA512 337d259462cf9700fe5a5f09b38f4652045ee71249d54562661362e6d0ec7fe087ab77ec68d443e4fb84839a8ad9dc686c207d723ab47bc1a542dd0a71b294b1 +DIST libmtp-1.1.15.tar.gz 805983 BLAKE2B f464c58a9844706ecc066a4a744b525ac6e8020ab80e35b01eab2813562ea1452deb5e6fb4477eb243b6631c24f8bc11887ec35279cb6cd89e1a459aca6b36cb SHA512 c85f47ef4e05d7f5b47d06463ca97c123fa068c4b7369aeba496cb1cfa03f0148b3ba73feed7da96269ba94b76b4b81858ee4bda5af67b0aac3b07fe39b5354a diff --git a/media-libs/libmtp/libmtp-1.1.15.ebuild b/media-libs/libmtp/libmtp-1.1.15.ebuild new file mode 100644 index 00000000000..abcb9e7c7fd --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.15.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 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 +}