aboutsummaryrefslogblamecommitdiffstats
path: root/community/rofi/APKBUILD
blob: 4a529f09464a05ffa2760c6715444be082cc53d7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
            
            



                                                                     
                                           
                                                                     
                                   
             





                        
                  
                      








                                                  
                                       
                                                                                        

                                                                                                           
                            
                                        
         
 


                       
                                                           
                                                                   
                                                                

 
         

                                                   


         
                                            


           
                                                              

 

                                                                                                                                                   

                                                                                                                                                                                            


                                                                                                                                                                  
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=rofi
pkgver=1.6.1
pkgrel=0
_libnkutils=6164bacaef10031ce77380499cfad2ae818ab6b0
_libgwater=e6faf48267ae40547cb86c125f265f54f382df1c
pkgdesc="Window switcher, application launcher and dmenu replacement"
url="https://github.com/DaveDavenport/rofi"
arch="all !s390x !mips !mips64 !riscv64" # limited by librsvg -> rust
arch="$arch !aarch64" # No cppcheck
license="MIT"
makedepends="
	meson
	glib-dev
	cairo-dev
	pango-dev
	libxkbcommon-dev
	libxcb-dev
	gdk-pixbuf-dev
	xcb-util-dev
	xcb-util-wm-dev
	xcb-util-xrm-dev
	startup-notification-dev
	flex
	bison
	ronn
	"
checkdepends="cppcheck check-dev xkeyboard-config"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/davatorium/rofi/releases/download/$pkgver/rofi-$pkgver.tar.gz
	libnkutils-$_libnkutils.tar.gz::https://github.com/sardemff7/libnkutils/archive/$_libnkutils.tar.gz
	libgwater-$_libgwater.tar.gz::https://github.com/sardemff7/libgwater/archive/$_libgwater.tar.gz
	scrollbar-test.patch
	meson-remove-broken-target.patch
	"

prepare() {
	default_prepare

	rm -rf subprojects/libnkutils subprojects/libgwater
	mv "$srcdir"/libnkutils-$_libnkutils subprojects/libnkutils
	mv "$srcdir"/libgwater-$_libgwater subprojects/libgwater
}

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
b54e75818a98fa9262a3016260051837de189d49beff4f4a158cb2e7f41438641377e11d75c164f423e6a86d8b8fca3b76e2630611678525465d06c21b393f60  rofi-1.6.1.tar.gz
b1e3b87782aa482063d1038e2bbceccba227b4b191e2de96662c64f4752739acf8ccb43f3fb35039ea3011881b737dbb3e8cb96240bcfc1f5237d8a84a2f37a6  libnkutils-6164bacaef10031ce77380499cfad2ae818ab6b0.tar.gz
f3966472289ee4f2c1f2a6f51f22c70c992e715102f79648dbbf8d77d597f5eda0e471a9e8058629fce87d8570ac32b2d87cb62b75bc310199685cf6be0c74bd  libgwater-e6faf48267ae40547cb86c125f265f54f382df1c.tar.gz
2edf85133c4ce1817a37ea480913725ff086bc570bcac7ea5100d7516dce816ba6471e530a1d979fbaf0d68ce2d4e4e7ddc9c32f238c2ac2db95fde98f62a44e  scrollbar-test.patch
0e943bbfe75a9916987583cbf803337fd481030502c83c2633df4a8ba104fb354db0b900612fd0f960a8f17d04dd732dcac33e31520358b50f393bbfdae723be  meson-remove-broken-target.patch
"