From 8a99a53165cfd4f56182f7d1754103e1fdfc3a57 Mon Sep 17 00:00:00 2001 From: begasus Date: Tue, 19 Aug 2014 22:17:02 +0000 Subject: [PATCH 1/3] changes to the recipe to be able to build it in Strickt modus with haikuporter --- media-libs/libmpeg2/libmpeg2-0.5.1.recipe | 24 ++++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe index 4aec337ff..b11bd7beb 100644 --- a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe +++ b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe @@ -1,7 +1,5 @@ SUMMARY="A library for decoding mpeg-2 and mpeg-1 video" -DESCRIPTION=" -A library for decoding mpeg-2 and mpeg-1 video. -" +DESCRIPTION="A library for decoding mpeg-2 and mpeg-1 video." HOMEPAGE="http://www.libmpeg2.sourceforge.net" LICENSE="GNU GPL v2" COPYRIGHT=" @@ -10,16 +8,17 @@ COPYRIGHT=" " SRC_URI="http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz" CHECKSUM_SHA256="dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4" -REVISION="1" +REVISION="2" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 ?x86" PROVIDES=" - libmpeg2${secondaryArchSuffix} = $portVersion - lib:libmpeg2 - cmd:mpeg2dec - cmd:corrupt_mpeg2 - cmd:extract_mpeg2 + libmpeg2${secondaryArchSuffix} = $portVersion compat >= 0.5 + lib:libmpeg2${secondaryArchSuffix} = 0.5.1 compat >= 0.5 + lib:libmpeg2convert${secondaryArchSuffix} = $portVersion + cmd:mpeg2dec${secondaryArchSuffix} = $portVersion + cmd:corrupt_mpeg2${secondaryArchSuffix} = $portVersion + cmd:extract_mpeg2${secondaryArchSuffix} = $portVersion " REQUIRES=" @@ -65,13 +64,10 @@ INSTALL() # ----- devel package ------------------------------------------------------- PROVIDES_devel=" - libmpeg2${secondaryArchSuffix}_devel = $portVersion - devel:libmpeg2${secondaryArchSuffix} = $portVersion + libmpeg2${secondaryArchSuffix}_devel = $portVersion compat >= 0.5 + devel:libmpeg2${secondaryArchSuffix} = 0.5.1 compat >= 0.5 devel:libmpeg2convert${secondaryArchSuffix} = $portVersion " REQUIRES_devel=" libmpeg2${secondaryArchSuffix} == $portVersion base " - - - From 320c506f2df0ed45a716da79bad0159ebac785ca Mon Sep 17 00:00:00 2001 From: begasus Date: Tue, 19 Aug 2014 22:50:20 +0000 Subject: [PATCH 2/3] changes as requested by waddlesplash --- media-libs/libmpeg2/libmpeg2-0.5.1.recipe | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe index b11bd7beb..c96f830d0 100644 --- a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe +++ b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe @@ -1,6 +1,8 @@ SUMMARY="A library for decoding mpeg-2 and mpeg-1 video" -DESCRIPTION="A library for decoding mpeg-2 and mpeg-1 video." -HOMEPAGE="http://www.libmpeg2.sourceforge.net" +DESCRIPTION=" +A library for decoding mpeg-2 and mpeg-1 video. +" +HOMEPAGE="http://libmpeg2.sourceforge.net" LICENSE="GNU GPL v2" COPYRIGHT=" Copyright (C) 2000-2003 Michel Lespinasse @@ -9,13 +11,13 @@ COPYRIGHT=" SRC_URI="http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz" CHECKSUM_SHA256="dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4" REVISION="2" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" -SECONDARY_ARCHITECTURES="x86_gcc2 ?x86" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64" PROVIDES=" libmpeg2${secondaryArchSuffix} = $portVersion compat >= 0.5 - lib:libmpeg2${secondaryArchSuffix} = 0.5.1 compat >= 0.5 - lib:libmpeg2convert${secondaryArchSuffix} = $portVersion + lib:libmpeg2${secondaryArchSuffix} = $portVersion compat >= 0.5 + lib:libmpeg2convert${secondaryArchSuffix} = $portVersion compat >= 0.5 cmd:mpeg2dec${secondaryArchSuffix} = $portVersion cmd:corrupt_mpeg2${secondaryArchSuffix} = $portVersion cmd:extract_mpeg2${secondaryArchSuffix} = $portVersion @@ -65,8 +67,8 @@ INSTALL() PROVIDES_devel=" libmpeg2${secondaryArchSuffix}_devel = $portVersion compat >= 0.5 - devel:libmpeg2${secondaryArchSuffix} = 0.5.1 compat >= 0.5 - devel:libmpeg2convert${secondaryArchSuffix} = $portVersion + devel:libmpeg2${secondaryArchSuffix} = $portVersion compat >= 0.5 + devel:libmpeg2convert${secondaryArchSuffix} = $portVersion compat >= 0.5 " REQUIRES_devel=" libmpeg2${secondaryArchSuffix} == $portVersion base From 4f0d9fb8f02f65b5519868c02e6877532989b232 Mon Sep 17 00:00:00 2001 From: begasus Date: Tue, 19 Aug 2014 22:56:59 +0000 Subject: [PATCH 3/3] removed the copyright and email addres --- media-libs/libmpeg2/libmpeg2-0.5.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe index c96f830d0..dcf183f27 100644 --- a/media-libs/libmpeg2/libmpeg2-0.5.1.recipe +++ b/media-libs/libmpeg2/libmpeg2-0.5.1.recipe @@ -5,8 +5,8 @@ A library for decoding mpeg-2 and mpeg-1 video. HOMEPAGE="http://libmpeg2.sourceforge.net" LICENSE="GNU GPL v2" COPYRIGHT=" - Copyright (C) 2000-2003 Michel Lespinasse - Copyright (C) 1999-2000 Aaron Holtzman + 2000-2003 Michel Lespinasse + 1999-2000 Aaron Holtzman " SRC_URI="http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz" CHECKSUM_SHA256="dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4"