void-packages/srcpkgs/libepc/template

52 lines
1.5 KiB
Text

# Template file for 'libepc'
pkgname=libepc
version=0.4.1
revision=1
homepage="http://live.gnome.org/libepc"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
build_style=gnu_configure
short_desc="Easy Publish and Consume Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
checksum=1377defd339122a5ef71509d3b761810c58f178985d655b74bc34760ef4ae49e
long_desc="
The Easy Publish and Consume library provides an easy method to:
* publish data using HTTPS: EpcPublisher
* announce that information via DNS-SD: EpcDispatcher
* find that information: EpcConsumer
* and finally consume it
You can use this library as a key/value store published to the network,
using encryption, authentication and service discovery."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run avahi-libs
Add_dependency run avahi-glib-libs
Add_dependency run gnutls
Add_dependency run libuuid
Add_dependency run libsoup
Add_dependency run glib
Add_dependency run gtk+3
Add_dependency run atk
Add_dependency run pango
Add_dependency run gdk-pixbuf
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gtk+3-devel
Add_dependency build libsoup-devel
Add_dependency build avahi-glib-libs-devel
Add_dependency build avahi-ui-libs-devel
post_install()
{
# build error!
sed -e "s|^G_CONST_RETURN|const|g" -i \
${DESTDIR}/usr/include/libepc-1.0/libepc/enums.h
}