| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | # Copyright 2016 Julian Ospald <hasufell@posteo.de> | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require cmake | 
					
						
							| 
									
										
										
										
											2016-04-22 15:42:34 +00:00
										 |  |  | require github [ user=mhogomchungu ] | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | SUMMARY="Front end to cryptsetup" | 
					
						
							|  |  |  | HOMEPAGE="http://mhogomchungu.github.io/zuluCrypt/" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-17 01:53:28 +00:00
										 |  |  | LICENCES="|| ( GPL-2 GPL-3 )" | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | SLOT="0" | 
					
						
							|  |  |  | PLATFORMS="~amd64 ~x86" | 
					
						
							|  |  |  | MYOPTIONS="
 | 
					
						
							|  |  |  |     gnome [[ description = [ Enable support for the freedesktop.org | 
					
						
							|  |  |  |                              Secret Service API via libsecret ] ]] | 
					
						
							|  |  |  |     gui [[ description = [ Whether to build the QT gui ] ]] | 
					
						
							|  |  |  |     kde [[ requires = [ gui ] | 
					
						
							|  |  |  |            description = [ Enable support for KDE, e.g. via kwallet ] ]] | 
					
						
							| 
									
										
										
										
											2016-12-03 23:42:54 +00:00
										 |  |  |     polkit [[ description = [ Set this option to \"true\" if you want GUI components to start elevated and run in \"mixed\" mode. Good thing about | 
					
						
							|  |  |  | this option is that CLI components will not be suid-root. Bad things about setting this option are: | 
					
						
							|  |  |  | 1. zuluMount-gui will loose its ability to unlock encrypted folders. | 
					
						
							|  |  |  | 2. lxqt_wallet wallet functionality will be disabled. | 
					
						
							|  |  |  | 3. GUI components will run from root's account and they will look different. ] ]] | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  |    ( providers: eudev systemd ) [[ number-selected = exactly-one ]] | 
					
						
							|  |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DEPENDENCIES="
 | 
					
						
							| 
									
										
										
										
											2016-02-28 23:05:15 +00:00
										 |  |  |     build: | 
					
						
							|  |  |  |         virtual/pkg-config | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  |     build+run: | 
					
						
							|  |  |  |         dev-libs/libgcrypt | 
					
						
							|  |  |  |         sys-apps/util-linux | 
					
						
							|  |  |  |         sys-fs/cryptsetup | 
					
						
							|  |  |  |         gnome? ( dev-libs/libsecret:1 ) | 
					
						
							|  |  |  |         gui? ( | 
					
						
							|  |  |  |             dev-libs/libpwquality | 
					
						
							|  |  |  |             x11-libs/qtbase:5 | 
					
						
							|  |  |  |         ) | 
					
						
							|  |  |  |         kde? ( | 
					
						
							|  |  |  |             kde/kdelibs:4 | 
					
						
							|  |  |  |             kde/kde-runtime:4 | 
					
						
							|  |  |  |         ) | 
					
						
							| 
									
										
										
										
											2016-12-03 23:42:54 +00:00
										 |  |  |         polkit? ( sys-auth/polkit ) | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  |     run: | 
					
						
							| 
									
										
										
										
											2016-04-22 13:11:24 +00:00
										 |  |  |         providers:eudev? ( sys-apps/eudev ) | 
					
						
							|  |  |  |         providers:systemd? ( sys-apps/systemd ) | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CMAKE_SRC_CONFIGURE_PARAMS=( | 
					
						
							| 
									
										
										
										
											2016-03-01 13:54:52 +00:00
										 |  |  |     -DCMAKE_INSTALL_DOCDIR="/usr/share/doc/${PNVR}" | 
					
						
							| 
									
										
										
										
											2016-08-31 21:04:22 +00:00
										 |  |  |     -DINTERNAL_LXQT_WALLET="true" | 
					
						
							|  |  |  |     -DINTERNAL_ZULUPLAY="true" | 
					
						
							| 
									
										
										
										
											2016-04-22 13:11:24 +00:00
										 |  |  |     -DQT5=ON | 
					
						
							|  |  |  |     -DUDEVSUPPORT=ON | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CMAKE_SRC_CONFIGURE_OPTIONS=( | 
					
						
							|  |  |  |     '!gnome NOGNOME' | 
					
						
							|  |  |  |     '!gui   NOGUI' | 
					
						
							|  |  |  |     'gui    WITH_PWQUALITY' | 
					
						
							|  |  |  |     '!kde   NOKDE' | 
					
						
							| 
									
										
										
										
											2016-12-03 23:42:54 +00:00
										 |  |  |     'polkit USE_POLKIT' | 
					
						
							| 
									
										
										
										
											2016-02-16 23:25:13 +00:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 |