libepc: fix a build error in libepc/enums.h.
This commit is contained in:
parent
0ca48ac637
commit
c51f1343fa
|
@ -5,6 +5,8 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
revision=1
|
||||||
|
|
||||||
Add_dependency run gtk+3-devel
|
Add_dependency run gtk+3-devel
|
||||||
Add_dependency run avahi-glib-libs-devel
|
Add_dependency run avahi-glib-libs-devel
|
||||||
Add_dependency run libsoup-devel
|
Add_dependency run libsoup-devel
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'libepc'
|
# Template file for 'libepc'
|
||||||
pkgname=libepc
|
pkgname=libepc
|
||||||
version=0.4.1
|
version=0.4.1
|
||||||
|
revision=1
|
||||||
homepage="http://live.gnome.org/libepc"
|
homepage="http://live.gnome.org/libepc"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
@ -42,3 +43,10 @@ Add_dependency build gtk+3-devel
|
||||||
Add_dependency build libsoup-devel
|
Add_dependency build libsoup-devel
|
||||||
Add_dependency build avahi-glib-libs-devel
|
Add_dependency build avahi-glib-libs-devel
|
||||||
Add_dependency build avahi-ui-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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user