summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-12-27 18:58:20 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-12-27 18:58:20 +0000
commitaf9545be8b0ec6cfb6114d394430a21c742432bd (patch)
tree3c3942241390cbda1423eb3e4dbfd6be13891b77 /media-video
parentmasked =vdr-1.7.34, all plugins broken yet (diff)
downloaddevel-af9545be8b0ec6cfb6114d394430a21c742432bd.tar.gz
devel-af9545be8b0ec6cfb6114d394430a21c742432bd.tar.bz2
devel-af9545be8b0ec6cfb6114d394430a21c742432bd.zip
bump
(Portage version: 2.1.11.31/svn/Linux i686, signed Manifest commit with key 34C2808A) svn path=/vdr-devel/; revision=1095
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vdr/ChangeLog6
-rw-r--r--media-video/vdr/Manifest12
-rw-r--r--media-video/vdr/files/vdr-1.7.34_gentoo.patch65
-rw-r--r--media-video/vdr/vdr-1.7.34.ebuild396
4 files changed, 475 insertions, 4 deletions
diff --git a/media-video/vdr/ChangeLog b/media-video/vdr/ChangeLog
index d0509db..925793a 100644
--- a/media-video/vdr/ChangeLog
+++ b/media-video/vdr/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*vdr-1.7.34 (27 Dec 2012)
+
+ 27 Dec 2012; Joerg Bornkessel <hd_brummy@gentoo.org> +vdr-1.7.34.ebuild,
+ +files/vdr-1.7.34_gentoo.patch:
+ bump
+
*vdr-1.7.33-r1 (26 Dec 2012)
26 Dec 2012; Joerg Bornkessel <hd_brummy@gentoo.org> +vdr-1.7.33-r1.ebuild,
diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest
index 81ca491..57e145c 100644
--- a/media-video/vdr/Manifest
+++ b/media-video/vdr/Manifest
@@ -11,6 +11,7 @@ AUX vdr-1.7.27_linguas-v2.diff 937 SHA256 d07252828f226bd8e63c7958629c4fe69102c3
AUX vdr-1.7.30_parallel-install.patch 571 SHA256 732622f0961d4022ecfbaee3bdd48f42b99c5e8cdd4ecfcd269368143cdb9cb2 SHA512 a24c455160ec0eca9891f404de7f9a8074c7045453ce935e3c34dc7671dd46b6ae534a245fe1a9e62093c98db71b63e0eb81475b167e7b52f303396b4f8b2844 WHIRLPOOL 52a813da23d649179a94ec39a80a824eb749fb91b5b2029effcfd0560b316cd570dfec80d7a64e9649cfb5ea074fcca17b6375fa218831d02eeb38f2491dcc51
AUX vdr-1.7.32_parallel-install.patch 459 SHA256 c900409f3b6875e1041f49a88e8c6bb25eb0ce0db8f05ba52904156abb9ac2f7 SHA512 87dc877859c304a57562da126a49e09f4187a445fb3ac228345b56120c8319107eea8757d41ef42d40d9447c74ce5623aa5bb88196de2aa514a4306f340eb154 WHIRLPOOL dead51be701d03c9dd9cf7bee4ce8838ce539f040de5a759a76ecbd41714dbc0600e56dc8ea84e542267e9c97953be60a82df6a704f8c427e43b56ba95b61fc8
AUX vdr-1.7.33_parallelmake.patch 459 SHA256 c900409f3b6875e1041f49a88e8c6bb25eb0ce0db8f05ba52904156abb9ac2f7 SHA512 87dc877859c304a57562da126a49e09f4187a445fb3ac228345b56120c8319107eea8757d41ef42d40d9447c74ce5623aa5bb88196de2aa514a4306f340eb154 WHIRLPOOL dead51be701d03c9dd9cf7bee4ce8838ce539f040de5a759a76ecbd41714dbc0600e56dc8ea84e542267e9c97953be60a82df6a704f8c427e43b56ba95b61fc8
+AUX vdr-1.7.34_gentoo.patch 2091 SHA256 56b0d9cee8cdbb93a2058e048ef465397507bf301da9af7782eba557c07a8798 SHA512 db19b595324f4f89da02b4463aacacb4187a1548c988195ece9a0897fb29c7808d391e9644d3cceaca9bf78a155762ccc67cc0a9db33e1818060500850301d6c WHIRLPOOL fc3f731a4b72fd86d05f4e12a72dca9e47e188077685cd6f90d32048d831166d5ad41c4c0eb301c4dec1a807c55517228a2d4f0bce17ec19ed649e8648d8f192
DIST extpng-vdr-1.7.23v1-gentoo-edition.patch 572319 SHA256 ea8347fe4bf07e2b4924febb28018df9b3ebfa0ff73564c7dae8d32d35162a7e SHA512 8c0d636fa9e0c205a34631f6f7eaa3ff2a3ab3c9d612d4cde244c61e8c5eecdf978e63aabb870a5c3e03752279ee26ea73047dc021e2422d5e4a75a646a12a75 WHIRLPOOL e62c52f63ba8d29e3c26ac64c9f2a70b2fa881c716969cd6d61d21c54021663ff47f1706fc870d52789e95aebf1d9ae9a42cdebacd32e343b5d99bff4d7b3460
DIST extpng-vdr-1.7.24v2-gentoo-edition.patch 445832 SHA256 a5646c64530ebc9068a95f51e61803f49b248b97605a09466e027c97d75730a5 SHA512 d65987d4eda1dce6da0f9f161b8cc46e66678925023171a6d1651dbf834c0e1c3205a5252f93722ff17ea0eb2d73b17bfa338f67b29252c8567007220d1abb2e WHIRLPOOL e6c8a19221f4866e486ecdcf844a63c47491946c85691b8024efaf023bffd8de58f671445e3fa63b3207e53e4da02210aea7f141d6a12dcf02cd768ef799b721
DIST extpng-vdr-1.7.25-gentoo-edition.patch.bz2 73764 SHA256 022e5c793f806164f9f1ae4da253db6a1dbcd997241d7523ce489040bbab8fb7 SHA512 103a6a5c8583fc7d77b4b1a3932c7b6b8f70a334384e8798ec8ea946b344610b21aa042eceeacdf5b7ebcec0e720fb124b0c0d8558fa2ec618b1299d56206fbd WHIRLPOOL d7648f5bbab307a97d4d94ba6404e05e6039a9a7f44bcbe5bbac9ff1867ada17401189323cc310fdc289154802e3d6e3e21516b35361140628487cee257ce927
@@ -19,6 +20,7 @@ DIST extpng-vdr-1.7.31-gentoo-edition.patch.bz2 79540 SHA256 fe242ac68aa7332f41a
DIST extpng-vdr-1.7.32-gentoo-edition-v3.patch.bz2 74329 SHA256 499bf27631b521713efd21c6e3912e094c086118e134bf51e8b1c6f29ed67cc3 SHA512 42ba0024d581042a09442a1dc9dfdde550cfe56cef8b1b17a00ec3016ba1eacd7b7ca1c916403a4bab6d3b1a90069317e0a0308107f9b36f99c6d014833c251f WHIRLPOOL e29a513be5994ca4d9691eed74d404c6a2d534a76d7e6ff00f5c50b113072e0b6fc8316ed4ead0d4913928e2474d54a5e437548c4d64d5d9c73735ed9689679a
DIST extpng-vdr-1.7.33-gentoo-edition-v14.patch.bz2 70210 SHA256 6c58f27c1fa4538e955ef66332de86c75cda5327cefc162e98ff6f1ca37fd0c5 SHA512 bb8e6667092490e0b8712d414b3473ad743bc19a0355266431f7da86afceb88e6759d3dfa7d2705ef5a21ab5cc23b7d266e3f534b2e7903972dc33446dd8118c WHIRLPOOL 1c1e2407c1d0c238c8fb43340cb1caff11187ff33d95cebf0eddf8075c9f075ffd3204108f7de164b32a21b43ac251d58b652ae7211bc087375e7b68033bc497
DIST extpng-vdr-1.7.33-gentoo-edition-v18.patch.bz2 64830 SHA256 7b57767cd179a103797147c7ee5d1cd4b4a9a6c26b8638adb4e8da22c00e5f02 SHA512 6eaf85ca9bff0f1692edbda8242034f8ebd0ad4fd8a458c3f75bf294b2505dada2be126fcc21df16ff842d41d7a43db133b816e4101ccb9e8539aaeb9ce3f2fb WHIRLPOOL 90a7bfec9da31add0a9ab8024c0b71488d97f488680866edcfaba59667662d77e80e079f6a3e55f994c78899cb2335cea5d6b3fe6a0bc5ab1d5f5c945eccd611
+DIST extpng-vdr-1.7.34-gentoo-edition-v2.patch.bz2 64749 SHA256 3ed8aaf9b11dc1281ae5bb14e470130191acfb2a98225d26a0f9bc26ad086945 SHA512 36e4be40cc26152765c97a92837a40633f3b5f925120b67bd4da95cfbe388add80dd9ca5928fade2c23d86f5dbe3fb124fcea50ad771793730a5c464941ab132 WHIRLPOOL 74f97f4eda63f128244bb2faee37c1c3d70b0c42d5655172ac883090f6385af975295dd18a90abe9765ffe498c10f701979e47aabc66e5e578a721c2e145f0b6
DIST vdr-1.7.23.tar.bz2 761767 SHA256 1d1c25e66f51c5489ed0238601002c7ffa9ad5c666f45b51c311fa13bd018c0e SHA512 206616a09a0cfb494426e3b9800f45c3341c6df75ce806a059c975b0edcc33027fd3c62c5e1c541ef798d7af2922dd0d24dd038c437939869c89d5a0ada3cb19 WHIRLPOOL 4b268220b9a3047a8bb9d8eac31455f3b9b5c4f6587c86e5daa4c31bb2f3d6c86296a7827acb8bec7d73caaaed252b6102fadb92054368e1d897c41ddaa6351a
DIST vdr-1.7.24.tar.bz2 765472 SHA256 a1209612c69bab9bd37078b65c5da26b1173f075aba742acb6dc07303beb97a8 SHA512 87ea0d107eae8d363920d311994daec63b7820fbebab422052f4cd4ba22fa147d4aaaa7c000e0d42dfba2e3ead768d254b173e1bb793f803a1b05add5c9c23f1 WHIRLPOOL afef1e898a5d1620faa46cf31d575ca34034ca80b04399ea2b59ece8e92b039bc5431c89d4e2924e8ccb0b7de9755946d1c79ac6d4c819d8dd87a088af45c319
DIST vdr-1.7.25.tar.bz2 768334 SHA256 3e5438ee46e32cdfcd074bd55246965796d93c33984be3b2a21e51983ac48cf4 SHA512 92d1a29edad54eecd1f2f75e48e6af4b14fdcf41902284db56531ee979556377a1f7f7c0b0b67b17559644a43f3b0ea79df861d55a8be4ea26435a605bfeb684 WHIRLPOOL bbcc610ad4bae9f429aa7ecd8638fd3c840214300b1181a508c1ade660533e33164613a043146a48d01759087f12353108be6215a6d965c9329e85c025b23414
@@ -26,6 +28,7 @@ DIST vdr-1.7.30.tar.bz2 787988 SHA256 ab9b59e3e8922c72803e047d91935f0a0836d51b5c
DIST vdr-1.7.31.tar.bz2 789706 SHA256 f7abf4d3a44e53e79877fdbead150029531e7158267e9ff6bccb861c92652f35 SHA512 67253f6cfb8cf6df24cf581a80c219a1a52b9ad4ce959c09506d7fa27ab383801b0bd390ff5a75900368d5427a075b70ca63fc0a31e930880283434e23da3c1d WHIRLPOOL 10d4414944e8f761f6b01fe2b06398128c6f134b2d2e32c38b5949f6c08edcfb185450595ff430f14262dc6fef91ace76ada2b649dbb4cedc843847c9cc32b4c
DIST vdr-1.7.32.tar.bz2 804400 SHA256 aff2fb8253c62016215266526961eda49f3a14eb08e28f82fcefdabf403da1bb SHA512 e275479fee193b3406844fcce7b19c39ec335f19a82d158196e149ffb27fdc0739812431ce4b2fc4515f5559267fb675eda5c3f3c10311bdc9496606e5e3230d WHIRLPOOL bd355e297985b46ac78b06eff4cb62a8d3d0e799682e1cefff4f3117f774e0db2f5cb0a02116c84c1fae009045ab2c95cc3444db34a7e0aa7aa1cee33d018310
DIST vdr-1.7.33.tar.bz2 808222 SHA256 1ec953059f9408db9230c814c4eaf565aa85f7f75e78b1306ee4d0520e89cc54 SHA512 2d416bd22b48359f0119a41f9919babd425fa70ed83f0918debdd5bff4583384a13409beb1fa87d2e8253f6c6ddc70346e7e76fcaaac92391de0f3645ace098c WHIRLPOOL 9e38567afb8364af250cb92ca6e87abebcd0688b7b2f907fc7afde9260c3e63058a5ab238c14b62de810594a08522069d7b005e8fb19fd80ec5e13ba76048ffe
+DIST vdr-1.7.34.tar.bz2 808108 SHA256 cda5eafcaf07a96147219b2ba347313398ffbba806bf0513330ad47fd9e17584 SHA512 1e16c4394e5cc6bb46069b7690c1bef7c74f566553d3138509362609d0f5f8693e5655748bbe6745d26e382843f4d70ffe6063500764e5e46e60c4b15fb92a1a WHIRLPOOL 805bc7cc23474a131951d4790d8eb1eda081cba5d3a87ed35e5d8c9d8cc2897ee0427247d7cd9d1d2b5c9cf64a66a7ae167151e17b26f11eb9d100d6fb1a3bd6
EBUILD vdr-1.7.23.ebuild 11086 SHA256 8159dd9cb2115e96eb24bf18a1aa95e3cd17fd11ea1df2bd1b021cf36defe0e5 SHA512 67b294bdf481f8f67794679347c1262cc6234bd7e219c52b3b5ffce5db7a387246bc617d098cb1e30881eef1e440a9ec5d624388e79816b61c232f27465b76ee WHIRLPOOL 955b29eec06c34b2a0dc248bb1b7b8ef73a00c9b5b076b103e75badce172e2429119b8ae4a7f17abbf9088cfb63fac5dddacadbe33cbfd55156305bda2b1fe24
EBUILD vdr-1.7.24-r1.ebuild 10006 SHA256 f45133c1aaed00ec40ac734c9b4e8bb489b697211716875cd7e74e8ace88a91c SHA512 b645147ec6721d43d22891d604e39d4c1f6db2f8c76d69690c9cf72ca1aa1744f894107d7bb8ca6c5688977b06e6a38a76bafcfeeea133ed487754423f321f32 WHIRLPOOL a6df9b007268253946cadcccb979fcc76348dbc8a215e76e3e089056ff49317581a5a69d258832e35dfb2f0d347fcf57983aa6c27a2906dd305ebcbaba8d3e2d
EBUILD vdr-1.7.25.ebuild 9961 SHA256 3817f91da7c40a246f48d14cefefcd4c029364da3da835616f16a2faeb4d155b SHA512 7806049d2d92be599d0ce103e1e2c5233f8411a389e345f291a8205bd7a4b7984d5e9c81a93cf2bb3db834fae4b4ea16cf0f458a09481579ad7e6e5eb83a8d39 WHIRLPOOL cc8cef1065e4f0c87bb53f75df6cc8c792e09734b094b9b38645a5f66da3b757ead2c86d638bd6fd8a201c7563921de46072ed66015834617def33c54eda4deb
@@ -34,13 +37,14 @@ EBUILD vdr-1.7.31.ebuild 10774 SHA256 d1e039c3415ee668298bc78a14018f19dda6078b49
EBUILD vdr-1.7.32-r1.ebuild 10697 SHA256 de0d2ad92e6f81d40d00ef508232fd125fb17312576d1dccede608cae8103a34 SHA512 3f66ef887573ba927c35f919656042844ce023ea6906447999648b679e894cfdccab0eb2dafeac6c215a8ee0cc8cc51ff6df9a2513b515eb6b524fbc801842b4 WHIRLPOOL 14edfa8d5b5bbffe0766ad5728c32463b644806770f23974b9a33da8c0b01883b5148a24446ebd4ae90eff794c4b3f1247065313c0e41b5242d3c2104c19f0a6
EBUILD vdr-1.7.33-r1.ebuild 10561 SHA256 adf2b441445a4133d39267f854e9ab6c3892b1bd1ea6799445cd6c9285b64816 SHA512 b3c13b42c2d2effe03f88b1de52a928a7227cec9d146905e60c93feed8c2dd60e75fdb3215d6b718cf5e52407264243e848ac630efd1ad7fa11f025af31df5a4 WHIRLPOOL b7a6ce5a36b29058615a5417adb7bfe70146f1299e4a70fcdcc4ea1f901f8fd20bd81cb50236e188ffeb7649fdc490f4b57498477f3e3324e12f4794f71d4854
EBUILD vdr-1.7.33.ebuild 10577 SHA256 298905730268f0bd0af138e6c9b3b437dd57647a644169315a3ba235f6c94ffb SHA512 5c6ce568c2b6789f10eaa2b39d65045e707762c39580955494a1f6de4c700829056e578bd2a1e46c3b0f9b2788d5c6e422a98ab4b6a7d20002070b0ef2bc5ba4 WHIRLPOOL e3bb776885fe29b0fae6b2240b8012e6a1366da4c016951827489d931f152e62170e1f5ea9aa3156cb81a34984d37181374ae8295c5e915a238cf3a392dc609a
-MISC ChangeLog 21124 SHA256 1580e5be70e4336ffb64570bcf97f894b288abf38df82458a3f7d727219dd798 SHA512 d7bac5b633c1357b79fafd19f235d209878525fb718fc7061956c812038caf8fd40b81fab51dc1c32f8c45c84a51f2d0e525b98dbef78b2b309434026239e2a5 WHIRLPOOL f77716166f21b55f8bfddcbcdfe7262aef7af7a518b185cbc9e16c521dcd5a41f83d799087dc4b7901b0867d93363aa0ec5d629dd481ce6d710a99e48c1aaf8b
+EBUILD vdr-1.7.34.ebuild 10839 SHA256 00af20c9fc1dc12aa5ca0963979d53107abbb95d0563e53f7d5a70f5fc2a5a10 SHA512 e650e4aed16291378928d378f58e13bcac443790b3268ba62e77536ef142c15cf5a9c8659dc986c73b77d9f452436730ebd5fb26b8a406e9d09dc4724e7fb5f4 WHIRLPOOL 3112c247ad42029d2f37f532462762e023993cddaa8aab14a9142d94b5cf6bee66b4a57265a0d3e38b4e028a47d98ec043db1fadccc083caf9978042a296b84d
+MISC ChangeLog 21268 SHA256 50fd108d40ce7c279cc97cd36a75a9ab0c22b4786529c8706c9b8fdd899c70ef SHA512 717ce40da94be81a78a5584543551247a3cda30c00600d0158513be7340f4106fd362e7b84a3913093824983c3cb7a552905aed09bf5e61a67339908bd90ec5d WHIRLPOOL d9630565e19914c8a4b57f6981ce38c1f2176f5cd52bb3ae141231581928c21952cdd6c24c3446f8197f67de9582b0c2e2c569f80038bc9ead22154046c78011
MISC metadata.xml 2360 SHA256 a4cc5a9f06856992a36c94ad66d8b8524fd8c930047e161aa676719feb56c7a7 SHA512 b911a6049dc92c93ab809b67949c680c95bf6ebf193283873d205f373e749be0a82b8cbc5608a4a66efaa4e6ac77fcca87b86be604a753678aaeb495e7fa2baf WHIRLPOOL 2cc0c86cf20423d51073183d554fade8309a4d0a518ed6e7a3bef030b7fbd78874ef0d0e067b6e550c036814a7dc1a54ec037cf0e8f5fa5685ac0852cb75acdf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFQ20FBdn07HTTCgIoRCMbPAJ92lSCjFjsfJ62rC6eZ7HVzGKHqUQCfQtjU
-mgyfdDfBma3EJCqTZp64gWM=
-=hYYQ
+iD8DBQFQ3JpKdn07HTTCgIoRCFSMAJ0dCknHeW7hrx+AcHZirhfln0Xn5ACdGA9H
+1eBzaPdyXpBbK/SIKfuNsvM=
+=loOb
-----END PGP SIGNATURE-----
diff --git a/media-video/vdr/files/vdr-1.7.34_gentoo.patch b/media-video/vdr/files/vdr-1.7.34_gentoo.patch
new file mode 100644
index 0000000..3b048c0
--- /dev/null
+++ b/media-video/vdr/files/vdr-1.7.34_gentoo.patch
@@ -0,0 +1,65 @@
+disabled compile from included plugins, we dont support this way on gentoo
+support for linguas handling
+fixed install an multicore cpu
+
+changed path to header files in own dir vdr, libsi
+this have to fix, need some adaption in vdr-plugin-2.eclass and depended plugins, later...
+
+Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2012/12/27)
+
+diff -Naur vdr-1.7.34.orig/Makefile vdr-1.7.34/Makefile
+--- vdr-1.7.34.orig/Makefile 2012-12-27 19:05:19.000000000 +0100
++++ vdr-1.7.34/Makefile 2012-12-27 19:14:11.000000000 +0100
+@@ -96,7 +96,7 @@
+ VDRVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h)
+ APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h)
+
+-all: vdr i18n plugins
++all: vdr i18n
+
+ # Implicit rules:
+
+@@ -147,7 +147,7 @@
+
+ PODIR = po
+ LOCALEDIR = locale
+-I18Npo = $(wildcard $(PODIR)/*.po)
++I18Npo = $(foreach dir,$(LINGUAS),$(wildcard $(PODIR)/$(dir)*.po))
+ I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr.mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
+ I18Npot = $(PODIR)/vdr.pot
+
+@@ -170,7 +170,7 @@
+
+ install-i18n:
+ @mkdir -p $(DESTDIR)$(LOCDIR)
+- @(cd $(LOCALEDIR); cp -r --parents * $(DESTDIR)$(LOCDIR))
++ @(cd $(LOCALEDIR); for linguas in $(LINGUAS); do [ "$$linguas" = "en" ] && continue; cp -r --parents $$linguas* $(DESTDIR)$(LOCDIR); done)
+
+ # The 'include' directory (for plugins):
+
+@@ -219,11 +219,12 @@
+
+ install-dirs:
+ @mkdir -p $(DESTDIR)$(VIDEODIR)
+- @mkdir -p $(DESTDIR)$(CONFDIRDEF)
++# @mkdir -p $(DESTDIR)$(CONFDIRDEF)
+ @mkdir -p $(DESTDIR)$(CACHEDIRDEF)
+ @mkdir -p $(DESTDIR)$(RESDIRDEF)
+
+ install-conf:
++ @mkdir -p $(DESTDIR)$(CONFDIRDEF)
+ @cp -n *.conf $(DESTDIR)$(CONFDIRDEF)
+
+
+@@ -245,8 +246,9 @@
+ # Includes:
+
+ install-includes: include-dir
+- @mkdir -p $(DESTDIR)$(INCDIR)
+- @cp -pLR include/vdr include/libsi $(DESTDIR)$(INCDIR)
++ @mkdir -p $(DESTDIR)$(INCDIR)/vdr $(DESTDIR)$(INCDIR)/vdr/libsi
++ @cp -pLR include/vdr $(DESTDIR)$(INCDIR)
++ @cp -pLR include/libsi Make.config $(DESTDIR)$(INCDIR)/vdr
+
+ # pkg-config file:
+
diff --git a/media-video/vdr/vdr-1.7.34.ebuild b/media-video/vdr/vdr-1.7.34.ebuild
new file mode 100644
index 0000000..9b3723c
--- /dev/null
+++ b/media-video/vdr/vdr-1.7.34.ebuild
@@ -0,0 +1,396 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.6.0_p1.ebuild,v 1.6 2008/05/21 05:50:50 zzam Exp $
+
+EAPI="5"
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+# Switches supported by extensions-patch
+EXT_PATCH_FLAGS="alternatechannel ddepgentry dvlvidprefer graphtft jumpplay
+ lircsettings mainmenuhooks menuorg naludump pinplugin
+ rotor setup ttxtsubs vasarajanauloja volctrl wareagleicon yaepg"
+
+# names of the use-flags
+EXT_PATCH_FLAGS_RENAMED=""
+
+# names ext-patch uses internally, here only used for maintainer checks
+EXT_PATCH_FLAGS_RENAMED_EXT_NAME="jumpingseconds"
+
+IUSE="debug html vanilla dxr3 ${EXT_PATCH_FLAGS} ${EXT_PATCH_FLAGS_RENAMED}"
+
+MY_PV="${PV%_p*}"
+MY_P="${PN}-${MY_PV}"
+S="${WORKDIR}/${MY_P}"
+
+EXT_P="extpng-${P}-gentoo-edition-v2"
+
+DESCRIPTION="Video Disk Recorder - turns a pc into a powerful set top box for DVB"
+HOMEPAGE="http://www.tvdr.de/"
+SRC_URI="ftp://ftp.tvdr.de/vdr/Developer/${MY_P}.tar.bz2
+ http://dev.gentoo.org/~hd_brummy/distfiles/${EXT_P}.patch.bz2"
+
+KEYWORDS="~arm ~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+REQUIRED_USE="setup? ( !menuorg )
+ menuorg? ( !setup )"
+
+COMMON_DEPEND="virtual/jpeg
+ sys-libs/libcap
+ >=media-libs/fontconfig-2.4.2
+ >=media-libs/freetype-2
+ setup? ( >=dev-libs/tinyxml-2.6.1[stl] )"
+
+DEPEND="${COMMON_DEPEND}
+ >=virtual/linuxtv-dvb-headers-5.3
+ sys-devel/gettext"
+
+RDEPEND="${COMMON_DEPEND}
+ dev-lang/perl
+ >=media-tv/gentoo-vdr-scripts-0.4.10
+ media-fonts/corefonts"
+
+# pull in vdr-setup to get the xml files, else menu will not work
+PDEPEND="setup? ( >=media-plugins/vdr-setup-0.3.1-r3 )
+ dxr3? ( >=media-plugins/vdr-dxr3-0.2.13 )"
+
+CONF_DIR=/etc/vdr
+CAP_FILE=${S}/capabilities.sh
+CAPS="# Capabilities of the vdr-executable for use by startscript etc."
+
+pkg_setup() {
+ if [ -n "${VDR_LOCAL_PATCHES_DIR}" ]; then
+ eerror "Using VDR_LOCAL_PATCHES_DIR is obsolet!"
+ eerror "Please move all your patches into"
+ eerror "${EROOT}/etc/portage/patches/${CATEGORY}/${P}"
+ eerror "and remove or unset the VDR_LOCAL_PATCHES_DIR variable."
+ die
+ fi
+
+ use debug && append-flags -g
+
+ PLUGIN_LIBDIR="/usr/$(get_libdir)/vdr/plugins"
+
+ tc-export CC CXX
+}
+
+add_cap() {
+ local arg
+ for arg; do
+ CAPS="${CAPS}\n${arg}=1"
+ done
+}
+
+enable_patch() {
+ local arg ARG_UPPER
+ for arg; do
+ ARG_UPPER=$(echo $arg|tr '[:lower:]' '[:upper:]')
+ echo "${ARG_UPPER} = 1" >> Make.config
+ done
+}
+
+extensions_add_make_conf()
+{
+ # copy all ifdef for extensions-patch to Make.config
+ sed -e '1,/need to touch the following:/d' \
+ -e '/ifdef DVBDIR/,/^$/d' \
+ Make.config.template >> Make.config
+}
+
+extensions_all_defines() {
+ # extract all possible settings for extensions-patch
+ sed -e '/^#\?[A-Z].*= 1/!d' -e 's/^#\?//' -e 's/ .*//' \
+ Make.config.template \
+ | sort \
+ | tr '[:upper:]' '[:lower:]'
+}
+
+lang_po() {
+ LING_PO=$( ls ${S}/po | sed -e "s:.po::g" | cut -d_ -f1 | tr \\\012 ' ' )
+}
+
+src_prepare() {
+ #applying maintainace-patches
+
+ ebegin "Changing pathes for gentoo"
+
+ sed \
+ -e 's-ConfigDirectory = VideoDirectory;-ConfigDirectory = CONFDIR;-' \
+ -i vdr.c
+
+ local DVBDIR=/usr/include
+ local i
+ for i in ${DVB_HEADER_PATH} /usr/include/v4l-dvb-hg /usr/include; do
+ [[ -d ${i} ]] || continue
+ if [[ -f ${i}/linux/dvb/dmx.h ]]; then
+ einfo "Found DVB header files in ${i}"
+ DVBDIR=${i}
+ break
+ fi
+ done
+
+ # checking for s2api headers
+ local api_version
+ api_version=$(awk -F' ' '/define DVB_API_VERSION / {print $3}' "${DVBDIR}"/linux/dvb/version.h)
+ api_version=${api_version}*$(awk -F' ' '/define DVB_API_VERSION_MINOR / {print $3}' "${DVBDIR}"/linux/dvb/version.h)
+
+ if [[ ${api_version:-0} -lt 5*3 ]]; then
+ eerror "DVB header files do not contain s2api support or to old for ${P}"
+ eerror "You cannot compile VDR against old dvb-headers"
+ die "DVB headers too old"
+ fi
+
+ cat > Make.config <<-EOT
+ #
+ # Generated by ebuild ${PF}
+ #
+ PREFIX = /usr
+ DVBDIR = ${DVBDIR}
+# PLUGINLIBDIR = ${PLUGIN_LIBDIR}
+ LIBDIR = ${PLUGIN_LIBDIR}
+ ## LIBDIR = PLUGINLIBDIR
+ CONFDIR = ${CONF_DIR}
+ VIDEODIR = /var/vdr/video
+ LOCDIR = \$(PREFIX)/share/locale
+ INCDIR = \$(PREFIX)/include
+
+ DEFINES += -DCONFDIR=\"\$(CONFDIR)\"
+ INCLUDES += -I\$(DVBDIR)
+
+ #USEFHS = 1
+
+ ifdef USEFHS
+ DEFINES += -DUSEFHS
+ CACHEDIR = /var/cache/vdr
+ RESDIR = \$(PREFIX)/share/vdr
+ endif
+
+ EOT
+ eend 0
+
+ epatch "${FILESDIR}/${P}_gentoo.patch"
+
+ # Do not install plugins
+ sed -i Makefile \
+ -e 's/ install-plugins//'
+
+ if ! use vanilla; then
+ # Now apply extensions patch
+ epatch "${WORKDIR}/${EXT_P}.patch"
+
+ # This allows us to start even if some plugin does not exist
+ # or is not loadable.
+ enable_patch PLUGINMISSING
+ enable_patch CHANNELBIND
+
+ # was default enabled in old versions of extpatch
+ enable_patch MCLI
+
+ # need testing; later, before vdr-2.0 !!!
+# enable_patch USEFHS && sed -e "s:#USEFHS:USEFHS:" -i Make.config
+
+ if [[ -n ${VDR_MAINTAINER_MODE} ]]; then
+ einfo "Doing maintainer checks:"
+
+ # these patches we do not support
+ # (or have them already hard enabled)
+ local IGNORE_PATCHES="pluginmissing mcli channelbind"
+
+ extensions_all_defines > "${T}"/new.IUSE
+ echo $EXT_PATCH_FLAGS $EXT_PATCH_FLAGS_RENAMED_EXT_NAME \
+ $IGNORE_PATCHES | \
+ tr ' ' '\n' |sort > "${T}"/old.IUSE
+ local DIFFS=$(diff -u "${T}"/old.IUSE "${T}"/new.IUSE|grep '^[+-][^+-]')
+ if [[ -z ${DIFFS} ]]; then
+ einfo "EXT_PATCH_FLAGS is up to date."
+ else
+ ewarn "IUSE differences!"
+ local diff
+ for diff in $DIFFS; do
+ ewarn "$diff"
+ done
+ fi
+ fi
+
+ ebegin "Enabling selected patches"
+ local flag
+ for flag in $EXT_PATCH_FLAGS; do
+ use $flag && enable_patch ${flag}
+ done
+
+ # patches that got renamed
+ use vasarajanauloja && enable_patch jumpingseconds
+
+ eend 0
+
+ extensions_add_make_conf
+
+ ebegin "Make depend"
+ emake .dependencies >/dev/null
+ eend $? "make depend failed"
+ fi
+
+ epatch_user
+
+ if [[ -n "${VDRSOURCE_DIR}" ]]; then
+ cp -r "${S}" "${T}"/source-tree
+ fi
+
+ add_cap CAP_UTF8
+
+ add_cap CAP_IRCTRL_RUNTIME_PARAM \
+ CAP_VFAT_RUNTIME_PARAM \
+ CAP_CHUID \
+ CAP_SHUTDOWN_AUTO_RETRY
+
+ echo -e ${CAPS} > "${CAP_FILE}"
+
+ # some new improvments for LINGUAS handling
+ einfo "\n \t VDR supports the LINGUAS values"
+
+ lang_po
+
+ einfo "\t Please set one of this values in /etc/make.conf or /etc/portage/make.conf"
+ einfo "\t LINGUAS=\"${LING_PO}\"\n"
+
+ if [[ -z ${LINGUAS} ]]; then
+ eerror "\n \t No values in LINGUAS="
+ eerror "\t you will get only english text on OSD \n"
+ fi
+
+ strip-linguas ${LING_PO} en
+}
+
+src_install() {
+ # trick makefile not to create a videodir by supplying it with an existing
+ # directory
+ emake install DESTDIR="${D}" VIDEODIR="/" || die "emake install failed"
+
+ keepdir "${CONF_DIR}"/plugins
+ keepdir "${CONF_DIR}"/themes
+
+ keepdir "${PLUGIN_LIBDIR}"
+
+# keepdir /usr/share/vdr/bin # do we need this, also createt from gentoo-vdr-scripts
+
+ # later
+# use usefhs && keepdir /var/cache/vdr
+
+ if use html; then
+ dohtml *.html
+ fi
+
+ dodoc MANUAL INSTALL README* HISTORY CONTRIBUTORS
+
+ insinto /usr/share/vdr
+ doins "${CAP_FILE}"
+
+ if [[ -n "${VDRSOURCE_DIR}" ]]; then
+ local SOURCES_DEST="${VDRSOURCE_DIR}/${P/_p/-}"
+ einfo "Installing sources"
+ insinto "${SOURCES_DEST}"
+ doins -r "${T}"/source-tree/*
+ keepdir "${SOURCES_DEST}"/PLUGINS/lib
+ fi
+
+ if use alternatechannel; then
+ insinto /etc/vdr
+ doins "${FILESDIR}"/channel_alternative.conf
+ fi
+
+ if use setup; then
+ insinto /usr/share/vdr/setup
+ doins "${S}"/menu.c
+ fi
+ chown -R vdr:vdr "${D}/${CONF_DIR}"
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-1.6.0_p2-r8"
+ previous_less_than_1_6_0_p2_r8=$?
+
+ has_version "<${CATEGORY}/${PN}-1.7.27"
+ previous_less_than_1_7_27=$?
+}
+
+pkg_postinst() {
+ elog "This is a *developer* version."
+ elog "We strongly recommend that you only use it under controlled"
+ elog "conditions and for testing and debugging."
+
+ if [[ previous_less_than_1_6_0_p2_r8=$? = 0 ]] ; then
+ elog " Upgrade Info:"
+
+ elog " The recording format is now Transport Stream. Existing recordings in PES format"
+ elog " can still be replayed and edited, but new recordings are done in TS."
+
+ elog " The support for full featured DVB cards of the TT/FuSi design has been moved"
+ elog " into the new plugins 'dvbsddevice' 'dvbhddevice'. On systems that use such a card as their"
+ elog " primary device, this plugin now needs to be loaded when running VDR in order"
+ elog " to view live or recorded video. If the plugin is not loaded, the card will"
+ elog " be treated like a budget DVB card, and there will be no OSD or viewing"
+ elog " capability."
+
+ elog " The index file for TS recordings is now regenerated on-the-fly if a"
+ elog " recording is replayed that has no index. This can also be used to"
+ elog " re-create a broken index file by manually deleting the index file and then"
+ elog " replaying the recording."
+
+ elog " The files \"commands.conf\" and \"reccmd.conf\" can now contain nested lists of"
+ elog " commands. See man vdr.5 for information about the new file format."
+
+ elog " The option \"Setup/DVB/Use Dolby Digital\" now only controls whether Dolby Digital"
+ elog " tracks appear in the 'Audio' menu. Dolby Digital is always recorded"
+
+ elog " The default SVDRP port is now 6419"
+ fi
+
+ if [[ previous_less_than_1_7_27=$? = 0 ]] ; then
+ elog "In vdr releases >=vdr-1.7.27 the depricated i18n handling is removed"
+ elog "This results now in a lot of not working plugins on compile process"
+ elog "Please visit for more infos:"
+ elog "https://bugs.gentoo.org/show_bug.cgi?id=414177"
+ elog "and depended bugs"
+ fi
+
+ elog "It is a good idea to run vdrplugin-rebuild now."
+
+ if use setup; then
+ if ! has_version media-plugins/vdr-setup || \
+ ! egrep -q '^setup$' "${ROOT}/etc/conf.d/vdr.plugins"; then
+
+ echo
+ ewarn "You have compiled media-video/vdr with USE=\"setup\""
+ ewarn "It is very important to emerge media-plugins/vdr-setup now!"
+ ewarn "and you have to loaded it in /etc/conf.d/vdr.plugins"
+ fi
+ fi
+
+ local keysfound=0
+ local key
+ local warn_keys="JumpFwd JumpRew JumpFwdSlow JumpRewSlow"
+ local remote_file="${ROOT}"/etc/vdr/remote.conf
+
+ if [[ -e ${remote_file} ]]; then
+ for key in ${warn_keys}; do
+ if grep -q -i "\.${key} " "${remote_file}"; then
+ keysfound=1
+ break
+ fi
+ done
+ if [[ ${keysfound} == 1 ]]; then
+ ewarn "Your /etc/vdr/remote.conf contains keys which are no longer usable"
+ ewarn "Please remove these keys or vdr will not start:"
+ ewarn "# ${warn_keys}"
+ fi
+ fi
+
+ elog "To get nice symbols in OSD we recommend to install"
+ elog "\t1. emerge media-fonts/vdrsymbols-ttf"
+ elog "\t2. select font VDRSymbolsSans in Setup"
+ elog ""
+ elog "To get an idea how to proceed now, have a look at our vdr-guide:"
+ elog "\thttp://www.gentoo.org/doc/en/vdr-guide.xml"
+}