diff options
Diffstat (limited to 'repo/media')
-rw-r--r-- | repo/media/babl.xibuild | 26 | ||||
-rw-r--r-- | repo/media/exiv2.xibuild | 23 | ||||
-rw-r--r-- | repo/media/gexiv2.xibuild | 25 | ||||
-rw-r--r-- | repo/media/libmypaint.xibuild | 23 | ||||
-rw-r--r-- | repo/media/libraw.xibuild | 27 | ||||
-rw-r--r-- | repo/media/openjpeg.xibuild | 28 | ||||
-rw-r--r-- | repo/media/poppler.xibuild | 29 |
7 files changed, 181 insertions, 0 deletions
diff --git a/repo/media/babl.xibuild b/repo/media/babl.xibuild new file mode 100644 index 0000000..f786806 --- /dev/null +++ b/repo/media/babl.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="babl" +DESC="Dynamic, any to any, pixel format conversion library" + +MAKEDEPS="meson ninja " +DEPS="lcms2 " + +PKG_VER=0.1.92 +SOURCE="https://ftp.gimp.org/pub/babl/${PKG_VER%.*}/babl-$PKG_VER.tar.xz" +ADDITIONAL="meson-0.60.patch " + +prepare () { + apply_patches +} + +build () { + cd build && + meson --prefix=/usr \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/media/exiv2.xibuild b/repo/media/exiv2.xibuild new file mode 100644 index 0000000..9a640bc --- /dev/null +++ b/repo/media/exiv2.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="exiv2" +DESC="Exif and Iptc metadata manipulation library and tools." + +MAKEDEPS="cmake " +DEPS="expat musl zlib " + +PKG_VER=0.27.5 +SOURCE="https://github.com/Exiv2/exiv2/releases/download/v$PKG_VER/exiv2-$PKG_VER-Source.tar.gz" + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} diff --git a/repo/media/gexiv2.xibuild b/repo/media/gexiv2.xibuild new file mode 100644 index 0000000..1aacbd4 --- /dev/null +++ b/repo/media/gexiv2.xibuild @@ -0,0 +1,25 @@ +#!/bin/sh + +NAME="gexiv2" +DESC="GObject-based wrapper around the Exiv2 library" + +MAKEDEPS="meson ninja " +DEPS="exiv2 glib " + +PKG_VER=0.14.0 +SOURCE="https://download.gnome.org/sources/gexiv2/${PKG_VER%.*}/gexiv2-$PKG_VER.tar.xz" + +build () { + mkdir build && + cd build && + meson --prefix=/usr \ + -Dgtk_doc=true \ + -Dintrospection=true \ + -Dvapi=true \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/media/libmypaint.xibuild b/repo/media/libmypaint.xibuild new file mode 100644 index 0000000..87df793 --- /dev/null +++ b/repo/media/libmypaint.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="libmypaint" +DESC="library for making brushstrokes" + +MAKEDEPS="make " +DEPS="glib json-c intltool " + +PKG_VER=1.6.1 +SOURCE="https://github.com/mypaint/libmypaint/releases/download/v$PKG_VER/libmypaint-$PKG_VER.tar.xz" + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/media/libraw.xibuild b/repo/media/libraw.xibuild new file mode 100644 index 0000000..5a06397 --- /dev/null +++ b/repo/media/libraw.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="libraw" +DESC="Library for reading RAW files obtained from digital photo cameras" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=0.20.2 +SOURCE="https://www.libraw.org/data/LibRaw-$PKG_VER.tar.gz" + +prepare () { + autoreconf -fi +} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/media/openjpeg.xibuild b/repo/media/openjpeg.xibuild new file mode 100644 index 0000000..9a20ff7 --- /dev/null +++ b/repo/media/openjpeg.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="openjpeg" +DESC="Open-source implementation of JPEG2000 image codec" + +MAKEDEPS="cmake " +DEPS="musl " + +PKG_VER=2.4.0 +SOURCE="https://github.com/uclouvain/openjpeg/archive/v$PKG_VER/openjpeg-v$PKG_VER.tar.gz" +ADDITIONAL="b4700bc09d55ac17ff6bef9b0a867f6de527be17.patch fix-cmakelists.patch " + +prepare () { + apply_patches +} + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} diff --git a/repo/media/poppler.xibuild b/repo/media/poppler.xibuild new file mode 100644 index 0000000..181fc75 --- /dev/null +++ b/repo/media/poppler.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="poppler" +DESC="PDF rendering library based on xpdf 3.0" + +MAKEDEPS="cmake " +DEPS="fontconfig freetype2 lcms2 libjpeg-turbo libpng musl openjpeg tiff " + +PKG_VER=22.03.0 +SOURCE="https://poppler.freedesktop.org/poppler-$PKG_VER.tar.xz" +ADDITIONAL="dont-enforce-build-type.patch " + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ + -DBUILD_QT5_TESTS=OFF \ + -DENABLE_QT5=OFF \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DENABLE_BOOST=OFF \ + + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} |