mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
FeatherPad: Add recipe-0.1.9 (#3232)
This commit is contained in:
119
app-editors/featherpad/additional-files/featherpad.rdef.in
Normal file
119
app-editors/featherpad/additional-files/featherpad.rdef.in
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
|
||||||
|
resource app_flags B_MULTIPLE_LAUNCH;
|
||||||
|
|
||||||
|
resource app_version {
|
||||||
|
major = @MAJOR@,
|
||||||
|
middle = @MIDDLE@,
|
||||||
|
minor = @MINOR@,
|
||||||
|
|
||||||
|
variety = B_APPV_FINAL,
|
||||||
|
internal = 0,
|
||||||
|
|
||||||
|
short_info = "FeatherPad",
|
||||||
|
long_info = "Lightweight Qt5 text editor"
|
||||||
|
};
|
||||||
|
|
||||||
|
resource app_signature "application/x-vnd.featherpad";
|
||||||
|
|
||||||
|
resource file_types message {
|
||||||
|
"types" = "text/x-source-code",
|
||||||
|
"types" = "text/x-makefile",
|
||||||
|
"types" = "text/x-jamfile",
|
||||||
|
"types" = "text/html",
|
||||||
|
"types" = "text/xml",
|
||||||
|
"types" = "text/plain",
|
||||||
|
"types" = "text/rtf"
|
||||||
|
};
|
||||||
|
|
||||||
|
resource vector_icon {
|
||||||
|
|
||||||
|
$"6E6369661A05FE0382848103696B670387898603A7A8A603B3B4B203B4B4B303"
|
||||||
|
$"A2A39F05F903D2D9E105FA034D76A303C8CACA03878F92038EA8C40393999A03"
|
||||||
|
$"AFBCC803090B0C03A0A29E03A4A7A403A9ABA7038B8D8903888A850397999503"
|
||||||
|
$"D2D5CE035B5E592408052020CBFA20CBFACBFA20CBFA20200211B85BB5ACB855"
|
||||||
|
$"B453B768B5A6B48BB593B57EB59AB48BB593B493B613B493B613B493B613B40E"
|
||||||
|
$"B623B40EB623B403BD19B40DCB04B406C40FB40DCB04B46CCACFB46CCACFBBF7"
|
||||||
|
$"CB0BCB12CACEC387CB00CB12CACECB70CB03CB70CB03CB78C40ECB70B626CB7C"
|
||||||
|
$"BD19CB70B626CAEBB60FCAEBB60FCAEBB60FCAEFB593CAEFB593C9FDB59AC722"
|
||||||
|
$"B5ACC817B5A6C726B453C518B5904DB406C49AB53AC32BB523C31DB3CFC1DDB5"
|
||||||
|
$"D6BFE0B56043B3B4BEFCB4E7BD43B5A6BDB1B3F7BC80B456BA66B590BB4FB484"
|
||||||
|
$"BA91B4060207B85BB5ACB87CB65CB855B453BA66B590BA91B406BB4FB484BD43"
|
||||||
|
$"B5A6BC80B456BD43B5A6BD31B60CBD31B60CBD08B6C1BCC0B82DBCE9B777BB87"
|
||||||
|
$"B887BA61B6A2BAF6B77BBAAAB7E6B8B2B7BFB99FB8D5B899B70D000ABD43B5A6"
|
||||||
|
$"BD43B5A6BDB1B3F7BFE0B560BEFCB4E743B3B4C32BB523C1DDB5D6C31CB60CC2"
|
||||||
|
$"CAB7D4C300B6F3C2B7B760C27BB5FDC28FB674C227B6C4C1A4B861C1EFB796C0"
|
||||||
|
$"6FB83EBFA7B61CC00DB70FBF98B736BDF0B87BBF00B81BBD8BB7B9BD31B60C3A"
|
||||||
|
$"B6E1BD31B60CBD43B5A6BD43B5A6BD43B5A60003BE15B5B3BE15B5B3BDBAB64D"
|
||||||
|
$"BE09B788BDB6B6EABF40B7E5BE15B5B3BF75B501BE15B5B30202C0ACB5B345B5"
|
||||||
|
$"1EC025B64AC175B788C095B7BCC1EBB6F00204B493B613B500BC33B55DB632B7"
|
||||||
|
$"BCB690B6F3B670B6DCB697B51AB6B5B5FAB69EB4F5BCA925C892B53AC29FB3B8"
|
||||||
|
$"C28B0204C837B676C8EFB688C90DB60ACAEBB60FCA04B626CA8CBC27CA8FC871"
|
||||||
|
$"CBACC26ECA30C28BCA63B6BBCA94BCA0C9ABB69E0206C32BB523C31CB60CC31D"
|
||||||
|
$"B3CFC518B590C49AB53A4DB406C722B5ACC726B453C702B65BC6CAB7BBC6E5B7"
|
||||||
|
$"0AC5D7B8D5C51EB6A3C4D9B7E5C4BBB768C2CAB7D4C342B906C300B6F30205B4"
|
||||||
|
$"8BB593B48BB593B57EB59AB85BB5ACB768B5A6B87CB65CB8B2B7BFB899B70DB8"
|
||||||
|
$"63B757B7BCB690B810B6F3B6F3B670B493B613B55DB632B493B6130205C722B5"
|
||||||
|
$"ACC702B65BC817B5A6CAEFB593C9FDB59ACAEFB593CAEBB60FCAEBB60FCA04B6"
|
||||||
|
$"26C837B676C90DB60AC796B6AFC6CAB7BBC73AB747C6E5B70A0202BE15B5B3BD"
|
||||||
|
$"BAB64DBF75B501BE09B788BF40B7E5BDB6B6EA0202C0ACB5B3C025B64A45B51E"
|
||||||
|
$"C175B788C1EBB6F0C095B7BC0206B40EB623B403BD19B40EB623B493B613B493"
|
||||||
|
$"B613B500BC3325C892B3B8C28BB50AC92CB51ECA61B516C9C7B4F3CA7DB46CCA"
|
||||||
|
$"CF24CAB4B46CCACFB40DCB04B40DCB04B406C40F0206CAEBB60FCA8CBC27CAEB"
|
||||||
|
$"B60FCB70B626CB70B626CB7CBD19CB70CB03CB78C40ECB70CB03CB12CACECB12"
|
||||||
|
$"CACECAE5CAB4CA5DCA61CA8ACA7DCA6AC9BBCA8FC871CA7CC917CBACC26E0212"
|
||||||
|
$"BCC0B82DBB87B887BCE9B777BD31B60CBD08B6C13AB6E1BDF0B87BBD8BB7B9BD"
|
||||||
|
$"8FB8B5BCC8B927BD2BB8EDBC51B959BB6731BBDCB98F32BA16B72DBA42B77FB9"
|
||||||
|
$"0AB72DBA42B73BBAB8B73BBAB8B7E8BAE1B9F7BB5BB947BB33B904BB92B730BC"
|
||||||
|
$"4FB6A3BA94B79BBC58B8D4BC74B86CBC6AB878BCC6B76FBD46B755BCB5B7DA40"
|
||||||
|
$"B71CC4C9B747C25AB6DEC56CB670C6B3B6A7C60DB627C77D25C892B5F0C85FB5"
|
||||||
|
$"3AC29FB51AB6B5B4F5BCA9B5FAB69EB7BCB690B6DCB697B810B6F3B8B2B7BFB8"
|
||||||
|
$"63B757B99FB8D5BA61B6A2BAAAB7E6BAF6B77B0205BFA7B61CBF98B736C00DB7"
|
||||||
|
$"0FC1A4B861C06FB83EC1A4B861C188B8BBC188B8BBBFF2B8DEBCC8B927BE5DB9"
|
||||||
|
$"0ABD2BB8EDBDF0B87BBD8FB8B5BF00B81B0016C1A4B861C1A4B861C1EFB796C2"
|
||||||
|
$"7BB5FDC227B6C4C28FB674C2CAB7D4C2B7B760C342B906C51EB6A3C4BBB768C4"
|
||||||
|
$"D9B7E5C6CAB7BBC5D7B8D5C73AB747C837B676C796B6AFC8EFB688CA63B6BBC9"
|
||||||
|
$"ABB69ECA94BCA0CA8FC871CA30C28BC41FC832B73CC84BBDACC875B73CC84BB7"
|
||||||
|
$"07C7EDB707C7EDB81DC733B8BBC4BAB868C5EAB98AC47FBB2BC40EBA5BC442BD"
|
||||||
|
$"59C420C1B3C41FBF85C424C18DC3FCC11FC390C144C3B5BFD5C2A3BC57C314BD"
|
||||||
|
$"DFC353BDB5C29EBF8FC09BBEF0C20DBFA8BF35C12DBE38C367BF55C27ABD3BC5"
|
||||||
|
$"18BB37C384BBC2C68EBB42C97FBB3DC806BB44C8FCBAEAC7EABA5BC876BA9BC5"
|
||||||
|
$"E6B979C188B8BBC3C7B891C188B8BBC1A4B861C1A4B861C1A4B8610004C4C9BC"
|
||||||
|
$"F1C4C9BCF1C49DBD2EC41CBDE4C447BDA7C55CBDF5C7E0BDE4C69FBDF5C76DBC"
|
||||||
|
$"83C4C9BCF1C5E9BCDBC4C9BCF10407FA3EC29EC323C29BC3A6C29EC428C29EC4"
|
||||||
|
$"28C40BC428C853C42AC6E7C42AC853C42AC856C3A6C853C323C853C323C6E6C3"
|
||||||
|
$"23C29EC323C40AC323C29EC3230203B9C3C539BB2BC52CB9C3C579B9C5C63DB9"
|
||||||
|
$"C5C5FDBB42C629BDFDC53D3AC703BC93C52E0212BCC8B927BC51B959BE5DB90A"
|
||||||
|
$"C188B8BBBFF2B8DEC3C7B891C7EABA5BC5E6B979C73633C518BB37C5CDBAFFC3"
|
||||||
|
$"84BBC2C12DBE38C27ABD3BC367BF55BF8FC09BBFA8BF35BEF0C20DBC57C314BD"
|
||||||
|
$"B5C29EBC32C334BBC2C390BBE7C372BB9CC3B0BB2BC40EBB51C3EFBA5BC442B8"
|
||||||
|
$"BBC4BAB98AC47FB988C123BF04BC52BCF5BF21BB87BDECB71CC4C9B91CC18BB7"
|
||||||
|
$"47C25AB76FBD46B7DA40B80FBD83B92FBE39B898BDECB93EBDA4B92DBC79B93E"
|
||||||
|
$"BD0F30BC32B9F7BB5BB9C5BBA2BA5BBB1EBAEDBA66BAADBACABB0CBA3EBB6731"
|
||||||
|
$"BB49B9EEBBDCB98F0203B72DBA42B86DBA48B77FB90ABB673132BA16BB49B9EE"
|
||||||
|
$"BAEDBA66BB0CBA3EB9ADBA520204B72DBA42B72DBA42B86DBA48BAEDBA66B9AD"
|
||||||
|
$"BA52BAADBACAB9F7BB5BBA5BBB1EB947BB33B73BBAB8B7E8BAE1B73BBAB80203"
|
||||||
|
$"C7EABA5BC73633C876BA9BC97FBB3DC8FCBAEAC806BB44C518BB37C68EBB42C5"
|
||||||
|
$"CDBAFF0204B730BC4FB79BBC58B6A3BA94B9F7BB5BB904BB92B9C5BBA2B92DBC"
|
||||||
|
$"7930BC32B92DBC79B8D4BC74B8D4BC74B86CBC6A0204B8D4BC74B878BCC6B8D4"
|
||||||
|
$"BC74B92DBC79B92DBC79B93EBD0FB92FBE39B93EBDA4B898BDECB76FBD46B80F"
|
||||||
|
$"BD83B755BCB50205B71CC4C9B6DEC56CB91CC18BBF04BC52BB87BDECBCF5BF21"
|
||||||
|
$"B8BBC4BAB988C123B868C5EAB707C7EDB81DC733B6E1C79EB670C6B329C702B6"
|
||||||
|
$"A7C60D0203C4C9BCF1C49DBD2EC5E9BCDBC7E0BDE4C76DBC83C69FBDF5C41CBD"
|
||||||
|
$"E4C55CBDF5C447BDA70203BBC2C390BD8CC3A2BBE7C372BC57C314BC32C334BD"
|
||||||
|
$"DFC353C11FC390BFD5C2A3BF55C3970204C29EC323C29EC323C40AC323C853C3"
|
||||||
|
$"23C6E6C323C853C323C856C3A6C856C3A6C66CC3A6C29BC3A6C485C3A6C29BC3"
|
||||||
|
$"A60204BB2BC40EBD59C420BB51C3EFBBC2C390BB9CC3B0BD8CC3A2C11FC390BF"
|
||||||
|
$"55C397C144C3B5C1B3C41FC18DC3FCBF85C4240204C29BC3A6C29BC3A6C485C3"
|
||||||
|
$"A6C856C3A6C66CC3A6C856C3A6C853C42AC853C42AC6E7C42AC29EC428C40BC4"
|
||||||
|
$"28C29EC4280203B9C3C539B9C3C579BB2BC52CBDFDC53DBC93C52E3AC703B9C5"
|
||||||
|
$"C63DBB42C629B9C5C5FD020725C892B50AC92CB5F0C85FB670C6B3B627C77D29"
|
||||||
|
$"C702B707C7EDB6E1C79EB707C7EDB73CC84BB73CC84BBDACC875CA8FC871C41F"
|
||||||
|
$"C832CA7CC917CA5DCA61CA6AC9BBC347CA6AB51ECA61BC34CA77B516C9C70204"
|
||||||
|
$"B46CCACFBBF7CB0B24CAB4B51ECA61B4F3CA7DBC34CA77CA5DCA61C347CA6ACA"
|
||||||
|
$"8ACA7DCB12CACECAE5CAB4C387CB001E0A00020001000A010102000A02030304"
|
||||||
|
$"05000A020106000A020107000A030108000A040109000A04010A000A05010B00"
|
||||||
|
$"0A06010C000A07010D000A07010E000A08010F000A090110000A0A0411121314"
|
||||||
|
$"000A0B0115000A0C0116000A0D0117000A0E0118000A0F0119000A10011A000A"
|
||||||
|
$"11011B000A12011C000A13011D000A14011E000A15011F000A160120000A1701"
|
||||||
|
$"21000A180122000A19012300"
|
||||||
|
};
|
||||||
101
app-editors/featherpad/featherpad-0.9.2.recipe
Normal file
101
app-editors/featherpad/featherpad-0.9.2.recipe
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
SUMMARY="A lightweight Qt5 plain-text editor for Linux"
|
||||||
|
DESCRIPTION="FeatherPad (by Pedram Pourang, a.k.a. Tsu Jan \
|
||||||
|
<tsujan2000@gmail.com>) is a lightweight Qt5 plain-text editor for Linux \
|
||||||
|
It is independent of any desktop environment and has: \
|
||||||
|
* Drag-and-drop support, including tab detachment and attachment;
|
||||||
|
* X11 virtual desktop awareness (using tabs on current desktop but opening \
|
||||||
|
a new window on another);
|
||||||
|
* An optionally permanent search-bar with a different search entry for each tab;
|
||||||
|
* Instant highlighting of found matches when searching;
|
||||||
|
* A docked window for text replacement;
|
||||||
|
* Support for showing line numbers and jumping to a specific line;
|
||||||
|
* Automatic detection of text encoding as far as possible and optional \
|
||||||
|
saving with encoding;
|
||||||
|
* Syntax highlighting for common programming languages;
|
||||||
|
* Ability to open URLs with appropriate applications;
|
||||||
|
* Session management;
|
||||||
|
* Side-pane mode;
|
||||||
|
* Auto-saving;
|
||||||
|
* Printing;
|
||||||
|
* Text zooming;
|
||||||
|
* Appropriate but non-interrupting prompts;
|
||||||
|
* Haiku OS support; and
|
||||||
|
* Other features that can be found in its settings,
|
||||||
|
on its menus or when it is actually used."
|
||||||
|
HOMEPAGE="https://github.com/tsujan/FeatherPad"
|
||||||
|
COPYRIGHT="2016, 2018 Pedram Pourang"
|
||||||
|
LICENSE="GNU GPL v3"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/tsujan/FeatherPad/archive/V$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="f3ed0bc17b1679e8498d3e453209055274a9f89b1fec01a1201389365d47e67c"
|
||||||
|
SOURCE_FILENAME="FeatherPad-$portVersion-tar.gz"
|
||||||
|
SOURCE_DIR="FeatherPad-$portVersion"
|
||||||
|
ADDITIONAL_FILES="featherpad.rdef.in"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
featherpad$secondaryArchSuffix = $portVersion
|
||||||
|
app:FeatherPad$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libGL$secondaryArchSuffix
|
||||||
|
lib:libQt5Core$secondaryArchSuffix
|
||||||
|
lib:libQt5Gui$secondaryArchSuffix
|
||||||
|
lib:libQt5Network$secondaryArchSuffix
|
||||||
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||||
|
lib:libQt5Svg$secondaryArchSuffix
|
||||||
|
lib:libQt5Widgets$secondaryArchSuffix
|
||||||
|
lib:libz$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libGL$secondaryArchSuffix
|
||||||
|
devel:libQt5Core$secondaryArchSuffix
|
||||||
|
devel:libQt5Gui$secondaryArchSuffix
|
||||||
|
devel:libQt5Network$secondaryArchSuffix
|
||||||
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||||
|
devel:libQt5Svg$secondaryArchSuffix
|
||||||
|
devel:libQt5Widgets$secondaryArchSuffix
|
||||||
|
devel:libz$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:find
|
||||||
|
cmd:g++$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:lrelease$secondaryArchSuffix >= 5
|
||||||
|
cmd:make
|
||||||
|
cmd:pkg_config$secondaryArchSuffix
|
||||||
|
cmd:qmake$secondaryArchSuffix >= 5
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
qmake PREFIX=$appsDir/FeatherPad
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
|
||||||
|
local APP_SIGNATURE="application/x-vnd-featherpad"
|
||||||
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||||
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||||
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||||
|
local LONG_INFO="$SUMMARY"
|
||||||
|
|
||||||
|
sed \
|
||||||
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||||
|
-e "s|@MAJOR@|$MAJOR|" \
|
||||||
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||||
|
-e "s|@MINOR@|$MINOR|" \
|
||||||
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||||
|
$portDir/additional-files/featherpad.rdef.in > featherpad.rdef
|
||||||
|
|
||||||
|
addResourcesToBinaries featherpad.rdef $appsDir/FeatherPad/FeatherPad
|
||||||
|
addAppDeskbarSymlink $appsDir/FeatherPad/FeatherPad
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user