vlc: use additional-files and fix duplicate vlc.rdef in patch. (#635)

* Remove the duplicate vlc.rdef that was embedded in the patchset
  for vlc-0.8.6i and, instead, make it use the same vlc.rdef that
  vlc-2.2.1 already uses and which is in additional-files.
* Tweak vlc.rdef to make it usable with any version of vlc.
* Add TEST() with "make check" (to both 0.8.6i and 2.2.1).
* Fix the recipe of VLC 2.2.1 to make it build on x86 2nd arch.
* Force VLC 2.2.1 to use lib:libswscale from ffmpeg2. BTW,
  it seems this version of VLC cannot compile against ffmpeg >= 3.
* Comment out the lib:libdevice in REQUIRES because the haiku hpkg is
  missing a PROVIDES for it.
* VLC 0.8.6i was previously using libdvbpsi 1.2.0 but the compilation
  now fails for some reason (unknown to me). The compilation also
  fails when building against libdvbpsi 1.3.0, so drop support for it
  in VLC 0.8.6i. VLC 2.2.1 on x86 secondary arch builds fine with any
  of the mentioned releases of libdvbpsi, though.
This commit is contained in:
fbrosson
2016-07-24 21:27:25 +00:00
committed by waddlesplash
parent efdc75f1b9
commit f8189f80e3
4 changed files with 72 additions and 156 deletions

View File

@@ -1506,132 +1506,6 @@ index dc3d686..b0bce86 100644
2.2.2
From 6dcfd6241bdb0b498f86d86e37e35ea34f8ef0ab Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Sat, 25 Apr 2015 17:15:11 +0200
Subject: Add rdef file.
diff --git a/vlc.rdef b/vlc.rdef
new file mode 100644
index 0000000..86a1d6c
--- /dev/null
+++ b/vlc.rdef
@@ -0,0 +1,47 @@
+
+resource app_flags B_SINGLE_LAUNCH | B_ARGV_ONLY;
+
+resource app_version {
+ major = 0,
+ middle = 8,
+ minor = 6,
+
+ variety = B_APPV_FINAL,
+ internal = 0,
+
+ short_info = "VideoLAN Client",
+ long_info = "A multi-platform multimedia player."
+};
+
+resource app_signature "application/x-vnd.videolan-vlc";
+
+resource file_types message {
+ "types" = "application/x-asf",
+ "types" = "audio",
+ "types" = "video"
+};
+
+resource vector_icon {
+ $"6E6369660A0500020006023B69C90000000000003B23A04AC3EF4AE6A9007C45"
+ $"03FFD3893303F2A541020006033D79BF0000000000003D324D49E2A74A24F500"
+ $"FFE8CF7FD18021FFF49119020006023AB37E0000000000003D324D4B3D534961"
+ $"EB00A94604FFDC7D0B020016033B480D0000000000003AC58F49C2784A87EA00"
+ $"FF7FCCFFE4020006033BDD210000000000003B67CD49C2A749821E00FFE8CF7F"
+ $"B96205FFD47505020006033AA07A0000000000003A50B649C2784A547F00FFE8"
+ $"CF7FC36E0AFFEA87130200060338E8A800000000000038905449C28F47E0EE00"
+ $"FFE8CF7FC57210FFF491190401780C0605E202426045574E6048604A60465746"
+ $"0605F2032E484C42B54E42B54EC06FB49E3D22BFB322BD632238B54EBCA8B49B"
+ $"38B54E0A063A3C224C224E425E584858460A073F523F42C738C1713A3C224C42"
+ $"5BC60BC5400A055846C738C1713F423F52C60BC5400A04425E425B584658480A"
+ $"04224E224C425B425E02062EC3102EC3102EC4993D52345246524CC3104CC499"
+ $"4CC310C3A2BFF9C3A2BFF949C18B3D4744473647B978BFFE31C18BB978BFFE02"
+ $"063D4736474447C3A2BFF94AC128C3A2BFF9C2C4BD00C2C4BD0047BE1B3D3E43"
+ $"3E373EBA5939BA85BE1BBA5939B978BFFEB978BFFE30C1280206C2C4BD0047BE"
+ $"1BC2C4BD00C1E3B9F8C1E3B9F845BB0D3D3542353835BB36B9FB35BB0DBB36B9"
+ $"FBBA5939BA593933BE1B3D3E373E433E0206C1E3B9F845BB0DC1E3B9F8C13CB7"
+ $"B4C13CB7B443B8613D2E412E392EBBE2B7A337B861BBE2B7A3BB36B9FBBB36B9"
+ $"FB35BB0D3D35383542350206C13CB7B443B861C13CB7B442B55342B553C06FB4"
+ $"A03D22BFB322BD632238B553BCA8B49E38B553BBE2B7A3BBE2B7A337B8613D2E"
+ $"392E412E0A0A090100000A000201021001178400040A010105000A020106000A"
+ $"030103000A040104000A060107000A070109000A0502080A000A08010B00"
+};
--
2.2.2
From 45454c04e7af47bb18a18fdd4f3006e8a95b4b43 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 19 Sep 2014 11:05:28 +0200
Subject: Add resources (icon and app infos)
diff --git a/vlc.rdef b/vlc.rdef
new file mode 100644
index 0000000..86a1d6c
--- /dev/null
+++ b/vlc.rdef
@@ -0,0 +1,47 @@
+
+resource app_flags B_SINGLE_LAUNCH | B_ARGV_ONLY;
+
+resource app_version {
+ major = 0,
+ middle = 8,
+ minor = 6,
+
+ variety = B_APPV_FINAL,
+ internal = 0,
+
+ short_info = "VideoLAN Client",
+ long_info = "A multi-platform multimedia player."
+};
+
+resource app_signature "application/x-vnd.videolan-vlc";
+
+resource file_types message {
+ "types" = "application/x-asf",
+ "types" = "audio",
+ "types" = "video"
+};
+
+resource vector_icon {
+ $"6E6369660A0500020006023B69C90000000000003B23A04AC3EF4AE6A9007C45"
+ $"03FFD3893303F2A541020006033D79BF0000000000003D324D49E2A74A24F500"
+ $"FFE8CF7FD18021FFF49119020006023AB37E0000000000003D324D4B3D534961"
+ $"EB00A94604FFDC7D0B020016033B480D0000000000003AC58F49C2784A87EA00"
+ $"FF7FCCFFE4020006033BDD210000000000003B67CD49C2A749821E00FFE8CF7F"
+ $"B96205FFD47505020006033AA07A0000000000003A50B649C2784A547F00FFE8"
+ $"CF7FC36E0AFFEA87130200060338E8A800000000000038905449C28F47E0EE00"
+ $"FFE8CF7FC57210FFF491190401780C0605E202426045574E6048604A60465746"
+ $"0605F2032E484C42B54E42B54EC06FB49E3D22BFB322BD632238B54EBCA8B49B"
+ $"38B54E0A063A3C224C224E425E584858460A073F523F42C738C1713A3C224C42"
+ $"5BC60BC5400A055846C738C1713F423F52C60BC5400A04425E425B584658480A"
+ $"04224E224C425B425E02062EC3102EC3102EC4993D52345246524CC3104CC499"
+ $"4CC310C3A2BFF9C3A2BFF949C18B3D4744473647B978BFFE31C18BB978BFFE02"
+ $"063D4736474447C3A2BFF94AC128C3A2BFF9C2C4BD00C2C4BD0047BE1B3D3E43"
+ $"3E373EBA5939BA85BE1BBA5939B978BFFEB978BFFE30C1280206C2C4BD0047BE"
+ $"1BC2C4BD00C1E3B9F8C1E3B9F845BB0D3D3542353835BB36B9FB35BB0DBB36B9"
+ $"FBBA5939BA593933BE1B3D3E373E433E0206C1E3B9F845BB0DC1E3B9F8C13CB7"
+ $"B4C13CB7B443B8613D2E412E392EBBE2B7A337B861BBE2B7A3BB36B9FBBB36B9"
+ $"FB35BB0D3D35383542350206C13CB7B443B861C13CB7B442B55342B553C06FB4"
+ $"A03D22BFB322BD632238B553BCA8B49E38B553BBE2B7A3BBE2B7A337B8613D2E"
+ $"392E412E0A0A090100000A000201021001178400040A010105000A020106000A"
+ $"030103000A040104000A060107000A070109000A0502080A000A08010B00"
+};
--
1.8.3.4
From 7765cafb91e4ed524703786e08a90dcc523d1d9d Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 19 Sep 2014 11:05:54 +0200