public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/
Date: Sat, 25 Sep 2021 19:20:37 +0000 (UTC)	[thread overview]
Message-ID: <1632597364.3ce78a257c860f6945d2d37b4bda210eb9e4d4a4.sam@gentoo> (raw)

commit:     3ce78a257c860f6945d2d37b4bda210eb9e4d4a4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 19:16:04 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 19:16:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce78a25

media-libs/libmtp: add 1.1.19

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libmtp/Manifest             |  1 +
 media-libs/libmtp/libmtp-1.1.19.ebuild | 72 ++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/media-libs/libmtp/Manifest b/media-libs/libmtp/Manifest
index 52cbb5cf764..168cf53153f 100644
--- a/media-libs/libmtp/Manifest
+++ b/media-libs/libmtp/Manifest
@@ -1 +1,2 @@
 DIST libmtp-1.1.18.tar.gz 832463 BLAKE2B 136033e9700fcce6d5092f8f5f896ce40b2ef659d638bd2e432fb7522c1c4e7e930171198ada5c67c0f5dc7c94ed36ec7d2ac8f4faa3bb335d4a8abb032ae2ef SHA512 1a8d503effd83217c339a1aea3a16954d718059edf3110cb2f21cff74cdd1243e7f4880d4e12f8fbdc9a5deed366c4151babe6ecd6f4cf4b7330a27e27bf7cc8
+DIST libmtp-1.1.19.tar.gz 855810 BLAKE2B 0c570284e06b4f0aacc3edf5d19a0fe3f9ac6598319e8c803db0c69b35541ce7b1ab7cfd211ca701c7c6a9df300b689ccb7341d9d24f053c14411d5e91298849 SHA512 3cd3b0ea5aecb25abf4267e301d5e82ad9f6253bfa5a3bc4c70645d3007c69b014d6407c6703665d987cce3a42bd2219abbf1972e5964b39e9e1329bf9091044

diff --git a/media-libs/libmtp/libmtp-1.1.19.ebuild b/media-libs/libmtp/libmtp-1.1.19.ebuild
new file mode 100644
index 00000000000..6a4e3f9455e
--- /dev/null
+++ b/media-libs/libmtp/libmtp-1.1.19.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 ~riscv ~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
+}


             reply	other threads:[~2021-09-25 19:20 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25 19:20 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-21  9:05 [gentoo-commits] repo/gentoo:master commit in: media-libs/libmtp/ Miroslav Šulc
2023-11-29 16:38 Mike Gilbert
2023-07-07  7:31 Miroslav Šulc
2023-05-30  5:47 Miroslav Šulc
2023-05-29 20:18 Sam James
2023-05-27 11:27 Arthur Zamarin
2023-05-27 10:51 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-04-23  7:32 Miroslav Šulc
2022-08-16  5:41 Miroslav Šulc
2022-08-15  7:46 Agostino Sarubbo
2022-08-13  6:58 Agostino Sarubbo
2022-08-13  6:12 Arthur Zamarin
2022-08-13  5:14 Arthur Zamarin
2022-08-13  5:14 Arthur Zamarin
2022-08-02  4:44 Miroslav Šulc
2022-08-01 22:12 Sam James
2022-08-01  8:04 Agostino Sarubbo
2022-08-01  8:03 Agostino Sarubbo
2022-08-01  8:02 Agostino Sarubbo
2022-08-01  8:01 Agostino Sarubbo
2022-07-14  2:49 Sam James
2022-07-02 20:31 Sam James
2022-06-28  8:29 Miroslav Šulc
2021-10-28 14:09 Miroslav Šulc
2021-10-28 14:03 Agostino Sarubbo
2021-10-28 14:02 Agostino Sarubbo
2021-10-27 22:33 Sam James
2021-10-27  4:14 Sam James
2021-10-27  4:14 Sam James
2021-02-15  5:49 Sam James
2021-02-15  5:35 Sam James
2021-02-09 23:58 Sam James
2021-02-03  0:20 Sam James
2021-02-01 13:33 Sam James
2021-02-01 13:31 Sam James
2021-01-07  1:24 Sam James
2021-01-03 19:40 Sam James
2021-01-01  5:46 Sam James
2021-01-01  2:55 Sam James
2021-01-01  2:55 Sam James
2020-02-03 13:28 Lars Wendler
2019-09-13 12:58 Michał Górny
2019-07-27 12:54 Aaron Bauman
2018-12-13 18:11 Andreas Sturmlechner
2018-12-08  9:44 Sergei Trofimovich
2018-12-08  9:36 Sergei Trofimovich
2018-12-08  9:28 Sergei Trofimovich
2018-12-01 17:13 Mikle Kolyada
2018-12-01 17:00 Mikle Kolyada
2018-11-04 22:26 Andreas Sturmlechner
2018-11-02  8:31 Andreas Sturmlechner
2018-11-01 19:46 Andreas Sturmlechner
2018-11-01 19:46 Andreas Sturmlechner
2018-11-01 19:46 Andreas Sturmlechner
2018-10-30 14:36 Lars Wendler
2018-10-30 14:36 Lars Wendler
2018-08-18 22:36 Sergei Trofimovich
2018-08-18  3:47 Mikle Kolyada
2018-08-16  0:39 Thomas Deutschmann
2018-08-13 21:20 Sergei Trofimovich
2018-08-13 21:18 Sergei Trofimovich
2018-07-14 18:27 Andreas Sturmlechner
2018-05-26 11:24 Mikle Kolyada
2018-05-01  7:41 Markus Meier
2018-04-02 21:32 Sergei Trofimovich
2018-03-30 18:35 Aaron Bauman
2018-03-27  6:41 Alexis Ballier
2018-03-24 13:56 Sergei Trofimovich
2018-01-20 19:20 Aaron Bauman
2017-10-14 18:17 Sergei Trofimovich
2017-10-03 20:59 Lars Wendler
2017-10-03 20:59 Lars Wendler
2017-09-25 21:36 Sergei Trofimovich
2017-09-25 21:14 Sergei Trofimovich
2017-08-29 20:42 Thomas Deutschmann
2017-08-25 22:16 Mikle Kolyada
2017-08-08  4:33 Markus Meier
2017-08-07  7:40 Sergei Trofimovich
2017-06-27 17:05 Alexis Ballier
2017-04-22 13:32 Jeroen Roovers
2017-04-05 11:22 Lars Wendler
2017-04-05 11:22 Lars Wendler
2017-03-28 15:17 Michael Weber
2017-03-28  9:56 Agostino Sarubbo
2017-03-28  9:17 Michael Weber
2017-03-28  9:17 Michael Weber
2017-01-17 14:24 Agostino Sarubbo
2016-08-18 14:57 Lars Wendler
2016-08-18 14:57 Lars Wendler
2016-08-18 13:49 Lars Wendler
2016-08-18 13:49 Lars Wendler
2016-08-04  8:51 Jeroen Roovers
2016-07-06  9:23 Agostino Sarubbo
2016-05-27  3:06 Jeroen Roovers
2016-05-13  8:41 Agostino Sarubbo
2016-02-16 22:07 Manuel Rüger
2015-10-21  9:35 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632597364.3ce78a257c860f6945d2d37b4bda210eb9e4d4a4.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox