summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-09-19 19:15:27 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-09-19 19:15:27 +0200
commit02a731317220f5fd4b70d875123cac4bee216ece (patch)
tree50394d1fd34cdaa760739e268c4fd07df2a4615f /app-misc/media-player-info
parentx11-misc/shared-mime-info: Version bump to 1.9 (diff)
downloadgentoo-02a731317220f5fd4b70d875123cac4bee216ece.tar.gz
gentoo-02a731317220f5fd4b70d875123cac4bee216ece.tar.bz2
gentoo-02a731317220f5fd4b70d875123cac4bee216ece.zip
app-misc/media-player-info: Version bump to 23
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-misc/media-player-info')
-rw-r--r--app-misc/media-player-info/Manifest1
-rw-r--r--app-misc/media-player-info/media-player-info-23.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-misc/media-player-info/Manifest b/app-misc/media-player-info/Manifest
index ff38fb03facd..d58694d3e6a0 100644
--- a/app-misc/media-player-info/Manifest
+++ b/app-misc/media-player-info/Manifest
@@ -1 +1,2 @@
DIST media-player-info-22.tar.gz 104833 SHA256 7ee7d7712834860533c46b16947238ef5b5d72f394fa7fb52783a15fba7b2336 SHA512 7686aadb559b5a2cd2b969b9aadcf4c2b35037702e6fef4db66c6b8c0860d400c9f46a3b46150b9ce573d4f1fca53a5302fa7c1cdf888942a6489613c4d3c071 WHIRLPOOL 65994db840df66a9fa1b819fae743f3c14e50591b36fe2d56a6a92346746cb0db1b5f2822944b0e2caa35a198fcf56fbd2af4aee62cc85053e4b3134f41eb977
+DIST media-player-info-23.tar.gz 100849 SHA256 a9ab6de0b497f6e13efc2cbe45a4fe06982145d786674c24274c3ed909ecc8cb SHA512 4555456945f6f8c2fb23c86f80dc61e8e5448f3c402ac685e7eccd2df9f7861cdd41da842b0917349f7d83200ef10c810eb8b75fa6d62829834fdbdb81560f04 WHIRLPOOL 7163746a410d976598f3549bd65421ef9c5967683c46b50a72fcbf2ce484c560dc2e921e02a2a567e498b023d58563ba56e6d7cdbaf0d65594922b6a46eb0e0a
diff --git a/app-misc/media-player-info/media-player-info-23.ebuild b/app-misc/media-player-info/media-player-info-23.ebuild
new file mode 100644
index 000000000000..24e2cf1b615c
--- /dev/null
+++ b/app-misc/media-player-info/media-player-info-23.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit eutils python-any-r1
+
+DESCRIPTION="A repository of data files describing media player capabilities"
+HOMEPAGE="https://cgit.freedesktop.org/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 ~sh ~sparc ~x86"
+IUSE=""
+
+# https://cgit.freedesktop.org/media-player-info/commit/?id=d83dd01a0a1df6198ee08954da1c033b88a1004b
+RDEPEND=">=virtual/udev-208"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+pkg_postinst() {
+ # Run for /lib/udev/hwdb.d/20-usb-media-players.hwdb
+ udevadm hwdb --update --root="${ROOT%/}"
+ # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
+ if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
+ return 0
+ fi
+ udevadm control --reload
+}