diff options
author | 2014-08-21 01:06:51 +0000 | |
---|---|---|
committer | 2014-08-21 01:06:51 +0000 | |
commit | 5f0feec54979f51a5956d3067408abbb82fbcd7a (patch) | |
tree | dc29376cf7743535c58b28d5bd10fc7f79ff9845 | |
parent | Mask some packages for musl/mipsel (diff) | |
download | historical-5f0feec54979f51a5956d3067408abbb82fbcd7a.tar.gz historical-5f0feec54979f51a5956d3067408abbb82fbcd7a.tar.bz2 historical-5f0feec54979f51a5956d3067408abbb82fbcd7a.zip |
Clean out old versions.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x08C170DE55EC123A
-rw-r--r-- | media-tv/mythtv/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 24 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20130322.ebuild | 347 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20130419.ebuild | 347 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild | 347 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20130630.ebuild | 347 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.26.0_p20130729.ebuild | 347 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27.1_p20140527.ebuild | 350 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27_p20130924.ebuild | 350 | ||||
-rw-r--r-- | media-tv/mythtv/mythtv-0.27_p20131124.ebuild | 350 |
10 files changed, 12 insertions, 2806 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index 21bbdf95de06..37ef58b16b9e 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-tv/mythtv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.419 2014/08/18 02:23:56 rich0 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.420 2014/08/21 01:06:42 rich0 Exp $ + + 21 Aug 2014; Richard Freeman <rich0@gentoo.org> + -mythtv-0.26.0_p20130322.ebuild, -mythtv-0.26.0_p20130419.ebuild, + -mythtv-0.26.0_p20130526.ebuild, -mythtv-0.26.0_p20130630.ebuild, + -mythtv-0.26.0_p20130729.ebuild, -mythtv-0.27_p20130924.ebuild, + -mythtv-0.27_p20131124.ebuild, -mythtv-0.27.1_p20140527.ebuild: + Clean out old versions. *mythtv-0.27.1_p20140817 (18 Aug 2014) diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index 19e2f76320a2..69c47d8d5639 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -12,39 +12,23 @@ AUX mythfrontend.wrapper 794 SHA256 db90ac5ff3bec3f2a81f376cc94c553d2cce026fd921 AUX mythtv.logrotate.d-r3 573 SHA256 07c97a5f83274061eafd371e03f55f9a526fae672f4f1bd6bc47a67317465888 SHA512 515f3fa9064fa97c99872b195b09fe67736194e544d7a348c0ebd3bd04336e7e921bfb72313d9004fad610cd09a94d3dc3cfeff144880d59747bf2c17b8c6458 WHIRLPOOL 12f56707552ab13ef2de6c219d486599b0fa86f93ffe720d012fc5a40ed70d1a7affaf94d4bb6a696163cb0457a108ac58f5ac74f4aaf00a482ede81e9e4d200 AUX mythtv.logrotate.d-r4 235 SHA256 322817abac79967e996f9afdd00b8814e38f51954babca910612127b8cfd5891 SHA512 8dd8936599acabfa55ad7efb870de431e03cb86c3c96156c2c0eee6675962dcc527391260f2ba66e3d54c1d41373001ef25c9d2421e83940c686d14b5f29fff7 WHIRLPOOL ea31e6635b0cd6dccc92878c6c1ec477c448ce894835a11e8131f8855c3f42c00cde91e5f4a3b97dd3aa1340a800453d4eb03e3b8db7a24bffdb342be42aa0e7 AUX xinitrc-r1 234 SHA256 0b335cc6d1e22d71f61bacfdcfed6cc450fecf7ff10bdb4bad50fd085bd7b2db SHA512 885adfe395fe553f6d5cf518856be7be9a6bf6073888f8e055271ed7c3d9ad85a162e9e9ff95a68e54047948ac280796c69ef55d0b4e549eb0beabbf0fec1188 WHIRLPOOL 6796d4d83ff200bd36cc02e3765222efd77dd7baa69ed9d6845b7ecb836fcd0b110f7ce644af1e2c4af3f76c4c924f7e69499b0b4f9f511ace31f3f9cc804240 -DIST mythtv-0.26.0-0af65f783516afc2072fefc1220202193b90785f.tar.xz 81928 SHA256 5ccdba3c16cc6c3bc442c1f9eff9e6f96f86188267f8e81c70d76404c2773d19 SHA512 e28d96a0a06ce5b481bbc727475b0360c03a3b6dea54a3a1ba9098ec49185953797830e1e0d012942aa3d21225c5d55180b7d6b9590f95fed3b36d53de5b6726 WHIRLPOOL 4ad67ea0db04526e987974a4b03ade2c26589f5d651cc15eac467b82d2fc35faf5bf6a85f0e8b0a7dee2d1934d074d43164d0da22db2c1ea2f7cc74b8a69dde7 -DIST mythtv-0.26.0-7150d64b6cf4d16ca0a0fd31d872ad2ba8dd0589.tar.xz 91092 SHA256 058d4601ff27338b3a38ddb6ab90ffd089598c57a1f64291f4d9ea9a4bd9d656 SHA512 a89fe368fca44135df3724bb04d0c80a2686b976ef7eecbd563e951984143acc85f01e73dd978cae69f3ad197d8297de686d1f4ef79de93f68aff52afdb43d9e WHIRLPOOL f4be3af7f421cc4641c98e46538a2bef35814835ad607a479415f7a402453a9b0f61166015e5a593a6015a80043fca61198ddb44971a7e22aff73be29478ad90 -DIST mythtv-0.26.0-7367cbc46553f565006ef0dc9c1e719276f2a969.tar.xz 160308 SHA256 6ff13b4f54fe6162f1a380aceca7574677142b0907d9a3a67b9b94506afc2893 SHA512 c30cba74fa5af5f5b3ec39f0c49652ac096f2f9b8395f538677348ca6830412370ceb1051ef4cebfdacb3078ca8f2ca458fa68cf79736a82b8be4f43ab5a6694 WHIRLPOOL 65415aa2ed58f6454f0d84b9dfd4555e34bed312ea8e604839ee9cc7891e09ec9084f3ed218089a36e93a7260c607feca2848aaca593a1ab1515836d866acae3 -DIST mythtv-0.26.0-8916cd7f6bf255a4325ede834b5e3d6e555b2338.tar.xz 111956 SHA256 94a4cfe76b433fa1b15c10ccb2ff5d498967ec3daa128d88aac1d9158a8e6e93 SHA512 6d4a44ff46fd2f24191e3d833a97ade488c2136740b1226b5f3bee4c7ff6315b06fb74fbc1711ceaf03d7d5ef1018bba8dda00b3097ecf140eeca0ffa835e7f8 WHIRLPOOL b88379363e7437bd82f7098c7659752814d6f778fae05259f7f2ddab60190901d918f161c909336931dc36a0f5967cf9f88bd56175fd2200fa6c76cbe760d85a DIST mythtv-0.26.0-9fd7c6102b2cd1a3760337663803b110446c6ea7.tar.xz 179540 SHA256 ae63398f1ea8884950eb4653c42f6bf71e504738112f5ac8f4d13c1988098d95 SHA512 599dab7a51e9e2f5e240e6d80aadf3bc1f89b8f83e0a5c2e6c82695926ef3f1b7694a73d95b0a296544f9642f1e070a809d86563a415498345a3c1049f269aa4 WHIRLPOOL 74c8aa8f2846eb67f88bddacf5d7c5aa0445e0fe2fbd0f6f2f284e51e1f2c024ca8b7ef22639b7e201b8304421859d7bab802a7d2fe9343ec40d36453f0bfa8e -DIST mythtv-0.26.0-a17d3f453b2528ec7d8da49c92b71f478f25f4a3.tar.xz 74112 SHA256 42d6dc5dbf78a427b9c715a1722c0870d7773e8c62d1db0f3023054a6479a0c9 SHA512 d5b077fa058740dedb1de0a555e8a39b35e3b92e54c0f522889956781cc55ebeae023dfe66b5b424b05b54b3802c99daf60f504819de0d527eb48ac45d652922 WHIRLPOOL 6811959166b9677444568eb857c0729dd1d74da378952197d099fc3c3c1eda459b350a414590d503741f4949f0eed158ddc78db627a4bdf643ac162f4a33b4c2 DIST mythtv-0.26.0.tar.bz2 40887666 SHA256 2f158962ca3009db563dabc32827c47788a688bd67a25abd76f4baa9c3cfe306 SHA512 8c8766542b6a1a877d400fd99343e8149d9c6cc4ab1e425db358bdbdc10b6cb7422bb4bdcf984ce64b2cf02b0ad0725606b266558afcadff9ec9c9bb95bb49c0 WHIRLPOOL c737a1dbdfafe65ae5ee3bde8d0b3a9ad50ebfccec784d6907c78d03f9732637cfbf8b82ecfca80af0b049c65d70c608a81ac3bf27a8070ba3f32d657f5137bb -DIST mythtv-0.27-552fdc0e1eb538db847f2aedd54a12764b609a76.tar.xz 209012 SHA256 c9b849d6bb4127015c96607a7aa112d30d5736843f5f40b1ace1867488aab76e SHA512 e334180935149a39c883de77b9d19668fd233aaf936898844e9e68fb4961b80ef946e2c3dd1f6dad6d0940f2a6efb5784c2c0b2c5a33aab6debe1a4fe3fa3513 WHIRLPOOL 7ffa35078d7f27bf705b5026435689fbb91f8b9b0c8509bf16e155a32f6ba3dd15d8bbbe192bd7037dcba4fc659fb6057a824841cc49917dad4277c8f4fe4261 DIST mythtv-0.27-583395f5a376637efcd408a102fa64d0f188c12f.tar.xz 298048 SHA256 2b18428980fe8951694eb9c8594aa2559df491b029987e1a4b983128fdea4f51 SHA512 1d8c2a61bd91d7116ba3b43251d517bda3c8db3c235e73dde66116dc02d14806db9c80bacf6e19eaf816c4765d8e51fe9b53900efa3112134c564c08cc0ca012 WHIRLPOOL 3d50908d085f844cd210c568b50c55c47e4fe8dd8423ffe18303a7c799a45e24dfceaa5221e6f59596394484162d9992f46d5f66b0ad3c57fbb5a240def68dec -DIST mythtv-0.27-d9561055abeec11fba234c9bdfbde5e79e695803.tar.xz 185868 SHA256 a7ef60df55f60a20a66cee2f0f0fb48840060fc73269e9ee8cb12df3b3a1deff SHA512 353b8acf847e0e35c96759ba90dce50e58e9cf24d5ff96f42fcf2d8e09e36da57fa8394512375a3c598fbf1aa066ac5137781d866f4401b60591b6bc94e52e3b WHIRLPOOL 29804d3d792b33640ae8a2cf908a2a799148051e05a8bdefc7467854c0bac6268efdde5b41536f2316f80f317f41a2011192e99d6fb14b979431a961868716dd DIST mythtv-0.27.1-082d5c1fbccd48dd862f14007c0445dee8502f3d.tar.xz 161652 SHA256 271c12af8bdf6188f1a11f07ac7c3ad45374cc60211e4a005975af66d5421739 SHA512 ed7ecb9fc5d3abe592e195309d88979a41132ebd99e92e59e2471f17c3f5da089cc5846d817a5228657cef37fade5724f9ac8f0e335ec45855158996a2317016 WHIRLPOOL 86a99cc0a74c75789a98e18fd57b5627b59c650da02602d947a8ccd854ed2bf210e76bf858bc16a2a6fd93763149257ae0e3ea95f44aecf0916b5f1a2b81460d -DIST mythtv-0.27.1-4f4b6744637cceafd5ec6d82e24a9c34ba7c93b5.tar.xz 544 SHA256 68cd596983c64755bd2117c9348e080248344092f6ad7abf2a37f5681f4a6940 SHA512 40e6be3cad2c88b5317929170c81a5cfe192e84ed929be2b74b4c9c35266a6016cdf06fd6f512f4ac5f45a83d08cd0911a8470093fc8f2aa67ca614582b44d7a WHIRLPOOL c3a2bba4bd97a13d998a7036ad92ab988ed899ed49c51b50d36321fdf6da3e37c48e0eded3fcc182e2b07dd8aea7bbfbd95adb5ef32153b887bab7656c351ee8 DIST mythtv-0.27.1-aaae611819c6a6f92a55d5c82efb8738ec9a23df.tar.xz 148364 SHA256 ca09cf37ef0bf8b4ca2ff54416b66126229680bef7e687f6b1f0b215250c0f12 SHA512 bc5d719a10e683b13170975d39d2d57547f7935007697c3f1d002067bffb63fe1b6375e834c4c0aea765c54ef35085d6f46cea1b5744605eae616d939fcb795d WHIRLPOOL 5ff8be973fe9a59cab833025e3cfe5c38dd8a3b4a9af83e2a584350f9b5389d82ec32738f66d91c633fa3f01dbf27c69d723023c72e554e1feec2687a3cdfb1a DIST mythtv-0.27.1.tar.gz 85612356 SHA256 a7039ba46347f1d6a0ed392a53117639c8cba6bc458a6ad30082046d8ad85de7 SHA512 f2c79765948c0a00c7a92f24d2315b5af3044333f67ed8925a59c5bebbdebf98792ef05e2bc8864bfbe77be8cc8ff530e3f4e8761320cfe5ed21369341d8915e WHIRLPOOL 938e0e77070473a523323fe64e40eb416809b40b16943d66a5914d65caa7530dd4b5ba5209919050a7b4968c9e5ca5155ee970f165b39a5c77392debb20bf0ad DIST mythtv-0.27.tar.gz 85904162 SHA256 494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0 SHA512 2ea070497a7610b8e1548112d9925a28aeedba819c2d063e88cc63daf69947379ce7213e357c26bf2221f8a8e865c937dee3b9bf2695644f2f1adeadf6d11116 WHIRLPOOL 74c4fade0d0f93a64e5f1da3120358f15f6f8891f53b7c74b41a286369e192790cae87829b79a3a90ce3ca23ede63b3dfa809b514b68cee220432794414b8a47 -EBUILD mythtv-0.26.0_p20130322.ebuild 9370 SHA256 827893d3096d647cb18e2497d10af24ca12cad9f932487d3778b67aaef0e7df2 SHA512 269c84471c88f2446d44de026204cad8b8d5789339b1bf442cdacc30afbc85497dafd0d23090e401d09b26ff5089a1b4e952f64f28133205cab64261813f9a9e WHIRLPOOL 8dd949becc47c8745e18ab0ddc37b335fa2d3772d204b79406c0a959e593331193671e2fd511c02f6524f80faae727c811b3b3e42c04cc32a988fa0c706d373e -EBUILD mythtv-0.26.0_p20130419.ebuild 9370 SHA256 544628d614cba257e0a92be245e15e95781829eaa9c7b22735c94c1d5aa0f0c7 SHA512 835038d9f879adf7261f4dc4c2053a128a11b854b198c3e80575533b9437f87fe87b0ed459b283365d18c71d97ea74d55fe1e9dbc91015aa0c00be29c6a6448a WHIRLPOOL d24e5ca494a65845c171818a54b797cb91388afca8b272cacc783cc1dea254c09dacc9aac44a3c78ee446ad6d5e02da16a48b031ebcc411fae4908737f62b11c -EBUILD mythtv-0.26.0_p20130526.ebuild 9446 SHA256 80980f04c1d2beabca0ca9e278a4ff2e001eb9d94bb54d8e799c253c22720f6e SHA512 94dad09fbbed37a7bf2e4a2433f5334944ae9018c5cb224a6e8cb2c05d54e9e4db0571faa798c075b61d975aca654b40dd59861352f7e3d289ad5bd77d82ed0d WHIRLPOOL 2e4be936c2d5cd9683626e0c695f404ca9953450dfe88578ff3e2f3c6e4b879e48afb82c9e911f63af8551e45d9aa0dddac66a896bcc5036c7d240d6c697e459 -EBUILD mythtv-0.26.0_p20130630.ebuild 9445 SHA256 8abb5585ddc80a8a9472725609fffb71c4da485c1eb4c672f0032e5090504af9 SHA512 b7fccfdbb29a7b21abf6edd88b7fed8ccd3cab76b60f036b7448b8292618c457a8c3817d470993d11842d9cd97dbb81f76e2f0c19217c51b0a5f670e787cf0b7 WHIRLPOOL 35b5b30888b47e10dc3ef15bdc7082b7db569791adb6ea1b2215c27e5a9a41590df1a3a88ff595a97cf5e92cc297ce8318114efa2470f122981f915f6e0767fc -EBUILD mythtv-0.26.0_p20130729.ebuild 9446 SHA256 1f37b5c03a5ff5e11c7314713ac9a122f818f93573954d6e98dae9d379184481 SHA512 147321214aa4de8fa57043c3540beaf92b80ad8bc3a34391b12c726a2c4f4a31105ef9eb55b685cc7c8fb15dd99bc248afd87a1ccd5a77fd1030624a3a7cdc9f WHIRLPOOL 203fbf79798ea683e5413e4a4c99225d92f23c3c1b6ad570381d1d8e6e5b91dc326d6c911d66596cecea55dc47d587a03cea8e360ef3426bed5193f331edd8c1 EBUILD mythtv-0.26.0_p20130922.ebuild 9442 SHA256 64dc34bf73e2a4b21ecc7dc75bed0ea5d6216000a0175a1810338b44daf1b70a SHA512 b090125e0675f00b8d59dd7d4bf8a17eea47a77b8e351be85ca33eab768c251f8202a1e47ae95ce2a7f23b38113e7463cbdff03acfdc22e1df3852646915a48d WHIRLPOOL 28f5e6aef48a2a80d3323ee0b5e9bdd1f68746a85cb74842060dfb5c6901ff2417f93f5505c6076bc3e45f0f6a309bd7f9b3c4d9c17b29caeaf4b3e8435dfd48 -EBUILD mythtv-0.27.1_p20140527.ebuild 9619 SHA256 b291104df60dcdf312111eb634c1cbf70691681cd9738cdb044aabeb07b7e797 SHA512 d15c38418a0bf3010e52306d121c7da07ad99c675cbef2d8f1bb27a9c272ed94c6bb1f9d21e64e8886c91f6008593fa02d9b6fe643658afea2ddab3672c0ecaa WHIRLPOOL e731f9447106176670359efc4b924f8fda0b19fbd288b8a7a066af0530c87e193af45833e2e4a625444553fc6788dc41fa7323e53fc3b61cbd64b239db2bcc9d EBUILD mythtv-0.27.1_p20140713.ebuild 9619 SHA256 1055d58fba1c71af6cf9564ab430abddc8c60a75e702091993e5364facf445e3 SHA512 6e45af4bc483fe304117f7da0676f5f18832f8fbbb043ea9dcfbd3ac343e26b09d84ec6637939b54e0e5f20a3ba0baaa199c851a3d41b76b5a334b15e6d71e99 WHIRLPOOL c9b29656ecc79f8ba250665136b4cf748d01b31e26fd3643d66135433e6b6689adb66b4ac29f92599e656d61358e57055c156711cf8d338a25d15774b38fa036 EBUILD mythtv-0.27.1_p20140817.ebuild 9754 SHA256 0ae38a927734ec5565cac0aeed26dde5a08c6beff8c17ffb3ece4f79cd0af92d SHA512 7264b615f5e06f51b35a9c920dedf3c93738f80d173f9f761b9c9abb59af21926cde32f9a790a4025b0431faa7416ef954aa6cad5e67f3f5a9c3611ed0af7fe1 WHIRLPOOL 787bd40f3fc6fb927fc17fdcb165594a35fd21310b32e9e4c26c4426094f0cfbbae6a7453d07d04e1d41292cc714b7da24ed70fa1467772b3a4351be69422b38 -EBUILD mythtv-0.27_p20130924.ebuild 9613 SHA256 df992a313f12f66cdc0b2ba0b9aa98acbbb9b69e124fe043eefb2e835044584d SHA512 177314ccc30a5b9dd2769ea88bc29f9872cab5fa63e69762218c2d74c8aab706b5c15e80c7de651a6f0487d1ddb1f9693448286f28f47d11a9e40032aea669f6 WHIRLPOOL 3a7bce6e511d8a706a0fa0937b40138f90cd98abac29807e6dd2344e8def8b07b1a9d072066d30c084b26db4269f31d8de87f2f3fc3cbd3b483e04768777066b -EBUILD mythtv-0.27_p20131124.ebuild 9611 SHA256 a38b9c6f1bf4df991ac284f0a1793f70ebaaef5af0d26b1e774ee248663ddbe6 SHA512 1ed09b766b91c65fee439f8e5ec22c4f3da15d996283408a6a60e2170cab57dea6aed3eaafbc0b613e15165c65d6de5e2874feb02cd32d9ca7032360f2273d94 WHIRLPOOL 55fa244d1b41633a3520c99e977354b706f6a8e5b95db82627d16e64b866de3cf5244d2a32dba8ffd1790a0e1c47a34c964b9d8b3618907d68f62783ef0be504 EBUILD mythtv-0.27_p20140321.ebuild 9610 SHA256 f8b9507333513388eb8c28ea9967107d38bdc013cba68e073daafea2ab7c6f10 SHA512 f308252a5c97abecda58615e04ddfa4a8da9689894e487e654d9e18b62c307cc0377313e7136ed8ad953b45f68823e656330db91438accd7f1d7cfba73fe93c4 WHIRLPOOL 9d4cd98bbb88094f05349bfb7b2589a26c85cd262aeafbad26a61d3d7119a1a409dede2cfad06147d4e49753508f99cbeae183c130d1e092f2a1de50172cdfcb -MISC ChangeLog 80731 SHA256 5568c94ff6e111f4047316bb4485eaf8c01cbc2f5b891c66fbb14686965ac868 SHA512 839771c0d9aaa37e5afa88546d3ca03e908b07e1bff923fee045a3738d7291e66d34fca4387fbb88717a0bc1e64f0df0621e3c129735138ed541284a98773282 WHIRLPOOL f26f06785659367b1ce6446d7885247498517dab7e01c433d544df4f087eb3df005aa79f1cdffe10dee22a27ed7dae10cd37c5036c3afa125dff0a45789b39a1 +MISC ChangeLog 81076 SHA256 186d08caa52dfd3ed7cb74e8e92f5dad077eb51ce73c68a3ed9aa3571d6d0e02 SHA512 fb88cf94fe9bccd2350918bc364e4e87a709b6147ef6135e826b9ff86bb0d7226c6e1274d5d2e655d17ff457d3154708c156a16897c0accf8374e8af4b0b8cff WHIRLPOOL c11220f58ef4cb98338b29c0ca8ad59dffd38bd7c4263d257a7035d86bbaa228303eaf375dc161ed680575a3ea70e237d4e5108eea5110e9a75e1b12564627a8 MISC metadata.xml 3059 SHA256 308c6478dbd4d51cde2ab71499cc6e5d64a43429a8dd64706a019794e1203344 SHA512 d3877525c6d139eb9d40efafa9f9c8df4961eabada85b085582f739efa09f210b90de8aa075595ea4a71cddf181bf2037bb3d52e1088aef9506978719881ea7b WHIRLPOOL 866a87dc01636ada42439f7d27c58463b98244ec91d3a9ab2e8b5af2dacf47a32d592d389a1abe40251c6be03d398e1173d2ada3ba1b50500a011ccd52622270 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlPxY8QACgkQCMFw3lXsEjo9aAD/YIqOhTCm2B/KxiB6AqIUJfaK -n3fwUrQuGeV1kEhOrFwA/2NjUODiqj/D7x6erc6ixIKd2ixaT/o0IAlNBZyRD9S9 -=uN8P +iF4EAREIAAYFAlP1RicACgkQCMFw3lXsEjrs6QEAoWmo9rtMRuh66+hXCIooDekB +u40j4sPwxYQLF+aah/EBALtj8I5Ww808D+t8GJ3blZSXi7UvXw+dlx7sMjEFibM1 +=XLny -----END PGP SIGNATURE----- diff --git a/media-tv/mythtv/mythtv-0.26.0_p20130322.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20130322.ebuild deleted file mode 100644 index 597bf00cf0ef..000000000000 --- a/media-tv/mythtv/mythtv-0.26.0_p20130322.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130322.ebuild,v 1.1 2013/03/29 20:53:39 rich0 Exp $ - -EAPI=4 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="a17d3f453b2528ec7d8da49c92b71f478f25f4a3" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user - -MYTHTV_VERSION="v0.26.0" -MYTHTV_BRANCH="fixes/0.26" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0 - sys-libs/zlib - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXinerama - x11-libs/libXv - x11-libs/libXrandr - x11-libs/libXxf86vm - >=dev-qt/qtcore-4.7.2:4 - >=dev-qt/qtdbus-4.7.2:4 - >=dev-qt/qtgui-4.7.2:4 - >=dev-qt/qtscript-4.7.2:4 - >=dev-qt/qtsql-4.7.2:4[mysql] - >=dev-qt/qtopengl-4.7.2:4[egl?] - >=dev-qt/qtwebkit-4.7.2:4 - x11-misc/wmctrl - virtual/mysql - virtual/opengl - alsa? ( >=media-libs/alsa-lib-1.0.24 ) - bluray? ( - dev-libs/libcdio - media-libs/libbluray - ) - cec? ( dev-libs/libcec ) - dvb? ( - media-libs/libdvb - virtual/linuxtv-dvb-headers - ) - dvd? ( dev-libs/libcdio ) - egl? ( media-libs/mesa[egl] ) - fftw? ( sci-libs/fftw:3.0 ) - hls? ( - media-libs/faac - media-libs/libvpx - >=media-libs/x264-0.0.20111220 - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0 - >=sys-libs/libavc1394-0.5.3 - >=media-libs/libiec61883-1.0.0 - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11 ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora ) - vaapi? ( x11-libs/libva ) - vdpau? ( x11-libs/libvdpau ) - vorbis? ( >=media-libs/libvorbis-1.0 ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - use vaapi && myconf="${myconf} --enable-vaapi" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.26.0_p20130419.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20130419.ebuild deleted file mode 100644 index 05f4b2c3e9cd..000000000000 --- a/media-tv/mythtv/mythtv-0.26.0_p20130419.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130419.ebuild,v 1.1 2013/05/01 14:56:47 rich0 Exp $ - -EAPI=4 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="0af65f783516afc2072fefc1220202193b90785f" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user - -MYTHTV_VERSION="v0.26.0" -MYTHTV_BRANCH="fixes/0.26" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0 - sys-libs/zlib - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXinerama - x11-libs/libXv - x11-libs/libXrandr - x11-libs/libXxf86vm - >=dev-qt/qtcore-4.7.2:4 - >=dev-qt/qtdbus-4.7.2:4 - >=dev-qt/qtgui-4.7.2:4 - >=dev-qt/qtscript-4.7.2:4 - >=dev-qt/qtsql-4.7.2:4[mysql] - >=dev-qt/qtopengl-4.7.2:4[egl?] - >=dev-qt/qtwebkit-4.7.2:4 - x11-misc/wmctrl - virtual/mysql - virtual/opengl - alsa? ( >=media-libs/alsa-lib-1.0.24 ) - bluray? ( - dev-libs/libcdio - media-libs/libbluray - ) - cec? ( dev-libs/libcec ) - dvb? ( - media-libs/libdvb - virtual/linuxtv-dvb-headers - ) - dvd? ( dev-libs/libcdio ) - egl? ( media-libs/mesa[egl] ) - fftw? ( sci-libs/fftw:3.0 ) - hls? ( - media-libs/faac - media-libs/libvpx - >=media-libs/x264-0.0.20111220 - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0 - >=sys-libs/libavc1394-0.5.3 - >=media-libs/libiec61883-1.0.0 - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11 ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora ) - vaapi? ( x11-libs/libva ) - vdpau? ( x11-libs/libvdpau ) - vorbis? ( >=media-libs/libvorbis-1.0 ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - use vaapi && myconf="${myconf} --enable-vaapi" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild deleted file mode 100644 index 2eac35e49d20..000000000000 --- a/media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130526.ebuild,v 1.2 2013/06/10 21:00:43 rich0 Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="7150d64b6cf4d16ca0a0fd31d872ad2ba8dd0589" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user - -MYTHTV_VERSION="v0.26.0" -MYTHTV_BRANCH="fixes/0.26" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - use vaapi && myconf="${myconf} --enable-vaapi" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.26.0_p20130630.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20130630.ebuild deleted file mode 100644 index 11ad009ebb07..000000000000 --- a/media-tv/mythtv/mythtv-0.26.0_p20130630.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130630.ebuild,v 1.2 2013/08/03 11:20:57 rich0 Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="8916cd7f6bf255a4325ede834b5e3d6e555b2338" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user - -MYTHTV_VERSION="v0.26.0" -MYTHTV_BRANCH="fixes/0.26" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - use vaapi && myconf="${myconf} --enable-vaapi" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.26.0_p20130729.ebuild b/media-tv/mythtv/mythtv-0.26.0_p20130729.ebuild deleted file mode 100644 index c421b0d854c1..000000000000 --- a/media-tv/mythtv/mythtv-0.26.0_p20130729.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.26.0_p20130729.ebuild,v 1.1 2013/08/03 11:34:19 rich0 Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="7367cbc46553f565006ef0dc9c1e719276f2a969" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user - -MYTHTV_VERSION="v0.26.0" -MYTHTV_BRANCH="fixes/0.26" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - use vaapi && myconf="${myconf} --enable-vaapi" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.27.1_p20140527.ebuild b/media-tv/mythtv/mythtv-0.27.1_p20140527.ebuild deleted file mode 100644 index d8906215abb1..000000000000 --- a/media-tv/mythtv/mythtv-0.27.1_p20140527.ebuild +++ /dev/null @@ -1,350 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.27.1_p20140527.ebuild,v 1.1 2014/06/01 12:10:09 rich0 Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="4f4b6744637cceafd5ec6d82e24a9c34ba7c93b5" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27.1" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.1.tar.gz -> mythtv-0.27.1.tar.gz - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.27_p20130924.ebuild b/media-tv/mythtv/mythtv-0.27_p20130924.ebuild deleted file mode 100644 index bacb342b9219..000000000000 --- a/media-tv/mythtv/mythtv-0.27_p20130924.ebuild +++ /dev/null @@ -1,350 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.27_p20130924.ebuild,v 1.4 2013/10/24 03:21:30 patrick Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="d9561055abeec11fba234c9bdfbde5e79e695803" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.tar.gz -> mythtv-0.27.tar.gz - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} diff --git a/media-tv/mythtv/mythtv-0.27_p20131124.ebuild b/media-tv/mythtv/mythtv-0.27_p20131124.ebuild deleted file mode 100644 index 48cdd7c9dcba..000000000000 --- a/media-tv/mythtv/mythtv-0.27_p20131124.ebuild +++ /dev/null @@ -1,350 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.27_p20131124.ebuild,v 1.1 2013/11/27 02:51:54 rich0 Exp $ - -EAPI=5 - -PYTHON_DEPEND="python? 2:2.6" -BACKPORTS="552fdc0e1eb538db847f2aedd54a12764b609a76" -MY_P=${P%_p*} - -inherit flag-o-matic multilib eutils python user systemd - -MYTHTV_VERSION="v0.27" -MYTHTV_BRANCH="fixes/0.27" - -DESCRIPTION="Homebrew PVR project" -HOMEPAGE="http://www.mythtv.org" -SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.tar.gz -> mythtv-0.27.tar.gz - ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" - -IUSE_INPUT_DEVICES="input_devices_joystick" -IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \ -egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python raop +theora \ -vaapi vdpau +vorbis +xml xmltv +xvid ${IUSE_INPUT_DEVICES}" - -REQUIRED_USE=" - bluray? ( xml ) - theora? ( vorbis )" - -COMMON=" - >=media-libs/freetype-2.0:= - sys-libs/zlib:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXinerama:= - x11-libs/libXv:= - x11-libs/libXrandr:= - x11-libs/libXxf86vm:= - >=dev-qt/qtcore-4.7.2:4= - >=dev-qt/qtdbus-4.7.2:4= - >=dev-qt/qtgui-4.7.2:4= - >=dev-qt/qtscript-4.7.2:4= - >=dev-qt/qtsql-4.7.2:4=[mysql] - >=dev-qt/qtopengl-4.7.2:4=[egl?] - >=dev-qt/qtwebkit-4.7.2:4= - x11-misc/wmctrl:= - virtual/mysql:= - virtual/opengl:= - alsa? ( >=media-libs/alsa-lib-1.0.24:= ) - bluray? ( - dev-libs/libcdio:= - media-libs/libbluray:= - ) - cec? ( dev-libs/libcec:= ) - dvb? ( - media-libs/libdvb:= - virtual/linuxtv-dvb-headers:= - ) - dvd? ( dev-libs/libcdio:= ) - egl? ( media-libs/mesa:=[egl] ) - fftw? ( sci-libs/fftw:3.0= ) - hls? ( - media-libs/faac:= - media-libs/libvpx:= - >=media-libs/x264-0.0.20111220:= - >=media-sound/lame-3.93.1 - ) - ieee1394? ( - >=sys-libs/libraw1394-1.2.0:= - >=sys-libs/libavc1394-0.5.3:= - >=media-libs/libiec61883-1.0.0:= - ) - jack? ( media-sound/jack-audio-connection-kit ) - lcd? ( app-misc/lcdproc ) - libass? ( >=media-libs/libass-0.9.11:= ) - lirc? ( app-misc/lirc ) - perl? ( - dev-perl/DBD-mysql - dev-perl/Net-UPnP - dev-perl/LWP-Protocol-https - dev-perl/HTTP-Message - dev-perl/IO-Socket-INET6 - >=dev-perl/libwww-perl-5 - ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( - dev-python/mysql-python - dev-python/lxml - dev-python/urlgrabber - ) - raop? ( - dev-libs/openssl:= - net-dns/avahi[mdnsresponder-compat] - ) - theora? ( media-libs/libtheora:= media-libs/libogg:= ) - vaapi? ( x11-libs/libva:= ) - vdpau? ( x11-libs/libvdpau:= ) - vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= ) - xml? ( >=dev-libs/libxml2-2.6.0:= ) - xvid? ( >=media-libs/xvid-1.1.0:= ) - !media-tv/mythtv-bindings - !x11-themes/mythtv-themes - media-libs/taglib:= - dev-libs/glib:= - " - -RDEPEND="${COMMON} - media-fonts/corefonts - media-fonts/dejavu - media-fonts/liberation-fonts - x11-apps/xinit - autostart? ( - net-dialup/mingetty - x11-wm/evilwm - x11-apps/xset - ) - dvd? ( media-libs/libdvdcss:= ) - xmltv? ( >=media-tv/xmltv-0.5.43 ) - " - -DEPEND="${COMMON} - dev-lang/yasm - x11-proto/xineramaproto - x11-proto/xf86vidmodeproto - " - -S="${WORKDIR}/${MY_P}/mythtv" - -MYTHTV_GROUPS="video,audio,tty,uucp" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} - usermod -a -G ${MYTHTV_GROUPS} mythtv -} - -src_prepare() { - [[ -n ${BACKPORTS} ]] && \ - EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \ - epatch - - # Perl bits need to go into vender_perl and not site_perl - sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \ - -i "${S}"/bindings/perl/Makefile - - # Fix up the version info since we are using the fixes/${PV} branch - echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION - echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION - - echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro - - epatch "${FILESDIR}/libdir-27.patch" - - epatch_user -} - -src_configure() { - local myconf= - - # Setup paths - myconf="${myconf} --prefix=${EPREFIX}/usr" - myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)" - myconf="${myconf} --libdir-name=$(get_libdir)" - myconf="${myconf} --mandir=${EPREFIX}/usr/share/man" - - # Audio - myconf="${myconf} $(use_enable alsa audio-alsa)" - myconf="${myconf} $(use_enable jack audio-jack)" - use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput" - - use altivec || myconf="${myconf} --disable-altivec" - myconf="${myconf} $(use_enable dvb)" - myconf="${myconf} $(use_enable ieee1394 firewire)" - myconf="${myconf} $(use_enable lirc)" - myconf="${myconf} $(use_enable xvid libxvid)" - myconf="${myconf} --dvb-path=/usr/include" - myconf="${myconf} --enable-xrandr" - myconf="${myconf} --enable-xv" - myconf="${myconf} --enable-x11" - myconf="${myconf} --enable-nonfree" - use cec || myconf="${myconf} --disable-libcec" - use raop || myconf="${myconf} --disable-libdns-sd" - myconf="${myconf} $(use_enable theora libtheora)" - myconf="${myconf} $(use_enable vorbis libvorbis)" - - if use hls; then - myconf="${myconf} --enable-libmp3lame" - myconf="${myconf} --enable-libx264" - myconf="${myconf} --enable-libvpx" - myconf="${myconf} --enable-libfaac" - fi - - if use perl && use python; then - myconf="${myconf} --with-bindings=perl,python" - elif use perl; then - myconf="${myconf} --without-bindings=python" - myconf="${myconf} --with-bindings=perl" - elif use python; then - myconf="${myconf} --without-bindings=perl" - myconf="${myconf} --with-bindings=python" - else - myconf="${myconf} --without-bindings=perl,python" - fi - - use python && myconf="${myconf} --python=$(PYTHON)" - - if use debug; then - myconf="${myconf} --compile-type=debug" - else - myconf="${myconf} --compile-type=profile" - #myconf="${myconf} --enable-debug" does nothing per sphery - #myconf="${myconf} --disable-stripping" does nothing per sphery - fi - - # Video - use vdpau && myconf="${myconf} --enable-vdpau" - myconf="${myconf} $(use_enable vaapi)" - use crystalhd && myconf="${myconf} --enable-crystalhd" - - # Input - use input_devices_joystick || myconf="${myconf} --disable-joystick-menu" - - # Clean up DSO load times and other compiler bits - myconf="${myconf} --enable-symbol-visibility" - myconf="${myconf} --enable-pic" - - # CPU settings - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" - myconf="${myconf} --cpu=${i}" - break - done - - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)" - myconf="${myconf} --cross-prefix=${CHOST}-" - fi - - # Build boosters - has distcc ${FEATURES} || myconf="${myconf} --disable-distcc" - has ccache ${FEATURES} || myconf="${myconf} --disable-ccache" - - chmod +x ./external/FFmpeg/version.sh - - einfo "Running ./configure ${myconf}" - ./configure \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - ${myconf} || die "configure died" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "install failed" - dodoc AUTHORS UPGRADING README - - insinto /usr/share/mythtv/database - doins database/* - - newinitd "${FILESDIR}"/mythbackend.init mythbackend - newconfd "${FILESDIR}"/mythbackend.conf mythbackend - systemd_dounit "${FILESDIR}"/mythbackend.service - - dodoc keys.txt - - keepdir /etc/mythtv - chown -R mythtv "${ED}"/etc/mythtv - keepdir /var/log/mythtv - chown -R mythtv "${ED}"/var/log/mythtv - dodir /var/log/mythtv/old - - insinto /etc/logrotate.d - newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv - - insinto /usr/share/mythtv/contrib - doins -r contrib/* - - # Install our mythfrontend wrapper which is similar to Mythbuntu's - mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real" - newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend - newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend - - if use autostart; then - dodir /etc/env.d/ - echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv - - insinto /home/mythtv - newins "${FILESDIR}"/bash_profile .bash_profile - newins "${FILESDIR}"/xinitrc-r1 .xinitrc - fi - - # Make Python files executable - find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do - if [[ ! "${file##*/}" = "__init__.py" ]]; then - chmod a+x "${file}" - fi - done - - # Ensure that Python scripts are executed by Python 2 - python_convert_shebangs -q -r 2 "${ED}/usr/share/mythtv" - - # Make shell & perl scripts executable - find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \ - while read file; do - chmod a+x "${file}" - done -} - -pkg_preinst() { - export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/" -} - -pkg_postinst() { - use python && python_mod_optimize MythTV - - elog "To have this machine operate as recording host for MythTV, " - elog "mythbackend must be running. Run the following:" - elog "rc-update add mythbackend default" - elog - elog "Your recordings folder must be owned 'mythtv'. e.g." - elog "chown -R mythtv /var/lib/mythtv" - - elog "Want mythfrontend to start automatically?" - elog "Set USE=autostart. Details can be found at:" - elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html" -} - -pkg_postrm() { - use python && python_mod_cleanup MythTV -} - -pkg_info() { - if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then - "${EROOT}"/usr/bin/mythfrontend --version - fi -} - -pkg_config() { - echo "Creating mythtv MySQL user and mythconverg database if it does not" - echo "already exist. You will be prompted for your MySQL root password." - "${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql -} |