summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-06-13 19:32:54 +0000
committerUlrich Müller <ulm@gentoo.org>2013-06-13 19:32:54 +0000
commit87c0c00554de135163fb17f05d8e64f88668f372 (patch)
tree835285bd548746e8578ba031bb18cc71437f3c3b /media-video
parentRemove mask for real USE flag because the flag is gone, bug 473206. (diff)
downloadhistorical-87c0c00554de135163fb17f05d8e64f88668f372.tar.gz
historical-87c0c00554de135163fb17f05d8e64f88668f372.tar.bz2
historical-87c0c00554de135163fb17f05d8e64f88668f372.zip
Disable all binary codecs, remove old; proxy commit for Nikoli.
Package-Manager: portage-2.1.12.4/cvs/Linux x86_64 Manifest-Sign-Key: 0x9433907D693FB5B8!
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer2/ChangeLog16
-rw-r--r--media-video/mplayer2/Manifest39
-rw-r--r--media-video/mplayer2/files/mplayer2-2.0_p20121128-cdio-api-fixes.patch50
-rw-r--r--media-video/mplayer2/metadata.xml1
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20120309.ebuild578
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20120828.ebuild8
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20121108.ebuild447
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20121128.ebuild449
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20130126.ebuild8
-rw-r--r--media-video/mplayer2/mplayer2-2.0_p20130428.ebuild20
-rw-r--r--media-video/mplayer2/mplayer2-9999.ebuild20
11 files changed, 47 insertions, 1589 deletions
diff --git a/media-video/mplayer2/ChangeLog b/media-video/mplayer2/ChangeLog
index 058ff0e445b1..4b3ef834d256 100644
--- a/media-video/mplayer2/ChangeLog
+++ b/media-video/mplayer2/ChangeLog
@@ -1,12 +1,14 @@
# ChangeLog for media-video/mplayer2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.97 2013/06/13 17:05:25 ulm Exp $
-
- 13 Jun 2013; Ulrich Müller <ulm@gentoo.org> mplayer2-2.0_p20120309.ebuild,
- mplayer2-2.0_p20120828.ebuild, mplayer2-2.0_p20121108.ebuild,
- mplayer2-2.0_p20121128.ebuild, mplayer2-2.0_p20130126.ebuild,
- mplayer2-2.0_p20130428.ebuild, mplayer2-9999.ebuild, metadata.xml:
- Remove real USE flag, as discussed with nikoli, bug 473206.
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/ChangeLog,v 1.98 2013/06/13 19:32:28 ulm Exp $
+
+ 13 Jun 2013; Ulrich Müller <ulm@gentoo.org> -mplayer2-2.0_p20120309.ebuild,
+ mplayer2-2.0_p20120828.ebuild, -mplayer2-2.0_p20121108.ebuild,
+ -mplayer2-2.0_p20121128.ebuild, mplayer2-2.0_p20130126.ebuild,
+ mplayer2-2.0_p20130428.ebuild, mplayer2-9999.ebuild,
+ -files/mplayer2-2.0_p20121128-cdio-api-fixes.patch, metadata.xml:
+ Remove real USE flag, as discussed with Nikoli, bug 473206.
+ Disable all binary codecs, remove old; proxy commit for Nikoli.
16 May 2013; Ulrich Müller <ulm@gentoo.org> mplayer2-2.0_p20120309.ebuild,
mplayer2-2.0_p20120828.ebuild, mplayer2-2.0_p20121108.ebuild,
diff --git a/media-video/mplayer2/Manifest b/media-video/mplayer2/Manifest
index 1ddb7b01a3e4..8a2fd548543e 100644
--- a/media-video/mplayer2/Manifest
+++ b/media-video/mplayer2/Manifest
@@ -3,37 +3,30 @@ Hash: SHA256
AUX generate-tarball.sh 964 SHA256 49ca2e1174e26f73f2dfadb42426f304e30fc2d7f049e577699ecfdf775b9599 SHA512 7141872caebf0e76e92f400f97f0bb540aed071decfb7668cf652d9a6f304cab968355b6d12343001b797d9cbfb113c3a5a272418427391ec7c85404dd618f90 WHIRLPOOL 1adef66fb0889c55f7a095eb1c543935c0a3b4e92ec4d3f086cbfbf9348dac58acec61aa57f0d222376da80cabb0925f3a59215dabf3c93a0baac1e89967d850
AUX mplayer2-2.0_p20120828-ffmpeg.patch 765 SHA256 2387daac56d711d4a7d32fc15f1b20d787342e4eb21b7cdab44aa04f2b01bc43 SHA512 e5ffa7ba9cba0c381ae37903659aaa050ecde489d7fc011e9375c41800afda08ee6073126a1e1099c4a83deb890b4ebb7ca0af43c3a9664aad8f7546757be140 WHIRLPOOL 1eb7aea177a423dd999e6c4797405bbb61c6f474ec086e9a7b91310fdc51292177fecfbb9191ba6af8326f49791607eb2d09b4201c900d3df3cbeee30a9f29d8
-AUX mplayer2-2.0_p20121128-cdio-api-fixes.patch 1881 SHA256 f11347cc927fad90cbfb97d7a4173ca1d00b85d25177e0342709db05104b99a9 SHA512 5e46a111661934db976dba7c2560cb8cecbb07ef194f363048a3904a42248494ea32707f050e457314f0d4bfb9afce71e172dd493a0a74d45fc683f5651f30d3 WHIRLPOOL 2081a205fd0d9257cc5a96504fe4142a955da44acded9020b116898004456011dbe54079b69a310fc2e02f0093f381db4cfef426098210d345a40837229266c2
AUX mplayer2-py2compat.patch 2179 SHA256 36e26a89ec03de0e349443ca3ce07c58e408e032200f49c3ce849691589a1cc7 SHA512 a90417c923c36c78d4c8053de89b26f69cd29a01ee37028360c8c564b903ee00ac0d7e98bcaf25220998951f25987cd89ede47b54518736c14abd1e7153e6568 WHIRLPOOL 987c63235be05fd3dbe89e4e291649c6f2176771e07c8515c08725a4e3d54118136b968531565a65c1e83bd754cc51e9bef5493ec2e653dfa4b3278c8bed6cce
DIST font-arial-cp1250.tar.bz2 249705 SHA256 423a07e780bb130cd8e4730715545c5d919c248dda595aab7a0a01de3c83fd12 SHA512 4f77ff5ceb8ec6e5d9f8f34d8950a6a6276d1fd5a947772fcbdb6554988b1ea665c12b82f45164f91fb7bd08000cb4afc26fa35beb4c760464160e22b9b8c340 WHIRLPOOL d635f54be65b0ca1047d943b6f6da433cda9fce6ed74fcab993501cf7f6b443eb711e182cd7fff09e553d251b5fd1c60196aa22e8370cba99fa175ed5ecdb47f
DIST font-arial-iso-8859-1.tar.bz2 234242 SHA256 9730f481764f367c9089d0166fb6ccf9148808ffbbfeca635cf0e6db75765d29 SHA512 a1d03b6f09c48f48b7733f3bc0402ceab239a9abf88b860d852ea9fe69b4da690208a79d6f29d30204f5b37becf10672e8e8c0bfef201846d80ec54df617d029 WHIRLPOOL 8050362b125d3ca98214526cee2fa685e31487d13a6483c765bfc844bdc5e07beeba2c1ba313458096d43a63edd6c5e80b8b388c2792fc0ec7421e4072d8ca25
DIST font-arial-iso-8859-2.tar.bz2 222208 SHA256 71debfc960007c2f6242dfc91e8b1c005b30a99e129aeb00ab8c03f4371b41c1 SHA512 5671e628303fd816f64a51ad10e2f4dd9c3dc1b34c379a2ecf489b83931db7af668aaa4e00e96a00cacd63ed98daeae6b6a4d5925edfb06fc98d3a923f70257d WHIRLPOOL 08178087b4ea1dfb2250f4673785e31dd876b06af51c51b2bddc172b23e6e33cbc1b2c6b710a317e42dc05486974b26ed0ad3ca50a185567aa77d49bd1e72aee
-DIST mplayer2-2.0_p20120309.tar.xz 3328620 SHA256 8a46e0be27dd479c91bde64a35725c6ff668e5a74ab3a56ac3fe29d16f6a0a31 SHA512 c9b1eda3cfc6279a96864aad9a6096b36742460233f03d715b94437e8ffbb1086d006f379f8fb4d7e2b7598ce810e62b5f88151832b19d8459344079fa55fe67 WHIRLPOOL 15522e5bf9c2fdabc86c23122159b7f9ee855211eb4ae088f1ebff07bb8dcb4b763d61c49ba31ea18d3e3c237a60e685a23e4fac71bf94b1af80f84c638d9fd3
DIST mplayer2-2.0_p20120828.tar.xz 1739048 SHA256 7a53079c52c73ce00df5c29e1e2c19f944365213c70107b4bf992cf32ca85093 SHA512 d8eebf9deb1f07f7178037c9e980bbd942f0c68937fb6f37aad9b4e25f6a4d2cc5b6f055537c7dca12adf198e6f2531197f2869fbd0ba301d5fc7f5294f82b97 WHIRLPOOL ca9055a631fc7d19329db3c45b297f497c44c5e82f621af5cc76e32b4fac8585690f8252156dd2fcd44bd150ad18778aaf2c2b5796ca53f32e4de81d85385135
-DIST mplayer2-2.0_p20121108.tar.xz 1549508 SHA256 7d0f18998b6b059e1e06d66d030e5c4979aff158f050d7354c3056e6aaf29c0d SHA512 b8e507aa7e928267f648f228c1fafc236c0af39836733c0029583250784462a87cd713ba86312329c8c4c6cb175dcae24e2064498ddc6d51b162da51c43a8646 WHIRLPOOL bc0fd93ee2a56095bdad81aef9997e48cb177569a47c5abd5bace58af2a8eb114c352abadea2306437b5650d85f549109ad2173491b833d211e5dc816c7f7dd0
-DIST mplayer2-2.0_p20121128.tar.xz 1932656 SHA256 17ec9fadb59c74dc4852df2d1c49d3d551a4d5b38eb50fc6c7c24b0e24d0df57 SHA512 8a7cedbdbfccc8f4777de8de3f1a6388495157b596bbf88982382278d073b7fcf80c8f27319e222d89323162f3522ac90e3a150f2922350b6138ca0a4ba7bfc8 WHIRLPOOL 238bab7b78f0852d283d57b048bcb737aec9ad215d5e3e4cee244ee2bfea5315c8b93925306ea8a7c62c02fe10689e9d6a5fe1d4f52e3e4f518e59f120a0ea83
DIST mplayer2-2.0_p20130126.tar.xz 1914780 SHA256 ed68090e1ed2698132065ab4567e2920a6fb9f2f0868efc172f612d6848919f5 SHA512 b54780a0a45619ababf874fe40797a6c73c4adea26469178bbd5bf3396cd1977631622a8e150c02b650cf4a415d1e5d80943fda1e50935d921328022187b65dc WHIRLPOOL b1876eece2223d1b1281aeb1043c1f436c518363a2e720a2eb6be92853cac3ed0dce16b3c4300acffe4746925831ccfddcc24553d5fdcac4cce385701d5625bf
DIST mplayer2-2.0_p20130428.tar.xz 1911464 SHA256 41e54e6c86761196e111250fd6db79161bfd08f2cccf7d624e9b25b038fdf6c0 SHA512 da0101736b76535d38b1063c3ec7054003c8013f24df949bac26d51deebb41fcb6116af35d3b49bd6d9c1cc76842ab58c8e049a42e70dc5694058e3e6ed44bd8 WHIRLPOOL f97620ec26483e498d21b75fb533d09e41542ca18bb6a5a535c40c33fad34f745966f10a001026766610b6e40754dcecab3dc6292c00532437d2a92cb8d21079
-EBUILD mplayer2-2.0_p20120309.ebuild 15652 SHA256 a94270a24c77fa349ccaa43df3b715ac8c5945077f2ceab7e7375d7ff6781469 SHA512 9a6f8bfd7dc4a678310eb37d3d35697ffe6b4f573e0e48f8b118e89022696854b57dda4a23b504e21ca54a11ce6312dd37433f29247e879459f41904f904109c WHIRLPOOL 0e358a345adce0148bf53b36fced252a8e6236270f1e725b076936369515c3f74fba679e6698384de9e4d9995ebbac41eb820c0983d508f6a655b35e3491db0b
-EBUILD mplayer2-2.0_p20120828.ebuild 13889 SHA256 b4afb40ecb1570ea2c31e0e2ecb1d95a4bbe0f0fb168f9a67a6db888c3e169c2 SHA512 a5f9f587c3b5eebd5b4d820efd5d1a5355978f3ece58500995c2e60b487438a98273af6079fa62bd9373f057117d23041385173e2d499924ca018fb56864bede WHIRLPOOL 25b65af7e24ca536504022f1094384e44638cb419dfd6dfed3e8be861a3907ab93cc7895f5175bcd5a90613a7f46cbc0e577a3cf37953d0b6292ccb6d7c8654c
-EBUILD mplayer2-2.0_p20121108.ebuild 11817 SHA256 c96c58149cb4bcb4840608190a2c72abfb277bfc658252bc9150e78741105b14 SHA512 a660824040d367e14a266ebc2de532ad9b6ad3d2f06f85b9950abbd364e9b0323a36deefcfb3bffddc4cf72976a2be95e08ddd7f63638e28ed914b4bf47e2058 WHIRLPOOL 6d3659f57b0093c7cbd883f3a1dea74dc5ea3d93f3d380e101c86b0bf424e2d1d62a4d9034bc5868d9afa4cf0708def2bb787e22330360831a9eca7c922698c4
-EBUILD mplayer2-2.0_p20121128.ebuild 11848 SHA256 abba632ab3a23db6bbefea54cee7d198a3a0555e573a4180e705fda6319beb29 SHA512 9322707012301b841a9cb13d77643046bf843821954a81ccb11363dccca97d2f30fb3b84c33ca627e1f33a1ba9d187d3e769c42ae012449d88054ddefd51961d WHIRLPOOL 39e8a0265ea2f9b4f71a43e83eeb1edcdd7aa5411deb5748044ebbfbda897ca26a171145da4ae88623079504d01f4763ef99e11293125bd399a460d8f773e863
-EBUILD mplayer2-2.0_p20130126.ebuild 11673 SHA256 fe92697a646eeacb481750ea5ae577bee21cb7eda842375b1d544a52c0dbb446 SHA512 03d7ed59b49f19a4fd602694d46f58ae1776c07da1bdd3ee626e40c290c477913c0e9ec48a84aefdcbb9aaebd565d4c47626b885e6df788871121f57b6ee142f WHIRLPOOL a72be426a8bd18552104265425f1f1f9fbd340a7f26fec7b25f2400e4eba97796fb64fd01738561c4a80775bf7739440b28dc5d7e3a1ed126ffaaac9cb63f471
-EBUILD mplayer2-2.0_p20130428.ebuild 11433 SHA256 bc4deee917b6b929cfd3701a06f7c102b627292bef5d16dfda529e4ad2c027eb SHA512 b6097ac54869877745231eea595060c1919ad585af98dc741b6b916cad8e5aa9b5c12ce01e1e41b9990c3edfed938f84c767d60a3be1a2377381d60182643cda WHIRLPOOL 129d0429651a04cbb05531b5201341b2e9169542fdf6988b8bba2bfd28a0c3460084048162705b2c08c08d70dd562e4eb639b44b264e6433831f4a4a6adea672
-EBUILD mplayer2-9999.ebuild 11425 SHA256 c62382b2115132a0b9694443b0d70171bffde0b4364ae1a25203bb4a72937982 SHA512 a425e21f92db0aa966fd26ae4e8c42a5343d1a9c39fabe8e3b456245b61cb6ce5830d85e3c1b3365bd2482afb02bdf0822abfa6f473ea577230b284ec36b32cf WHIRLPOOL aefe513da1136a70d75cdd0b0a1cc804e83707750c6b9807e9074def787628402a61a3f762232934a2ed37a52012a8567977ef91dc9e9a20f12c1157a64ee0e5
-MISC ChangeLog 19028 SHA256 ee04acc3387e890ecc71d44422bbbf0ebadccefeef0c9d7ea235ac4df2b3213c SHA512 d9dc5439bbbc44982797576120a3c4633fb71b8e82200c2b965f9d6302607059742ad7ce736d19480e6d5508cf34a7da182df7d8e191181fc8d09c018dd41563 WHIRLPOOL 5566bb3a27cf3cf1e16333a66e3d5982f299e5f345e35e412950c633360519f0bc87c13a4e81d97f9c840e606cfe13a1132c3487c17b7b0af6305e1a87b90cd9
-MISC metadata.xml 3342 SHA256 b7762f08f0f622706cb64ae3583f7d2672add77c1e2a32e8b31a0a329b421da5 SHA512 59fa9d5474f886e2692a80214bb378ac588192a3d912e33d58d53b96c4c8ad23fed27ceacc9b53d8b9275f9ef96ca04ce96c52b2f8da6ebf745be759bff29735 WHIRLPOOL 4c687157172fd5c9ef618f6fee2a215cf615d822993f5b87181c80c7c4c0b631c60b0cf3728a2b907b376f9ca5a3fee28d15979e8afa4bf35606bf5fe7b31b47
+EBUILD mplayer2-2.0_p20120828.ebuild 13835 SHA256 6e80695eb663452b953e84e8144fe7f32a40960d6603a46997706910bac3cff2 SHA512 6725ee30eb2366094ea9dfcc3f1bc67c11858fe00f1661312352b5f4fabecf288d47d43f2273b48ee49df6f6ed0d55eb8d6728ec162176488f08c12334b3ccab WHIRLPOOL 89882865c2eb10b9dc43a495fc94319b5fa1e77b03cc18e0bc84637c83db148365b04bafee44a3c61bbf518e402761817d24e606bab7bfe76215a28922a8deb5
+EBUILD mplayer2-2.0_p20130126.ebuild 11619 SHA256 b7733c3b4e2c79d2176c9122f3b3135a1f6a7c1a3f4ce3a7b6308342d9a77c1e SHA512 4ca8e2679d1634faf53c2f010c9ff6b7474b6c50af5a7f55aeb1be12ab7dcceb891770eaeccb90f0b0d3d3c745b95bd41ad5dc289900d49c44fdd53cbd624955 WHIRLPOOL a1a0bb64b10ec000dc9da36ee9cd5fea7634bd6b5ddc878a2784cc610812458ab632d383270541eb26b50821135127d7d4e5b59a1a255e1bd61026719a068524
+EBUILD mplayer2-2.0_p20130428.ebuild 11378 SHA256 9972557c694f2f0b620f34e0ecaf687ada3ed748ad415557f2655000a16882e2 SHA512 d2b35808968bd981721f80f28c184279d7fdd3725d2870ad2324d9c870153c3f01ca6cfe3e74be9be39869791177387a8ac5dee3920765ef5d5f37def33890a8 WHIRLPOOL 109ed00ad23613cb1c61fdcc7d1e5a9b7a076736001a9c4dcd173336d19de6ee787feead47b7aa755d89903935249775b31218b1146752185aee4a51b75cabe1
+EBUILD mplayer2-9999.ebuild 11370 SHA256 c09281390c9294df75525d8415974eb5b175278d4f2bbf0efa26af46410d63a0 SHA512 848a29ee8e365137c54d57340a77737ffdf1d947c28ae9f5c8187af5c11646e4be7244d58b12104c02f5bea186602f558f7270f84a3d94d6b80a3c1f7f1be7e6 WHIRLPOOL a8573ce914fec93a8a209ca3d3b6565942434ca7e8e1f4c8ecf24577e4ff85d3d8e7d562cd7b5e12f3bc99b0bc74aabe569137ec07d434e666ee802fd7c4d994
+MISC ChangeLog 19151 SHA256 9610c0e00d0444333db03a02507c54e612163af75670ed6c9b2582c6ae7439f2 SHA512 91a2183fdea92b05aeb3aa0c525561f5aa82f76432e98bb9527a3d4448b1ad8ba9dc7c481a689929c80b67cd9e47696f6a3010c13179110e486a8473064ad6c3 WHIRLPOOL 10a7f3876390a79a3ccd4fa687f957daa3d6b9a8ac514f3067ef950609ab75345677103b6d2628e67eaf347a78831011c42acd82e1596bc8f50e60fb8a3ad38a
+MISC metadata.xml 3257 SHA256 5583ca66286a75a1734cc9b9591fd924d895328649c8b422d44db06ce87f6174 SHA512 ac85865bcb568646ae4d053bc5a759df5c06627f0fc2277938a181a3930cbb67a4fce7df5d3352f00cc9ed581fdcc85ccf6dec66c01c172ac5994386520fd6b9 WHIRLPOOL 09846d2365706baeac11d387afec6c94a3002e1918f59d2e8aa55bf6f5eded3274a204d80228d24e5bcaa6e9ea80e7df4cc5e234ddac919fd16e9115cf1c0df5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQGcBAEBCAAGBQJRufvzAAoJEJQzkH1pP7W41+4L/2Uj2qYPa/bDdoEa/prbo0/N
-OgdYVnFKtk4Zed/alKWcnFQpkFwxXawHk7AN/UTQ07Sg9C2ptYP4SzeCvfMY33fy
-apm1luXvM8dXQS460crzgXxE+uHvpSQoqYONsmHa9C4W76v2keEqXAmG2j0NoJv+
-ssnY2AmPbQa5FMqvXOrhhEjIBKLVxGtNqoxCO8g5n9fD1ZCN+fjeuWf364uMcn6J
-5PEwlxg/HcPu2SCtjzNjjsSii8aWRvlcxGKLLw8RmuuDchKFc+bikZuvW6IJCpn6
-/M4OJ2TFgHSjTDoej2kJOdAIz6M5ywap1vVAQjd7gIxJ4mxR3CO+usdgYl/3An5C
-x+Ss4bqztOsNhTQvxyclNOWXXpobHpjtrPe+PDv7aje69a5QFluegEgyOE9UYHgU
-e7gjN7yEfpyhpcf6n4YhTWrcUnfBvVas/z+91EDGHAKQ0w9p/w0tepv26aRsgRJa
-EYqxpCnTVYRlMLh5ucjhZI5C0nbOfg1F56klsFQwgQ==
-=Lyq+
+iQGcBAEBCAAGBQJRuh5WAAoJEJQzkH1pP7W4GwsL+wYMmcgc7hZyBojklNOth5R+
+yPSS+xvBisJ+h8CVIWJOP45hQNqMQcRkjYqZziZTnzuJO16EWPetuTKJGNgRVHsn
+0LZsKrNFXUsXK/Kb+jgmGXQL7wGs7eUlWttwZOJziB0DPQzlps+u/v4neJllUhz/
++o6E5OfI8csutlbalUnCdF69jUfwnKRMqAyaSon+iSoWIMj4yXsUUkLsXOFqYhBt
+TtQs2ON6PGSqy6dqj4iIWLXaogsJA15A2d4AzAsJcH/u5umkZyL/Qqk8RPuVM8Xt
+aq2/dHhNQMX8nHio3sHJ9iLVDieKFshOAKeBgam/OkbG/QW77+zhRbscHaRJOsZd
+aoBeJlUAS/rewozMc97JCEFf9QA9FOVbPpet9/XYQSOxK9hU7/Ef4pOSFLaTt/CW
+r6LEKhsxUbebrtlqBVxeJTwkHQgYrDeye+FkUSU3G3TbDm19ToIUJ5az6f3V+LNV
+nPCPu7M+jsN2Mdl86beeiptY+w1s6vMdNpAhrEfhCA==
+=Eibm
-----END PGP SIGNATURE-----
diff --git a/media-video/mplayer2/files/mplayer2-2.0_p20121128-cdio-api-fixes.patch b/media-video/mplayer2/files/mplayer2-2.0_p20121128-cdio-api-fixes.patch
deleted file mode 100644
index a93110d736e9..000000000000
--- a/media-video/mplayer2/files/mplayer2-2.0_p20121128-cdio-api-fixes.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -upr mplayer2-20121128.orig/stream/stream_cdda.c mplayer2-20121128/stream/stream_cdda.c
---- mplayer2-20121128.orig/stream/stream_cdda.c 2013-01-10 19:37:31.000000000 +0200
-+++ mplayer2-20121128/stream/stream_cdda.c 2013-01-10 20:23:25.000000000 +0200
-@@ -17,8 +17,8 @@
- */
-
- #include "config.h"
--#include <cdio/cdda.h>
--#include <cdio/paranoia.h>
-+#include <cdio/paranoia/cdda.h>
-+#include <cdio/paranoia/paranoia.h>
- #include <cdio/cdio.h>
-
- #include <stdio.h>
-@@ -116,25 +116,25 @@ const m_option_t cdda_opts[] = {
- };
-
- static const char *cdtext_name[] = {
-- [CDTEXT_ARRANGER] = "Arranger",
-- [CDTEXT_COMPOSER] = "Composer",
-- [CDTEXT_MESSAGE] = "Message",
-- [CDTEXT_ISRC] = "ISRC",
-- [CDTEXT_PERFORMER] = "Performer",
-- [CDTEXT_SONGWRITER] = "Songwriter",
-- [CDTEXT_TITLE] = "Title",
-- [CDTEXT_UPC_EAN] = "UPC_EAN",
-+ [CDTEXT_FIELD_ARRANGER] = "Arranger",
-+ [CDTEXT_FIELD_COMPOSER] = "Composer",
-+ [CDTEXT_FIELD_MESSAGE] = "Message",
-+ [CDTEXT_FIELD_ISRC] = "ISRC",
-+ [CDTEXT_FIELD_PERFORMER] = "Performer",
-+ [CDTEXT_FIELD_SONGWRITER] = "Songwriter",
-+ [CDTEXT_FIELD_TITLE] = "Title",
-+ [CDTEXT_FIELD_UPC_EAN] = "UPC_EAN",
- };
-
- static bool print_cdtext(stream_t *s, int track)
- {
- cdda_priv* p = (cdda_priv*)s->priv;
-- cdtext_t *text = cdio_get_cdtext(p->cd->p_cdio, track);
-+ cdtext_t *text = cdio_get_cdtext(p->cd->p_cdio);
- if (text) {
- mp_msg(MSGT_SEEK, MSGL_INFO, "CD-Text (%s):\n", track ? "track" : "CD");
- for (int i = 0; i < sizeof(cdtext_name) / sizeof(cdtext_name[0]); i++) {
- const char *name = cdtext_name[i];
-- const char *value = cdtext_get_const(i, text);
-+ const char *value = cdtext_get_const(text, i, track);
- if (name && value)
- mp_msg(MSGT_SEEK, MSGL_INFO, " %s: '%s'\n", name, value);
- }
diff --git a/media-video/mplayer2/metadata.xml b/media-video/mplayer2/metadata.xml
index 3fdd2fb43b0b..20b369b1d5a9 100644
--- a/media-video/mplayer2/metadata.xml
+++ b/media-video/mplayer2/metadata.xml
@@ -28,7 +28,6 @@
<flag name="bs2b">Enable Bauer stereophonic-to-binaural headphone filter</flag>
<flag name="cdio">Use libcdio for CD support (instead of cdparanoia)</flag>
<flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag>
- <flag name="custom-cpuopts">Fine-tune custom CPU optimizations (UNSUPPORTED)</flag>
<flag name="dvdnav">Use forked libdvdnav, navigate menus in GUIs</flag>
<flag name="dxr3">Enable DXR3/H+ video output</flag>
<flag name="enca">Enables support for charset discovery and conversion</flag>
diff --git a/media-video/mplayer2/mplayer2-2.0_p20120309.ebuild b/media-video/mplayer2/mplayer2-2.0_p20120309.ebuild
deleted file mode 100644
index cedf281de5ff..000000000000
--- a/media-video/mplayer2/mplayer2-2.0_p20120309.ebuild
+++ /dev/null
@@ -1,578 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20120309.ebuild,v 1.16 2013/06/13 17:05:25 ulm Exp $
-
-EAPI=4
-
-[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
-
-inherit toolchain-funcs eutils flag-o-matic multilib base ${VCS_ECLASS}
-
-NAMESUF="${PN/mplayer/}"
-DESCRIPTION="Media Player for Linux"
-HOMEPAGE="http://www.mplayer2.org/"
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="git://git.mplayer2.org/mplayer2.git"
-else
- RELEASE_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
-fi
-SRC_URI="${RELEASE_URI}
- !truetype? (
- mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
- mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
- mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
- )
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-if [[ ${PV} == *9999* ]]; then
- KEYWORDS=""
-else
- KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux"
-fi
-IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua bidi bl
-bluray bs2b cddb +cdio cdparanoia cpudetection custom-cpuopts
-debug directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +faad fbcon ftp
-gif ggi +iconv ipv6 jack joystick jpeg kernel_linux ladspa +libass libcaca lirc
-mad md5sum +mmx mmxext mng +mp3 nas +network nut +opengl oss png pnm pulseaudio
-pvr +quicktime radio +rar +rtc samba +shm sdl +speex sse sse2 ssse3 tga
-+theora +truetype +unicode v4l vdpau +vorbis +X xanim xinerama
-+xscreensaver +xv xvid"
-IUSE+=" symlink"
-
-VIDEO_CARDS="s3virge mga tdfx vesa"
-for x in ${VIDEO_CARDS}; do
- IUSE+=" video_cards_${x}"
-done
-
-REQUIRED_USE="
- cdio? ( !cdparanoia )
- cddb? ( || ( cdio cdparanoia ) network )
- dvdnav? ( dvd )
- libass? ( truetype )
- truetype? ( iconv )
- radio? ( || ( dvb v4l ) )
- dxr3? ( X )
- ggi? ( X )
- opengl? ( X )
- vdpau? ( X )
- xinerama? ( X )
- xscreensaver? ( X )
- xv? ( X )
-"
-
-FONT_RDEPS="
- virtual/ttf-fonts
- media-libs/fontconfig
- >=media-libs/freetype-2.2.1:2
-"
-# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
-# nemesi? ( net-libs/libnemesi )
-RDEPEND+="
- sys-libs/ncurses
- sys-libs/zlib
- X? (
- x11-libs/libXext
- x11-libs/libXxf86vm
- ggi? (
- media-libs/libggi
- media-libs/libggiwmh
- )
- opengl? ( virtual/opengl )
- vdpau? ( x11-libs/libvdpau )
- xinerama? ( x11-libs/libXinerama )
- xscreensaver? ( x11-libs/libXScrnSaver )
- xv? (
- x11-libs/libXv
- )
- )
- a52? ( media-libs/a52dec )
- aalib? ( media-libs/aalib )
- alsa? ( media-libs/alsa-lib )
- bidi? ( dev-libs/fribidi )
- bluray? ( media-libs/libbluray )
- bs2b? ( media-libs/libbs2b )
- cdio? ( dev-libs/libcdio )
- cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
- directfb? ( dev-libs/DirectFB )
- dts? ( media-libs/libdca )
- dv? ( media-libs/libdv )
- dvb? ( virtual/linuxtv-dvb-headers )
- dvd? (
- >=media-libs/libdvdread-4.1.3
- dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
- )
- enca? ( app-i18n/enca )
- faad? ( media-libs/faad2 )
- gif? ( media-libs/giflib )
- iconv? ( virtual/libiconv )
- jack? ( media-sound/jack-audio-connection-kit )
- jpeg? ( virtual/jpeg )
- ladspa? ( media-libs/ladspa-sdk )
- libass? ( >=media-libs/libass-0.9.10[enca?,fontconfig] )
- libcaca? ( media-libs/libcaca )
- lirc? ( app-misc/lirc )
- mad? ( media-libs/libmad )
- mng? ( media-libs/libmng )
- mp3? ( media-sound/mpg123 )
- nas? ( media-libs/nas )
- nut? ( >=media-libs/libnut-661 )
- png? ( media-libs/libpng )
- pnm? ( media-libs/netpbm )
- pulseaudio? ( media-sound/pulseaudio )
- rar? (
- || (
- app-arch/unrar
- app-arch/rar
- )
- )
- samba? ( net-fs/samba )
- sdl? ( media-libs/libsdl )
- speex? ( media-libs/speex )
- theora? ( media-libs/libtheora )
- truetype? ( ${FONT_RDEPS} )
- vorbis? ( media-libs/libvorbis )
- xanim? ( media-video/xanim )
- xvid? ( media-libs/xvid )
- || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg )
- >=virtual/ffmpeg-0.10.2
- symlink? ( !media-video/mplayer )
-"
-ASM_DEP="dev-lang/yasm"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-lang/python
- sys-devel/gettext
- X? (
- x11-proto/videoproto
- x11-proto/xf86vidmodeproto
- dxr3? ( media-video/em8300-libraries )
- xinerama? ( x11-proto/xineramaproto )
- xscreensaver? ( x11-proto/scrnsaverproto )
- )
- amd64? ( ${ASM_DEP} )
- doc? (
- dev-libs/libxslt app-text/docbook-xml-dtd
- app-text/docbook-xsl-stylesheets
- )
- x86? ( ${ASM_DEP} )
- x86-fbsd? ( ${ASM_DEP} )
-"
-
-pkg_setup() {
- if [[ ${PV} == *9999* ]]; then
- elog
- elog "This is a live ebuild which installs the latest from upstream's"
- elog "${VCS_ECLASS} repository, and is unsupported by Gentoo."
- elog "Everything but bugs in the ebuild itself will be ignored."
- elog
- fi
-
- if use cpudetection; then
- ewarn
- ewarn "You've enabled the cpudetection flag. This feature is"
- ewarn "included mainly for people who want to use the same"
- ewarn "binary on another system with a different CPU architecture."
- ewarn "MPlayer will already detect your CPU settings by default at"
- ewarn "buildtime; this flag is used for runtime detection."
- ewarn "You won't need this turned on if you are only building"
- ewarn "mplayer for this system. Also, if your compile fails, try"
- ewarn "disabling this use flag."
- fi
-
- if use custom-cpuopts; then
- ewarn
- ewarn "You are using the custom-cpuopts flag which will"
- ewarn "specifically allow you to enable / disable certain"
- ewarn "CPU optimizations."
- ewarn
- ewarn "Most desktop users won't need this functionality, but it"
- ewarn "is included for corner cases like cross-compiling and"
- ewarn "certain profiles. If unsure, disable this flag and MPlayer"
- ewarn "will automatically detect and use your available CPU"
- ewarn "optimizations."
- ewarn
- ewarn "Using this flag means your build is unsupported, so"
- ewarn "please make sure your CPU optimization use flags (3dnow"
- ewarn "3dnowext mmx mmxext sse sse2 ssse3) are properly set."
- fi
-
- einfo "For various format support you need to enable the support on your ffmpeg package:"
- einfo " media-video/libav or media-video/ffmpeg"
-}
-
-src_prepare() {
- # fix path to bash executable in configure scripts
- local bash_scripts="configure version.sh"
- sed -i -e "1c\#!${EPREFIX}/bin/bash" \
- ${bash_scripts} || die
-
- if [[ -n ${NAMESUF} ]]; then
- sed -e "/elif linux ; then/a\ _exesuf=\"${NAMESUF}\"" \
- -i configure || die
- sed -e "\, -m 644 DOCS/man/en/mplayer,i\ mv DOCS/man/en/mplayer.1 DOCS/man/en/${PN}.1" \
- -e "\, -m 644 DOCS/man/\$(lang)/mplayer,i\ mv DOCS/man/\$(lang)/mplayer.1 DOCS/man/\$(lang)/${PN}.1" \
- -e "s/er.1/er${NAMESUF}.1/g" \
- -i Makefile || die
- sed -e "s/mplayer/${PN}/" \
- -i TOOLS/midentify.sh || die
- fi
-
- base_src_prepare
-}
-
-src_configure() {
- local myconf=""
- local uses i
-
- # set LINGUAS
- [[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"
-
- # mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
- # compilation in almost every situation. The reason for this is
- # because if --enable is used, it will force the build of that option,
- # regardless of whether the dependency is available or not.
-
- ###################
- #Optional features#
- ###################
- # disable svga since we don't want it
- # disable arts since we don't have kde3
- # disable tremor, it needs libvorbisidec and is for FPU-less systems only
- myconf+="
- --disable-svga
- --disable-arts
- --disable-kai
- --disable-tremor
- $(use_enable network networking)
- $(use_enable joystick)
- "
- uses="bl bluray enca ftp libass rtc" # nemesi <- not working with in-tree ebuild
- myconf+=" --disable-nemesi" # nemesi automagic disable
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use bidi || myconf+=" --disable-fribidi"
- use ipv6 || myconf+=" --disable-inet6"
- use nut || myconf+=" --disable-libnut"
- use rar || myconf+=" --disable-unrarexec"
- use samba || myconf+=" --disable-smb"
- if ! use lirc; then
- myconf+="
- --disable-lirc
- --disable-lircc
- --disable-apple-ir
- "
- fi
-
- ########
- # CDDA #
- ########
- use cddb || myconf+=" --disable-cddb"
- use cdio || myconf+=" --disable-libcdio"
- use cdparanoia || myconf+=" --disable-cdparanoia"
-
- ################################
- # DVD read, navigation support #
- ################################
- #
- # dvdread - accessing a DVD
- # dvdnav - navigation of menus
- #
- # use external libdvdcss, dvdread and dvdnav
- myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
- if use dvd; then
- use dvdnav || myconf+=" --disable-dvdnav"
- else
- myconf+="
- --disable-dvdnav
- --disable-dvdread
- "
- fi
-
- #############
- # Subtitles #
- #############
- # SRT/ASS/SSA (subtitles) requires freetype support
- # freetype support requires iconv
- # iconv optionally can use unicode
- if ! use truetype; then
- myconf+=" --disable-freetype"
- if ! use iconv; then
- myconf+="
- --disable-iconv
- --charset=noconv
- "
- fi
- fi
- use iconv && use unicode && myconf+=" --charset=UTF-8"
-
- #####################################
- # DVB / Video4Linux / Radio support #
- #####################################
- myconf+=" --disable-tv-bsdbt848"
- # broken upstream, won't work with recent kernels
- myconf+=" --disable-ivtv"
- # v4l1 is gone since linux-headers-2.6.38
- myconf+=" --disable-tv-v4l1"
- if { use dvb || use v4l || use pvr || use radio; }; then
- use dvb || myconf+=" --disable-dvb"
- use pvr || myconf+=" --disable-pvr"
- use v4l || myconf+=" --disable-tv-v4l2"
- if use radio && { use dvb || use v4l; }; then
- myconf+="
- --enable-radio
- --disable-radio-capture
- "
- else
- myconf+="
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- "
- fi
- else
- myconf+="
- --disable-tv
- --disable-tv-v4l2
- --disable-radio
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- --disable-dvb
- --disable-v4l2
- --disable-pvr"
- fi
-
- ##########
- # Codecs #
- ##########
- myconf+=" --disable-musepack" # deprecated, libavcodec Musepack decoder is preferred
- use dts || myconf+=" --disable-libdca"
- use mp3 || myconf+=" --disable-mpg123"
- uses="a52 bs2b dv vorbis"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-lib${i}"
- done
- uses="faad gif jpeg mad mng png pnm speex tga theora xanim xvid"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- myconf+=" --disable-live" # >=live-2012 are broken
-
- #################
- # Binary codecs #
- #################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
-
- ################
- # Video Output #
- ################
- uses="directfb md5sum sdl"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use aalib || myconf+=" --disable-aa"
- use fbcon || myconf+=" --disable-fbdev"
- use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
- use libcaca || myconf+=" --disable-caca"
-
- if ! use kernel_linux || ! use video_cards_mga; then
- myconf+=" --disable-mga --disable-xmga"
- fi
-
- if use video_cards_tdfx; then
- myconf+="
- $(use_enable video_cards_tdfx tdfxvid)
- $(use_enable fbcon tdfxfb)
- "
- else
- myconf+="
- --disable-3dfx
- --disable-tdfxvid
- --disable-tdfxfb
- "
- fi
-
- # sun card, disable by default, see bug #258729
- myconf+=" --disable-xvr100"
-
- ################
- # Audio Output #
- ################
- myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only
- myconf+=" --disable-esd"
- uses="alsa jack ladspa nas"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- #use openal && myconf+=" --enable-openal" # build fails
- use pulseaudio || myconf+=" --disable-pulse"
- if ! use radio; then
- use oss || myconf+=" --disable-ossaudio"
- fi
-
- ####################
- # Advanced Options #
- ####################
- # Platform specific flags, hardcoded on amd64 (see below)
- use cpudetection && myconf+=" --enable-runtime-cpudetection"
-
- # Turning off CPU optimizations usually will break the build.
- # However, this use flag, if enabled, will allow users to completely
- # specify which ones to use. If disabled, mplayer will automatically
- # enable all CPU optimizations that the host build supports.
- if use custom-cpuopts; then
- uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
- for i in ${uses}; do
- myconf+=" $(use_enable ${i})"
- done
- fi
-
- use debug && myconf+=" --enable-debug=3"
-
- if use x86 && gcc-specs-pie; then
- filter-flags -fPIC -fPIE
- append-ldflags -nopie
- fi
-
- is-flag -O? || append-flags -O2
-
- # workaround bug, x86 just has too few registers, see c.f.
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402950#44
- # and 32-bits OSX, bug 329861
- if [[ ${CHOST} == i?86-* ]] ; then
- use debug || append-flags -fomit-frame-pointer
- fi
-
- ###########################
- # X enabled configuration #
- ###########################
- myconf+=" --disable-dga1 --disable-dga2"
- if use X; then
- uses="dxr3 ggi xinerama xv"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use opengl || myconf+=" --disable-gl"
- use vdpau || myconf+=" --disable-vdpau"
- use video_cards_vesa || myconf+=" --disable-vesa"
- use xscreensaver || myconf+=" --disable-xss"
- else
- myconf+="
- --disable-dxr3
- --disable-ggi
- --disable-gl
- --disable-vdpau
- --disable-xinerama
- --disable-xss
- --disable-xv
- --disable-x11
- "
- fi
-
- ############################
- # OSX (aqua) configuration #
- ############################
- if use aqua; then
- myconf+="
- --enable-macosx-finder
- --enable-macosx-bundle
- "
- fi
-
- ./configure \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- --pkg-config="$(tc-getPKG_CONFIG)" \
- --prefix="${EPREFIX}"/usr \
- --bindir="${EPREFIX}"/usr/bin \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- --confdir="${EPREFIX}"/etc/${PN} \
- --datadir="${EPREFIX}"/usr/share/${PN} \
- --mandir="${EPREFIX}"/usr/share/man \
- --localedir="${EPREFIX}"/usr/share/locale \
- --enable-translation \
- ${myconf} || die
-}
-
-src_compile() {
- # enable verbose build, bug #448196
- base_src_compile V=1
- # Build only user-requested docs if they're available.
- if use doc ; then
- # select available languages from $LINGUAS
- LINGUAS=${LINGUAS/zh/zh_CN}
- local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
- local BUILT_DOCS=""
- for i in ${LINGUAS} ; do
- has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
- done
- if [[ -z $BUILT_DOCS ]]; then
- emake -j1 -C DOCS/xml html-chunked
- else
- for i in ${BUILT_DOCS}; do
- emake -j1 -C DOCS/xml html-chunked-${i}
- done
- fi
- fi
-}
-
-src_install() {
- local i
-
- emake \
- DESTDIR="${D}" \
- INSTALLSTRIP="" \
- install
-
- dodoc AUTHORS Copyright README etc/codecs.conf
-
- docinto tech/
- dodoc DOCS/tech/{*.txt,mpsub.sub,playtree}
- docinto TOOLS/
- dodoc -r TOOLS
-
- if use doc; then
- docinto html/
- dohtml -r "${S}"/DOCS/HTML/*
- fi
-
- if ! use truetype; then
- dodir /usr/share/${PN}/fonts
- # Do this generic, as the mplayer people like to change the structure
- # of their zips ...
- for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
- cp -pPR "${i}" "${ED}/usr/share/${PN}/fonts"
- done
- # Fix the font symlink ...
- rm -rf "${ED}/usr/share/${PN}/font"
- dosym fonts/font-arial-14-iso-8859-1 /usr/share/${PN}/font
- fi
-
- insinto /etc/${PN}
- newins "${S}/etc/example.conf" mplayer.conf
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-# Config options can be section specific, global
-# options should go in the default section
-[default]
-_EOF_
- doins "${S}/etc/input.conf"
-
- # set unrar path when required
- if use rar; then
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-unrarexec=${EPREFIX}/usr/bin/unrar
-_EOF_
- fi
- dosym ../../../etc/${PN}/mplayer.conf /usr/share/${PN}/mplayer.conf
-
- newbin "${S}/TOOLS/midentify.sh" midentify${NAMESUF}
-
- if [[ -n ${NAMESUF} ]] && use symlink; then
- dosym "${PN}" /usr/bin/mplayer
- dosym "midentify${NAMESUF}" /usr/bin/midentify
- fi
-}
diff --git a/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild b/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild
index 88a3762b69f5..cdad2e8008f9 100644
--- a/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild
+++ b/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild,v 1.17 2013/06/13 17:05:25 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20120828.ebuild,v 1.18 2013/06/13 19:32:28 ulm Exp $
EAPI=4
@@ -36,7 +36,7 @@ IUSE="+a52 aalib +alsa aqua bidi bl bluray bs2b cddb +cdio
cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +faad
fbcon ftp gif ggi +iconv ipv6 jack joystick jpeg kernel_linux ladspa
+libass libcaca lirc mad md5sum mng +mp3 nas +network nut +opengl oss png pnm
- portaudio postproc pulseaudio pvr +quicktime quvi radio +rar +rtc samba
+ portaudio postproc pulseaudio pvr quvi radio +rar +rtc samba
sdl +speex tga +theora +truetype +unicode v4l vdpau +vorbis +X
xanim xinerama +xscreensaver +xv xvid"
IUSE+=" symlink"
@@ -345,9 +345,7 @@ src_configure() {
#################
# Binary codecs #
#################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
+ myconf+=" --disable-qtx --disable-real --disable-win32dll"
################
# Video Output #
diff --git a/media-video/mplayer2/mplayer2-2.0_p20121108.ebuild b/media-video/mplayer2/mplayer2-2.0_p20121108.ebuild
deleted file mode 100644
index 30b54177369d..000000000000
--- a/media-video/mplayer2/mplayer2-2.0_p20121108.ebuild
+++ /dev/null
@@ -1,447 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20121108.ebuild,v 1.6 2013/06/13 17:05:25 ulm Exp $
-
-EAPI=4
-
-[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
-
-inherit python toolchain-funcs eutils flag-o-matic multilib base ${VCS_ECLASS}
-
-NAMESUF="${PN/mplayer/}"
-DESCRIPTION="Media Player for Linux"
-HOMEPAGE="http://www.mplayer2.org/"
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="git://git.mplayer2.org/mplayer2.git"
-else
- SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-if [[ ${PV} == *9999* ]]; then
- KEYWORDS=""
-else
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
-fi
-IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug
-directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv
-ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca lirc mad
-md5sum mng +mp3 +network nut +opengl oss png pnm portaudio +postproc
-pulseaudio pvr +quicktime quvi radio +rar +rtc samba sdl +speex tga
-+theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
-+xscreensaver +xv xvid yuv4mpeg
-"
-IUSE+=" symlink"
-
-CPU_FEATURES="3dnow 3dnowext altivec +mmx mmxext +shm sse sse2 ssse3"
-for x in ${CPU_FEATURES}; do
- IUSE+=" ${x}"
-done
-
-REQUIRED_USE="
- cddb? ( cdio network )
- dvdnav? ( dvd )
- lcms? ( opengl )
- libass? ( iconv )
- opengl? ( || ( aqua X ) )
- radio? ( || ( dvb v4l ) )
- vdpau? ( X )
- xinerama? ( X )
- xscreensaver? ( X )
- xv? ( X )
-"
-
-# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
-RDEPEND+="
- sys-libs/ncurses
- sys-libs/zlib
- X? (
- x11-libs/libXext
- x11-libs/libXxf86vm
- opengl? ( virtual/opengl )
- lcms? ( media-libs/lcms:2 )
- vdpau? ( x11-libs/libvdpau )
- xinerama? ( x11-libs/libXinerama )
- xscreensaver? ( x11-libs/libXScrnSaver )
- xv? (
- x11-libs/libXv
- )
- )
- a52? ( media-libs/a52dec )
- alsa? ( media-libs/alsa-lib )
- bluray? ( media-libs/libbluray )
- bs2b? ( media-libs/libbs2b )
- cdio? ( dev-libs/libcdio )
- directfb? ( dev-libs/DirectFB )
- dts? ( media-libs/libdca )
- dv? ( media-libs/libdv )
- dvb? ( virtual/linuxtv-dvb-headers )
- dvd? (
- >=media-libs/libdvdread-4.1.3
- dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
- )
- enca? ( app-i18n/enca )
- faad? ( media-libs/faad2 )
- gif? ( media-libs/giflib )
- iconv? ( virtual/libiconv )
- jack? ( media-sound/jack-audio-connection-kit )
- jpeg? ( virtual/jpeg )
- ladspa? ( media-libs/ladspa-sdk )
- libass? ( >=media-libs/libass-0.9.10[enca?,fontconfig] virtual/ttf-fonts )
- libcaca? ( media-libs/libcaca )
- lirc? ( app-misc/lirc )
- mad? ( media-libs/libmad )
- mng? ( media-libs/libmng )
- mp3? ( media-sound/mpg123 )
- nut? ( >=media-libs/libnut-661 )
- png? ( media-libs/libpng )
- pnm? ( media-libs/netpbm )
- portaudio? ( >=media-libs/portaudio-19_pre20111121 )
- postproc? ( || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg ) )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( >=media-libs/libquvi-0.4.1 )
- rar? (
- || (
- app-arch/unrar
- app-arch/rar
- )
- )
- samba? ( net-fs/samba )
- sdl? ( media-libs/libsdl )
- speex? ( media-libs/speex )
- theora? ( media-libs/libtheora )
- vorbis? ( media-libs/libvorbis )
- xanim? ( media-video/xanim )
- xvid? ( media-libs/xvid )
- >=virtual/ffmpeg-0.10.2
- symlink? ( !media-video/mplayer )
-"
-ASM_DEP="dev-lang/yasm"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- >=dev-lang/python-2.7
- dev-python/docutils
- sys-devel/gettext
- X? (
- x11-proto/videoproto
- x11-proto/xf86vidmodeproto
- xinerama? ( x11-proto/xineramaproto )
- xscreensaver? ( x11-proto/scrnsaverproto )
- )
- amd64? ( ${ASM_DEP} )
- doc? (
- dev-libs/libxslt app-text/docbook-xml-dtd
- app-text/docbook-xsl-stylesheets
- )
- x86? ( ${ASM_DEP} )
- x86-fbsd? ( ${ASM_DEP} )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-py2compat.patch"
-)
-
-pkg_setup() {
- if [[ ${PV} == *9999* ]]; then
- elog
- elog "This is a live ebuild which installs the latest from upstream's"
- elog "${VCS_ECLASS} repository, and is unsupported by Gentoo."
- elog "Everything but bugs in the ebuild itself will be ignored."
- elog
- fi
-
- if use cpudetection; then
- ewarn
- ewarn "You've enabled the cpudetection flag. This feature is"
- ewarn "included mainly for people who want to use the same"
- ewarn "binary on another system with a different CPU architecture."
- ewarn "MPlayer will already detect your CPU settings by default at"
- ewarn "buildtime; this flag is used for runtime detection."
- ewarn "You won't need this turned on if you are only building"
- ewarn "mplayer for this system. Also, if your compile fails, try"
- ewarn "disabling this use flag."
- fi
-
- if use !libass; then
- ewarn
- ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed."
- fi
-
- einfo "For various format support you need to enable the support on your ffmpeg package:"
- einfo " media-video/libav or media-video/ffmpeg"
-
- # https://bugs.gentoo.org/show_bug.cgi?id=434356#c4
- python_pkg_setup
- major=$(python_get_version --major)
- minor=$(python_get_version --minor)
- [[ ( ${major} -eq 2 && ${minor} -ge 7 ) || ${major} -ge 3 ]] \
- || die "Please eselect Python 2.7 or later"
-}
-
-src_prepare() {
- # fix path to bash executable in configure scripts
- local bash_scripts="configure version.sh"
- sed -i -e "1c\#!${EPREFIX}/bin/bash" \
- ${bash_scripts} || die
-
- sed -e 's/rst2man /rst2man.py /g' -i Makefile || die
-
- if [[ -n ${NAMESUF} ]]; then
- sed -e "/^EXESUF/s,= \$_exesuf$,= ${NAMESUF}\$_exesuf," \
- -i configure || die
- sed -e "s/mplayer/${PN}/" \
- -i TOOLS/midentify.sh || die
- fi
-
- base_src_prepare
-}
-
-src_configure() {
- local myconf=""
- local uses i
-
- # mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
- # compilation in almost every situation. The reason for this is
- # because if --enable is used, it will force the build of that option,
- # regardless of whether the dependency is available or not.
-
- ###################
- #Optional features#
- ###################
- # disable tremor, it needs libvorbisidec and is for FPU-less systems only
- myconf+="
- --disable-tremor
- $(use_enable network networking)
- $(use_enable joystick)
- "
- uses="bluray enca ftp libass rtc vcd"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use ipv6 || myconf+=" --disable-inet6"
- use nut || myconf+=" --disable-libnut"
- use quvi || myconf+=" --disable-libquvi"
- use rar || myconf+=" --disable-unrarexec"
- use samba || myconf+=" --disable-smb"
- if ! use lirc; then
- myconf+="
- --disable-lirc
- --disable-lircc
- --disable-apple-ir
- "
- fi
-
- ########
- # CDDA #
- ########
- use cddb || myconf+=" --disable-cddb"
- use cdio || myconf+=" --disable-libcdio"
-
- ################################
- # DVD read, navigation support #
- ################################
- #
- # dvdread - accessing a DVD
- # dvdnav - navigation of menus
- #
- # use external libdvdcss, dvdread and dvdnav
- myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
- use dvd || myconf+=" --disable-dvdread"
- use dvdnav || myconf+=" --disable-dvdnav"
-
- #############
- # Subtitles #
- #############
- #
- # iconv optionally can use unicode
- use iconv || myconf+=" --disable-iconv --charset=noconv"
- use iconv && use unicode && myconf+=" --charset=UTF-8"
-
- #####################################
- # DVB / Video4Linux / Radio support #
- #####################################
- myconf+=" --disable-tv-bsdbt848"
- # v4l1 is gone since linux-headers-2.6.38
- myconf+=" --disable-tv-v4l1"
- if { use dvb || use v4l || use pvr || use radio; }; then
- use dvb || myconf+=" --disable-dvb"
- use pvr || myconf+=" --disable-pvr"
- use v4l || myconf+=" --disable-tv-v4l2"
- if use radio && { use dvb || use v4l; }; then
- myconf+="
- --enable-radio
- --disable-radio-capture
- "
- else
- myconf+="
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- "
- fi
- else
- myconf+="
- --disable-tv
- --disable-tv-v4l2
- --disable-radio
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- --disable-dvb
- --disable-v4l2
- --disable-pvr"
- fi
-
- ##########
- # Codecs #
- ##########
- myconf+=" --disable-musepack" # deprecated, libavcodec Musepack decoder is preferred
- use dts || myconf+=" --disable-libdca"
- use mp3 || myconf+=" --disable-mpg123"
- uses="a52 bs2b dv vorbis"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-lib${i}"
- done
- uses="faad gif jpeg mad mng png pnm speex tga theora xanim xvid"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
-
- #################
- # Binary codecs #
- #################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
-
- ################
- # Video Output #
- ################
- uses="directfb md5sum sdl yuv4mpeg"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use libcaca || myconf+=" --disable-caca"
- use postproc || myconf+=" --disable-libpostproc"
-
- ################
- # Audio Output #
- ################
- myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only
- uses="alsa jack ladspa portaudio"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- #use openal && myconf+=" --enable-openal" # build fails
- use pulseaudio || myconf+=" --disable-pulse"
- if ! use radio; then
- use oss || myconf+=" --disable-ossaudio"
- fi
-
- ####################
- # Advanced Options #
- ####################
- # Platform specific flags, hardcoded on amd64 (see below)
- use cpudetection && myconf+=" --enable-runtime-cpudetection"
-
- for i in ${CPU_FEATURES//+/}; do
- myconf+=" $(use_enable ${i})"
- done
-
- use debug && myconf+=" --enable-debug=3"
-
- if use x86 && gcc-specs-pie; then
- filter-flags -fPIC -fPIE
- append-ldflags -nopie
- fi
-
- ###########################
- # X enabled configuration #
- ###########################
- use X || myconf+=" --disable-x11"
- uses="vdpau xinerama xv"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use opengl || myconf+=" --disable-gl"
- use lcms || myconf+=" --disable-lcms2"
- use xscreensaver || myconf+=" --disable-xss"
-
- ############################
- # OSX (aqua) configuration #
- ############################
- if use aqua; then
- myconf+="
- --enable-macosx-finder
- --enable-macosx-bundle
- "
- fi
-
- ./configure \
- --cc="$(tc-getCC)" \
- --pkg-config="$(tc-getPKG_CONFIG)" \
- --prefix="${EPREFIX}"/usr \
- --bindir="${EPREFIX}"/usr/bin \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- --confdir="${EPREFIX}"/etc/${PN} \
- --datadir="${EPREFIX}"/usr/share/${PN} \
- --mandir="${EPREFIX}"/usr/share/man \
- --localedir="${EPREFIX}"/usr/share/locale \
- --enable-translation \
- ${myconf} || die
-}
-
-src_compile() {
- # enable verbose build, bug #448196
- base_src_compile V=1
- use doc && emake -C DOCS/xml html-chunked
-}
-
-src_install() {
- local i
-
- emake \
- DESTDIR="${D}" \
- INSTALLSTRIP="" \
- install
-
- dodoc AUTHORS Copyright README etc/codecs.conf
-
- docinto tech/
- dodoc DOCS/tech/{*.txt,mpsub.sub,playtree}
- docinto TOOLS/
- dodoc -r TOOLS
-
- if use doc; then
- docinto html/
- dohtml -r "${S}"/DOCS/HTML/*
- fi
-
- insinto /etc/${PN}
- newins "${S}/etc/example.conf" mplayer.conf
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-# Config options can be section specific, global
-# options should go in the default section
-[default]
-_EOF_
- doins "${S}/etc/input.conf"
-
- # set unrar path when required
- if use rar; then
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-unrarexec=${EPREFIX}/usr/bin/unrar
-_EOF_
- fi
- dosym ../../../etc/${PN}/mplayer.conf /usr/share/${PN}/mplayer.conf
-
- newbin "${S}/TOOLS/midentify.sh" midentify${NAMESUF}
-
- if [[ -n ${NAMESUF} ]]; then
- mv "${ED}/usr/share/man/man1/mplayer.1" "${ED}/usr/share/man/man1/mplayer${NAMESUF}.1" || die
-
- if use symlink; then
- dosym "${PN}" /usr/bin/mplayer
- dosym "midentify${NAMESUF}" /usr/bin/midentify
- fi
- fi
-}
diff --git a/media-video/mplayer2/mplayer2-2.0_p20121128.ebuild b/media-video/mplayer2/mplayer2-2.0_p20121128.ebuild
deleted file mode 100644
index aeed8080b489..000000000000
--- a/media-video/mplayer2/mplayer2-2.0_p20121128.ebuild
+++ /dev/null
@@ -1,449 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20121128.ebuild,v 1.5 2013/06/13 17:05:25 ulm Exp $
-
-EAPI=4
-
-[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
-
-inherit python toolchain-funcs eutils flag-o-matic multilib base ${VCS_ECLASS}
-
-NAMESUF="${PN/mplayer/}"
-DESCRIPTION="Media Player for Linux"
-HOMEPAGE="http://www.mplayer2.org/"
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="git://git.mplayer2.org/mplayer2.git"
-else
- SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-if [[ ${PV} == *9999* ]]; then
- KEYWORDS=""
-else
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
-fi
-IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug
-directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv
-ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca lirc mad
-md5sum mng +mp3 +network nut +opengl oss png pnm portaudio +postproc
-pulseaudio pvr +quicktime quvi radio +rar +rtc samba sdl +speex tga
-+theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
-+xscreensaver +xv xvid yuv4mpeg
-"
-IUSE+=" symlink"
-
-CPU_FEATURES="3dnow 3dnowext altivec +mmx mmxext +shm sse sse2 ssse3"
-for x in ${CPU_FEATURES}; do
- IUSE+=" ${x}"
-done
-
-REQUIRED_USE="
- cddb? ( cdio network )
- dvdnav? ( dvd )
- lcms? ( opengl )
- libass? ( iconv )
- opengl? ( || ( aqua X ) )
- radio? ( || ( dvb v4l ) )
- vdpau? ( X )
- xinerama? ( X )
- xscreensaver? ( X )
- xv? ( X )
-"
-
-# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
-RDEPEND+="
- sys-libs/ncurses
- sys-libs/zlib
- X? (
- x11-libs/libXext
- x11-libs/libXxf86vm
- opengl? ( virtual/opengl )
- lcms? ( media-libs/lcms:2 )
- vdpau? ( x11-libs/libvdpau )
- xinerama? ( x11-libs/libXinerama )
- xscreensaver? ( x11-libs/libXScrnSaver )
- xv? (
- x11-libs/libXv
- )
- )
- a52? ( media-libs/a52dec )
- alsa? ( media-libs/alsa-lib )
- bluray? ( media-libs/libbluray )
- bs2b? ( media-libs/libbs2b )
- cdio? (
- >=dev-libs/libcdio-0.90
- >=dev-libs/libcdio-paranoia-0.90
- )
- directfb? ( dev-libs/DirectFB )
- dts? ( media-libs/libdca )
- dv? ( media-libs/libdv )
- dvb? ( virtual/linuxtv-dvb-headers )
- dvd? (
- >=media-libs/libdvdread-4.1.3
- dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
- )
- enca? ( app-i18n/enca )
- faad? ( media-libs/faad2 )
- gif? ( media-libs/giflib )
- iconv? ( virtual/libiconv )
- jack? ( media-sound/jack-audio-connection-kit )
- jpeg? ( virtual/jpeg )
- ladspa? ( media-libs/ladspa-sdk )
- libass? ( >=media-libs/libass-0.9.10[enca?,fontconfig] virtual/ttf-fonts )
- libcaca? ( media-libs/libcaca )
- lirc? ( app-misc/lirc )
- mad? ( media-libs/libmad )
- mng? ( media-libs/libmng )
- mp3? ( media-sound/mpg123 )
- nut? ( >=media-libs/libnut-661 )
- png? ( media-libs/libpng )
- pnm? ( media-libs/netpbm )
- portaudio? ( >=media-libs/portaudio-19_pre20111121 )
- postproc? ( || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg ) )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( >=media-libs/libquvi-0.4.1 )
- rar? (
- || (
- app-arch/unrar
- app-arch/rar
- )
- )
- samba? ( net-fs/samba )
- sdl? ( media-libs/libsdl )
- speex? ( media-libs/speex )
- theora? ( media-libs/libtheora )
- vorbis? ( media-libs/libvorbis )
- xanim? ( media-video/xanim )
- xvid? ( media-libs/xvid )
- >=virtual/ffmpeg-0.10.2
- symlink? ( !media-video/mplayer )
-"
-ASM_DEP="dev-lang/yasm"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- >=dev-lang/python-2.7
- dev-python/docutils
- sys-devel/gettext
- X? (
- x11-proto/videoproto
- x11-proto/xf86vidmodeproto
- xinerama? ( x11-proto/xineramaproto )
- xscreensaver? ( x11-proto/scrnsaverproto )
- )
- amd64? ( ${ASM_DEP} )
- doc? (
- dev-libs/libxslt app-text/docbook-xml-dtd
- app-text/docbook-xsl-stylesheets
- )
- x86? ( ${ASM_DEP} )
- x86-fbsd? ( ${ASM_DEP} )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-py2compat.patch"
- "${FILESDIR}/${P}-cdio-api-fixes.patch"
-)
-
-pkg_setup() {
- if [[ ${PV} == *9999* ]]; then
- elog
- elog "This is a live ebuild which installs the latest from upstream's"
- elog "${VCS_ECLASS} repository, and is unsupported by Gentoo."
- elog "Everything but bugs in the ebuild itself will be ignored."
- elog
- fi
-
- if use cpudetection; then
- ewarn
- ewarn "You've enabled the cpudetection flag. This feature is"
- ewarn "included mainly for people who want to use the same"
- ewarn "binary on another system with a different CPU architecture."
- ewarn "MPlayer will already detect your CPU settings by default at"
- ewarn "buildtime; this flag is used for runtime detection."
- ewarn "You won't need this turned on if you are only building"
- ewarn "mplayer for this system. Also, if your compile fails, try"
- ewarn "disabling this use flag."
- fi
-
- if use !libass; then
- ewarn
- ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed."
- fi
-
- einfo "For various format support you need to enable the support on your ffmpeg package:"
- einfo " media-video/libav or media-video/ffmpeg"
-
- # https://bugs.gentoo.org/show_bug.cgi?id=434356#c4
- python_pkg_setup
- major=$(python_get_version --major)
- minor=$(python_get_version --minor)
- [[ ( ${major} -eq 2 && ${minor} -ge 7 ) || ${major} -ge 3 ]] \
- || die "Please eselect Python 2.7 or later"
-}
-
-src_prepare() {
- # fix path to bash executable in configure scripts
- local bash_scripts="configure version.sh"
- sed -i -e "1c\#!${EPREFIX}/bin/bash" \
- ${bash_scripts} || die
-
- if [[ -n ${NAMESUF} ]]; then
- sed -e "/^EXESUF/s,= \$_exesuf$,= ${NAMESUF}\$_exesuf," \
- -i configure || die
- sed -e "s/mplayer/${PN}/" \
- -i TOOLS/midentify.sh || die
- fi
-
- base_src_prepare
-}
-
-src_configure() {
- local myconf=""
- local uses i
-
- # mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
- # compilation in almost every situation. The reason for this is
- # because if --enable is used, it will force the build of that option,
- # regardless of whether the dependency is available or not.
-
- ###################
- #Optional features#
- ###################
- # disable tremor, it needs libvorbisidec and is for FPU-less systems only
- myconf+="
- --disable-tremor
- $(use_enable network networking)
- $(use_enable joystick)
- "
- uses="bluray enca ftp libass rtc vcd"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use ipv6 || myconf+=" --disable-inet6"
- use nut || myconf+=" --disable-libnut"
- use quvi || myconf+=" --disable-libquvi"
- use rar || myconf+=" --disable-unrarexec"
- use samba || myconf+=" --disable-smb"
- if ! use lirc; then
- myconf+="
- --disable-lirc
- --disable-lircc
- --disable-apple-ir
- "
- fi
-
- ########
- # CDDA #
- ########
- use cddb || myconf+=" --disable-cddb"
- use cdio || myconf+=" --disable-libcdio"
-
- ################################
- # DVD read, navigation support #
- ################################
- #
- # dvdread - accessing a DVD
- # dvdnav - navigation of menus
- #
- # use external libdvdcss, dvdread and dvdnav
- myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
- use dvd || myconf+=" --disable-dvdread"
- use dvdnav || myconf+=" --disable-dvdnav"
-
- #############
- # Subtitles #
- #############
- #
- # iconv optionally can use unicode
- use iconv || myconf+=" --disable-iconv --charset=noconv"
- use iconv && use unicode && myconf+=" --charset=UTF-8"
-
- #####################################
- # DVB / Video4Linux / Radio support #
- #####################################
- myconf+=" --disable-tv-bsdbt848"
- # v4l1 is gone since linux-headers-2.6.38
- myconf+=" --disable-tv-v4l1"
- if { use dvb || use v4l || use pvr || use radio; }; then
- use dvb || myconf+=" --disable-dvb"
- use pvr || myconf+=" --disable-pvr"
- use v4l || myconf+=" --disable-tv-v4l2"
- if use radio && { use dvb || use v4l; }; then
- myconf+="
- --enable-radio
- --disable-radio-capture
- "
- else
- myconf+="
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- "
- fi
- else
- myconf+="
- --disable-tv
- --disable-tv-v4l2
- --disable-radio
- --disable-radio-v4l2
- --disable-radio-bsdbt848
- --disable-dvb
- --disable-v4l2
- --disable-pvr"
- fi
-
- ##########
- # Codecs #
- ##########
- myconf+=" --disable-musepack" # deprecated, libavcodec Musepack decoder is preferred
- use dts || myconf+=" --disable-libdca"
- use mp3 || myconf+=" --disable-mpg123"
- uses="a52 bs2b dv vorbis"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-lib${i}"
- done
- uses="faad gif jpeg mad mng png pnm speex tga theora xanim xvid"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
-
- #################
- # Binary codecs #
- #################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
-
- ################
- # Video Output #
- ################
- uses="directfb md5sum sdl yuv4mpeg"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use libcaca || myconf+=" --disable-caca"
- use postproc || myconf+=" --disable-libpostproc"
-
- ################
- # Audio Output #
- ################
- myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only
- uses="alsa jack ladspa portaudio"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- #use openal && myconf+=" --enable-openal" # build fails
- use pulseaudio || myconf+=" --disable-pulse"
- if ! use radio; then
- use oss || myconf+=" --disable-ossaudio"
- fi
-
- ####################
- # Advanced Options #
- ####################
- # Platform specific flags, hardcoded on amd64 (see below)
- use cpudetection && myconf+=" --enable-runtime-cpudetection"
-
- for i in ${CPU_FEATURES//+/}; do
- myconf+=" $(use_enable ${i})"
- done
-
- use debug && myconf+=" --enable-debug=3"
-
- if use x86 && gcc-specs-pie; then
- filter-flags -fPIC -fPIE
- append-ldflags -nopie
- fi
-
- ###########################
- # X enabled configuration #
- ###########################
- use X || myconf+=" --disable-x11"
- uses="vdpau xinerama xv"
- for i in ${uses}; do
- use ${i} || myconf+=" --disable-${i}"
- done
- use opengl || myconf+=" --disable-gl"
- use lcms || myconf+=" --disable-lcms2"
- use xscreensaver || myconf+=" --disable-xss"
-
- ############################
- # OSX (aqua) configuration #
- ############################
- if use aqua; then
- myconf+="
- --enable-macosx-finder
- --enable-macosx-bundle
- "
- fi
-
- ./configure \
- --cc="$(tc-getCC)" \
- --pkg-config="$(tc-getPKG_CONFIG)" \
- --prefix="${EPREFIX}"/usr \
- --bindir="${EPREFIX}"/usr/bin \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- --confdir="${EPREFIX}"/etc/${PN} \
- --datadir="${EPREFIX}"/usr/share/${PN} \
- --mandir="${EPREFIX}"/usr/share/man \
- --localedir="${EPREFIX}"/usr/share/locale \
- --enable-translation \
- ${myconf} || die
-}
-
-src_compile() {
- # enable verbose build, bug #448196
- base_src_compile V=1
- use doc && emake -C DOCS/xml html-chunked
-}
-
-src_install() {
- local i
-
- emake \
- DESTDIR="${D}" \
- INSTALLSTRIP="" \
- install
-
- dodoc AUTHORS Copyright README etc/codecs.conf
-
- docinto tech/
- dodoc DOCS/tech/{*.txt,mpsub.sub,playtree}
- docinto TOOLS/
- dodoc -r TOOLS
-
- if use doc; then
- docinto html/
- dohtml -r "${S}"/DOCS/HTML/*
- fi
-
- insinto /etc/${PN}
- newins "${S}/etc/example.conf" mplayer.conf
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-# Config options can be section specific, global
-# options should go in the default section
-[default]
-_EOF_
- doins "${S}/etc/input.conf"
-
- # set unrar path when required
- if use rar; then
- cat >> "${ED}/etc/${PN}/mplayer.conf" << _EOF_
-unrarexec=${EPREFIX}/usr/bin/unrar
-_EOF_
- fi
- dosym ../../../etc/${PN}/mplayer.conf /usr/share/${PN}/mplayer.conf
-
- newbin "${S}/TOOLS/midentify.sh" midentify${NAMESUF}
-
- if [[ -n ${NAMESUF} ]]; then
- mv "${ED}/usr/share/man/man1/mplayer.1" "${ED}/usr/share/man/man1/mplayer${NAMESUF}.1" || die
-
- if use symlink; then
- dosym "${PN}" /usr/bin/mplayer
- dosym "midentify${NAMESUF}" /usr/bin/midentify
- fi
- fi
-}
diff --git a/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild b/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild
index eb253623678b..0787d409310c 100644
--- a/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild
+++ b/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild,v 1.5 2013/06/13 17:05:25 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20130126.ebuild,v 1.6 2013/06/13 19:32:28 ulm Exp $
EAPI=4
@@ -29,7 +29,7 @@ IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug
directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv
ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca lirc mad
md5sum mng +mp3 +network nut +opengl oss png pnm portaudio +postproc
-pulseaudio pvr +quicktime quvi radio +rar +rtc samba sdl +speex tga
+pulseaudio pvr quvi radio +rar +rtc samba sdl +speex tga
+theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
+xscreensaver +xv xvid yuv4mpeg
"
@@ -306,9 +306,7 @@ src_configure() {
#################
# Binary codecs #
#################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
+ myconf+=" --disable-qtx --disable-real --disable-win32dll"
################
# Video Output #
diff --git a/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild b/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild
index 632ff5833348..75210929f6ee 100644
--- a/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild
+++ b/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild,v 1.3 2013/06/13 17:05:25 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-2.0_p20130428.ebuild,v 1.4 2013/06/13 19:32:28 ulm Exp $
EAPI=5
@@ -22,14 +22,12 @@ LICENSE="GPL-3"
SLOT="0"
[[ ${PV} == *9999* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
-IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug
-directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv
-ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca lirc mad
-md5sum mng +mp3 +network nut +opengl oss png pnm portaudio +postproc
-pulseaudio pvr +quicktime quvi radio +rar +rtc samba sdl +speex tga
-+theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
-+xscreensaver +xv xvid yuv4mpeg
-"
+IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug directfb doc
++dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick
+jpeg kernel_linux ladspa lcms +libass libcaca lirc mad md5sum mng +mp3 +network
+nut +opengl oss png pnm portaudio +postproc pulseaudio pvr quvi radio +rar +rtc
+samba sdl +speex tga +theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
++xscreensaver +xv xvid yuv4mpeg"
IUSE+=" symlink"
CPU_FEATURES="3dnow 3dnowext altivec +mmx mmxext +shm sse sse2 ssse3"
@@ -309,9 +307,7 @@ src_configure() {
#################
# Binary codecs #
#################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
+ myconf+=" --disable-qtx --disable-real --disable-win32dll"
################
# Video Output #
diff --git a/media-video/mplayer2/mplayer2-9999.ebuild b/media-video/mplayer2/mplayer2-9999.ebuild
index ebf1bbab4523..d632231a07f5 100644
--- a/media-video/mplayer2/mplayer2-9999.ebuild
+++ b/media-video/mplayer2/mplayer2-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.58 2013/06/13 17:05:25 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer2/mplayer2-9999.ebuild,v 1.59 2013/06/13 19:32:28 ulm Exp $
EAPI=5
@@ -22,14 +22,12 @@ LICENSE="GPL-3"
SLOT="0"
[[ ${PV} == *9999* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
-IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug
-directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv
-ipv6 jack joystick jpeg kernel_linux ladspa lcms +libass libcaca lirc mad
-md5sum mng +mp3 +network nut +opengl oss png pnm portaudio +postproc
-pulseaudio pvr +quicktime quvi radio +rar +rtc samba sdl +speex tga
-+theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
-+xscreensaver +xv xvid yuv4mpeg
-"
+IUSE="+a52 +alsa aqua bluray bs2b cddb +cdio cpudetection debug directfb doc
++dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick
+jpeg kernel_linux ladspa lcms +libass libcaca lirc mad md5sum mng +mp3 +network
+nut +opengl oss png pnm portaudio +postproc pulseaudio pvr quvi radio +rar +rtc
+samba sdl +speex tga +theora +unicode v4l vcd vdpau +vorbis +X xanim xinerama
++xscreensaver +xv xvid yuv4mpeg"
IUSE+=" symlink"
CPU_FEATURES="3dnow 3dnowext altivec +mmx mmxext +shm sse sse2 ssse3"
@@ -309,9 +307,7 @@ src_configure() {
#################
# Binary codecs #
#################
- # bug 213836
- use quicktime || myconf+=" --disable-qtx"
- myconf+=" --disable-win32dll --disable-real"
+ myconf+=" --disable-qtx --disable-real --disable-win32dll"
################
# Video Output #