SF.net SVN: gar:[25720] csw/mgar/pkg/libmpeg2/trunk/Makefile
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Mon May 23 11:33:28 CEST 2016
Revision: 25720
http://sourceforge.net/p/gar/code/25720
Author: lblume
Date: 2016-05-23 09:33:28 +0000 (Mon, 23 May 2016)
Log Message:
-----------
libmpeg2/trunk: Update the recipe to a more modern form
Modified Paths:
--------------
csw/mgar/pkg/libmpeg2/trunk/Makefile
Modified: csw/mgar/pkg/libmpeg2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libmpeg2/trunk/Makefile 2016-05-23 09:00:23 UTC (rev 25719)
+++ csw/mgar/pkg/libmpeg2/trunk/Makefile 2016-05-23 09:33:28 UTC (rev 25720)
@@ -16,12 +16,36 @@
PATCHFILES += 0004-Add-missing-libtool.patch
PATCHFILES += 0005-Add-missing-autostuff.patch
-PACKAGES = CSWlibmpeg2 CSWmpeg2dec
-SPKG_DESC_CSWlibmpeg2 = A free MPEG-2 video stream library
+PACKAGES += CSWlibmpeg2-0
+CATALOGNAME_CSWlibmpeg2-0 = libmpeg2_0
+PKGFILES_CSWlibmpeg2-0 += $(call baseisadirs,$(libdir),libmpeg2\.so\.0\.1\.0)
+PKGFILES_CSWlibmpeg2-0 += $(call baseisadirs,$(libdir),libmpeg2\.so\.0(\.\d+)*)
+SPKG_DESC_CSWlibmpeg2-0 += $(DESCRIPTION), libmpeg2.so.0
+RUNTIME_DEP_PKGS_CSWlibmpeg2-0 += CSWlibgcc-s1
+OBSOLETED_BY_CSWlibmpeg2-0 = CSWlibmpeg2
+
+PACKAGES += CSWlibmpeg2convert0
+CATALOGNAME_CSWlibmpeg2convert0 = libmpeg2convert0
+PKGFILES_CSWlibmpeg2convert0 += $(call baseisadirs,$(libdir),libmpeg2convert\.so\.0\.0\.0)
+PKGFILES_CSWlibmpeg2convert0 += $(call baseisadirs,$(libdir),libmpeg2convert\.so\.0(\.\d+)*)
+SPKG_DESC_CSWlibmpeg2convert0 += $(DESCRIPTION), libmpeg2convert.so.0
+RUNTIME_DEP_PKGS_CSWlibmpeg2convert0 += CSWlibgcc-s1
+
+PACKAGES += CSWlibmpeg2-dev
+CATALOGNAME_CSWlibmpeg2-dev = libmpeg2_dev
+SPKG_DESC_CSWlibmpeg2-dev += $(DESCRIPTION), development files
+PKGFILES_CSWlibmpeg2-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibmpeg2-dev += CSWlibmpeg2-0
+RUNTIME_DEP_PKGS_CSWlibmpeg2-dev += CSWlibmpeg2convert0
+
+PACKAGES += CSWmpeg2dec
SPKG_DESC_CSWmpeg2dec = A free MPEG-2 video stream decoder
-RUNTIME_DEP_PKGS_CSWmpeg2dec = CSWlibmpeg2 CSWlibsdl
+RUNTIME_DEP_PKGS_CSWmpeg2dec += CSWlibmpeg2-0
+RUNTIME_DEP_PKGS_CSWmpeg2dec += CSWlibsdl1-2-0
+RUNTIME_DEP_PKGS_CSWmpeg2dec += CSWlibmpeg2convert0
+RUNTIME_DEP_PKGS_CSWmpeg2dec += CSWlibxext
SPKG_SOURCEURL = http://libmpeg2.sourceforge.net
@@ -34,8 +58,8 @@
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --enable-static=no
-CONFIGURE_ARGS += --x-includes=/usr/X11/include
-CONFIGURE_ARGS += --x-libraries=/usr/X11/lib
+CONFIGURE_ARGS += --x-include=/usr/X11/include
+CONFIGURE_ARGS += --x-libraries=$(abspath $(prefix)/X11/lib/$(MM_LIBDIR))
PKGFILES_CSWmpeg2dec = $(bindir)/.*
PKGFILES_CSWmpeg2dec += $(mandir)/man1/.*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list