 202a8fd01b
			
		
	
	
		202a8fd01b
		
			
		
	
	
	
	
		
			
			It's no longer needed after the port to Qt5, which has JSON support of it's own (although qjson has also been ported to qt5 in the meantime, but our exheres doesn't provide that version nor does any package use it AFAIK).
		
			
				
	
	
		
			45 lines
		
	
	
		
			974 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			974 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Copyright 2016 Julian Ospald <hasufell@posteo.de>
 | |
| # Distributed under the terms of the GNU General Public License v2
 | |
| 
 | |
| require gtk-icon-cache
 | |
| require qmake [ slot=5 ]
 | |
| 
 | |
| MY_PNV=${PN}-v${PV}
 | |
| 
 | |
| SUMMARY="Qt-based client for the pump.io distributed social network"
 | |
| HOMEPAGE="http://dianara.nongnu.org/"
 | |
| DOWNLOADS="http://download.savannah.gnu.org/releases/dianara/${MY_PNV}.tar.gz"
 | |
| 
 | |
| LICENCES="|| ( GPL-2 GPL-3 )"
 | |
| SLOT="0"
 | |
| PLATFORMS="~amd64 ~x86"
 | |
| MYOPTIONS=""
 | |
| 
 | |
| DEPENDENCIES="
 | |
|     build+run:
 | |
|         app-crypt/qca:2[qt5(+)]
 | |
|         sys-apps/file
 | |
|         sys-auth/qoauth[>=2.0.0]
 | |
|         x11-libs/qtbase:5
 | |
| "
 | |
| 
 | |
| WORK=${WORKBASE}/${MY_PNV}
 | |
| 
 | |
| EQMAKE_SOURCES=( Dianara.pro )
 | |
| 
 | |
| src_install() {
 | |
|     dobin dianara
 | |
| 
 | |
|     doman manual/*
 | |
|     dodoc README TODO CHANGELOG BUGS
 | |
| 
 | |
|     insinto /usr/share/icons/hicolor/32x32/apps
 | |
|     doins icon/32x32/${PN}.png
 | |
|     insinto /usr/share/icons/hicolor/64x64/apps
 | |
|     doins icon/64x64/${PN}.png
 | |
| 
 | |
|     insinto /usr/share/applications
 | |
|     doins ${PN}.desktop
 | |
| }
 | |
| 
 |