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 3FC6E1382C5 for ; Fri, 1 Jan 2021 02:55:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3383EE0848; Fri, 1 Jan 2021 02:55:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 0C4C2E0848 for ; Fri, 1 Jan 2021 02:55:46 +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 DD82D340A8E for ; Fri, 1 Jan 2021 02:55:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64E1A309 for ; Fri, 1 Jan 2021 02:55:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1609469690.6eec0f7fa59db8493e887963e1c64945a6e2bbdf.sam@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.18.ebuild X-VCS-Directories: media-libs/libmtp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6eec0f7fa59db8493e887963e1c64945a6e2bbdf X-VCS-Branch: master Date: Fri, 1 Jan 2021 02:55:43 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6bee782-53a7-4368-a256-cadebacf383e X-Archives-Hash: 7c1bf2d15649141034d50193fd242341 commit: 6eec0f7fa59db8493e887963e1c64945a6e2bbdf Author: Sam James gentoo org> AuthorDate: Fri Jan 1 02:54:50 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 1 02:54:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eec0f7f media-libs/libmtp: bump to 1.1.18 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-libs/libmtp/Manifest | 1 + media-libs/libmtp/libmtp-1.1.18.ebuild | 72 ++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest index 1651a79b4be..25337b4dc8d 100644 --- a/media-libs/libmtp/Manifest +++ b/media-libs/libmtp/Manifest @@ -1,2 +1,3 @@ DIST libmtp-1.1.16.tar.gz 820516 BLAKE2B debc0755b91f44a878c4a5d4eb8d23c92ac17a80cf59ca13ada80bc1884ee7ab771153252258e33c834aba718a064d9e9a1b4618b3e0abe81bbffdfc7e5a2c88 SHA512 0540271930c1c932c5d06dcdd30142d407a4fadd022b195e8339d614fa3ec9b050605bf013b28ac6451f4dfcddf7add949c928acb1382802ab5fd6311c1628a0 DIST libmtp-1.1.17.tar.gz 829529 BLAKE2B 7e7393aaf0e988029382d30e260d651ad1166a89a2af32a3da544cdb85eeec1a026eaa40d131096eaec0686b92c4e25663ec5cfbe3916a522ebafd38f107744e SHA512 f2648e259529bd3dfe74a7049a79c4b0042bcaf63cc1fec8b232b66312d62e9620280e4f725312c9ef8207f1f1ceac19f460a0a8772a3cc6c7f0b00ead01add2 +DIST libmtp-1.1.18.tar.gz 832463 BLAKE2B 136033e9700fcce6d5092f8f5f896ce40b2ef659d638bd2e432fb7522c1c4e7e930171198ada5c67c0f5dc7c94ed36ec7d2ac8f4faa3bb335d4a8abb032ae2ef SHA512 1a8d503effd83217c339a1aea3a16954d718059edf3110cb2f21cff74cdd1243e7f4880d4e12f8fbdc9a5deed366c4151babe6ecd6f4cf4b7330a27e27bf7cc8 diff --git a/media-libs/libmtp/libmtp-1.1.18.ebuild b/media-libs/libmtp/libmtp-1.1.18.ebuild new file mode 100644 index 00000000000..e9755bfc420 --- /dev/null +++ b/media-libs/libmtp/libmtp-1.1.18.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://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" +fi + +DESCRIPTION="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=" + acct-group/plugdev + virtual/libiconv + virtual/libusb:1 + crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )" +DEPEND="${RDEPEND}" +BDEPEND=" + >sys-devel/gettext-0.18.3 + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS=( AUTHORS README TODO ) + +src_prepare() { + default + + # ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011) + rm ChangeLog || die + + if [[ ${PV} == 9999* ]]; then + if [[ -e /usr/share/gettext/config.rpath ]]; then + cp /usr/share/gettext/config.rpath . || die + else + touch config.rpath || die # This is from upstream autogen.sh + fi + eautoreconf + fi +} + +src_configure() { + local myeconfargs=( + $(use_enable crypt mtpz) + $(use_enable doc doxygen) + $(use_enable static-libs static) + --with-udev="$(get_udevdir)" + --with-udev-group=plugdev + --with-udev-mode=0660 + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name "*.la" -delete || die + + if use examples; then + docinto examples + dodoc examples/*.{c,h,sh} + fi +}