Added new file

This commit is contained in:
Gerben Jan Dijkman 2021-03-02 15:00:40 +01:00
parent 5b905744a8
commit 4115f02aca
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST libdmapsharing-3.9.10.tar.gz 803580 BLAKE2B 18fc3b9433b361b0bc66dc7081fb474a862c910545e5c5e45adb1214673fb30ebd622a8cd8008458421d56b9a9cd647e623c04e1cfa12ec3212bcd0aae5ac8ff SHA512 7cf29fc987d737b424d322dc266129a09389e4f45438a5fc64f383e106cff861e5e3c8cf94ed0d1390a5315f54a9977a7118ab2b6627c598b14ac2c53a9dd656

View File

@ -0,0 +1,49 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2
DESCRIPTION="A library that implements the DMAP family of protocols"
HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/"
SRC_URI="https://www.flyn.org/projects/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="3.0/2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="+introspection test"
RESTRICT="!test? ( test )"
# Vala/libgee/gtk+:2 is only used when maintainer-mode is enabled
# Doesn't seem to be used for anything...
RDEPEND="
>=dev-libs/glib-2.36:2
x11-libs/gdk-pixbuf:2
>=net-dns/avahi-0.6[dbus]
>=net-libs/libsoup-2.48.0:2.4
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
sys-libs/zlib
introspection? ( >=dev-libs/gobject-introspection-1.30:= )
"
DEPEND="${RDEPEND}
dev-util/glib-utils
dev-util/gtk-doc-am
virtual/pkgconfig
test? ( >=dev-libs/check-0.9.4 )
"
src_prepare() {
# Remove useless CFLAGS alteration in configure
sed -e 's/CFLAGS -O2/CFLAGS/' \
-i configure.ac configure || die
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
--with-mdns=avahi \
$(use_enable introspection) \
$(use_enable test tests) \
$(use_enable test check)
}