diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-19 17:05:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-19 17:05:48 +0200 |
commit | cbd3386358c35c286297e28c5003f20d65448d00 (patch) | |
tree | f4957d247173a069e3a4769b9b05822c0bfa5e15 /app-misc | |
parent | profiles/prefix/windows/winnt/profile.bashrc: fix lexicographical number compare (diff) | |
download | gentoo-cbd3386358c35c286297e28c5003f20d65448d00.tar.gz gentoo-cbd3386358c35c286297e28c5003f20d65448d00.tar.bz2 gentoo-cbd3386358c35c286297e28c5003f20d65448d00.zip |
app-misc/media-player-info: 24 version bump
Closes: https://bugs.gentoo.org/716232
Closes: https://bugs.gentoo.org/718234
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/media-player-info/Manifest | 1 | ||||
-rw-r--r-- | app-misc/media-player-info/media-player-info-24.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-misc/media-player-info/Manifest b/app-misc/media-player-info/Manifest index 829d0544b5a6..b6b9a266ac97 100644 --- a/app-misc/media-player-info/Manifest +++ b/app-misc/media-player-info/Manifest @@ -1 +1,2 @@ DIST media-player-info-23.tar.gz 100849 BLAKE2B c64e33cb92c7f7b3fd77dd165fa5d33e433d09fbf171aba8ded2a274a24a544a85b7c874552951be25fe266090a882305416908975409b7c294d9435378c465d SHA512 4555456945f6f8c2fb23c86f80dc61e8e5448f3c402ac685e7eccd2df9f7861cdd41da842b0917349f7d83200ef10c810eb8b75fa6d62829834fdbdb81560f04 +DIST media-player-info-24.tar.gz 90017 BLAKE2B 4b8dff7ebc910cdee986756d211f7cec0c08d5089bc5478360bcea3d24613118d3e2557633866345b1970a39a1de5ff10648ea71b7ae6ec7e7ae5635b6d46bc3 SHA512 b762f82280d7ddc3ecc4cf612f6fb3bf887c56a3ece7d9e4a45ebc7e750d71a20ba70dbff63c2b5abaae0f1c3e079545e95d8eff07ae25e27add09e92b2b1544 diff --git a/app-misc/media-player-info/media-player-info-24.ebuild b/app-misc/media-player-info/media-player-info-24.ebuild new file mode 100644 index 000000000000..308e9e672eb6 --- /dev/null +++ b/app-misc/media-player-info/media-player-info-24.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-any-r1 + +DESCRIPTION="Repository of data files describing media player capabilities" +HOMEPAGE="https://gitlab.freedesktop.org/media-player-info/media-player-info" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# Upstream commit d83dd01a0a1df6198ee08954da1c033b88a1004b +RDEPEND=">=virtual/udev-208" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig +" + +# This ebuild does not install any binaries +RESTRICT="binchecks strip" + +DOCS=( AUTHORS NEWS ) + +pkg_postinst() { + # Run for /lib/udev/hwdb.d/20-usb-media-players.hwdb + udevadm hwdb --update --root="${ROOT}" + # Upstream commit 1fab57c209035f7e66198343074e9cee06718bda + if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then + return 0 + fi + udevadm control --reload +} |