lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 55 lines 1.6 kB view raw
1{ stdenv, fetchurl, lib, file 2, pkgconfig, autoconf 3, glib, dbus-glib, json-glib 4, gtk2, libindicator-gtk2, libdbusmenu-gtk2, libappindicator-gtk2 }: 5 6with lib; 7 8stdenv.mkDerivation rec { 9 name = "indicator-application-gtk2-${version}"; 10 version = "12.10.0.1"; 11 12 src = fetchurl { 13 url = "${meta.homepage}/indicator-application-gtk2/i-a-${version}/+download/indicator-application-${version}.tar.gz"; 14 sha256 = "1xqsb6c1pwawabw854f7aybjrgyhc2r1316i9lyjspci51zk5m7v"; 15 }; 16 17 nativeBuildInputs = [ pkgconfig autoconf ]; 18 19 buildInputs = [ 20 glib dbus-glib json-glib 21 gtk2 libindicator-gtk2 libdbusmenu-gtk2 libappindicator-gtk2 22 ]; 23 24 postPatch = '' 25 substituteInPlace configure.ac \ 26 --replace 'DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`' \ 27 "DBUSSERVICEDIR=$out/share/dbus-1/services" 28 autoconf 29 for f in {configure,ltmain.sh,m4/libtool.m4}; do 30 substituteInPlace $f \ 31 --replace /usr/bin/file ${file}/bin/file 32 done 33 substituteInPlace src/Makefile.in \ 34 --replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib" 35 ''; 36 37 configureFlags = [ 38 "CFLAGS=-Wno-error" 39 "--sysconfdir=/etc" 40 "--localstatedir=/var" 41 ]; 42 43 installFlags = [ 44 "sysconfdir=\${out}/etc" 45 "localstatedir=\${TMPDIR}" 46 ]; 47 48 meta = { 49 description = "Indicator to take menus from applications and place them in the panel (GTK+ 2 library for Xfce/LXDE)"; 50 homepage = https://launchpad.net/indicators-gtk2; 51 license = licenses.gpl3; 52 platforms = platforms.linux; 53 maintainers = [ maintainers.msteen ]; 54 }; 55}