Commit 38e8b3e
0
plików
+0
dodanych
-0
usuniętych
@@ -1,64 +1,36 @@
1
-pkgname: gstreamer-plugins-base
2
-pkgver: '1.28.6'
3
-pkgrel: '1'
4
-pkgdesc: GStreamer Multimedia Framework Base Plugins
5
-url: 'https://gstreamer.freedesktop.org/'
6
-arch: x86_64
7
-license:
8
-- LGPL
9
-depends:
10
-- iso-codes
11
-makedepends:
12
-- meson
13
-- ninja
14
-- alsa-lib
15
-- gobject-introspection
16
-- libtheora
17
-- libvorbis
18
-- pango
19
-- mesa
20
-- graphene
21
-- gtk3
22
-source:
23
-- 'https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.xz'
24
-sha256sums:
25
-- 0ba699c7c6c66f4ba640be78cb38a24715add9683f3e3a199f5369dc5a4f04ac
26
-
27
-build: |
28
- # Rozpakuj source
29
- tar -xf gst-plugins-base-${pkgver}.tar.xz
30
- mv gst-plugins-base-${pkgver} ${pkgname}-${pkgver}
31
-
32
- # Stwórz własny plik wrap
33
- mkdir -p ${pkgname}-${pkgver}/subprojects
34
-
35
- cat > ${pkgname}-${pkgver}/subprojects/gstreamer.wrap << 'EOF'
36
-[wrap-file]
37
-directory = gstreamer-1.28.6
38
-source_url = https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.28.6.tar.xz
39
-source_filename = gstreamer-1.28.6.tar.xz
40
-source_hash = 62b6b9f0ad3147a6dd6420ac64a91180b14e990695bddd353b96041611d052ca
41
-
42
-[provide]
43
-gstreamer-1.0 = gstreamer_dep
44
-EOF
45
-
46
- cd ${pkgname}-${pkgver}
47
-
48
- # Pobierz zależności (to pobierze GStreamer core)
49
- meson subprojects download
50
-
51
- meson setup builddir \
52
- --prefix /usr \
53
- --buildtype plain \
54
- --libexecdir lib \
55
- --sbindir bin \
56
- -D b_pie=true \
57
- -D package-origin=http://downloads.nutyx.org/
58
-
59
- meson compile -C builddir
60
-
61
-package: |
62
- DESTDIR=${PKGDIR} meson install -C builddir
63
- rm -rf ${PKGDIR}/usr/include/{GL,KHR} 2>/dev/null || true
64
- install -Dm644 ${pkgname}-${pkgver}/COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
1
+pkgname: gstreamer-plugins-base
2
+pkgver: '1.28.6'
3
+pkgrel: '1'
4
+pkgdesc: GStreamer Multimedia Framework Base Plugins
5
+url: 'https://gstreamer.freedesktop.org/'
6
+arch: x86_64
7
+license:
8
+- LGPL
9
+depends:
10
+- iso-codes
11
+makedepends:
12
+- meson
13
+- ninja
14
+- gstreamer
15
+- alsa-lib
16
+- gobject-introspection
17
+- libtheora
18
+- libvorbis
19
+- pango
20
+- mesa
21
+- graphene
22
+- gtk3
23
+source:
24
+- 'https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.xz'
25
+sha256sums:
26
+- 0ba699c7c6c66f4ba640be78cb38a24715add9683f3e3a199f5369dc5a4f04ac
27
+
28
+build: |
29
+ mv gst-plugins-base-${pkgver} ${pkgname}-${pkgver}
30
+ meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -Db_pie=true -Dpackage-origin=http://repo.paganlinux.eu/ builddir ${pkgname}-${pkgver}
31
+ meson compile -C builddir
32
+
33
+package: |
34
+ DESTDIR=${PKGDIR} meson install -C builddir
35
+ rm -rf ${PKGDIR}/usr/include/{GL,KHR} 2>/dev/null || true
36
+ install -Dm644 ${pkgname}-${pkgver}/COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING