diff --git a/common/shlibs b/common/shlibs index 624325c1601..a9659912c24 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2451,3 +2451,4 @@ libipmimonitoring.so.5 freeipmi-1.5.1_1 libipmiconsole.so.2 freeipmi-1.5.1_1 libfreeipmi.so.17 freeipmi-1.5.1_1 libipmidetect.so.0 freeipmi-1.5.1_1 +libsmpeg2-2.0.so.0 smpeg2-2.0.0_1 diff --git a/srcpkgs/smpeg2-devel b/srcpkgs/smpeg2-devel new file mode 120000 index 00000000000..6b16ce7eba8 --- /dev/null +++ b/srcpkgs/smpeg2-devel @@ -0,0 +1 @@ +smpeg2 \ No newline at end of file diff --git a/srcpkgs/smpeg2/template b/srcpkgs/smpeg2/template new file mode 100644 index 00000000000..a676b3adde5 --- /dev/null +++ b/srcpkgs/smpeg2/template @@ -0,0 +1,24 @@ +# Template file for 'smpeg2' +pkgname=smpeg2 +version=2.0.0 +revision=1 +build_style=gnu-configure +makedepends="SDL2-devel" +short_desc="SDL2 MPEG Player Library" +homepage="https://icculus.org/smpeg/" +license="LGPL-2.1" +maintainer="rogi " +distfiles="https://www.libsdl.org/projects/smpeg/release/smpeg2-${version}.tar.gz" +checksum=979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3 + +smpeg2-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/bin/smpeg2-config + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/share/aclocal + } +}