From 4a9a3963f27da4c2979c8450bf86fb3b257b5c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 16 Oct 2016 16:53:39 +0200 Subject: Add artsc pkg-config file on Debian and Ubuntu Refresh 12_cleanup_artsc-config.diff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit f07a76da10ad455e332977167bf7a476a1d00ed3) --- .../arts/debian/libartsc0-trinity-dev.install | 1 + .../debian/patches/12_cleanup_artsc-config.diff | 22 ++++++++++------------ .../arts/debian/libartsc0-trinity-dev.install | 1 + .../debian/patches/12_cleanup_artsc-config.diff | 22 ++++++++++------------ .../arts/debian/libartsc0-trinity-dev.install | 1 + .../debian/patches/12_cleanup_artsc-config.diff | 22 ++++++++++------------ 6 files changed, 33 insertions(+), 36 deletions(-) diff --git a/debian/lenny/dependencies/arts/debian/libartsc0-trinity-dev.install b/debian/lenny/dependencies/arts/debian/libartsc0-trinity-dev.install index a13ee599c..125ebc39e 100644 --- a/debian/lenny/dependencies/arts/debian/libartsc0-trinity-dev.install +++ b/debian/lenny/dependencies/arts/debian/libartsc0-trinity-dev.install @@ -6,3 +6,4 @@ debian/tmp/opt/trinity/lib/libartsc.so debian/tmp/opt/trinity/lib/libartsgsl.a debian/tmp/usr/lib/pkgconfig/arts.pc +debian/tmp/usr/lib/pkgconfig/artsc.pc diff --git a/debian/lenny/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff b/debian/lenny/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff index 57a8122f9..cae8f366d 100644 --- a/debian/lenny/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff +++ b/debian/lenny/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff @@ -1,13 +1,11 @@ -Index: b/artsc/artsc-config.in +Index: b/artsc/artsc.pc.in =================================================================== ---- a/artsc/artsc-config.in -+++ b/artsc/artsc-config.in -@@ -27,7 +27,7 @@ - do - case $1 in - --libs) -- flags="$flags -L$libdir $libdl -lartsc @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@" -+ flags="$flags -L$libdir -lartsc" - ;; - --cflags) - flags="$flags -I$includedir @GLIB_CFLAGS@" +--- a/artsc/artsc.pc.in ++++ b/artsc/artsc.pc.in +@@ -7,5 +7,5 @@ + Name: aRtsC + Description: aRts sound system C support library (TDE) + Version: 0.9.5 +-Libs: -L${libdir} -lartsc @LIBDL@ @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@ ++Libs: -L${libdir} -lartsc + Cflags: -I${includedir} @GLIB_CFLAGS@ diff --git a/debian/squeeze/dependencies/arts/debian/libartsc0-trinity-dev.install b/debian/squeeze/dependencies/arts/debian/libartsc0-trinity-dev.install index a13ee599c..125ebc39e 100644 --- a/debian/squeeze/dependencies/arts/debian/libartsc0-trinity-dev.install +++ b/debian/squeeze/dependencies/arts/debian/libartsc0-trinity-dev.install @@ -6,3 +6,4 @@ debian/tmp/opt/trinity/lib/libartsc.so debian/tmp/opt/trinity/lib/libartsgsl.a debian/tmp/usr/lib/pkgconfig/arts.pc +debian/tmp/usr/lib/pkgconfig/artsc.pc diff --git a/debian/squeeze/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff b/debian/squeeze/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff index 57a8122f9..cae8f366d 100644 --- a/debian/squeeze/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff +++ b/debian/squeeze/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff @@ -1,13 +1,11 @@ -Index: b/artsc/artsc-config.in +Index: b/artsc/artsc.pc.in =================================================================== ---- a/artsc/artsc-config.in -+++ b/artsc/artsc-config.in -@@ -27,7 +27,7 @@ - do - case $1 in - --libs) -- flags="$flags -L$libdir $libdl -lartsc @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@" -+ flags="$flags -L$libdir -lartsc" - ;; - --cflags) - flags="$flags -I$includedir @GLIB_CFLAGS@" +--- a/artsc/artsc.pc.in ++++ b/artsc/artsc.pc.in +@@ -7,5 +7,5 @@ + Name: aRtsC + Description: aRts sound system C support library (TDE) + Version: 0.9.5 +-Libs: -L${libdir} -lartsc @LIBDL@ @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@ ++Libs: -L${libdir} -lartsc + Cflags: -I${includedir} @GLIB_CFLAGS@ diff --git a/ubuntu/maverick/dependencies/arts/debian/libartsc0-trinity-dev.install b/ubuntu/maverick/dependencies/arts/debian/libartsc0-trinity-dev.install index a13ee599c..125ebc39e 100644 --- a/ubuntu/maverick/dependencies/arts/debian/libartsc0-trinity-dev.install +++ b/ubuntu/maverick/dependencies/arts/debian/libartsc0-trinity-dev.install @@ -6,3 +6,4 @@ debian/tmp/opt/trinity/lib/libartsc.so debian/tmp/opt/trinity/lib/libartsgsl.a debian/tmp/usr/lib/pkgconfig/arts.pc +debian/tmp/usr/lib/pkgconfig/artsc.pc diff --git a/ubuntu/maverick/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff b/ubuntu/maverick/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff index 57a8122f9..cae8f366d 100644 --- a/ubuntu/maverick/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff +++ b/ubuntu/maverick/dependencies/arts/debian/patches/12_cleanup_artsc-config.diff @@ -1,13 +1,11 @@ -Index: b/artsc/artsc-config.in +Index: b/artsc/artsc.pc.in =================================================================== ---- a/artsc/artsc-config.in -+++ b/artsc/artsc-config.in -@@ -27,7 +27,7 @@ - do - case $1 in - --libs) -- flags="$flags -L$libdir $libdl -lartsc @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@" -+ flags="$flags -L$libdir -lartsc" - ;; - --cflags) - flags="$flags -I$includedir @GLIB_CFLAGS@" +--- a/artsc/artsc.pc.in ++++ b/artsc/artsc.pc.in +@@ -7,5 +7,5 @@ + Name: aRtsC + Description: aRts sound system C support library (TDE) + Version: 0.9.5 +-Libs: -L${libdir} -lartsc @LIBDL@ @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@ ++Libs: -L${libdir} -lartsc + Cflags: -I${includedir} @GLIB_CFLAGS@ -- cgit v1.2.1