diff --git a/common/shlibs b/common/shlibs index c545de84450..eb0cd5e3744 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2030,3 +2030,4 @@ libavc1394.so.0 libavc1394-0.5.4_1 libiec61883.so.0 libiec61883-1.2.0_1 libffado.so.2 libffado-2.2.1_1 libossp-uuid.so.16 libossp-1.6.2_1 +libplayerctl-1.0.so.0 playerctl-0.4.2_1 diff --git a/srcpkgs/playerctl-devel b/srcpkgs/playerctl-devel new file mode 120000 index 00000000000..9deb4855064 --- /dev/null +++ b/srcpkgs/playerctl-devel @@ -0,0 +1 @@ +playerctl \ No newline at end of file diff --git a/srcpkgs/playerctl/template b/srcpkgs/playerctl/template new file mode 100644 index 00000000000..ac53fbf60c1 --- /dev/null +++ b/srcpkgs/playerctl/template @@ -0,0 +1,31 @@ +# Template file for 'playerctl' +pkgname=playerctl +version=0.4.2 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config libtool" +makedepends="glib-devel gobject-introspection" +short_desc="MPRIS command-line controller and library" +maintainer="Duncaen " +license="LGPL-3" +homepage="https://github.com/acrisci/playerctl" +distfiles="https://github.com/acrisci/playerctl/releases/download/v${version}/${pkgname}-${version}.tar.gz" +checksum=4e6d05f0b1a5bd781cef69e3b08db2f965914dc52a934d099887113fcd5e7959 + +do_build() { + : ${make_cmd:=make} + ${make_cmd} -j 1 ${make_build_args} ${make_build_target} +} + +playerctl-devel_package() { + depends="playerctl>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}