diff --git a/srcpkgs/libgnome-media-profiles-devel b/srcpkgs/libgnome-media-profiles-devel new file mode 120000 index 00000000000..6f773911d6e --- /dev/null +++ b/srcpkgs/libgnome-media-profiles-devel @@ -0,0 +1 @@ +libgnome-media-profiles \ No newline at end of file diff --git a/srcpkgs/libgnome-media-profiles/depends b/srcpkgs/libgnome-media-profiles/depends new file mode 100644 index 00000000000..ab0d9627ad7 --- /dev/null +++ b/srcpkgs/libgnome-media-profiles/depends @@ -0,0 +1,2 @@ +abi_depends=">=3.0.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgnome-media-profiles/libgnome-media-profiles-devel.template b/srcpkgs/libgnome-media-profiles/libgnome-media-profiles-devel.template new file mode 100644 index 00000000000..03887caa054 --- /dev/null +++ b/srcpkgs/libgnome-media-profiles/libgnome-media-profiles-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libgnome-media-profiles-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run gnome-doc-utils + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + #mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libgnome-media-profiles/template b/srcpkgs/libgnome-media-profiles/template new file mode 100644 index 00000000000..04c5b604d42 --- /dev/null +++ b/srcpkgs/libgnome-media-profiles/template @@ -0,0 +1,54 @@ +# Template file for 'libgnome-media-profiles' +pkgname=libgnome-media-profiles +version=3.0.0 +distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var --disable-schemas-install +--disable-scrollkeeper --with-gconf-schema-file-dir=/usr/share/gconf/schemas" +short_desc="GNOME Media Profiles" +maintainer="Juan RP " +checksum=ab1288e53a8fccca3e8fa59757ef586901e236e09a737a1178eeb8d74428c061 +long_desc=" + This package contains a Library to manage media profiles." + +gconf_schemas="gnome-media-profiles.schemas" +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run libpng +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run libxml2 +Add_dependency run gtk+3 +Add_dependency run gstreamer +Add_dependency run GConf + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gnome-doc-utils +Add_dependency build gtk+3-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build libpng-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gstreamer-devel +Add_dependency build libxml2-devel +Add_dependency build GConf-devel +Add_dependency build glib-devel + +Add_dependency full gst-plugins-base + +post_install() +{ + mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc} + gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \ + --domain gnome-media-profiles ${wrksrc}/*.schemas +}