Skip to content

Commit

Permalink
add: libdisplay-info-git (#6279)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: xdavius <[email protected]>
Co-authored-by: oklopfer <[email protected]>
  • Loading branch information
4 people authored Aug 10, 2024
1 parent f487321 commit f116e33
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ lens
lf-bin
libcamera-git
libcutefish-git
libdisplay-info-git
libdrm
libeditline-troglobit
libfdk-aac1-deb
Expand Down
23 changes: 23 additions & 0 deletions packages/libdisplay-info-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
pkgbase = libdisplay-info-git
gives = libdisplay-info
pkgver = 0.1.1
pkgdesc = EDID and DisplayID library
url = https://gitlab.freedesktop.org/emersion/libdisplay-info
arch = amd64
makedepends = git
makedepends = hwdata
makedepends = meson
makedepends = ninja-build
makedepends = python3
breaks = libdisplay-info1
breaks = libdisplay-info-dev
replaces = libdisplay-info1
replaces = libdisplay-info-dev
provides = libdisplay-info1
provides = libdisplay-info-dev
license = MIT
maintainer = xdavius <[email protected]>
source = git+https://gitlab.freedesktop.org/emersion/libdisplay-info
sha256sums = SKIP

pkgname = libdisplay-info-git
28 changes: 28 additions & 0 deletions packages/libdisplay-info-git/libdisplay-info-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
pkgname="libdisplay-info-git"
gives="libdisplay-info"
provides=("libdisplay-info1" "libdisplay-info-dev")
replaces=("libdisplay-info1" "libdisplay-info-dev")
breaks=("${replaces[@]}")
pkgver="0.1.1"
pkgdesc='EDID and DisplayID library'
url='https://gitlab.freedesktop.org/emersion/libdisplay-info'
arch=("amd64")
license=('MIT')
source=("git+https://gitlab.freedesktop.org/emersion/libdisplay-info")
sha256sums=('SKIP')
makedepends=("git" "hwdata" "meson" "ninja-build" "python3")
maintainer=("xdavius <[email protected]>")

build() {
meson --prefix=/usr libdisplay-info build
ninja -C build
}

check() {
ninja -C build test
}

package() {
DESTDIR="${pkgdir}" ninja -C build install
install -Dm0644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" "libdisplay-info/LICENSE"
}
24 changes: 24 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -5028,6 +5028,30 @@ pkgbase = libcutefish-git

pkgname = libcutefish-git
---
pkgbase = libdisplay-info-git
gives = libdisplay-info
pkgver = 0.1.1
pkgdesc = EDID and DisplayID library
url = https://gitlab.freedesktop.org/emersion/libdisplay-info
arch = amd64
makedepends = git
makedepends = hwdata
makedepends = meson
makedepends = ninja-build
makedepends = python3
breaks = libdisplay-info1
breaks = libdisplay-info-dev
replaces = libdisplay-info1
replaces = libdisplay-info-dev
provides = libdisplay-info1
provides = libdisplay-info-dev
license = MIT
maintainer = xdavius <[email protected]>
source = git+https://gitlab.freedesktop.org/emersion/libdisplay-info
sha256sums = SKIP

pkgname = libdisplay-info-git
---
pkgbase = libdrm
gives = libdrm
pkgver = 2.4.122
Expand Down

0 comments on commit f116e33

Please sign in to comment.