Codebase list kmscube / b1852df
remove autotools build We've had meson for a while. And too lazy to update autotools build. So lets just drop it. Rob Clark 4 years ago
4 changed file(s) with 0 addition(s) and 199 deletion(s). Raw diff Collapse all Expand all
22 paths:
33 - _build/meson-logs
44
5 .artifacts-autotools: &artifacts-autotools
6 when: always
7 paths:
8 - _build/*.log
9
105 .meson-build: &meson-build
116 - meson _build -D auto_features=enabled
127 - ninja -C _build
13
14 .autotools-build: &autotools-build
15 - mkdir _build
16 - cd _build
17 - ../autogen.sh
18 - make
198
209 latest-meson:
2110 stage: build
3120 gst-plugins-base
3221 libpng
3322 script: *meson-build
34
35 latest-autotools:
36 stage: build
37 image: archlinux/base:latest
38 artifacts: *artifacts-autotools
39 before_script:
40 - pacman -Syu --noconfirm --needed
41 base-devel
42 libdrm
43 mesa
44 gstreamer
45 gst-plugins-base
46 libpng
47 git # autogen.sh depends on git
48 script: *autotools-build
4923
5024 oldest-meson:
5125 stage: build
7852 - pip3 install meson==0.47
7953 script: *meson-build
8054
81 oldest-autotools:
82 stage: build
83 image: debian:stable
84 artifacts: *artifacts-autotools
85 before_script:
86 - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
87 'path-exclude=/usr/share/doc/*'
88 'path-exclude=/usr/share/man/*'
89 - printf > /usr/sbin/policy-rc.d "%s\n"
90 '#!/bin/sh'
91 'exit 101'
92 - chmod +x /usr/sbin/policy-rc.d
93 - apt-get update
94 - apt-get -y --no-install-recommends install
95 build-essential
96 automake
97 autoconf
98 libtool
99 pkg-config
100 libdrm-dev
101 libgbm-dev
102 libegl1-mesa-dev
103 libgles2-mesa-dev
104 libgstreamer1.0-dev
105 libgstreamer-plugins-base1.0-dev
106 gstreamer1.0-plugins-base
107 gstreamer1.0-plugins-base-apps
108 libpng-dev
109 git # autogen.sh depends on git
110 script: *autotools-build
+0
-70
Makefile.am less more
0 #
1 # Copyright (c) 2012 Rob Clark <rob@ti.com>
2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the "Software"),
5 # to deal in the Software without restriction, including without limitation
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 # and/or sell copies of the Software, and to permit persons to whom the
8 # Software is furnished to do so, subject to the following conditions:
9 #
10 # The above copyright notice and this permission notice (including the next
11 # paragraph) shall be included in all copies or substantial portions of the
12 # Software.
13 #
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 # SOFTWARE.
21 #
22
23 bin_PROGRAMS = kmscube texturator
24
25 kmscube_LDADD = \
26 $(DRM_LIBS) \
27 $(GBM_LIBS) \
28 $(EGL_LIBS) \
29 $(GLES2_LIBS) \
30 -lm
31
32 kmscube_CFLAGS = \
33 -O0 -g \
34 -Wall -Wextra \
35 -std=c99 \
36 $(DRM_CFLAGS) \
37 $(GBM_CFLAGS) \
38 $(EGL_CFLAGS) \
39 $(GLES2_CFLAGS)
40
41 kmscube_SOURCES = \
42 common.c \
43 common.h \
44 cube-smooth.c \
45 cube-tex.c \
46 drm-atomic.c \
47 drm-common.c \
48 drm-common.h \
49 drm-legacy.c \
50 esTransform.c \
51 esUtil.h \
52 frame-512x512-NV12.c \
53 frame-512x512-RGBA.c \
54 kmscube.c
55
56 if ENABLE_GST
57 kmscube_LDADD += $(GST_LIBS)
58 kmscube_CFLAGS += $(GST_CFLAGS)
59 kmscube_SOURCES += cube-video.c gst-decoder.c
60 endif
61
62 texturator_LDADD = $(kmscube_LDADD)
63 texturator_CFLAGS = $(kmscube_CFLAGS)
64 texturator_SOURCES = \
65 common.c \
66 common.h \
67 drm-common.c \
68 drm-legacy.c \
69 texturator.c
+0
-20
autogen.sh less more
0 #! /bin/sh
1
2 srcdir=`dirname "$0"`
3 test -z "$srcdir" && srcdir=.
4
5 ORIGDIR=`pwd`
6 cd "$srcdir"
7
8 git config --local --get format.subjectPrefix >/dev/null ||
9 git config --local format.subjectPrefix "PATCH kmscube" 2>/dev/null
10
11 git config --local --get sendemail.to >/dev/null ||
12 git config --local sendemail.to "mesa-dev@lists.freedesktop.org" 2>/dev/null
13
14 autoreconf --force --verbose --install || exit 1
15 cd "$ORIGDIR" || exit $?
16
17 if test -z "$NOCONFIGURE"; then
18 exec "$srcdir"/configure "$@"
19 fi
+0
-53
configure.ac less more
0 #
1 # Copyright (c) 2012 Rob Clark <rob@ti.com>
2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the "Software"),
5 # to deal in the Software without restriction, including without limitation
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 # and/or sell copies of the Software, and to permit persons to whom the
8 # Software is furnished to do so, subject to the following conditions:
9 #
10 # The above copyright notice and this permission notice (including the next
11 # paragraph) shall be included in all copies or substantial portions of the
12 # Software.
13 #
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 # SOFTWARE.
21 #
22
23 # Initialize Autoconf
24 AC_PREREQ([2.60])
25 AC_INIT([kmscube], [0.0.1], [https://gitlab.freedesktop.org/mesa/kmscube/], [kmscube])
26 AC_CONFIG_AUX_DIR([build-aux])
27
28 # Initialize Automake
29 AM_INIT_AUTOMAKE([foreign dist-bzip2])
30
31 AC_PROG_CC
32
33 # Enable quiet compiles on automake 1.11.
34 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
35
36 # Obtain compiler/linker options for depedencies
37 PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.71])
38 PKG_CHECK_MODULES(GBM, gbm >= 13.0)
39 PKG_CHECK_MODULES(EGL, egl)
40 PKG_CHECK_MODULES(GLES2, glesv2)
41
42 # Check for gst and enable cube-video conditionally:
43 PKG_CHECK_MODULES(GST, gstreamer-1.0 >= 1.6.0 gstreamer-plugins-base-1.0 >= 1.6.0 gstreamer-app-1.0 >= 1.6.0 gstreamer-allocators-1.0 >= 1.6.0 gstreamer-video-1.0 >= 1.6.0 glib-2.0,
44 [HAVE_GST=yes], [HAVE_GST=no])
45 if test "x$HAVE_GST" = "xyes"; then
46 AC_DEFINE(HAVE_GST, 1, [Have GStreamer support])
47 AC_MSG_NOTICE([Building cube-video support])
48 fi
49 AM_CONDITIONAL(ENABLE_GST, [test "x$HAVE_GST" = "xyes"])
50
51 AC_CONFIG_FILES([Makefile])
52 AC_OUTPUT