mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
flatpak: Switch to using Adelie Linux a52dec
Original repo is removed, change to maintained fork. Others are doing the same e.g. FreeBSD
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
"flathub/shared-modules/gudev/gudev.json",
|
"flathub/shared-modules/gudev/gudev.json",
|
||||||
"flathub/lib/liba52.json",
|
"testing/liba52.json",
|
||||||
"flathub/lib/libmpeg2.json",
|
"flathub/lib/libmpeg2.json",
|
||||||
"flathub/lib/libdv.json",
|
"flathub/lib/libdv.json",
|
||||||
"flathub/lib/libdvdcss.json",
|
"flathub/lib/libdvdcss.json",
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
],
|
],
|
||||||
"modules": [
|
"modules": [
|
||||||
"flathub/shared-modules/gudev/gudev.json",
|
"flathub/shared-modules/gudev/gudev.json",
|
||||||
"flathub/lib/liba52.json",
|
"testing/liba52.json",
|
||||||
"flathub/lib/libmpeg2.json",
|
"flathub/lib/libmpeg2.json",
|
||||||
"flathub/lib/libdv.json",
|
"flathub/lib/libdv.json",
|
||||||
"flathub/lib/libdvdcss.json",
|
"flathub/lib/libdvdcss.json",
|
||||||
|
23
pkgs/flatpak/testing/a52dec-configure-optflags.patch
Normal file
23
pkgs/flatpak/testing/a52dec-configure-optflags.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
--- ./configure~ 2002-07-28 06:50:42.000000000 +0300
|
||||||
|
+++ ./configure 2003-04-13 17:20:53.000000000 +0300
|
||||||
|
@@ -5366,13 +5366,13 @@
|
||||||
|
|
||||||
|
case "$host" in
|
||||||
|
i?86-* | k?-*)
|
||||||
|
- case "$host" in
|
||||||
|
- i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
|
||||||
|
- i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";;
|
||||||
|
- i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";;
|
||||||
|
- i686-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentiumpro";;
|
||||||
|
- k6-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=k6";;
|
||||||
|
- esac
|
||||||
|
+# case "$host" in
|
||||||
|
+# i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
|
||||||
|
+# i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";;
|
||||||
|
+# i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";;
|
||||||
|
+# i686-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentiumpro";;
|
||||||
|
+# k6-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=k6";;
|
||||||
|
+# esac
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $TRY_CFLAGS $CFLAGS flags" >&5
|
||||||
|
printf %s "checking if $CC supports $TRY_CFLAGS $CFLAGS flags... " >&6; }
|
||||||
|
SAVE_CFLAGS="$CFLAGS"
|
24
pkgs/flatpak/testing/liba52.json
Normal file
24
pkgs/flatpak/testing/liba52.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "liba52",
|
||||||
|
"config-opts": [ "--enable-shared", "--disable-static" ],
|
||||||
|
"rm-configure": true,
|
||||||
|
"cleanup": [ "/bin/*a52*" ],
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "archive",
|
||||||
|
"url": "https://distfiles.adelielinux.org/source/a52dec/a52dec-0.8.0.tar.gz",
|
||||||
|
"sha256": "03c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "patch",
|
||||||
|
"path": "a52dec-configure-optflags.patch"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "script",
|
||||||
|
"commands": [
|
||||||
|
"autoreconf -fiv"
|
||||||
|
],
|
||||||
|
"dest-filename": "autogen.sh"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user