diff --git a/common/shlibs b/common/shlibs index 6cadecd8737..1a7b4427edf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2057,3 +2057,4 @@ libopenrawgnome.so.1 libopenraw-0.0.9_1 libgeda.so.42 geda-1.8.2_1 libclutter-gst-3.0.so.0 clutter-gst3-3.0.4_1 libgsound.so.0 gsound-1.0.1_1 +libmediaart-2.0.so.0 libmediaart2-1.9.0_1 diff --git a/srcpkgs/libmediaart2-devel b/srcpkgs/libmediaart2-devel new file mode 120000 index 00000000000..c514c22057b --- /dev/null +++ b/srcpkgs/libmediaart2-devel @@ -0,0 +1 @@ +libmediaart2 \ No newline at end of file diff --git a/srcpkgs/libmediaart2/template b/srcpkgs/libmediaart2/template new file mode 100644 index 00000000000..554cbe61074 --- /dev/null +++ b/srcpkgs/libmediaart2/template @@ -0,0 +1,45 @@ +# Template file for 'libmediaart2' +pkgname=libmediaart2 +version=1.9.0 +revision=1 +build_style=gnu-configure +configure_args="--disable-schemas-compile" +hostmakedepends="pkg-config intltool glib-devel" +makedepends="libglib-devel gdk-pixbuf-devel vala-devel" +short_desc="Media art extraction and cache management library" +maintainer="Juan RP " +license="LGPL-2.1" +homepage="http://www.gnome.org/" +distfiles="${GNOME_SITE}/libmediaart/${version%.*}/libmediaart-$version.tar.xz" +checksum=94668adb29d4dc3115b0fd105942ebd5ca6f5f9dbb2afa8a191a73a747dd506f +wrksrc=libmediaart-$version + +# Package build options +build_options="gir" + +# Disable gir for cross builds. +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + +if [ "$build_option_gir" ]; then + configure_args+=" --enable-introspection" + makedepends+=" gobject-introspection" +else + configure_args+=" --disable-introspection" +fi + +libmediaart2-devel_package() { + depends="libglib-devel gdk-pixbuf-devel ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove usr/share/gtk-doc + if [ "$build_option_gir" ]; then + vmove usr/share/gir-1.0 + vmove usr/share/vala + fi + } +} diff --git a/srcpkgs/libmediaart2/update b/srcpkgs/libmediaart2/update new file mode 100644 index 00000000000..92aef547740 --- /dev/null +++ b/srcpkgs/libmediaart2/update @@ -0,0 +1 @@ +pkgname=libmediaart