diff options
Diffstat (limited to 'media-video/pymp')
-rw-r--r-- | media-video/pymp/Manifest | 5 | ||||
-rw-r--r-- | media-video/pymp/metadata.xml | 7 | ||||
-rw-r--r-- | media-video/pymp/pymp-1.1-r1.ebuild | 43 |
3 files changed, 55 insertions, 0 deletions
diff --git a/media-video/pymp/Manifest b/media-video/pymp/Manifest new file mode 100644 index 000000000000..209d802d6c47 --- /dev/null +++ b/media-video/pymp/Manifest @@ -0,0 +1,5 @@ +DIST pymp-1.1.tar.bz2 132710 SHA256 924c7d0a40d349f4dfc9a0bae2126a432185dc210f740dfc6ab68fd3ec892cd8 SHA512 10647af1233c5a030cc32f5efb7790fb93568832547f8c886d49597cff36f5d5606b7b06c00c0206e9eacd6331dbb40bc2331dc30230052b4510be1ffec34500 WHIRLPOOL 1a99e46f94cc1af7bddae4cfc182f4d94530664e324322663534f187a28beb3c7610d9c4bd790142e5ad59d7ec5ddd9e22d153e60aa8181b91be64216334528f +EBUILD pymp-1.1-r1.ebuild 1014 SHA256 518ea05d1a46ee33ff4183e4ef5ac9eaf0d5e7cf10f6a123eea9c48b377179d0 SHA512 212212b4dc63d8b83603fcdebf9ba4d78e76f53f5cd5b99378bc5799504e948f891215adaeac747d3158b59c97c50715279034a62c87af421f2ab48fe87a7f8e WHIRLPOOL 5ef9d1f28fc66877cc556d7e29d73bd4d6e6e90fe1a4cbb0ee15abbeee8040cc55dd6c3dbfd486792e5efd6c197e819349cd59d5986b44a7293191f504395866 +MISC ChangeLog 2417 SHA256 9d59cd5362ad89d70a82288404fbbc8cec6790a9b166cd22f4f686f32275008f SHA512 e0a84efc6c773ce225a55ba607948c9eba9adbdadb843b58f04eeed1788743a56089cf97b4097b13f3097fac30021f12d8c6f71db955c0346cf278aed62ae1c7 WHIRLPOOL 069d043b6fde9284e7538eed444f3c98a2c742a77bc6ef2fee0a57f2adaf9ae97cd62c1c1af7dfbc4cd3c89304a6373f19347d6598d5adf0f4ee00a2971783ec +MISC ChangeLog-2015 1300 SHA256 8f96a60ef0603eeeb9b9588c12aa04518b348c49594b9bdd29aeb878dd6dbd62 SHA512 ca534d797a1e813610d0298945df331f0886460fd59ae52a4e7b9cb7fdd9847194afa9414abbb02f1a55da41928f5a21b12bd75805b274c6b3097a91327d0d1b WHIRLPOOL ed481708fcccdd6f8e234b976d7b91b6525629cc1c763c942bef701eee36238bacbf8a8306333d599c5edbad1926217ca7a1e31d3408ec1a3ec6654dae957f8a +MISC metadata.xml 223 SHA256 7d0451c70b262d8928fbd11c938e6b5663794345ad10f7be8533ab42b521e42c SHA512 27b688917e0b1c4a75ea34c97d2d67d309573941492ab04124de11034f3b2796480f02408d86e2eba77ca2000722ea6606fe12a49622c04f9e2c1fa27b6fc8db WHIRLPOOL 0b20f52f85830d008257e03325b74780038fc6e0bf6cc3917aa7f0d8621673c87bebcf201ca0cd876276febe9fcf785fe8f80de1889f2009fdd5bd05c2615d17 diff --git a/media-video/pymp/metadata.xml b/media-video/pymp/metadata.xml new file mode 100644 index 000000000000..811585329983 --- /dev/null +++ b/media-video/pymp/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-video/pymp/pymp-1.1-r1.ebuild b/media-video/pymp/pymp-1.1-r1.ebuild new file mode 100644 index 000000000000..304dbf15c50f --- /dev/null +++ b/media-video/pymp/pymp-1.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 + +DESCRIPTION="a lean, flexible frontend to mplayer written in python" +HOMEPAGE="http://jdolan.dyndns.org/trac/wiki/Pymp" +SRC_URI="http://jdolan.dyndns.org/jaydolan/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-fbsd" +IUSE="" + +RDEPEND="media-video/mplayer + dev-python/pygtk[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="sys-apps/sed" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +src_compile() { + python_fix_shebang pymp.py +} + +src_install() { + python_moduleinto /usr/lib/pymp + python_domodule *.py + + # note: pymp script is a horrible unnecessary wrapper + # a) with a dependency on sys-apps/which; + # b) that invokes compiled .pyc directly + # do not use it + dodir /usr/bin + dosym ../lib/pymp/pymp.py /usr/bin/pymp + fperms +x /usr/lib/pymp/pymp.py + + dodoc CHANGELOG README + doicon pymp.png + make_desktop_entry pymp Pymp pymp +} |