Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
7c738a67 by François Cartegnie at 2024-02-08T10:54:21+00:00
contribs: add libdvbcsa
- - - - -
3 changed files:
- + contrib/src/dvbcsa/0001-generate-pkgconfig.patch
- + contrib/src/dvbcsa/SHA512SUMS
- + contrib/src/dvbcsa/rules.mak
Changes:
=====================================
contrib/src/dvbcsa/0001-generate-pkgconfig.patch
=====================================
@@ -0,0 +1,61 @@
+From 8dfac6b239475deb7889e9c91d889703dc16be23 Mon Sep 17 00:00:00 2001
+From: Francois Cartegnie <fcvlc...@free.fr>
+Date: Mon, 18 Dec 2023 17:43:56 +0100
+Subject: [PATCH] generate pkgconfig
+
+---
+ configure.ac | 1 +
+ src/Makefile.am | 3 +++
+ src/dvbcsa.pc.in | 17 +++++++++++++++++
+ 3 files changed, 21 insertions(+)
+ create mode 100644 src/dvbcsa.pc.in
+
+diff --git a/configure.ac b/configure.ac
+index da1ebe5..a98035a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -102,6 +102,7 @@ AC_CONFIG_FILES([
+ Makefile
+ src/Makefile
+ src/dvbcsa/Makefile
++ src/dvbcsa.pc
+ test/Makefile
+ ])
+ AC_OUTPUT
+diff --git a/src/Makefile.am b/src/Makefile.am
+index fa2ddbf..224210d 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -23,3 +23,6 @@ endif
+
+ libdvbcsa_la_LDFLAGS = -version-info 1:1:0 $(libtool_flags)
+
++pkgconfigdir = $(libdir)/pkgconfig
++
++pkgconfig_DATA = dvbcsa.pc
+diff --git a/src/dvbcsa.pc.in b/src/dvbcsa.pc.in
+new file mode 100644
+index 0000000..09a78fc
+--- /dev/null
++++ b/src/dvbcsa.pc.in
+@@ -0,0 +1,17 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++includedir=@includedir@
++datarootdir=@datarootdir@
++libdir=@libdir@
++datadir=@datadir@
++pkgincludedir=@includedir@/@PACKAGE@
++pkgdatadir=${datadir}/@PACKAGE@
++pkglibdir=${libdir}/@PACKAGE@
++pluginsdir=${pkglibdir}/plugins
++
++Name: DVB CSA Library
++Description: implementation of the DVB Common Scrambling Algorithm
++Version: @VERSION@
++Cflags: -I${includedir}
++Requires.private:
++Libs: -L${libdir} -ldvbcsa
+--
+2.43.0
+
=====================================
contrib/src/dvbcsa/SHA512SUMS
=====================================
@@ -0,0 +1 @@
+f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015
libdvbcsa-1.1.0.tar.gz
=====================================
contrib/src/dvbcsa/rules.mak
=====================================
@@ -0,0 +1,27 @@
+# dvbcsa
+
+DVBCSA_VERSION := 1.1.0
+DVBCSA_URL :=
$(VIDEOLAN)/libdvbcsa/$(DVBCSA_VERSION)/libdvbcsa-$(DVBCSA_VERSION).tar.gz
+
+PKGS += dvbcsa
+ifeq ($(call need_pkg,"libdvbcsa >= 1.1.0"),)
+PKGS_FOUND += dvbcsa
+endif
+
+$(TARBALLS)/libdvbcsa-$(DVBCSA_VERSION).tar.gz:
+ $(call download,$(DVBCSA_URL))
+
+.sum-dvbcsa: libdvbcsa-$(DVBCSA_VERSION).tar.gz
+
+libdvbcsa: libdvbcsa-$(DVBCSA_VERSION).tar.gz .sum-dvbcsa
+ $(UNPACK)
+ $(APPLY) $(SRC)/dvbcsa/0001-generate-pkgconfig.patch
+ $(MOVE)
+
+.dvbcsa: libdvbcsa
+ $(RECONF)
+ $(MAKEBUILDDIR)
+ $(MAKECONFIGURE)
+ +$(MAKEBUILD)
+ +$(MAKEBUILD) install
+ touch $@
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/7c738a67d34331dfec4c11b65eb95caa4a0fa971
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/7c738a67d34331dfec4c11b65eb95caa4a0fa971
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits