From e95be135df61cb387a0bc646c3285b7dd5576850 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 25 Mar 2007 13:55:21 +0000 Subject: [PATCH] Die if libtheora is not built with encode useflag as it will not work without it Package-Manager: portage-2.1.2.2 --- media-video/recordmydesktop/ChangeLog | 7 +++++- media-video/recordmydesktop/Manifest | 24 +++++++++---------- .../recordmydesktop-0.3.3.1.ebuild | 12 +++++++++- 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/media-video/recordmydesktop/ChangeLog b/media-video/recordmydesktop/ChangeLog index 17f1024de3b9..1210dcfb8169 100644 --- a/media-video/recordmydesktop/ChangeLog +++ b/media-video/recordmydesktop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/recordmydesktop # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.7 2007/03/04 15:10:06 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.8 2007/03/25 13:55:21 aballier Exp $ + + 25 Mar 2007; Alexis Ballier + recordmydesktop-0.3.3.1.ebuild: + Die if libtheora is not built with encode useflag as it will not work + without it *recordmydesktop-0.3.3.1 (04 Mar 2007) diff --git a/media-video/recordmydesktop/Manifest b/media-video/recordmydesktop/Manifest index a0e5cca77897..f00ff0ea8871 100644 --- a/media-video/recordmydesktop/Manifest +++ b/media-video/recordmydesktop/Manifest @@ -12,14 +12,14 @@ EBUILD recordmydesktop-0.3.1.ebuild 770 RMD160 4304f4ded815f1dc8e77a6d744174aeea MD5 ccd5cbdd7b846de0a6618e056a735307 recordmydesktop-0.3.1.ebuild 770 RMD160 4304f4ded815f1dc8e77a6d744174aeeaef7fa25 recordmydesktop-0.3.1.ebuild 770 SHA256 2a6f523b4cd736b7ccf82d2cb32123e83991060f88b308bcfd386815cb71e05a recordmydesktop-0.3.1.ebuild 770 -EBUILD recordmydesktop-0.3.3.1.ebuild 1059 RMD160 299085fc75fe045c7125be886e79ac19415e5e67 SHA1 a2635524c5f832f1d741d7f5944e733cd931c565 SHA256 201954781b8164378b9862d32d500ca71376c2c3ccdf8a67d2b86035c589d7c3 -MD5 63a2fe0a61f3e143abce60ef92e8a0c8 recordmydesktop-0.3.3.1.ebuild 1059 -RMD160 299085fc75fe045c7125be886e79ac19415e5e67 recordmydesktop-0.3.3.1.ebuild 1059 -SHA256 201954781b8164378b9862d32d500ca71376c2c3ccdf8a67d2b86035c589d7c3 recordmydesktop-0.3.3.1.ebuild 1059 -MISC ChangeLog 1402 RMD160 5de8143be18e39e05408118670e5f4e09bbe1d9b SHA1 9f91a0dc7ea729aec3a64bba3e613fa9b1e7ac09 SHA256 3b6dbdcf9c44126696153d1e2fe0a0f2e6544387b605efe2d4e6517fb72cc1cf -MD5 68d8b94201eb0d53bac0b8ebf6cc1b02 ChangeLog 1402 -RMD160 5de8143be18e39e05408118670e5f4e09bbe1d9b ChangeLog 1402 -SHA256 3b6dbdcf9c44126696153d1e2fe0a0f2e6544387b605efe2d4e6517fb72cc1cf ChangeLog 1402 +EBUILD recordmydesktop-0.3.3.1.ebuild 1321 RMD160 f90a6880a378a71c98737700a1ed65efa3d3e805 SHA1 296db1ffce5ca44e2a9c0f04ebc86ff7e0f15625 SHA256 a663f237f70c53e1243724772fa4b3b9e1a4f34283e6b57e3e8c10d1f76da17e +MD5 7051992427e2600dfd500aeaf4689e73 recordmydesktop-0.3.3.1.ebuild 1321 +RMD160 f90a6880a378a71c98737700a1ed65efa3d3e805 recordmydesktop-0.3.3.1.ebuild 1321 +SHA256 a663f237f70c53e1243724772fa4b3b9e1a4f34283e6b57e3e8c10d1f76da17e recordmydesktop-0.3.3.1.ebuild 1321 +MISC ChangeLog 1574 RMD160 8d450c10cf3d4f45eb5ec55f04fe3c4e4a7246c9 SHA1 ab86f5f228a5518ade70ba4a4398db1d64cb462b SHA256 bda847b1c9268d28c5b650e08b13d0104455177705b52fdefc8e30ee2c7dd1f5 +MD5 3b2e3b17b209f55b8e22e9bde7bca518 ChangeLog 1574 +RMD160 8d450c10cf3d4f45eb5ec55f04fe3c4e4a7246c9 ChangeLog 1574 +SHA256 bda847b1c9268d28c5b650e08b13d0104455177705b52fdefc8e30ee2c7dd1f5 ChangeLog 1574 MISC metadata.xml 226 RMD160 9acecdf92471eb50a25bc1aaf0d5179959d6d211 SHA1 f66369c7e7900801781a598bf5a7e6e49803a801 SHA256 b159adc5c7076105f4bc05f02d3c1e12bcad82faedf5df5ba4888077732ebf64 MD5 29bc3f4b41337cb51a64ea89a3957657 metadata.xml 226 RMD160 9acecdf92471eb50a25bc1aaf0d5179959d6d211 metadata.xml 226 @@ -34,9 +34,9 @@ MD5 2e2c2f2831f480aeda99e95d95a2b24f files/digest-recordmydesktop-0.3.3.1 271 RMD160 fd46bec47a25e36e98f4f7af836d542227eb9e8f files/digest-recordmydesktop-0.3.3.1 271 SHA256 ec1a616454f80f281180b07e28b2a4b633655f027b2908dea2d40065af509c8e files/digest-recordmydesktop-0.3.3.1 271 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF6uFUvFcC4BYPU0oRAiN2AJ41PcoXh0SYdiDc+VQzw6ucxUQaFgCggwmZ -IOGOjyxJd+9rEoO6EjmSo90= -=fECk +iD8DBQFGBn9OvFcC4BYPU0oRApksAKDN546EG2Nq9iifT/9cYPCTuAkvkgCfTWeE +RxDUI/HP7fa1T3DhSLC0o/M= +=e1E2 -----END PGP SIGNATURE----- diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild index 584bdc9d9a83..e69b7d2dfde1 100644 --- a/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild +++ b/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild,v 1.1 2007/03/04 15:10:06 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild,v 1.2 2007/03/25 13:55:21 aballier Exp $ + +inherit eutils DESCRIPTION="A desktop session recorder producing Ogg video/audio files" HOMEPAGE="http://recordmydesktop.sourceforge.net/" @@ -22,6 +24,14 @@ DEPEND="x11-libs/libXext alsa? ( media-libs/alsa-lib ) jack? ( media-sound/jack-audio-connection-kit )" +pkg_setup() { + if ! built_with_use media-libs/libtheora encode; then + eerror "media-libs/libtheora needs to be built with encode use flag" + eerror "in order to use ${PN}" + die "Please rebuild media-libs/libtheora with encode use flag" + fi +} + src_compile() { local myconf use jack && myconf="${myconf} --enable-jack=yes" -- 2.26.2