media-libs/libmtp: removed obsolete 1.1.18

Bug: https://bugs.gentoo.org/754672
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2021-10-28 16:09:51 +02:00
parent edc0cb213c
commit ac019b2303
2 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
DIST libmtp-1.1.18.tar.gz 832463 BLAKE2B 136033e9700fcce6d5092f8f5f896ce40b2ef659d638bd2e432fb7522c1c4e7e930171198ada5c67c0f5dc7c94ed36ec7d2ac8f4faa3bb335d4a8abb032ae2ef SHA512 1a8d503effd83217c339a1aea3a16954d718059edf3110cb2f21cff74cdd1243e7f4880d4e12f8fbdc9a5deed366c4151babe6ecd6f4cf4b7330a27e27bf7cc8
DIST libmtp-1.1.19.tar.gz 855810 BLAKE2B 0c570284e06b4f0aacc3edf5d19a0fe3f9ac6598319e8c803db0c69b35541ce7b1ab7cfd211ca701c7c6a9df300b689ccb7341d9d24f053c14411d5e91298849 SHA512 3cd3b0ea5aecb25abf4267e301d5e82ad9f6253bfa5a3bc4c70645d3007c69b014d6407c6703665d987cce3a42bd2219abbf1972e5964b39e9e1329bf9091044

View File

@@ -1,72 +0,0 @@
# 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
}