diff --git a/srcpkgs/libgweather-devel b/srcpkgs/libgweather-devel new file mode 120000 index 00000000000..33c4dea4aeb --- /dev/null +++ b/srcpkgs/libgweather-devel @@ -0,0 +1 @@ +libgweather \ No newline at end of file diff --git a/srcpkgs/libgweather/depends b/srcpkgs/libgweather/depends new file mode 100644 index 00000000000..071d27b792a --- /dev/null +++ b/srcpkgs/libgweather/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgweather/libgweather-devel.template b/srcpkgs/libgweather/libgweather-devel.template new file mode 100644 index 00000000000..cd78eef9980 --- /dev/null +++ b/srcpkgs/libgweather/libgweather-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libgweather-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libgweather/libgweather-python.template b/srcpkgs/libgweather/libgweather-python.template new file mode 100644 index 00000000000..956fafe9e5f --- /dev/null +++ b/srcpkgs/libgweather/libgweather-python.template @@ -0,0 +1,16 @@ +# Template file for 'libgweather-python'. +# +short_desc="${sourcepkg} - python bindings" +long_desc="${long_desc} + + This package contains the python bindings." + +Add_dependency run glibc +Add_dependency run python +Add_dependency run libgweather + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libgweather/template b/srcpkgs/libgweather/template new file mode 100644 index 00000000000..aba3fe461c6 --- /dev/null +++ b/srcpkgs/libgweather/template @@ -0,0 +1,47 @@ +# Template file for 'libgweather' +pkgname=libgweather +version=2.30.0 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-schemas-install --localstatedir=/var +--with-gconf-schema-file-dir=/usr/share/gconf/schemas +--enable-locations-compression --enable-python +--with-zoneinfo-dir=/usr/share/zoneinfo" +short_desc="Weather information access library" +maintainer="Juan RP " +checksum=25cd8976f98b79f7c336551bea7179a5b29027e95d3ba6a046c638422d440548 +long_desc=" + libgweather is a library to access weather information from online + services for numerous locations." + +gconf_schemas="gweather.schemas" +gtk_iconcache_dirs="/usr/share/icons/gnome" +subpackages="$pkgname-devel $pkgname-python" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+ +Add_dependency run libxml2 +Add_dependency run GConf +Add_dependency run libsoup +Add_dependency run libsoup-gnome +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build python-devel +Add_dependency build glib-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gtk+-devel +Add_dependency build libxml2-devel +Add_dependency build GConf-devel +Add_dependency build libsoup-devel +Add_dependency build libsoup-gnome-devel +Add_dependency full gnome-icon-theme