From c5fe8411ed7e05a64a43d856dab1964a653a7bc5 Mon Sep 17 00:00:00 2001 From: begasus Date: Wed, 3 Sep 2014 19:43:06 +0200 Subject: [PATCH] ltris, adding an icon to the binary --- games-puzzle/ltris/ltris-1.0.19.recipe | 4 +- games-puzzle/ltris/patches/ltris-1.0.19.patch | 40 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 games-puzzle/ltris/patches/ltris-1.0.19.patch diff --git a/games-puzzle/ltris/ltris-1.0.19.recipe b/games-puzzle/ltris/ltris-1.0.19.recipe index 0eb7953db..ab48509b1 100644 --- a/games-puzzle/ltris/ltris-1.0.19.recipe +++ b/games-puzzle/ltris/ltris-1.0.19.recipe @@ -1,4 +1,4 @@ -SUMMARY="LTris as a tetris clone" +SUMMARY="LTris is a tetris clone" DESCRIPTION="LTris is a tetris clone: differently shaped blocks are falling down the \ rectangular playing field and can be moved sideways or rotated by 90 degree \ units with the aim of building lines without gaps which then disappear \ @@ -11,6 +11,7 @@ LICENSE="GNU GPL v2" COPYRIGHT="2002-2011 Michael Speck" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +PATCHES="ltris-1.0.19.patch" GLOBAL_WRITABLE_FILES="var/ltris.hscr keep-old" PROVIDES=" @@ -44,6 +45,7 @@ BUILD() libtoolize --force --copy --install LDFLAGS=-lintl runConfigure ./configure make $jobArgs + addResourcesToBinaries LTris.rdef src/ltris } INSTALL() { diff --git a/games-puzzle/ltris/patches/ltris-1.0.19.patch b/games-puzzle/ltris/patches/ltris-1.0.19.patch new file mode 100644 index 000000000..3a4a239e7 --- /dev/null +++ b/games-puzzle/ltris/patches/ltris-1.0.19.patch @@ -0,0 +1,40 @@ +--- /dev/null 2014-09-03 18:56:15.136019000 +0200 ++++ ltris-1.0.19/LTris.rdef 2014-09-03 17:14:27.000000000 +0200 +@@ -0,0 +1,37 @@ ++resource app_signature "application/x-vnd-ltris"; ++ ++resource app_flags B_SINGLE_LAUNCH; ++ ++resource app_version { ++ major = 1, ++ middle = 0, ++ minor = 19, ++ ++ /* 0 = development 1 = alpha 2 = beta ++ 3 = gamma 4 = golden master 5 = final */ ++ variety = 5, ++ ++ internal = 0, ++ ++ short_info = "LTris is a tetris clone.", ++ long_info = "LTris is a tetris clone: differently shaped blocks are falling down the rectangular playing field." ++}; ++ ++resource vector_icon { ++ $"6E6369660A05000200060239BCD5357062B86B6C3CA1364826E049473700C0BE" ++ $"33FF6A6925020006023C15033A71ACB873493A166346BF9949CB5C00FFFC1BFF" ++ $"CDCB16020006023A39972E8567AFC35B3B523345A11E4863C900CECC1BFF9E9D" ++ $"150392901702001602399F0E3686A9B98DF63C8C42488EEB4924C900C2FF5A02" ++ $"0016023C15033A71ACB873493A166347FF994A15AE00FAFFD7020016023C9D60" ++ $"377C1EB78C243CA9674705BF48FA9100DAFFB30578040174060A04223E224A2D" ++ $"4F2D420A042D422D4F334B333F0A04223E2D42333F283B0A1C224A223E233D22" ++ $"3C222F282D2E2F2E2735243F283F2A41294B2D4B394A3B4B3C5740574C51504B" ++ $"4E4B5545593A543A483B473344334B2D4F0A072D513A4F455B5159575A605337" ++ $"420A04463F533E35332E351B0A090104000A0001031001178403040A01010100" ++ $"0A020100000A040102000A05010120382A0A06010020382A0A08010220382A0A" ++ $"0101012020120A0201002020120A0301022020120A010101202C170A02010020" ++ $"2C170A040102202C170A05010120381C0A06010020381C0A08010220381C0A05" ++ $"01012044210A0601002044210A0701022044210A090105000A010101202C090A" ++ $"020100202C090A030102202C090A05010120380E0A06010020380E0A07010220" ++ $"380E" ++};