1SUMMARY="Integrated LaTeX Editing Environment" 2DESCRIPTION="Kile is a user-friendly TeX/LaTeX editor by KDE. Kile is available for many \ 3architectures and operating systems such as PC, Mac, and BSD, including Linux and Microsoft \ 4Windows. 5 6The main features are: 7* Compile, convert and view your document with one click. 8* Auto-completion of (La)TeX commands 9* Templates and wizards make starting a new document very little work. 10* Easy insertion of many standard tags and symbols and the option to define (an arbitrary \ 11number of) user defined tags. 12* Inverse and forward search: click in the DVI viewer and jump to the corresponding LaTeX \ 13line in the editor, or jump from the editor to the corresponding page in the viewer. 14* Finding chapter or sections is very easy, Kile constructs a list of all the chapter etc. \ 15in your document. You can use the list to jump to the corresponding section. 16* Collect documents that belong together into a project. 17* Easy insertion of citations and references when using projects. 18* Flexible and smart build system to compile your LaTeX documents. 19* QuickPreview, preview a selected part of your document. 20* Easy access to various help sources. 21* Advanced editing commands." 22HOMEPAGE="https://invent.kde.org/office/kile" 23COPYRIGHT="2003-2019 the Kile Team" 24LICENSE="GNU GPL v2" 25REVISION="1" 26SOURCE_URI="$HOMEPAGE/-/archive/v3.0b3/kile-v3.0b3.tar.bz2" 27CHECKSUM_SHA256="e06c57e6ecb0903f8390d0d600d5ed32be1afefd753d8981b2e56673d6f44d31" 28SOURCE_DIR="kile-v3.0b3" 29PATCHES="kile-$portVersion.patchset" 30ADDITIONAL_FILES="kile.rdef.in" 31 32ARCHITECTURES="all !x86_gcc2" 33SECONDARY_ARCHITECTURES="x86" 34 35GLOBAL_WRITABLE_FILES=" 36 settings/xdg/kile.categories keep-old 37 " 38 39PROVIDES=" 40 kile$secondaryArchSuffix = $portVersion 41 app:Kile$secondaryArchSuffix = $portVersion 42 cmd:kile$secondaryArchSuffix = $portVersion 43 lib:libkdeinit5_kile$secondaryArchSuffix 44 " 45REQUIRES=" 46 haiku$secondaryArchSuffix 47 lib:libKF5Auth$secondaryArchSuffix 48 lib:libKF5Bookmarks$secondaryArchSuffix 49 lib:libKF5Codecs$secondaryArchSuffix 50 lib:libKF5Completion$secondaryArchSuffix 51 lib:libKF5ConfigCore$secondaryArchSuffix 52 lib:libKF5ConfigGui$secondaryArchSuffix 53 lib:libKF5ConfigWidgets$secondaryArchSuffix 54 lib:libKF5CoreAddons$secondaryArchSuffix 55 lib:libKF5Crash$secondaryArchSuffix 56 lib:libKF5DbusAddons$secondaryArchSuffix 57 lib:libKF5GuiAddons$secondaryArchSuffix 58 lib:libKF5Khtml$secondaryArchSuffix 59 lib:libKF5I18n$secondaryArchSuffix 60 lib:libKF5IconThemes$secondaryArchSuffix 61 lib:libKF5ItemViews$secondaryArchSuffix 62 lib:libKF5KIOCore$secondaryArchSuffix 63 lib:libKF5JobWidgets$secondaryArchSuffix 64 lib:libKF5JS$secondaryArchSuffix 65 lib:libKF5Parts$secondaryArchSuffix 66 lib:libKF5Service$secondaryArchSuffix 67 lib:libKF5Solid$secondaryArchSuffix 68 lib:libKF5SonnetCore$secondaryArchSuffix 69 lib:libKF5SyntaxHighlighting$secondaryArchSuffix 70 lib:libKF5TextEditor$secondaryArchSuffix 71 lib:libKF5TextWidgets$secondaryArchSuffix 72 lib:libKF5WidgetsAddons$secondaryArchSuffix 73 lib:libKF5WindowSystem$secondaryArchSuffix 74 lib:libKF5XmlGui$secondaryArchSuffix 75 lib:libpoppler$secondaryArchSuffix 76 lib:libpoppler_qt5$secondaryArchSuffix 77 lib:libQt5Core$secondaryArchSuffix 78 lib:libQt5DBus$secondaryArchSuffix 79 lib:libQt5Gui$secondaryArchSuffix 80 lib:libQt5Network$secondaryArchSuffix 81 lib:libQt5Script$secondaryArchSuffix 82 lib:libQt5Widgets$secondaryArchSuffix 83 lib:libQt5Xml$secondaryArchSuffix 84 " 85 86BUILD_REQUIRES=" 87 haiku${secondaryArchSuffix}_devel 88 extra_cmake_modules$secondaryArchSuffix 89 devel:libkdeinit5_klauncher$secondaryArchSuffix 90 devel:libKF5Auth$secondaryArchSuffix 91 devel:libKF5Bookmarks$secondaryArchSuffix 92 devel:libKF5Codecs$secondaryArchSuffix 93 devel:libKF5Completion$secondaryArchSuffix 94 devel:libKF5ConfigCore$secondaryArchSuffix 95 devel:libKF5ConfigWidgets$secondaryArchSuffix 96 devel:libKF5CoreAddons$secondaryArchSuffix 97 devel:libKF5Crash$secondaryArchSuffix 98 devel:libKF5DbusAddons$secondaryArchSuffix 99 devel:libKF5GuiAddons$secondaryArchSuffix 100 devel:libKF5Khtml$secondaryArchSuffix 101 devel:libKF5I18n$secondaryArchSuffix 102 devel:libKF5IconThemes$secondaryArchSuffix 103 devel:libkdeinit5_klauncher$secondaryArchSuffix 104 devel:libKF5ItemViews$secondaryArchSuffix 105 devel:libKF5JobWidgets$secondaryArchSuffix 106 devel:libKF5JS$secondaryArchSuffix 107 devel:libKF5KIOCore$secondaryArchSuffix 108 devel:libKF5Parts$secondaryArchSuffix 109 devel:libKF5Service$secondaryArchSuffix 110 devel:libKF5Solid$secondaryArchSuffix 111 devel:libKF5SyntaxHighlighting$secondaryArchSuffix 112 devel:libKF5SonnetCore$secondaryArchSuffix 113 devel:libKF5TextEditor$secondaryArchSuffix 114 devel:libKF5TextWidgets$secondaryArchSuffix 115 devel:libKF5WidgetsAddons$secondaryArchSuffix 116 devel:libKF5WindowSystem$secondaryArchSuffix 117 devel:libKF5XmlGui$secondaryArchSuffix 118 devel:libOkular5Core$secondaryArchSuffix 119 devel:libpoppler_qt5$secondaryArchSuffix 120 devel:libQt5Core$secondaryArchSuffix 121 " 122BUILD_PREREQUIRES=" 123 cmd:cmake 124 cmd:g++$secondaryArchSuffix 125 cmd:make 126 cmd:msgfmt 127 cmd:msgmerge 128 cmd:pkg_config$secondaryArchSuffix 129 cmd:qdbuscpp2xml$secondaryArchSuffix >= 5 130 cmd:xsltproc 131 " 132 133BUILD() 134{ 135 cmake -Bbuild -S. $cmakeDirArgs \ 136 -DCMAKE_BUILD_TYPE=Release \ 137 -DECM_DIR=/system/data/cmake/Modules/ECM/cmake -Wno-dev 138 make -C build $jobArgs 139} 140 141INSTALL() 142{ 143 make -C build install 144 145 # cleanup 146 rm -rf $dataDir/{applications,icons,metainfo} 147 148 local MAJOR="`echo "$portVersion" | cut -d. -f1`" 149 local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -d~ -f1`" 150 local APP_NAME="Kile" 151 local LONG_INFO="$SUMMARY" 152 local APP_SIGNATURE="application/x-vnd.kile" 153 sed \ 154 -e "s|@MAJOR@|$MAJOR|" \ 155 -e "s|@MIDDLE@|$MIDDLE|" \ 156 -e "s|@MINOR@|$MINOR|" \ 157 -e "s|@LONG_INFO@|$LONG_INFO|" \ 158 -e "s|@APP_NAME@|$APP_NAME|" \ 159 -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ 160 $portDir/additional-files/kile.rdef.in > kile.rdef 161 162 addResourcesToBinaries kile.rdef $binDir/kile 163 164 addAppDeskbarSymlink $binDir/kile Kile 165} 166